SA-MP Forums Archive
Error on linux - "No such file or directory" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Error on linux - "No such file or directory" (/showthread.php?tid=391969)



Error on linux - "No such file or directory" - Skillet` - 12.11.2012

Yea,I thought everything will be work fine after installing ia32-libs,but nothing changed.
I installed ia32-libs and I still have the same issue I had before -
./samp03svr &
Code:
$ ./samp03svr &
$ -bash: ./samp03svr: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
nohup ./samp03svr &
Code:
$ nohup ./samp03svr &
[1] 32301
$ nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `./samp03svr': No such file or directory

[1]+  Exit 127                nohup ./samp03svr
Any ideas ?


Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Which Linux distro are you using? CentOS, Debian or what?


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

CentOS 6.3


Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Did you try sudo yum install glibc.i386?


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

didn't,installing ...


Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Quote:
Originally Posted by Skillet`
View Post
didn't,installing ...
Report back if you get any further problems or if it solved the problem for you.


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

Is SAMP even compatible with CentOS ? D:


Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Yes it is, now did you install the package and did you try to run the program?


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

I should stop trusting my hoster >.>
Quote:

Please stop top-posting and full-quoting. Thanks.

ia32-libs is a Debianism![1] There is nothing equal on CentOS. Others
have already pointed out that CentOS is multiarch and that you can
install i?86 packages in parallel to the basic x86_64 arch packages.

If the script you are running is hardcoded to require ia32-libs, then
that install method is not compatible with CentOS. You probably will
have to read the script's code to see whether it fits CentOS.

this is why I asked.
finally I understood how to set myself to root,so I tried to install ia32-libs and it said:
Quote:

No package ia32-libs available.
Error: Nothing to do

so by the quote at the top of the post,you can realize that CentOS is already packaged as compatible with 32bit & 64bit.
so now what ?


Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Did you try sudo yum install glibc.i386, now that you're a superuser?


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

Yes,same message as I posted before
Code:
No package glibc.i386 available.
Error: Nothing to do



Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

What about sudo yum install glibc.i686?


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

Works


Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Okay can you start the server now after installing that package?


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

have no clue
it just say :
Code:
[root@330cos samp03]# nohup ./samp03svr &
[1] 2117
[root@330cos samp03]# nohup: ignoring input and appending output to `nohup.out'



Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Quote:
Originally Posted by Skillet`
View Post
have no clue
it just say :
Code:
[root@330cos samp03]# nohup ./samp03svr &
[1] 2117
[root@330cos samp03]# nohup: ignoring input and appending output to `nohup.out'
It probably works, try to add your serverIP:7777 to your favorites. Also, make sure you change RCON password.


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

the server isn't online and it says :
Code:
[root@330cos samp03]# ./samp03svr: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
when I type "./samp03svr &"


Re: Error on linux - "No such file or directory" - Zircon-Hosting - 12.11.2012

Try yum install libstdc++.so.6.


Re: Error on linux - "No such file or directory" - ColorHost-Kevin - 12.11.2012

Once you install that with the command above, your server should start.


Re: Error on linux - "No such file or directory" - Skillet` - 12.11.2012

YES,its up !
Thank you a lot.