Queue: PublicMetaMap
Subject: Problem with Metamap installation
Status: resolved
Created: Tue Mar 19 10:50:57 2013
Resolved: Tue Mar 19 10:51:41 2013
LastUpdated: Tue Mar 19 10:51:41 2013

Subject: Problem with Metamap installation
Creator: 28
Created: 2013-03-19 14:50:57
Transaction: 1863
Parent: 0
MessageId: 
Filename: 
ContentType: multipart/mixed
ContentEncoding: 

Content: 

Subject: 
Creator: 28
Created: 2013-03-19 14:50:57
Transaction: 1863
Parent: 140
MessageId: 
Filename: 
ContentType: text/html
ContentEncoding: none

Content: Dear Metamap support,

I am experiencing a problem while installing Metamap on my PC running Ubuntu (12.4). I unzip and finished the installation process, and was able to launch the server successfully. But when running ./bin/metamap12, I got the following error:

... public_mm/bin/metamap12.BINARY.Linux: No such file or directory

The file "metamap12.BINARY.Linux" however does exist under the ./bin directory.

-------------------------------------------------------------
The following are detailed of what I did:

Downloaded public_mm_linux_main_2012.tar.bz2 (md5sum checked) and mv it to
/home/mars/my_install_temp/metamap

$ cd /home/mars/my_install_temp/metamap

$ bunzip2 -c public_mm_linux_main_2012.tar.bz2 | tar xvf -
...

$ cd public_mm

(edited .bashrc to setup JAVA_HOME to "/usr" and include "/home/mars/my_install_temp/metamap/public_mm" in PATH)

$ ./bin/install.sh
...

$
./bin/skrmedpostctl start
Starting skrmedpostctl:
started.

$ ./bin/wsdserverctl start
$Starting wsdserverctl:
started.
[email redacted]:~/my_install_temp/metamap/public_mm$ loading properties file /home/mars/my_install_temp/metamap/public_mm/WSD_Server/config/disambServer.cfg
WSD Server initializing disambiguation methods.
WSD Server databases and disambiguation methods have been initialized.

... (demo hangs)


(In a separate console)

$ ./bin/metamap12
/home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12 /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux -L 2012 -Z 2012AA
/home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12: line 113: /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux: No such file or directory

Similarly,

$ echo "lung cancer" | ./bin/metamap12 -I
/home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12 /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux -L 2012 -Z 2012AA -I
/home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12: line 113: /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux: No such file or directory


Please help!

Thanks,
Gene

Subject: Problem with Metamap installation - gene hugs <[email redacted]>
          - 2012-12-29 1025.eml

Creator: 28
Created: 2013-03-19 14:50:57
Transaction: 1863
Parent: 140
MessageId: 
Filename: Problem with Metamap installation - gene hugs <[email redacted]> - 2012-12-29 1025.eml
ContentType: message/rfc822
ContentEncoding: none

