trying to setup vps - problem -
LazzyBoy - 07.04.2017
hello guys so recently i got a vps and im trying to set things up so u followed couple of tutorials but getting an error
Код:
~/samp03# nohup: ignoring input and appending output to 'nohup.out'
nohup: failed to run command './samp03svr': No such file or directory
anyone please help me out .
Operation system is Ubuntu 16.04 x86_64
Re: trying to setup vps - problem -
Zorono - 07.04.2017
try to chmod your plugins and your samp-server.exe/announce.exe/samp-npc.exe to the value '777' (writeable/readable/excuteable)
Re: trying to setup vps - problem -
LazzyBoy - 07.04.2017
did , still same thing.
Re: trying to setup vps - problem -
Zorono - 07.04.2017
Quote:
Originally Posted by LazzyBoy
did , still same thing.
|
please show me your server.log in [code] block
Re: trying to setup vps - problem -
ManGoe - 08.04.2017
Quote:
Originally Posted by LazzyBoy
did , still same thing.
|
sudo apt-get update && upgrade
Then
sudo apt-get install lib32z1 lib32ncurses5
sudo apt-get install libc6-i386
Best fix is sudo apt-get install lib32z1 lib32ncurses5 it fixed my same issue @Deb.
Re: trying to setup vps - problem -
Sew_Sumi - 08.04.2017
Quote:
Originally Posted by Zorono
try to chmod your plugins and your samp-server.exe/announce.exe/samp-npc.exe to the value '777' (writeable/readable/excuteable)
|
You deserve a flogging for even suggesting this...
ONLY use 775... 777 is TERRIBLE PRACTICE.
Another command in the setup of linux servers that people miss is
Код:
sudo dpkg --add-architecture i386
Re: trying to setup vps - problem -
LazzyBoy - 08.04.2017
i did install all things you guys said now i get only this error
Код:
/samp03# nohup: ignoring input and appending output to 'nohup.out'
[1]+ Exit 127 nohup ./samp03svr
but when i go to my servers ip it still shows offline , can someone help me with TV or something please.
Re: trying to setup vps - problem -
Vince - 08.04.2017
He's saying that his operating system is x86_64 which to me implies that the 32 bit libraries are installed with it. Doesn't hurt to try to install them, though.
Quote:
Originally Posted by Sew_Sumi
ONLY use 775... 777 is TERRIBLE PRACTICE.
|
Actually I think 500 would be enough (read and execute for owner). Other users have no business with it and there's no reason that the executables should be writeable.
Re: trying to setup vps - problem -
LazzyBoy - 08.04.2017
Quote:
Originally Posted by Vince
He's saying that his operating system is x86_64 which to me implies that the 32 bit libraries are installed with it. Doesn't hurt to try to install them, though.
Actually I think 500 would be enough (read and execute for owner). Other users have no business with it and there's no reason that the executables should be writeable.
|
i installed everything and also switched from 777 to 500 and tried to run again but still same thing i get same error i said up there before Vince's post and server still remains offline.
Re: trying to setup vps - problem -
denNorske - 08.04.2017
Go into samp server's root directory and show us output of
It will list the owners and the file permissions of each and every folder+files in the directory.
@vince: Setting permission to 500 won't work unless the files were created/are owned by the user who runs them. (in this case it looks like it's done from bash so would guess it's ran/created by the same user..)
NB: Make sure you do the command to run the server (nohup ./samp03svr) INSIDE the folder the files are.
That means:
where Directory could be something like /home/user/samp03svr/. Then do the command.