trying to setup vps - problem
#1

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

try to chmod your plugins and your samp-server.exe/announce.exe/samp-npc.exe to the value '777' (writeable/readable/excuteable)
Reply
#3

did , still same thing.
Reply
#4

Quote:
Originally Posted by LazzyBoy
Посмотреть сообщение
did , still same thing.
please show me your server.log in [code] block
Reply
#5

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

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

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

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

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

Go into samp server's root directory and show us output of

Код:
ls -la
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:
Код:
cd [directory]
where Directory could be something like /home/user/samp03svr/. Then do the command.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)