Content: Received: from NIHHT03.nih.gov (156.40.71.22) by CASHTV01.nih.gov
          (156.40.71.165) with Microsoft SMTP Server (TLS) id 14.2.328.9; Sat, 29 Dec
          2012 10:25:31 -0500
         Received: from nihcesxway2.hub.nih.gov (128.231.90.124) by NIHHT03.nih.gov
          (156.40.71.22) with Microsoft SMTP Server id 8.3.279.5; Sat, 29 Dec 2012
          10:25:40 -0500
         Received-SPF: Pass (nihcesxway2.hub.nih.gov: domain of
           [email redacted] designates 74.125.82.41 as permitted
           sender) identity=mailfrom; client-ip=74.125.82.41;
           receiver=nihcesxway2.hub.nih.gov;
           envelope-from="[email redacted]";
           x-sender="[email redacted]"; x-conformance=spf_only;
           x-record-type="v=spf1"
         Received-SPF: None (nihcesxway2.hub.nih.gov: no sender
           authenticity information available from domain of
           [email redacted]) identity=helo;
           client-ip=74.125.82.41; receiver=nihcesxway2.hub.nih.gov;
           envelope-from="[email redacted]";
           x-sender="[email redacted]";
           x-conformance=spf_only
         X-IronPortListener: CES-Inbound
         X-SBRS: 4.1
         X-IronPort-Anti-Spam-Filtered: true
         X-IronPort-Anti-Spam-Result: Ao0BAAUL31BKfVIpjWdsb2JhbABFgkm7EwgWDgEBAQEJCQsJEgYjgjcuARseAxIQXQERAQUBV4deAQMPl2WCbYFdilaCe4QUChknDVmHYQEFDIxLhEMDiGKNKoEcjUwWKYQz
         Received: from mail-wg0-f41.google.com ([74.125.82.41])  by
          nihcesxway2.hub.nih.gov with ESMTP; 29 Dec 2012 10:25:39 -0500
         Received: by mail-wg0-f41.google.com with SMTP id ds1so4613200wgb.4        for
          <[email redacted]>; Sat, 29 Dec 2012 07:25:39 -0800 (PST)
         DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
                 d=gmail.com; s=20120113;
                 h=mime-version:date:message-id:subject:from:to:content-type;
                 bh=k4LGSr6Nsb1ZVeRWgVSoM3O0NxPHFltqs8rSYDWVwvY=;
                 b=iBMl24MrFqaZ4p4IZ66zqXLVKDM6uAJK/T5jGu6/v7JFufVhTArwNVCfbFrvERk2E7
                  tX0IMPwse3n8rc+wUVmsHpJGjLhtf1gncon4cx8p41XbTSVr9GTkZoeU8M+yatxyNj75
                  zqHguPHDM2JYUA/nnxJJBUUvxIkV99vS6al3UZ/PTLD1RDZz7XHTHXP4tXUI6a2xy1w/
                  mFmk+Hw4mZ4Ylszm6MKoGXrgKRTI2tq4UspybFlT88YW7oCbKKoo37TPycnV0VNVnIGp
                  QxVz4NkD0RGat9Q6N7ytvlkqC5vaAsVO5nIRrIl9+cQ3Jk0g3biMFelIjhkrjJD4Pf9s
                  9sFg==
         Received: by 10.180.99.227 with SMTP id et3mr55973333wib.6.1356794739514; Sat,
          29 Dec 2012 07:25:39 -0800 (PST)
         Received: by 10.180.145.44 with HTTP; Sat, 29 Dec 2012 07:25:39 -0800 (PST)
         Date: Sat, 29 Dec 2012 10:25:39 -0500
         Message-ID: 
         Subject: Problem with Metamap installation
         From: gene hugs <[email redacted]>
         To: <[email redacted]>
         Content-Type: multipart/alternative; boundary="f46d041826aa7b5b4604d1ff64dd"
         Return-Path: [email redacted]
         X-MS-Exchange-Organization-AuthSource: NIHHT03.nih.gov
         X-MS-Exchange-Organization-AuthAs: Internal
         X-MS-Exchange-Organization-AuthMechanism: 10
         X-MS-Exchange-Organization-AVStamp-Mailbox: MSFTFF;1;0;0 0 0
         X-Auto-Response-Suppress: DR, OOF, AutoReply
         MIME-Version: 1.0
         
         --f46d041826aa7b5b4604d1ff64dd
         Content-Type: text/plain; charset="ISO-8859-1"
         
         Dear Metamap support,
         
         I am experiencing a problem while installing Metamap on my PC running
         Ubuntu (12.4). I unzip and finished the installation process, and was able
         to launch the server successfully. But when running ./bin/metamap12, I got
         the following error:
         
         ... public_mm/bin/metamap12.BINARY.Linux: No such file or directory
         
         The file "metamap12.BINARY.Linux" however does exist under the ./bin
         directory.
         
         -------------------------------------------------------------
         The following are detailed of what I did:
         
         Downloaded public_mm_linux_main_2012.tar.bz2 (md5sum checked) and mv it to
         /home/mars/my_install_temp/metamap
         
         $ cd /home/mars/my_install_temp/metamap
         
         *$ bunzip2 -c *public_mm_linux_main_2012.tar.bz2* | tar xvf -
         ...
         
         $ cd public_mm
         
         (edited .bashrc to setup JAVA_HOME to "/usr" and include
         "/home/mars/my_install_temp/metamap/public_mm" in PATH)
         
         $ ./bin/install.sh
         ...
         
         $** ./bin/skrmedpostctl start
         Starting skrmedpostctl:
         started.
         *
         $ ./bin/wsdserverctl start
         $Starting wsdserverctl:
         started.
         [email redacted]:~/my_install_temp/metamap/public_mm$ loading properties file
         /home/mars/my_install_temp/metamap/public_mm/WSD_Server/config/disambServer.cfg
         WSD Server initializing disambiguation methods.
         WSD Server databases and disambiguation methods have been initialized.
         
         ... (demo hangs)
         
         
         (In a separate console)
         
         $ ./bin/metamap12
         /home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12
         /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux -L
         2012 -Z 2012AA
         /home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12: line 113:
         /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux: No
         such file or directory
         
         Similarly,
         
         $ echo "lung cancer" | ./bin/metamap12 -I
         /home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12
         /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux -L
         2012 -Z 2012AA -I
         /home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12: line 113:
         /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux: No
         such file or directory
         
         
         Please help!
         
         Thanks,
         Gene
         
         *
         *
         
         --f46d041826aa7b5b4604d1ff64dd
         Content-Type: text/html; charset="ISO-8859-1"
         Content-Transfer-Encoding: quoted-printable
         
         Dear Metamap support,

