Page 1 of 2

Server fails after 6min

Posted: Sun Jul 19, 2015 2:06 pm
by welchmek
I purchased a dedicate server recently and have been trying to setup my Ark server on it. its running Ubuntu 14.04 I performed all the install processes listed on the wiki but when I launch it it begins running and gives me:

Code: Select all

steam@ubuntu:~/servers/ark/ShooterGame/Binaries/Linux$ ./startark.sh
Using binned.
4.5.1-0+UE4 7038 3077 402 3
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
After about 6 minuets it then gives me this:

Code: Select all

Signal 11 caught.
EngineCrashHandler: Signal=11
./startark.sh: line 2:  2094 Segmentation fault      (core dumped) ./ShooterGameServer TheIsland?listen?SessionName=Welchmekia?ServerPassword=xxxx?ServerAdminPassword=xxxxxxxx -server -log
I have also tried using the FezVrasta/ark-server-tools and it appears to do the exact same thing.
the server currently has firewall disabled and the server provider has reassured me that the ports are not blocked. I cannot think of anything else to try I have also deleted everything and started the whole install over and got the same results. The server has 16G memory and max files have been set.

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 2:36 am
by Dashproject
Some thing is wrong with your startup line, try this as startup line:

Code: Select all

"TheIsland?listen?MultiHome=91.205.193.201?MaxPlayers=70?RCONEnabled=True?RCONPort=32330?ServerAdminPassword=123?SessionName=Your Server Name" -nosteamclient -server -log
This must be placed AFTER the: ./ShooterGame

-Dash

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 4:59 am
by welchmek
I tried replacing my startup code with that and only changed my IP address but the only thing that looks to have changed was "27080 Segmentation fault"

Code: Select all

steam@ubuntu:~/servers/ark/ShooterGame/Binaries/Linux$ bash startark.sh
Using binned.
4.5.1-0+UE4 7038 3077 402 3
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
Signal 11 caught.
EngineCrashHandler: Signal=11
startark.sh: line 2: 27080 Segmentation fault      (core dumped) ./ShooterGameServer "TheIsland?listen?MultiHome=23.238.135.194?MaxPlayers=70?RCONEnabled=True?RCONPort=32330?ServerAdminPassword=123?SessionName=Your Server Name" -nosteamclient -server -log

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 5:11 am
by Dashproject
Your probably missing a library:

Code: Select all

sudo apt-get install lib32gcc1

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 5:26 am
by welchmek
Installed that one from the Wiki tried it again to be sure and tells me I already have newest version.

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 5:44 am
by Dashproject
also libc6-dev installed?

Code: Select all

apt-get install libc6-dev
And adjusted your Open File Limits ?

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 5:50 am
by welchmek
looks like that one was not installed. got it now and trying it out.
I set the open file limits as per the wiki the only part I was not sure if i did right was when editing the /etc/security/limits.conf in the code it showed * in there so I put them in but maybe its just me that seemed like something I shouldn't do.

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 6:12 am
by welchmek
Still fails after a bit

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 6:56 am
by Dashproject
Can you give me your startup script (do use the code thingy) and the output of:

Code: Select all

cat /etc/sysctl.conf
and

Code: Select all

cat /etc/security/limits.conf
//Edited: Found a mistake in my command

Re: Server fails after 6min

Posted: Tue Jul 21, 2015 2:52 pm
by welchmek
Not sure if its what you mean but the file I run to launch is:

Code: Select all

#! /bin/bash
./ShooterGameServer "TheIsland?listen?MultiHome=23.238.135.194?MaxPlayers=70?RCONEnabled=True?RCONPort=32330?ServerAdminPassword=123?SessionName=Your Server Name" -nosteamclient -server -log
First one

Code: Select all

#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_syncookies=1

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
#  Enabling this option disables Stateless Address Autoconfiguration
#  based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1


###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
fs.file-max=100000
second one:

Code: Select all

#
#
#Each line describes a limit for a user in the form:
#
#<domain>        <type>  <item>  <value>
#
#Where:
#<domain> can be:
#        - a user name
#        - a group name, with @group syntax
#        - the wildcard *, for default entry
#        - the wildcard %, can be also used with %group syntax,
#                 for maxlogin limit
#        - NOTE: group and wildcard limits are not applied to root.
#          To apply a limit to the root user, <domain> must be
#          the literal username root.
#
#<type> can have the two values:
#        - "soft" for enforcing the soft limits
#        - "hard" for enforcing hard limits
#
#<item> can be one of the following:
#        - core - limits the core file size (KB)
#        - data - max data size (KB)
#        - fsize - maximum filesize (KB)
#        - memlock - max locked-in-memory address space (KB)
#        - nofile - max number of open files
#        - rss - max resident set size (KB)
#        - stack - max stack size (KB)
#        - cpu - max CPU time (MIN)
#        - nproc - max number of processes
#        - as - address space limit (KB)
#        - maxlogins - max number of logins for this user
#        - maxsyslogins - max number of logins on the system
#        - priority - the priority to run user process with
#        - locks - max number of file locks the user can hold
#        - sigpending - max number of pending signals
#        - msgqueue - max memory used by POSIX message queues (bytes)
#        - nice - max nice priority allowed to raise to values: [-20, 19]
#        - rtprio - max realtime priority
#        - chroot - change root to directory (Debian-specific)
#
#<domain>      <type>  <item>         <value>
#

#*               soft    core            0
#root            hard    core            100000
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#ftp             -       chroot          /ftp
#@student        -       maxlogins       4

*               soft    nofile          1000000
*               hard    nofile          1000000

# End of file