[cod] World At War 1.6 Error libdl.so.2

stp at shooter-szene.de stp at shooter-szene.de
Mon Sep 21 09:59:06 EDT 2009


error:
not a dynamic executable

----- Original Message ----- 
From: "Thomas Toka / www.serverman.de" <webmaster at serverman.de>
To: "Call of Duty server admin list." <cod at icculus.org>
Sent: Monday, September 21, 2009 3:56 PM
Subject: Re: [cod] World At War 1.6 Error libdl.so.2


ldd codwaw_lnxded-bin  ??

Andre Lorbach wrote:
>
> Hi,
>
>
> I also have access to this particular machine, stp is currently on 
> shopping ;).
>
>
> It is an issue related to this machine, I just run the same files on a 
> different Linuxmachine, same debian version, and it worked.
>
> Perhaps the strace on "codwaw_lnxded-bin" is interesting:
>
>
> execve("./codwaw_lnxded-bin", ["./codwaw_lnxded-bin"], [/* 19 vars */]) 
> = -1 ENOEXEC (Exec format error)
>
> dup(2)                                  = 3
>
> fcntl(3, F_GETFL)                       = 0x8002 (flags 
> O_RDWR|O_LARGEFILE)
>
> fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
>
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0x7fc8e3cf2000
>
> lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
>
> write(3, "strace: exec: Exec format error\n"..., 32strace: exec: Exec 
> format error
>
> ) = 32
>
> close(3)                                = 0
>
> munmap(0x7fc8e3cf2000, 4096)            = 0
>
> exit_group(1)                           = ?
>
>
> --
>
> best regards,
>
> Andre
>
>
>
> *From:* Geoff Goas [mailto:gitman at gmail.com]
> *Sent:* Montag, 21. September 2009 15:33
> *To:* Call of Duty server admin list.
> *Subject:* Re: [cod] World At War 1.6 Error libdl.so.2
>
>
> if you run "file /home/codwaw/codwaw_lnxded-bin" ?
>
> On Mon, Sep 21, 2009 at 9:06 AM, <stp at shooter-szene.de 
> <mailto:stp at shooter-szene.de>> wrote:
>
> its already disabled
>
>
>
>
> ----- Original Message ----- From: "escapedturkey" 
> <escapedturkey at escapedturkey.com <mailto:escapedturkey at escapedturkey.com>>
>
> To: "Call of Duty server admin list." <cod at icculus.org 
> <mailto:cod at icculus.org>>
>
> Sent: Monday, September 21, 2009 2:59 PM
>
>
> Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>
>
> Make sure selinux is disabled.
>
> stp at shooter-szene.de <mailto:stp at shooter-szene.de> wrote:
>
> user and folder is called codwaw
>  as user codwaw:
> sudo -u codwaw strace -f -e open,stat,write /home/codwaw/codwaw_lnxded-bin
> codwaw is not in the sudoers file.  This incident will be reported.
>  as root:
> sudo -u codwaw strace -f -e open,stat,write /home/codwaw/codwaw_lnxded-bin
> write(3, "strace: exec: Exec format error\n"..., 32strace: exec: Exec 
> format error
> ) = 32
>
>    ----- Original Message -----
>     *From:* Geoff Goas <mailto:gitman at gmail.com <mailto:gitman at gmail.com>>
>    *To:* Call of Duty server admin list. <mailto:cod at icculus.org 
> <mailto:cod at icculus.org>>
>    *Sent:* Monday, September 21, 2009 2:54 PM
>    *Subject:* Re: [cod] World At War 1.6 Error libdl.so.2
>
>    Whats the output of:
>
>    sudo -u cod5 strace -f -e open,stat,write /home/cod5/codwaw_lnxded-bin
>
>    On Mon, Sep 21, 2009 at 8:49 AM, <stp at shooter-szene.de 
> <mailto:stp at shooter-szene.de>
>    <mailto:stp at shooter-szene.de <mailto:stp at shooter-szene.de>>> wrote:
>
>        same error ...
>
>        may ryan knows another guide?
>
>        i will test it with another server later, may something with
>        lenny image? i dont know anymore what could solve this error
>
>        iam not a linux noob and since cod1 no problems until now
>
>        hrm
>
>        but thanks escapedturkey for help
>
>
>
>        ----- Original Message ----- From: "escapedturkey"
>        <escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>
>        <mailto:escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>>>
>        To: "Call of Duty server admin list." <cod at icculus.org 
> <mailto:cod at icculus.org>
>        <mailto:cod at icculus.org <mailto:cod at icculus.org>>>
>        Sent: Monday, September 21, 2009 2:43 PM
>
>        Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>
>
>        Just for kicks, as root, type:
>
>        cd /home/cod5
>
>        chmod 755 codwaw_lnxded-bin
>
>        and then
>
>        chown cod5 codwaw_lnxded-bin
>
>        Then, su - cod5 and run ./codwaw_lnxded-bin
>
>        stp at shooter-szene.de <mailto:stp at shooter-szene.de> 
> <mailto:stp at shooter-szene.de <mailto:stp at shooter-szene.de>> wrote:
>
>            i tried this already
>
>            ./codwaw_lnxded-bin: cannot execute binary file
>
>
>            ----- Original Message ----- From: "escapedturkey"
>            <escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>
>            <mailto:escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>>>
>            To: "Call of Duty server admin list." <cod at icculus.org 
> <mailto:cod at icculus.org>
>            <mailto:cod at icculus.org <mailto:cod at icculus.org>>>
>            Sent: Monday, September 21, 2009 2:34 PM
>            Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>
>
>            What happens when you try this:
>
>            export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
>
>            ./codwaw_lnxded-bin +set net_port 28960 +set sv_punkbuster 1
>            +set
>            sv_pure 1 +exec server.cfg +set fs_homepath /home/codwaw/
>            +map_rotate
>
>            stp at shooter-szene.de <mailto:stp at shooter-szene.de> 
> <mailto:stp at shooter-szene.de <mailto:stp at shooter-szene.de>> wrote:
>
>                well, i have tried something and removed a line but i
>                have the same file as yours
>
>                just added the original file but still this error
>
>
>                ----- Original Message ----- From: "escapedturkey"
>                <escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>
>                <mailto:escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>>>
>                To: "Call of Duty server admin list." <cod at icculus.org 
> <mailto:cod at icculus.org>
>                <mailto:cod at icculus.org <mailto:cod at icculus.org>>>
>                Sent: Monday, September 21, 2009 2:07 PM
>                Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>
>
>                Mine is +1
>
>                ls -al codwaw_lnxded
>                -rwxrwxrwx 1 1364465 280556 1214 Sep 14 09:51 codwaw_lnxded
>
>                Yours is 1213.
>
>                md5sum *
>                ca45a5705f452659ec14c4e3a2c5e5e0  binkw32.dll
>                355623e88361eae9c11f611308752ee8  cod.bmp
>                14c9aba490b799ae3ecae5dc7ba34d82  codlogo.bmp
>                83a0e149d8009f579333bee6c59e895d  CoDWaW.exe
>                fa830571236e103b22eee83a4c74ebba  CoDWaW.ico
>                3db9e717eeddd22b469caa12568523b9  codwaw_lnxded
>                a98201af941b8177fbe358b79c968c4f  codwaw_lnxded-bin
>                2764dafc92f76f7302becf3f63817abb  CoDWaWmp.exe
>                db52cdc95265e317ef92d2c045b8f7c7  libgcc_s.so.1
>                7f3c17f51caa9ff534d5c97b3c10f5a8  libstdc++.so.6
>                960e2f96ebb6da7d2e53fc2950e3f174  localization.txt
>                288f7cbfaeeb167f5c2e44291cb7af4a  pbsetup.run
>                940c75d2645513907140f86bbba34c8f  README-linux.txt
>
>
>
>                stp at shooter-szene.de <mailto:stp at shooter-szene.de> 
> <mailto:stp at shooter-szene.de <mailto:stp at shooter-szene.de>> wrote:
>
>                    -rwxr-xr-x  1 codwaw users    1213 2009-09-21 11:49
>                    codwaw_lnxded
>                    -rwxr-xr-x  1 codwaw users 6051298 2009-09-14 16:51
>                    codwaw_lnxded-bin
>                    drwxr-xr-x  5 codwaw users    4096 2009-02-12 09:05 
> Docs
>                    -rwxr-xr-x  1 codwaw users   41384 2008-11-21 05:26
>                    libgcc_s.so.1
>                    -rwxr-xr-x  1 codwaw users  939472 2008-11-21 05:26
>                    libstdc++.so.6
>                    -rwxr-xr-x  1 codwaw users    2314 2008-09-27 20:19
>                    localization.txt
>                    drwxr-xr-x  3 codwaw users    4096 2009-09-14 16:56 
> main
>                    drwxr-xr-x  6 codwaw users    4096 2009-09-19 12:43 pb
>                    -rwxr-xr-x  1 codwaw users      51 2009-09-21 12:06
>                    restart.sh
>                    -rwxr-xr-x  1 codwaw users     219 2009-09-21 12:06
>                    start.sh
>                    -rwxr-xr-x  1 codwaw users      52 2009-09-21 12:06
>                    stop.sh
>                    -rwxr-xr-x  1 codwaw users     151 2009-01-30 18:42
>                    version.inf
>                    drwxr-xr-x  3 codwaw users    4096 2009-04-10 23:59 
> zone
>
>
>
>                    ----- Original Message ----- From: "escapedturkey"
>                    <escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>
>                    <mailto:escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>>>
>                    To: "Call of Duty server admin list."
>                    <cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>>
>                    Sent: Monday, September 21, 2009 1:52 PM
>                    Subject: Re: [cod] World At War 1.6 Error libdl.so.2
>
>
>                    Please do the following:
>
>                    cd /home/codwaw
>
>                    ls -al
>
>                    stp at shooter-szene.de <mailto:stp at shooter-szene.de> 
> <mailto:stp at shooter-szene.de <mailto:stp at shooter-szene.de>>
>                    wrote:
>
>                        ok i have create another user (user: codwaw,
>                        group: users) and set a homepath for this user:
>                        /home/codwaw
>
>                        the permission are ok, but still the same error
>
>                        note, i had never before such error, its since
>                        the new version, so i wonder whats happend since
>
>                        ./codwaw_lnxded +set net_port 28960 +set
>                        sv_punkbuster 1 +set sv_pure 1 +exec server.cfg
>                        +set fs_homepath /home/codwaw/ +map_rotate
>                        ./codwaw_lnxded: line 45:
>                        /home/codwaw/codwaw_lnxded-bin: cannot execute
>                        binary file
>                        ./codwaw_lnxded: line 45:
>                        /home/codwaw/codwaw_lnxded-bin: Success
>
>
>                        line 54 is:  exec "./codwaw_lnxded-bin" "$@"
>
>                        so the script cant find codwaw_lnxded-bin, but
>                        its in the same folder (permission 755), same
>                        user and same group
>
>                        i can also try with the bin file and get this 
> error:
>
>                        ./codwaw_lnxded-bin +set net_port 28960 +set
>                        sv_punkbuster 1 +set sv_pure 1 +exec server.cfg
>                        +set fs_homepath /home/codwaw/ +map_rotate
>                        sh: ./codwaw_lnxded-bin: cannot execute binary file
>
>
>                        weird?
>
>
>                        ----- Original Message ----- From:
>                        "escapedturkey" <escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>
>                        <mailto:escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>>>
>                        To: "Call of Duty server admin list."
>                        <cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>>
>                        Sent: Monday, September 21, 2009 1:05 PM
>                        Subject: Re: [cod] World At War 1.6 Error 
> libdl.so.2
>
>
>                        /home/cod5 should be a user.
>
>                        You may want to try to create a user account and
>                        let it own the
>                        permissions to the entire /home/username folder
>                        that belongs to it. Then
>                        copy the game into that (fixing the permissions
>                        appropriately). It'll
>                        make things a lot easier for you. :)
>
>
>                        stp at shooter-szene.de <mailto:stp at shooter-szene.de>
>                        <mailto:stp at shooter-szene.de 
> <mailto:stp at shooter-szene.de>> wrote:
>
>                            no, cod5 is not the user, i tried also as
>                            root and the rights of lnxded´s are ok
>
>                            thats wierd, it never happend before
>
>                            i think its nothing with the permissions
>
>                            hrm
>
>
>
>                            ----- Original Message ----- From:
>                            "escapedturkey"
>                            <escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>
>                            <mailto:escapedturkey at escapedturkey.com 
> <mailto:escapedturkey at escapedturkey.com>>>
>                            To: "Call of Duty server admin list."
>                            <cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>>
>                            Sent: Monday, September 21, 2009 12:52 PM
>                            Subject: Re: [cod] World At War 1.6 Error
>                            libdl.so.2
>
>
>                                The username's is cod5?
>
>                                So when you su - cod5 it logins as a user?
>
>                                Please type 'whoami' after you su - cod5
>
>                                Then you may want to chmod 755
>                                codwaw_lnxded-bin
>
>                                :)
>
>                                Please try this script as root:
>
>                                permissions-fix.sh
>
>                                #!/bin/bash
>                                chmod 711 /home
>                                rm -f /home/users
>                                cd /home
>                                ls -1p|grep /|grep -v install|cut -d "/"
>                                -f1 > users
>                                for user in `cat users`
>                                do
>                                /bin/chmod 700 /home/$user
>                                chown -R $user.$user /home/$user
>                                done
>                                rm -f /home/users
>                                exit $?
>
>                                stp at shooter-szene.de 
> <mailto:stp at shooter-szene.de>
>                                <mailto:stp at shooter-szene.de 
> <mailto:stp at shooter-szene.de>> wrote:
>
>                                    just another problem i never had before
>
>                                    USER:/home/cod5# ./codwaw_lnxded
>                                    +set net_port 28960 +set
>                                    sv_punkbuster 1 +set sv_pure 1 +exec
>                                    server.cfg +set fs_homepath
>                                    /home/cod5/ +map_rotate
>                                    ./codwaw_lnxded: line 46:
>                                    /home/cod5/codwaw_lnxded-bin: cannot
>                                    execute binary file
>                                    ./codwaw_lnxded: line 46:
>                                    /home/cod5/codwaw_lnxded-bin: Success
>
>                                    i tried with another user, all
>                                    rights seems to be ok, libs are ok
>                                    and located in the right folders, i
>                                    dont have any clue what going on
>
>
>                                    ----- Original Message ----- From:
>                                    "Ryan C. Gordon"
>                                    <icculus at icculus.org 
> <mailto:icculus at icculus.org>
>                                    <mailto:icculus at icculus.org 
> <mailto:icculus at icculus.org>>>
>                                    To: "Call of Duty server admin
>                                    list." <cod at icculus.org 
> <mailto:cod at icculus.org>
>                                    <mailto:cod at icculus.org 
> <mailto:cod at icculus.org>>>
>                                    Sent: Monday, September 21, 2009 9:32 
> AM
>                                    Subject: Re: [cod] World At War 1.6
>                                    Error libdl.so.2
>
>
>                                        Brandon Clinger wrote:
>
>                                            I receiving this error. Any
>                                            ideas where to start with
>                                            this one?
>
>                                            *./codwaw_lnxded-bin: error
>                                            while loading shared
>                                            libraries: libdl.so.2:
>                                            cannot create shared object
>                                            descriptor: Cannot allocate
>                                            memory*
>
>
>                                        I have no idea why that would
>                                        happen, but did this work in
>                                        1.5? I added an explicit RPATH
>                                        to the binary so it knows to
>                                        load libgcc/libstd from the same
>                                        directory as the game without
>                                        the LD_LIBRARY_PATH hack that
>                                        used to be in the shell script.
>                                        It's possible this is causing
>                                        some funky bad reaction from
>                                        your dynamic loader?
>
>                                        If this wasn't tested with 1.5:
>                                        you have a broken system.  :)
>
>                                        --ryan.
>
>
>
> _______________________________________________
>                                        cod mailing list
>                                        cod at icculus.org 
> <mailto:cod at icculus.org>
>                                        <mailto:cod at icculus.org 
> <mailto:cod at icculus.org>>
>
> http://icculus.org/mailman/listinfo/cod
>
>
>
> _______________________________________________
>                                    cod mailing list
>                                    cod at icculus.org 
> <mailto:cod at icculus.org> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>
> http://icculus.org/mailman/listinfo/cod
>
>
> _______________________________________________
>                                cod mailing list
>                                cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                                http://icculus.org/mailman/listinfo/cod
>
>
>
> _______________________________________________
>                            cod mailing list
>                            cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                            http://icculus.org/mailman/listinfo/cod
>
>                        _______________________________________________
>                        cod mailing list
>                        cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                        http://icculus.org/mailman/listinfo/cod
>
>                        _______________________________________________
>                        cod mailing list
>                        cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                        http://icculus.org/mailman/listinfo/cod
>
>                    _______________________________________________
>                    cod mailing list
>                    cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                    http://icculus.org/mailman/listinfo/cod
>
>                    _______________________________________________
>                    cod mailing list
>                    cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                    http://icculus.org/mailman/listinfo/cod
>
>                _______________________________________________
>                cod mailing list
>                cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                http://icculus.org/mailman/listinfo/cod
>
>                _______________________________________________
>                cod mailing list
>                cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>                http://icculus.org/mailman/listinfo/cod
>
>            _______________________________________________
>            cod mailing list
>            cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>            http://icculus.org/mailman/listinfo/cod
>
>            _______________________________________________
>            cod mailing list
>            cod at icculus.org <mailto:cod at icculus.org> 
> <mailto:cod at icculus.org <mailto:cod at icculus.org>>
>            http://icculus.org/mailman/listinfo/cod
>
>        _______________________________________________
>        cod mailing list
>        cod at icculus.org <mailto:cod at icculus.org> <mailto:cod at icculus.org 
> <mailto:cod at icculus.org>>
>        http://icculus.org/mailman/listinfo/cod
>
>        _______________________________________________
>        cod mailing list
>        cod at icculus.org <mailto:cod at icculus.org> <mailto:cod at icculus.org 
> <mailto:cod at icculus.org>>
>        http://icculus.org/mailman/listinfo/cod
>
>
>
>
>    --    Geoff Goas
>    Network Engineer
>
>   ------------------------------------------------------------------------
>
>    _______________________________________________
>    cod mailing list
>    cod at icculus.org <mailto:cod at icculus.org>
>    http://icculus.org/mailman/listinfo/cod
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cod mailing list
> cod at icculus.org <mailto:cod at icculus.org>
> http://icculus.org/mailman/listinfo/cod
>
> _______________________________________________
> cod mailing list
> cod at icculus.org <mailto:cod at icculus.org>
> http://icculus.org/mailman/listinfo/cod
>
> _______________________________________________
> cod mailing list
> cod at icculus.org <mailto:cod at icculus.org>
> http://icculus.org/mailman/listinfo/cod
>
>
>
>
> -- 
> Geoff Goas
> Network Engineer
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> cod mailing list
> cod at icculus.org
> http://icculus.org/mailman/listinfo/cod
>

-- 
Viele Grüsse aus Menden

Thomas Toka
========================================================================
Webmaster, Administrator, Webhoster, Gameserverhoster

Serverman Webhosting
Thomas Toka
Droste-Hülshoff-Str. 11
58708 Menden
Office: +49 (0) 2373 389140 (Festnetz)
Mobil: +49 (0) 171 2772896 (D1)
Fax: +49 (0) 2373 389142 (Festnetz)
Internet: http://www.serverman.de

Steuer-Nummer: DE240010739
Inhaber: Thomas Toka

Serverstandort:
Newcolo GmbH. Mainzer Landstrasse 351-353, 60326 Frankfurt am Main

Die in dieser eMail enthaltenen Informationen sind vertraulich und
können von rechtlicher Relevanz sein. Diese Mail ist ausschliesslich
für den im Quelltext genannten Empfänger bestimmt und jeglicher
Zugriff durch andere Personen ist nicht authorisiert. Falls Sie
nicht der rechtmäßige Empfänger sind, ist jegliche Veröffentlichung,
Vervielfältigung, Verteilung oder sonstige in diesem Zusammenhang
stehende Handlung untersagt und unter Umständen strafbar. Sollten
Sie diese Mail irrtümlich erhalten haben, leiten Sie diese bitte an
webmaster at serverman.de weiter und löschen Ihre Kopien dieser Mail
unverzüglich.

The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the addressee and access to
the e-mail by anyone else is unauthorised. If you are not the
intended recipient, any disclosure, copying, distribution or any
action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. If you have received this e-mail in error
please forward to webmaster at serverman.de and delete all local copies
of this mail.

_______________________________________________
cod mailing list
cod at icculus.org
http://icculus.org/mailman/listinfo/cod



More information about the cod mailing list