Discussion:
could not locate nse_main.lua
u***@Safe-mail.net
2010-05-10 15:37:02 UTC
Permalink
Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-05-10 17:09 CEST
Unable to find nmap-services! Resorting to /etc/services
could not locate nse_main.lua
QUITTING!
Found out that the requestet env from nmap.cc:2826
if (!foundsomething && (dirptr = getenv("NMAPDIR"))) {
can't find $NMAPDIR.

After env NMAPDIR=/PATH/TO/FOLDER/WITH/nse_main.lua it's working.
David Fifield
2010-05-10 23:11:05 UTC
Permalink
Post by u***@Safe-mail.net
Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-05-10 17:09 CEST
Unable to find nmap-services! Resorting to /etc/services
could not locate nse_main.lua
QUITTING!
Found out that the requestet env from nmap.cc:2826
if (!foundsomething && (dirptr = getenv("NMAPDIR"))) {
can't find $NMAPDIR.
After env NMAPDIR=/PATH/TO/FOLDER/WITH/nse_main.lua it's working.
I'm glad you figured it out. Setting the environment variable should
only be required in unusual circumstances though. How did you configure
the build?

David Fifield

Loading...