Raised This Month: $12 Target: $400
 3% 

Solved TF2 server unable to start on archlinux


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
b e r b
Junior Member
Join Date: Jun 2018
Old 09-19-2018 , 12:46   TF2 server unable to start on archlinux
Reply With Quote #1

I've been trying run a TF2 server on a fresh archlinux install but whenever I start it, it gives a warning about installing certain packages and then restarts. I tried looking for those packages in the AUR but was unable to find them.

Heres the log file:

Code:
WARNING: No map specified! Server may not heartbeat.
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.

WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
  Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.

Using Breakpad minidump system. Version: 4647498 AppID: 232250
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
Loaded 9300 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_textures.vpk for pure server operation.
Loaded 9300 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_textures.vpk for pure server operation.
Loaded 465 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 465 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 1328 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 1328 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 2190 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_misc.vpk for pure server operation.
Loaded 2190 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_misc.vpk for pure server operation.
Loaded 2190 VPK file hashes from /home/berb/tf2server/tf2/tf/tf2_misc.vpk for pure server operation.
Loaded 1217 VPK file hashes from /home/berb/tf2server/tf2/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/berb/tf2server/tf2/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/berb/tf2server/tf2/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 451 VPK file hashes from /home/berb/tf2server/tf2/hl2/hl2_misc.vpk for pure server operation.
Loaded 451 VPK file hashes from /home/berb/tf2server/tf2/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/berb/tf2server/tf2/platform/platform_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/berb/tf2server/tf2/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "Team Fortress"
Could not load: replay_srv.so
Could not load: replay_srv.so

Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
tf2/srcds_run: line 324:  6462 Segmentation fault      (core dumped) $HL_CMD
Add "-debug" to the tf2/srcds_run command line to generate a debug.log to help with solving this problem
Wed Sep 19 12:27:35 EDT 2018: Server restart in 10 seconds
If anybody could tell me a solution to this problem, I would greatly appreciate it. Thanks

Last edited by b e r b; 09-19-2018 at 21:56.
b e r b is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 09-19-2018 , 13:14   Re: TF2 server unable to start on archlinux
Reply With Quote #2

https://forums.alliedmods.net/showpo...79&postcount=2

Not sure what it's called on Arch but it's probably the libcurl3-gnutls equivalent. Do an ldd as mentioned to be sure. You'll probably also want to install one of the other libraries in the warning in your server output for a decent server console experience (lib32tinfo, ncurses-libs).

Did some more looking, you probably want https://www.archlinux.org/packages/m...ibcurl-gnutls/
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 09-19-2018 at 13:26.
nosoop is offline
b e r b
Junior Member
Join Date: Jun 2018
Old 09-19-2018 , 15:52   Re: TF2 server unable to start on archlinux
Reply With Quote #3

I installed the package you linked as well as lib32-gnutls, and the ncurses5-compat-libs AUR package which includes libtinfo.so.5 and libncurses.so.5 however I still get the same error.
b e r b is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-19-2018 , 18:44   Re: TF2 server unable to start on archlinux
Reply With Quote #4

Just to make sure, have you used steamcmd to validate the server install?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
b e r b
Junior Member
Join Date: Jun 2018
Old 09-19-2018 , 21:05   Re: TF2 server unable to start on archlinux
Reply With Quote #5

Actually, I ended up fixing the problem by installing the 32-bit bit version of ncurses5-compat-libs and it seems to be running smoothly
b e r b is offline
colossus
Member
Join Date: Sep 2013
Old 04-08-2019 , 16:34   Re: TF2 server unable to start on archlinux
Reply With Quote #6

Solution: https://wiki.teamfortress.com/wiki/L...dicated_server
Centos 6
yum install libcurl.i686
ln -s /usr/lib/libcurl.so.4 /usr/lib/libcurl-gnutls.so.4
colossus is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode