Error on linux - "No such file or directory"
#1

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 ?
Reply
#2

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

CentOS 6.3
Reply
#4

Did you try sudo yum install glibc.i386?
Reply
#5

didn't,installing ...
Reply
#6

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.
Reply
#7

Is SAMP even compatible with CentOS ? D:
Reply
#8

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

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 ?
Reply
#10

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

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

What about sudo yum install glibc.i686?
Reply
#13

Works
Reply
#14

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

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'
Reply
#16

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.
Reply
#17

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 &"
Reply
#18

Try yum install libstdc++.so.6.
Reply
#19

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

YES,its up !
Thank you a lot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)