Samp server not starting linux centos[++rep]
#1

Hello,

(Sorry if I am not posting it in correct category)

So I bought VPS with centos opearating system and installed samp server on it but when i execute this cmd to start the server:

"nohup ./samp03svr &"

it returns this:

"[1] 18953"

" nohup: ignoring input and appending output to `nohup.out' "

but my server is not online, so please help me guys am i doing somthing wrong?
Reply
#2

When you run ./samp03svr by itself what does it say...
Reply
#3

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
When you run ./samp03svr by itself what does it say...
When I run ./samp03svr it says this:

"./samp03svr: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"


Thanks for your reply
Reply
#4

Means you've not got those libraries installed.

You need to install libstdc++ 6, or it's CentOS equivalent.


https://www.centos.org/forums/viewtopic.php?t=37739

You'll want to read this, and not just skim through it and put the first commands that you see in a "quick fix" method.


I will suggest that if you have too many issues with CentOS (As plugins are notorious to get running on CentOS), you may want to look at switching to Ubuntu if you can. If you can't it's no big deal.

Just keep the thread up to date, and good luck.
Reply
#5

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Means you've not got those libraries installed.

You need to install libstdc++ 6, or it's CentOS equivalent.


https://www.centos.org/forums/viewtopic.php?t=37739

You'll want to read this, and not just skim through it and put the first commands that you see in a "quick fix" method.


I will suggest that if you have too many issues with CentOS (As plugins are notorious to get running on CentOS), you may want to look at switching to Ubuntu if you can. If you can't it's no big deal.

Just keep the thread up to date, and good luck.
Thanks alot my friend it fixed the issue, now my server is running but now the gamemode is unknown I already edited server.cfg file and added "gamemode0 mygamemode 1" but it is not working.
Reply
#6

Are you sure you have loaded the needed plugins which is included/needed by your gamemode?
Reply
#7

^^ Post up the server log, as now that it's "running" we need to see what the server log is saying. As I said, it's notorious for CentOS to have trouble loading various plugins.
Reply
#8

Quote:
Originally Posted by PawnHunter
Посмотреть сообщение
Are you sure you have loaded the needed plugins which is included/needed by your gamemode?
yes but not sure if server is loading them let me post the server log...
Reply
#9

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
^^ Post up the server log, as now that it's "running" we need to see what the server log is saying. As I said, it's notorious for CentOS to have trouble loading various plugins.
okay here is the log:

Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[12:12:57]
[12:12:57] Server Plugins
[12:12:57] --------------
[12:12:57] Loading plugin: sscanf.so
[12:12:57]

[12:12:57] ===============================

[12:12:57] sscanf plugin loaded.

[12:12:57] © 2009 Alex "******" Cole

[12:12:57] 0.3d-R2 500 Players "dnee"

[12:12:57] ===============================

[12:12:57] Loaded.
[12:12:57] Loading plugin: streamer.so
[12:12:57]

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[12:12:57] Loaded.
[12:12:57] Loading plugin: Whirlpool.so
[12:12:57] Failed (plugins/Whirlpool.so: cannot open shared object file: No such file or directory)
[12:12:57] Loading plugin: mysql.so
[12:12:57] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[12:12:57] Loaded 2 plugins.

[12:12:57]
[12:12:57] Filterscripts
[12:12:57] ---------------
[12:12:57] Loading filterscript 'aview.amx'...
[12:12:57] Unable to load filterscript 'aview.amx'.
[12:12:57] Loaded 0 filterscripts.

[12:12:57] Script[gamemodes/workingonbankdialog1.amx]: Run time error 19: "File or function is not found"
[12:12:57] Number of vehicle models: 0
[12:13:42] BAD RCON ATTEMPT BY: 202.5.137.132
[12:18:48] --- Server Shutting Down.
[12:18:48]

[12:18:48] ===============================

[12:18:48] sscanf plugin unloaded.

[12:18:48] ===============================

[12:18:48]

*** Streamer Plugin v2.8.2 by Incognito unloaded ***
Reply
#10

Код:
[12:12:57] Loading plugin: Whirlpool.so
[12:12:57] Failed (plugins/Whirlpool.so: cannot open shared object file: No such file or directory)
[12:12:57] Loading plugin: mysql.so
[12:12:57] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
First one verify the file is actually there. It could be whirlpool instead of Whirlpool as Linux is case sensitive.

Second one needs mysqlclient installed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)