<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
is this package installed?<br>
<a class="moz-txt-link-freetext" href="http://packages.debian.org/lenny/ia32-libs">http://packages.debian.org/lenny/ia32-libs</a><br>
<br>
Geoff Goas schrieb:
<blockquote
cite="mid:20c320390909210554t71a5fd8bxdd11bebabdfa7eff@mail.gmail.com"
type="cite">Whats the output of:<br>
<br>
sudo -u cod5 strace -f -e open,stat,write /home/cod5/codwaw_lnxded-bin<br>
<br>
<div class="gmail_quote">On Mon, Sep 21, 2009 at 8:49 AM, <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:stp@shooter-szene.de">stp@shooter-szene.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">same
error ...<br>
<br>
may ryan knows another guide?<br>
<br>
i will test it with another server later, may something with lenny
image? i dont know anymore what could solve this error<br>
<br>
iam not a linux noob and since cod1 no problems until now<br>
<br>
hrm<br>
<br>
but thanks escapedturkey for help
<div class="im"><br>
<br>
<br>
----- Original Message ----- From: "escapedturkey" <<a
moz-do-not-send="true" href="mailto:escapedturkey@escapedturkey.com"
target="_blank">escapedturkey@escapedturkey.com</a>><br>
To: "Call of Duty server admin list." <<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
</div>
Sent: Monday, September 21, 2009 2:43 PM
<div>
<div class="h5"><br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
Just for kicks, as root, type:<br>
<br>
cd /home/cod5<br>
<br>
chmod 755 codwaw_lnxded-bin<br>
<br>
and then<br>
<br>
chown cod5 codwaw_lnxded-bin<br>
<br>
Then, su - cod5 and run ./codwaw_lnxded-bin<br>
<br>
<a moz-do-not-send="true" href="mailto:stp@shooter-szene.de"
target="_blank">stp@shooter-szene.de</a> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i tried this already<br>
<br>
./codwaw_lnxded-bin: cannot execute binary file<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey" <<a
moz-do-not-send="true" href="mailto:escapedturkey@escapedturkey.com"
target="_blank">escapedturkey@escapedturkey.com</a>><br>
To: "Call of Duty server admin list." <<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
Sent: Monday, September 21, 2009 2:34 PM<br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
What happens when you try this:<br>
<br>
export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"<br>
<br>
./codwaw_lnxded-bin +set net_port 28960 +set sv_punkbuster 1 +set<br>
sv_pure 1 +exec server.cfg +set fs_homepath /home/codwaw/ +map_rotate<br>
<br>
<a moz-do-not-send="true" href="mailto:stp@shooter-szene.de"
target="_blank">stp@shooter-szene.de</a> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
well, i have tried something and removed a line but i have the same
file as yours<br>
<br>
just added the original file but still this error<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey" <<a
moz-do-not-send="true" href="mailto:escapedturkey@escapedturkey.com"
target="_blank">escapedturkey@escapedturkey.com</a>><br>
To: "Call of Duty server admin list." <<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
Sent: Monday, September 21, 2009 2:07 PM<br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
Mine is +1<br>
<br>
ls -al codwaw_lnxded<br>
-rwxrwxrwx 1 1364465 280556 1214 Sep 14 09:51 codwaw_lnxded<br>
<br>
Yours is 1213.<br>
<br>
md5sum *<br>
ca45a5705f452659ec14c4e3a2c5e5e0 binkw32.dll<br>
355623e88361eae9c11f611308752ee8 cod.bmp<br>
14c9aba490b799ae3ecae5dc7ba34d82 codlogo.bmp<br>
83a0e149d8009f579333bee6c59e895d CoDWaW.exe<br>
fa830571236e103b22eee83a4c74ebba CoDWaW.ico<br>
3db9e717eeddd22b469caa12568523b9 codwaw_lnxded<br>
a98201af941b8177fbe358b79c968c4f codwaw_lnxded-bin<br>
2764dafc92f76f7302becf3f63817abb CoDWaWmp.exe<br>
db52cdc95265e317ef92d2c045b8f7c7 libgcc_s.so.1<br>
7f3c17f51caa9ff534d5c97b3c10f5a8 libstdc++.so.6<br>
960e2f96ebb6da7d2e53fc2950e3f174 localization.txt<br>
288f7cbfaeeb167f5c2e44291cb7af4a pbsetup.run<br>
940c75d2645513907140f86bbba34c8f README-linux.txt<br>
<br>
<br>
<br>
<a moz-do-not-send="true" href="mailto:stp@shooter-szene.de"
target="_blank">stp@shooter-szene.de</a> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-rwxr-xr-x 1 codwaw users 1213 2009-09-21 11:49 codwaw_lnxded<br>
-rwxr-xr-x 1 codwaw users 6051298 2009-09-14 16:51 codwaw_lnxded-bin<br>
drwxr-xr-x 5 codwaw users 4096 2009-02-12 09:05 Docs<br>
-rwxr-xr-x 1 codwaw users 41384 2008-11-21 05:26 libgcc_s.so.1<br>
-rwxr-xr-x 1 codwaw users 939472 2008-11-21 05:26 libstdc++.so.6<br>
-rwxr-xr-x 1 codwaw users 2314 2008-09-27 20:19 localization.txt<br>
drwxr-xr-x 3 codwaw users 4096 2009-09-14 16:56 main<br>
drwxr-xr-x 6 codwaw users 4096 2009-09-19 12:43 pb<br>
-rwxr-xr-x 1 codwaw users 51 2009-09-21 12:06 restart.sh<br>
-rwxr-xr-x 1 codwaw users 219 2009-09-21 12:06 start.sh<br>
-rwxr-xr-x 1 codwaw users 52 2009-09-21 12:06 stop.sh<br>
-rwxr-xr-x 1 codwaw users 151 2009-01-30 18:42 version.inf<br>
drwxr-xr-x 3 codwaw users 4096 2009-04-10 23:59 zone<br>
<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey" <<a
moz-do-not-send="true" href="mailto:escapedturkey@escapedturkey.com"
target="_blank">escapedturkey@escapedturkey.com</a>><br>
To: "Call of Duty server admin list." <<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
Sent: Monday, September 21, 2009 1:52 PM<br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
Please do the following:<br>
<br>
cd /home/codwaw<br>
<br>
ls -al<br>
<br>
<a moz-do-not-send="true" href="mailto:stp@shooter-szene.de"
target="_blank">stp@shooter-szene.de</a> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
ok i have create another user (user: codwaw, group: users) and set a
homepath for this user: /home/codwaw<br>
<br>
the permission are ok, but still the same error<br>
<br>
note, i had never before such error, its since the new version, so i
wonder whats happend since<br>
<br>
./codwaw_lnxded +set net_port 28960 +set sv_punkbuster 1 +set sv_pure 1
+exec server.cfg +set fs_homepath /home/codwaw/ +map_rotate<br>
./codwaw_lnxded: line 45: /home/codwaw/codwaw_lnxded-bin: cannot
execute binary file<br>
./codwaw_lnxded: line 45: /home/codwaw/codwaw_lnxded-bin: Success<br>
<br>
<br>
line 54 is: exec "./codwaw_lnxded-bin" "$@"<br>
<br>
so the script cant find codwaw_lnxded-bin, but its in the same folder
(permission 755), same user and same group<br>
<br>
i can also try with the bin file and get this error:<br>
<br>
./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<br>
sh: ./codwaw_lnxded-bin: cannot execute binary file<br>
<br>
<br>
weird?<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey" <<a
moz-do-not-send="true" href="mailto:escapedturkey@escapedturkey.com"
target="_blank">escapedturkey@escapedturkey.com</a>><br>
To: "Call of Duty server admin list." <<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
Sent: Monday, September 21, 2009 1:05 PM<br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
/home/cod5 should be a user.<br>
<br>
You may want to try to create a user account and let it own the<br>
permissions to the entire /home/username folder that belongs to it. Then<br>
copy the game into that (fixing the permissions appropriately). It'll<br>
make things a lot easier for you. :)<br>
<br>
<br>
<a moz-do-not-send="true" href="mailto:stp@shooter-szene.de"
target="_blank">stp@shooter-szene.de</a> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
no, cod5 is not the user, i tried also as root and the rights of
lnxded´s are ok<br>
<br>
thats wierd, it never happend before<br>
<br>
i think its nothing with the permissions<br>
<br>
hrm<br>
<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey" <<a
moz-do-not-send="true" href="mailto:escapedturkey@escapedturkey.com"
target="_blank">escapedturkey@escapedturkey.com</a>><br>
To: "Call of Duty server admin list." <<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
Sent: Monday, September 21, 2009 12:52 PM<br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The username's is cod5?<br>
<br>
So when you su - cod5 it logins as a user?<br>
<br>
Please type 'whoami' after you su - cod5<br>
<br>
Then you may want to chmod 755 codwaw_lnxded-bin<br>
<br>
:)<br>
<br>
Please try this script as root:<br>
<br>
permissions-fix.sh<br>
<br>
#!/bin/bash<br>
chmod 711 /home<br>
rm -f /home/users<br>
cd /home<br>
ls -1p|grep /|grep -v install|cut -d "/" -f1 > users<br>
for user in `cat users`<br>
do<br>
/bin/chmod 700 /home/$user<br>
chown -R $user.$user /home/$user<br>
done<br>
rm -f /home/users<br>
exit $?<br>
<br>
<a moz-do-not-send="true"
href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
just another problem i never had before<br>
<br>
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<br>
./codwaw_lnxded: line 46: /home/cod5/codwaw_lnxded-bin: cannot execute
binary file<br>
./codwaw_lnxded: line 46: /home/cod5/codwaw_lnxded-bin: Success<br>
<br>
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<br>
<br>
<br>
----- Original Message ----- From: "Ryan C. Gordon" <<a
moz-do-not-send="true" href="mailto:icculus@icculus.org"
target="_blank">icculus@icculus.org</a>><br>
To: "Call of Duty server admin list." <<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
Sent: Monday, September 21, 2009 9:32 AM<br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Brandon Clinger wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I receiving this error. Any ideas where to start with this one?<br>
<br>
*./codwaw_lnxded-bin: error while loading shared libraries: libdl.so.2:
cannot create shared object descriptor: Cannot allocate memory*<br>
</blockquote>
<br>
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?<br>
<br>
If this wasn't tested with 1.5: you have a broken system. :)<br>
<br>
--ryan.<br>
<br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true"
href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
</blockquote>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a moz-do-not-send="true" href="mailto:cod@icculus.org"
target="_blank">cod@icculus.org</a><br>
<a moz-do-not-send="true"
href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Geoff Goas<br>
Network Engineer<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
cod mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cod@icculus.org">cod@icculus.org</a>
<a class="moz-txt-link-freetext" href="http://icculus.org/mailman/listinfo/cod">http://icculus.org/mailman/listinfo/cod</a>
</pre>
</blockquote>
<br>
</body>
</html>