if you run "file <font face="Arial" size="2">/home/codwaw/codwaw_lnxded-bin" ?</font><br><br><div class="gmail_quote">On Mon, Sep 21, 2009 at 9:06 AM, <span dir="ltr"><<a 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;">its already disabled<div class="im"><br>
<br>
<br>
----- Original Message ----- From: "escapedturkey" <<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a>><br></div><div class="im">
To: "Call of Duty server admin list." <<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br></div>
Sent: Monday, September 21, 2009 2:59 PM<div><div></div><div class="h5"><br>
Subject: Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
<br>
Make sure selinux is disabled.<br>
<br>
<a 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;">
user and folder is called codwaw<br>
as user codwaw:<br>
sudo -u codwaw strace -f -e open,stat,write /home/codwaw/codwaw_lnxded-bin<br>
codwaw is not in the sudoers file. This incident will be reported.<br>
as root:<br>
sudo -u codwaw strace -f -e open,stat,write /home/codwaw/codwaw_lnxded-bin<br>
write(3, "strace: exec: Exec format error\n"..., 32strace: exec: Exec format error<br>
) = 32<br>
<br>
----- Original Message -----<br>
*From:* Geoff Goas <mailto:<a href="mailto:gitman@gmail.com" target="_blank">gitman@gmail.com</a>><br>
*To:* Call of Duty server admin list. <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
*Sent:* Monday, September 21, 2009 2:54 PM<br>
*Subject:* Re: [cod] World At War 1.6 Error libdl.so.2<br>
<br>
Whats the output of:<br>
<br>
sudo -u cod5 strace -f -e open,stat,write /home/cod5/codwaw_lnxded-bin<br>
<br>
On Mon, Sep 21, 2009 at 8:49 AM, <<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a><br>
<mailto:<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>>> wrote:<br>
<br>
same error ...<br>
<br>
may ryan knows another guide?<br>
<br>
i will test it with another server later, may something with<br>
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<br>
<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey"<br>
<<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a><br>
<mailto:<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a>>><br>
To: "Call of Duty server admin list." <<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>>><br>
Sent: Monday, September 21, 2009 2:43 PM<br>
<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 href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a> <mailto:<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>> wrote:<br>
<br>
i tried this already<br>
<br>
./codwaw_lnxded-bin: cannot execute binary file<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey"<br>
<<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a><br>
<mailto:<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a>>><br>
To: "Call of Duty server admin list." <<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<mailto:<a 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<br>
+set<br>
sv_pure 1 +exec server.cfg +set fs_homepath /home/codwaw/<br>
+map_rotate<br>
<br>
<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a> <mailto:<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>> wrote:<br>
<br>
well, i have tried something and removed a line but i<br>
have the same file as yours<br>
<br>
just added the original file but still this error<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey"<br>
<<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a><br>
<mailto:<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a>>><br>
To: "Call of Duty server admin list." <<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<mailto:<a 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 href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a> <mailto:<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>> wrote:<br>
<br>
-rwxr-xr-x 1 codwaw users 1213 2009-09-21 11:49<br>
codwaw_lnxded<br>
-rwxr-xr-x 1 codwaw users 6051298 2009-09-14 16:51<br>
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<br>
libgcc_s.so.1<br>
-rwxr-xr-x 1 codwaw users 939472 2008-11-21 05:26<br>
libstdc++.so.6<br>
-rwxr-xr-x 1 codwaw users 2314 2008-09-27 20:19<br>
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<br>
restart.sh<br>
-rwxr-xr-x 1 codwaw users 219 2009-09-21 12:06<br>
start.sh<br>
-rwxr-xr-x 1 codwaw users 52 2009-09-21 12:06<br>
stop.sh<br>
-rwxr-xr-x 1 codwaw users 151 2009-01-30 18:42<br>
version.inf<br>
drwxr-xr-x 3 codwaw users 4096 2009-04-10 23:59 zone<br>
<br>
<br>
<br>
----- Original Message ----- From: "escapedturkey"<br>
<<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a><br>
<mailto:<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a>>><br>
To: "Call of Duty server admin list."<br>
<<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a 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 href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a> <mailto:<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>><br>
wrote:<br>
<br>
ok i have create another user (user: codwaw,<br>
group: users) and set a homepath for this user:<br>
/home/codwaw<br>
<br>
the permission are ok, but still the same error<br>
<br>
note, i had never before such error, its since<br>
the new version, so i wonder whats happend since<br>
<br>
./codwaw_lnxded +set net_port 28960 +set<br>
sv_punkbuster 1 +set sv_pure 1 +exec server.cfg<br>
+set fs_homepath /home/codwaw/ +map_rotate<br>
./codwaw_lnxded: line 45:<br>
/home/codwaw/codwaw_lnxded-bin: cannot execute<br>
binary file<br>
./codwaw_lnxded: line 45:<br>
/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<br>
its in the same folder (permission 755), same<br>
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<br>
sv_punkbuster 1 +set sv_pure 1 +exec server.cfg<br>
+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:<br>
"escapedturkey" <<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a><br>
<mailto:<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a>>><br>
To: "Call of Duty server admin list."<br>
<<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a 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<br>
let it own the<br>
permissions to the entire /home/username folder<br>
that belongs to it. Then<br>
copy the game into that (fixing the permissions<br>
appropriately). It'll<br>
make things a lot easier for you. :)<br>
<br>
<br>
<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a><br>
<mailto:<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>> wrote:<br>
<br>
no, cod5 is not the user, i tried also as<br>
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:<br>
"escapedturkey"<br>
<<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a><br>
<mailto:<a href="mailto:escapedturkey@escapedturkey.com" target="_blank">escapedturkey@escapedturkey.com</a>>><br>
To: "Call of Duty server admin list."<br>
<<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a 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<br>
libdl.so.2<br>
<br>
<br>
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<br>
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 "/"<br>
-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 href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a><br>
<mailto:<a href="mailto:stp@shooter-szene.de" target="_blank">stp@shooter-szene.de</a>> wrote:<br>
<br>
just another problem i never had before<br>
<br>
USER:/home/cod5# ./codwaw_lnxded<br>
+set net_port 28960 +set<br>
sv_punkbuster 1 +set sv_pure 1 +exec<br>
server.cfg +set fs_homepath<br>
/home/cod5/ +map_rotate<br>
./codwaw_lnxded: line 46:<br>
/home/cod5/codwaw_lnxded-bin: cannot<br>
execute binary file<br>
./codwaw_lnxded: line 46:<br>
/home/cod5/codwaw_lnxded-bin: Success<br>
<br>
i tried with another user, all<br>
rights seems to be ok, libs are ok<br>
and located in the right folders, i<br>
dont have any clue what going on<br>
<br>
<br>
----- Original Message ----- From:<br>
"Ryan C. Gordon"<br>
<<a href="mailto:icculus@icculus.org" target="_blank">icculus@icculus.org</a><br>
<mailto:<a href="mailto:icculus@icculus.org" target="_blank">icculus@icculus.org</a>>><br>
To: "Call of Duty server admin<br>
list." <<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<mailto:<a 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<br>
Error libdl.so.2<br>
<br>
<br>
Brandon Clinger wrote:<br>
<br>
I receiving this error. Any<br>
ideas where to start with<br>
this one?<br>
<br>
*./codwaw_lnxded-bin: error<br>
while loading shared<br>
libraries: libdl.so.2:<br>
cannot create shared object<br>
descriptor: Cannot allocate<br>
memory*<br>
<br>
<br>
I have no idea why that would<br>
happen, but did this work in<br>
1.5? I added an explicit RPATH<br>
to the binary so it knows to<br>
load libgcc/libstd from the same<br>
directory as the game without<br>
the LD_LIBRARY_PATH hack that<br>
used to be in the shell script.<br>
It's possible this is causing<br>
some funky bad reaction from<br>
your dynamic loader?<br>
<br>
If this wasn't tested with 1.5:<br>
you have a broken system. :)<br>
<br>
--ryan.<br>
<br>
<br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
<br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
<br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a> <mailto:<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a>><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
<br>
<br>
<br>
-- Geoff Goas<br>
Network Engineer<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
</blockquote>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/cod" target="_blank">http://icculus.org/mailman/listinfo/cod</a><br>
<br>
_______________________________________________<br>
cod mailing list<br>
<a href="mailto:cod@icculus.org" target="_blank">cod@icculus.org</a><br>
<a 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>