I am experiencing a problem while installin= g Metamap on my PC running Ubuntu (12.4). I unzip and finished the installa= tion process, and was able to launch the server successfully. But when runn= ing ./bin/metamap12, I got the following error:

... public_mm/bin/metamap12.BINARY.Linux: No such file or directory
=
The file "metamap12.BINARY.Linux" however does exist under th= e ./bin directory.

-------------------------------------------------= ------------
The following are detailed of what I did:

Downloaded public_mm_linux= _main_2012.tar.bz2 (md5sum checked) and mv it to
/home/mars/my_install_t= emp/metamap

$ cd /home/mars/my_install_temp/metamap

$ bunzip2 -c public_mm_linux_main_2012.tar.bz2 | tar xvf -
...

$ cd public_mm

(edited .bashrc to setup JAVA_HOME to &qu= ot;/usr" and include "/home/mars/my_install_temp/metamap/public_m= m" in PATH)

$ ./bin/install.sh
...

$
./bin/skrmedpostctl start
Start= ing skrmedpostctl:
start= ed.

$ ./bin/wsdserverctl start
$Starting wsdserverctl:
started.<= br>[email redacted]:~/my_install_temp/metamap/public_mm$ loading properties file /= home/mars/my_install_temp/metamap/public_mm/WSD_Server/config/disambServer.= cfg
WSD Server initializing disambiguation methods.
WSD Server databases and= disambiguation methods have been initialized.

... (demo hangs)
<= br>
(In a separate console)

$ ./bin/metamap12
/home/mars/my_i= nstall_temp/metamap/public_mm/bin/SKRrun.12 /home/mars/my_install_temp/meta= map/public_mm/bin/metamap12.BINARY.Linux -L 2012 -Z 2012AA
/home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12: line 113: /home= /mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux: No such= file or directory

Similarly,

$ echo "lung cancer"= | ./bin/metamap12 -I
/home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12 /home/mars/my_in= stall_temp/metamap/public_mm/bin/metamap12.BINARY.Linux -L 2012 -Z 2012AA -= I
/home/mars/my_install_temp/metamap/public_mm/bin/SKRrun.12: line 113: = /home/mars/my_install_temp/metamap/public_mm/bin/metamap12.BINARY.Linux: No= such file or directory


Please help!

Thanks,
Gene


--f46d041826aa7b5b4604d1ff64dd--

Subject: 
Creator: 28
Created: 2013-03-19 14:51:41
Transaction: 1866
Parent: 0
MessageId: [email redacted]
Filename: 
ContentType: text/html
ContentEncoding: none

Content: I was wondering are you running a 64-bit system?   I tested the main  Linux Public MetaMap Distribution (public_mm_linux_main_2012.tar.bz2) on  a Mint Linux 64 bit system (a Ubuntu derivative) and the file  "public_mm/bin/metamap12.BINARY.Linux" was present. 

The error you're see can occur if you are running MetaMap on a 64-bit system which does not have the 32-bit compatibility libraries present.

 The executable file metamap12.BINARY.Linux is a 32-bit binary but one should be able to run it on a 64-bit system provided that you have a 32-bit version of libc-*.so in /lib (as well as a /lib64/libc-*.so). (The locations of these files may vary.) There may also be other 32-bit supporting files that may need to be installed also.

If you're running an Ubuntu or Debian system be sure that the package ia32-libs is installed. You can install it using the command (you must be root to do this):

$ sudo apt-get install ia32-libs

The APT program will install any necessary dependencies as well.

Sincerely,
Willie Rogers