Nmap Development mailing list archives

Re: Nmap 6.01 Error


From: David Fifield <david () bamsoftware com>
Date: Wed, 17 Oct 2012 20:41:43 -0700

On Wed, Oct 17, 2012 at 06:16:21PM +0530, TAS wrote:
On 17 October 2012 08:48, David Fifield <david () bamsoftware com> wrote:

On Tue, Oct 16, 2012 at 05:10:36PM +0530, TAS wrote:
Hi,

I updated NMAP on my BackTrack. It is upgraded to 6.01 and I get the
following error when I try to run a version scan (-A or -sV). Any help?

Starting Nmap 6.01 ( http://nmap.org ) at 2012-10-16 07:37 EDT
NSE: failed to initialize the script engine:
/usr/local/bin/../share/nmap/nse_main.lua:671: 'version' did not match a
category, filename, or directory
stack traceback:
        [C]: in function 'error'
        /usr/local/bin/../share/nmap/nse_main.lua:671: in function
'get_chosen_scripts'
        /usr/local/bin/../share/nmap/nse_main.lua:1103: in main chunk
        [C]: ?

This looks like a problem with the script.db file. Possibly something
went wrong with the installation. How did you install the program? Is
the Backtrack installation of Nmap still present?

Just the way it was on the nmap documentation.

bzip2 -cd nmap-6.01.tar.bz2 | tar xvf -
cd nmap-6.01
./configure
make
su root
make install

Is the Backtrack installation of Nmap still present? The one that was
installed on the BT5 -r2 I just updated that.

I'm not able to reproduce this. See if you can find out some more
information on your own. Run with -d3 to see where files are being
loaded from. What are the contents of /usr/local/share/nmap/scripts?
What are the contents of /usr/local/share/nmap/scripts/script.db? What
are the exact command-line options you are using?

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: