Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: N-map relocation error...

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    31

    Default N-map relocation error...

    I am facing an Nmap relocation error shown below:

    Code:
    'nmap: relocation error: /lib/libnss_mdns4_minimal.so.2: symbol strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference'
    I have no customizations on my Backtrack installation, so that isn't an issue. I also tried to purge namp and re install but still faced the same issue. Does anyone have a remedy?
    Last edited by Nyk0n; 02-26-2012 at 12:01 AM.
    RIP SHIRLEY 10/11/2008

  2. #2
    Good friend of the forums scottm99's Avatar
    Join Date
    Feb 2010
    Location
    underwater
    Posts
    371

    Default Re: N-map relocation error...

    This looks like a source & compilation issue to me. Do you have any customization of your BT5 install?
    If I could figure out how to scuba dive & hack at the same time, there would be nothing I couldn't do...

  3. #3
    Member longjidin's Avatar
    Join Date
    Feb 2010
    Location
    Kg Lengkong to Bukit Lada
    Posts
    93

    Default Re: N-map relocation error...

    i am also having problem with NMAP like this:-

    root@bt:~# apt-get install nmap
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
    nmap
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/3,620kB of archives.
    After this operation, 0B of additional disk space will be used.
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 4528 package 'magictree':
    error in Version string 'r1492-bt1': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 13263 package 'udptunnel':
    error in Version string 'r16-bt2': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 16875 package 'untidy':
    error in Version string 'beta2-bt1': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 19121 package 'pwntcha':
    error in Version string 'rev4780-bt3': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 31760 package 'webslayer':
    error in Version string 'rev5-bt0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/status' near line 35797 package 'protos-sip':
    error in Version string 'r2-bt1': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 4605 package 'magictree':
    error in Version string 'r1492-bt1': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 13402 package 'udptunnel':
    error in Version string 'r16-bt2': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 17030 package 'untidy':
    error in Version string 'beta2-bt1': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 19342 package 'pwntcha':
    error in Version string 'rev4780-bt3': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 32043 package 'webslayer':
    error in Version string 'rev5-bt0': version number does not start with digit
    dpkg: warning: parsing file '/var/lib/dpkg/available' near line 35977 package 'protos-sip':
    error in Version string 'r2-bt1': version number does not start with digit
    dpkg: error processing /var/cache/apt/archives/nmap_5.61-bt1_i386.deb (--unpack):
    unable to open file '/var/lib/dpkg/tmp.ci//.svn': Is a directory
    Errors were encountered while processing:
    /var/cache/apt/archives/nmap_5.61-bt1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@bt:~#

    i dont know what cause that error. i haved Google to find out this error. this only happen with NMAP any idea's guys????



    happy hunting !!!

  4. #4
    Member longjidin's Avatar
    Join Date
    Feb 2010
    Location
    Kg Lengkong to Bukit Lada
    Posts
    93

    Default Re: N-map relocation error...

    any solution guys???
    Last edited by longjidin; 01-16-2012 at 04:16 PM.

  5. #5
    Very good friend of the forum maverik35's Avatar
    Join Date
    Sep 2009
    Location
    Debian land
    Posts
    734

    Default Re: N-map relocation error...

    Well I have nmap 5.59 Beta1 in my debian and the version before this one in my other laptop, running without any problem.

    I always have to download the tar file, compile it, make and make install, then run it. In my case, as priority, always install gcc, build-essentials, make, linux headers, fakeroot and then just compile.

    When trying to install new version, uninstall actual version you are using, you have to "make purge nmap" if installed with make.

    You might want to try downlod the nmap (tar or gzip), compile it and install it.

    Remember to have all needed to compile.

  6. #6
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: N-map relocation error...

    Try apt-get purge nmap , apt-get update , and apt-get install nmap
    There is a newer version in the repos and this problem should be fixed.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  7. #7
    Junior Member
    Join Date
    Dec 2008
    Posts
    31

    Default Re: N-map relocation error...

    Ooops forgot you can't bump...but I couldn't delete that post...
    Last edited by Nyk0n; 02-26-2012 at 12:06 AM.

  8. #8
    Member melissabubble's Avatar
    Join Date
    Aug 2011
    Location
    c:\
    Posts
    85

    Default Re: N-map relocation error...

    hey Guys, I'm get the same relocation error when I use Nmap 5.51SVN that comes inside metasploit v4.3.0-dev [core:4.3 api:1.0]. I have no problem so far when I use Nmap 5.61TEST4 that comes with BT-RC2 32bit gnome. Is anyone else having this problem?

  9. #9
    Good friend of the forums zimmaro's Avatar
    Join Date
    Mar 2010
    Location
    milano
    Posts
    407

    Default Re: N-map relocation error...

    Quote Originally Posted by melissabubble View Post
    hey Guys, I'm get the same relocation error when I use Nmap 5.51SVN that comes inside metasploit v4.3.0-dev [core:4.3 api:1.0]. I have no problem so far when I use Nmap 5.61TEST4 that comes with BT-RC2 32bit gnome. Is anyone else having this problem?
    hi,
    i have the "same" machine bt5-rc2(gnome32 hdd)install(update&upgrade today)don't have errors:try to update!

    =[ metasploit v4.3.0-dev [core:4.3 api:1.0]
    + -- --=[ 815 exploits - 458 auxiliary - 137 post
    + -- --=[ 248 payloads - 27 encoders - 8 nops
    =[ svn r14989 updated today (2012.03.20)

    msf > db_status[*] postgresql connected to msf3dev
    msf > db_nmap 192.168.1.0/24 [*] Nmap: Starting Nmap 5.51SVN ( http://nmap.org ) at 2012-03-20 10:40 CET[*] Nmap: Nmap scan report for alicegate.homenet.telecomitalia.it (192.168.1.1)[*] Nmap: Host is up (0.0060s latency).[*] Nmap: Not shown: 996 closed ports[*] Nmap: PORT STATE SERVICE[*] Nmap: 80/tcp open http[*] Nmap: 139/tcp open netbios-ssn[*] Nmap: 443/tcp open https[*] Nmap: 445/tcp open microsoft-ds[*] Nmap: MAC Address: 00:xx:00:x5:xx:xx (Pirelli Broadband Solutions)[*] Nmap: Nmap scan report for ---.homenet.telecomitalia.it (192.168.1.4)[*] Nmap: Host is up (0.000023s latency).[*] Nmap: Not shown: 999 closed ports[*] Nmap: PORT STATE SERVICE[*] Nmap: 80/tcp open http[*] Nmap: Nmap scan report for victim-0xxbcxba.homenet.telecomitalia.it (192.168.1.122)[*] Nmap: Host is up (0.0016s latency).[*] Nmap: Not shown: 996 closed ports[*] Nmap: PORT STATE SERVICE[*] Nmap: 135/tcp open msrpc[*] Nmap: 139/tcp open netbios-ssn[*] Nmap: 445/tcp open microsoft-ds[*] Nmap: 1025/tcp open NFS-or-IIS[*] Nmap: MAC Address: 0x:00:xx:Cx:xx:x6 (Cadmus Computer Systems)[*] Nmap: Nmap done: 256 IP addresses (3 hosts up) scanned in 24.36 seconds

    msf > db_nmap -sn -n -T4 192.168.1.0/24 [*] Nmap: Starting Nmap 5.51SVN ( http://nmap.org ) at 2012-03-20 10:53 CET[*] Nmap: Nmap scan report for 192.168.1.1[*] Nmap: Host is up (0.0060s latency).[*] Nmap: MAC Address: 00:00:xx:45:xx:xx (Pirelli Broadband Solutions)[*] Nmap: Nmap scan report for 192.168.1.4[*] Nmap: Host is up.[*] Nmap: Nmap scan report for 192.168.1.63[*] Nmap: Host is up (0.0086s latency).[*] Nmap: MAC Address: 14:xD:xx:xx:xx:x4 (Unknown)[*] Nmap: Nmap scan report for 192.168.1.122[*] Nmap: Host is up (0.0029s latency).[*] Nmap: MAC Address: 0x:00:x7:xx:xx:xx (Cadmus Computer Systems)[*] Nmap: Nmap done: 256 IP addresses (4 hosts up) scanned in 2.36 seconds

    msf > nmap -A -O -vv 192.168.1.122 [*] exec: nmap -A -O -vv 192.168.1.122

    Starting Nmap 5.51SVN ( http://nmap.org ) at 2012-03-20 11:07 CET
    NSE: Loaded 61 scripts for scanning.
    NSE: Starting runlevel 1 (of 2) scan.
    NSE: Starting runlevel 2 (of 2) scan.
    Initiating ARP Ping Scan at 11:07
    Scanning 192.168.1.122 [1 port]
    Completed ARP Ping Scan at 11:07, 0.02s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 11:07
    Completed Parallel DNS resolution of 1 host. at 11:07, 0.02s elapsed
    Initiating SYN Stealth Scan at 11:07
    Scanning ---.homenet.telecomitalia.it (192.168.1.122) [1000 ports]
    Discovered open port 139/tcp on 192.168.1.122
    Discovered open port 445/tcp on 192.168.1.122
    Discovered open port 135/tcp on 192.168.1.122
    Discovered open port 1110/tcp on 192.168.1.122
    Completed SYN Stealth Scan at 11:07, 1.35s elapsed (1000 total ports)
    Initiating Service scan at 11:07
    Scanning 4 services on ---.homenet.telecomitalia.it (192.168.1.122)
    Completed Service scan at 11:08, 6.03s elapsed (4 services on 1 host)
    Initiating OS detection (try #1) against ---.homenet.telecomitalia.it (192.168.1.122)
    NSE: Starting runlevel 1 (of 2) scan.
    NSE: Script scanning 192.168.1.122.
    Initiating NSE at 11:08
    Completed NSE at 11:08, 0.55s elapsed
    NSE: Starting runlevel 2 (of 2) scan.
    Nmap scan report for ---.homenet.telecomitalia.it (192.168.1.122)
    Host is up (0.0027s latency).
    Scanned at 2012-03-20 11:07:55 CET for 11s
    Not shown: 996 closed ports
    PORT STATE SERVICE VERSION
    135/tcp open msrpc Microsoft Windows RPC
    139/tcp open netbios-ssn
    445/tcp open microsoft-ds Microsoft Windows XP microsoft-ds
    1110/tcp open tcpwrapped
    MAC Address: 0x:00:00:x4:xx:xx (Cadmus Computer Systems)
    Device type: general purpose
    Running: Microsoft Windows XP
    OS details: Microsoft Windows XP SP2 or SP3
    TCP/IP fingerprint:
    OS:SCAN(V=5.51SVN%D=3/20%OT=135%CT=1%CU=33148%PV=Y%DS=1%DC=D%G=Y%M=08002 7%T
    OS:M=4F685706%P=i686-pc-linux-gnu)SEQ(SP=105%GCD=1%ISR=10C%TI=I%CI=I%II=I%S
    OS:S=S%TS=0)OPS(O1=M5B4NW0NNT00NNS%O2=M5B4NW0NNT00 NNS%O3=M5B4NW0NNT00%O4=M5
    OS:B4NW0NNT00NNS%O5=M5B4NW0NNT00NNS%O6=M5B4NNT00NN S)WIN(W1=FAF0%W2=FAF0%W3=
    OS:FAF0%W4=FAF0%W5=FAF0%W6=FAF0)ECN(R=Y%DF=Y%T=80% W=FAF0%O=M5B4NW0NNS%CC=N%
    OS:Q=)T1(R=Y%DF=Y%T=80%S=O%A=S+%F=AS%RD=0%Q=)T2(R= Y%DF=N%T=80%W=0%S=Z%A=S%F
    OS:=AR%O=%RD=0%Q=)T3(R=Y%DF=Y%T=80%W=FAF0%S=O%A=S+ %F=AS%O=M5B4NW0NNT00NNS%R
    OS=0%Q=)T4(R=Y%DF=N%T=80%W=0%S=A%A=O%F=R%O=%RD=0%Q=) T5(R=Y%DF=N%T=80%W=0%
    OS:S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=N%T=80%W=0%S =A%A=O%F=R%O=%RD=0%Q=)T7(
    OS:R=Y%DF=N%T=80%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)U1(R =Y%DF=N%T=80%IPL=B0%UN=0%
    OS:RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)IE(R=Y%DFI=S% T=80%CD=Z)

    Network Distance: 1 hop
    TCP Sequence Prediction: Difficulty=261 (Good luck!)
    IP ID Sequence Generation: Incremental
    Service Info: OS: Windows

    Host script results:
    | nbstat:
    | NetBIOS name: VICTIM-0B2BC5BA, NetBIOS user: <unknown>, NetBIOS MAC: 0x:00:xx:xx:00:3x (Cadmus Computer Systems)
    | Names
    | VICTIM-0xxBCxxA<00> Flags: <unique><active>
    | HACKLAB1<00> Flags: <group><active>
    | VICTIM-0xxxC5xx<20> Flags: <unique><active>
    | HACKLAB1<1e> Flags: <group><active>
    | HACKLAB1<1d> Flags: <unique><active>
    | \x01\x02__MSBROWSE__\x02<01> Flags: <group><active>
    | Statistics
    | 0x 00 xx c0 xx xx 00 00 00 00 00 00 00 00 00 00
    | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    |_ 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    |_smbv2-enabled: Server doesn't support SMBv2 protocol
    | smb-os-discovery:
    | OS: Windows XP (Windows 2000 LAN Manager)
    | Name: HACKLAB1\VICTIM-0B2BC5BA
    |_ System time: 2012-03-20 11:08:06 UTC+1

    TRACEROUTE
    HOP RTT ADDRESS
    1 2.72 ms ---.homenet.telecomitalia.it (192.168.1.122)

    NSE: Starting runlevel 1 (of 2) scan.
    NSE: Starting runlevel 2 (of 2) scan.
    Read data files from: /opt/metasploit/common/bin/../share/nmap
    OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
    Nmap done: 1 IP address (1 host up) scanned in 14.78 seconds
    Raw packets sent: 1024 (45.754KB) | Rcvd: 1017 (41.238KB)
    msf >
    bye

  10. #10
    Member melissabubble's Avatar
    Join Date
    Aug 2011
    Location
    c:\
    Posts
    85

    Default Re: N-map relocation error...

    i've updated and its still giving me this



    =[ metasploit v4.3.0-dev [core:4.3 api:1.0]
    + -- --=[ 815 exploits - 458 auxiliary - 137 post
    + -- --=[ 248 payloads - 27 encoders - 8 nops
    =[ svn r14991 updated today (2012.03.20)

    msf > nmap -PO -A 192.168.1.0/24[*] exec: nmap -PO -A 192.168.1.0/24


    Starting Nmap 5.51SVN ( http://nmap.org ) at 2012-03-20 09:35 EDT
    nmap: relocation error: /lib/libnss_mdns4_minimal.so.2: symbol strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference


    I might just reinstall it and see if that helps.

Page 1 of 2 12 LastLast

Similar Threads

  1. Booting Error -USB Drive Install -Looping Error After First Boot
    By Spinez in forum BackTrack 5 Beginners Section
    Replies: 8
    Last Post: 06-08-2012, 04:04 PM
  2. Nmap Relocation Error
    By Nyk0n in forum BackTrack 5 Beginners Section
    Replies: 0
    Last Post: 09-29-2011, 01:20 AM
  3. Replies: 0
    Last Post: 01-27-2011, 04:06 AM
  4. Replies: 3
    Last Post: 10-18-2010, 11:00 PM
  5. NTOP **WARNING** gzflush error -2(stream error)
    By Larika in forum OLD BackTrack 4 (pre) Final
    Replies: 8
    Last Post: 07-18-2009, 07:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •