Posts: 23
Threads: 4
Joined: Apr 2015
Reputation:
0
Hello,
I usually have no problems getting my server up and running whenever I have to switch VPS servers. But, this time is different. I am getting this each time I try to start the server:
"Segmentation fault (core dumped)"
I have searched for about an hour now and have not figured out the issue. I've installed all the necessary libs, tried uploading the executables in binary mode and just cannot get it. I am running CentOS 6.6 64 bit. Any help is appreciated!
Posts: 617
Threads: 6
Joined: Oct 2011
Reputation:
0
did you try grabbing the files via wget and extracting from the VPS itself instead of uploading the SAMP files via FTP. And also try a blank server no plugins etc.
Posts: 23
Threads: 4
Joined: Apr 2015
Reputation:
0
06.07.2015, 02:07
(
Последний раз редактировалось SeaKing; 06.07.2015 в 05:54.
)
Yep, tried both of those.
EDIT: Running a blank server worked. Whenever I add any plugins to it, I get the Segmentation Fault again.
Posts: 617
Threads: 6
Joined: Oct 2011
Reputation:
0
Okay so it's one of the plugins, this has happened to me a few times and here is the possible reasons that I've dealt with.
The .so file was uploaded incorrectly.
The next issue is SELinux something that I love to have enabled but some SAMP plugins do memory hacking which means SELinux needs to be disabled. A good way to test this is type in as root setenforce 0 this will temporarily disable SELinux.
Posts: 617
Threads: 6
Joined: Oct 2011
Reputation:
0
check your server_log.txt might tell you why it's not starting.
Posts: 83
Threads: 12
Joined: Jun 2012
Reputation:
0
Obviously, segmentation fault is kind of problem which raises when you try to reach/free the memory does not belong to you. Plugins you use, have a bad memory management I think. Add crashdetect plugin to understand which plugin causes this issue.
Posts: 23
Threads: 4
Joined: Apr 2015
Reputation:
0
Thanks for all of your help, it for some reason decided to work this morning.
Posts: 987
Threads: 21
Joined: Nov 2012
Reputation:
0
Are you running an redhat based operating system?(Centos, Fedora, RedHat?)
If so, make sure selinux is disabled.
Always keep in mind that some plugins use sampgdk, and sampgdk installs memory hooks into the sa-mp server.
So, after all, it's modifying the server memory.
Selinux is a software made to secure the linux OS.
You will need to disable selinux, or every program you run which does "reverse engineering" will *crash*/terminate when it tries to install the memory hooks/"patch the memory".