Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-22-2017, 07:26 PM   #1
Registered: Aug 2017
Location: Rapid City, SD
Distribution: CentOS 7
Posts: 40

Rep: Reputation: 0
cant start team fortress 2 server upon bootup Cent OS 7.4 details inside

[root@server ~]# systemctl status tf2server.service -l
● tf2server.service - Team Fortress 2 server
   Loaded: loaded (/etc/systemd/system/tf2server.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2017-09-22 20:20:00 EDT; 4min 21s ago
 Main PID: 936 (code=exited, status=127)

Sep 22 20:19:59 systemd[1]: Starting Team Fortress 2 server...
Sep 22 20:19:59 sh[936]: /home/hlserver/ line 2: tf2/srcds_run: No such file or directory
Sep 22 20:20:00 systemd[1]: tf2server.service: main process exited, code=exited, status=127/n/a
Sep 22 20:20:00 systemd[1]: Failed to start Team Fortress 2 server.
Sep 22 20:20:00 systemd[1]: Unit tf2server.service entered failed state.
Sep 22 20:20:00 systemd[1]: tf2server.service failed.
yet tf2/srcds_run exists! or should there be a forward slash infront of it or something? cause the .sh file looks like this

tf2/srcds_run -console -game tf -nohltv +sv_pure 1 +map ctf_2fort +maxplayers 24
when im in the directory it runs fine like if i navigate to /home/hlserver and execute ./ it runs.. so what am i doing wrong here??
Old 09-22-2017, 08:13 PM   #2
Registered: Aug 2017
Location: Rapid City, SD
Distribution: CentOS 7
Posts: 40

Original Poster
Rep: Reputation: 0
never mind i fixed it by adding /home/hlserver/tf2/srcds_run


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need help getting Team Fortress 2 working on Ubuntu 14.10 anon014 Linux - Newbie 8 04-10-2015 10:03 AM
Trying to run Team Fortress 2 on Ubuntu 12.04 actyler1012 Linux - Games 1 02-22-2013 06:58 PM
LXer: Team Fortress 2 on Linux!! LXer Syndicated Linux News 0 10-24-2012 01:40 AM
need forum entry to guide newbies how to start..details inside mhalder LQ Suggestions & Feedback 2 04-25-2008 03:35 AM
Quick Rant on Team Fortress Whitehat General 2 08-30-2003 11:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration