*SOLVED* Failed to path dedicated_cfg file

Moderators: vni, NADEO

Post Reply
User avatar
djhubertus
Translator
Translator
Posts: 1252
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

*SOLVED* Failed to path dedicated_cfg file

Post by djhubertus »

Hello :D

I have a little question about smart configuration because i've got this error in log

Code: Select all

[BO:OT] Parsing Configuration File config.xml
[19:41] Operating System Linux (LINUX)
[19:41] Killing old instance 27742
kill: 1: No such process

[19:41] Creating PID-File...
[19:41] [b]Failed to read Dedicated Config-File. Make sure to specify it via --dedicatedcfg=XXXX[/b]
i set --dedicatedcfg=/UserData/Config/dedicated_cfg.txt
and
--dedicatedcfg=Config/dedicated_cfg.txt
and
--dedicatedcfg=dedicated_cfg.txt

But it doesn't work :/why ?
My Gamemodes:
MP4 - Countdown, Firefight
MP3 - Reduction, Overload, Flashpoint, Territory, SM Race, Escape
MP2 - Search & Destroy, Oscillation, Instagib
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Failed to path dedicated_cfg file

Post by TMarc »

make sure the cfg file has the proper flags, possible it can't be read by the game.
use absolute path if possible.
and search the forum for dedicated_cfg ;)
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: Failed to path dedicated_cfg file

Post by vni »

Define the full path.

--dedicatedcfg=/home/myuser/SMServer/UserData/Config/dedicated_cfg.txt
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
djhubertus
Translator
Translator
Posts: 1252
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

Re: Failed to path dedicated_cfg file

Post by djhubertus »

now smart.log is clear but smart still doesn't work :O
My Gamemodes:
MP4 - Countdown, Firefight
MP3 - Reduction, Overload, Flashpoint, Territory, SM Race, Escape
MP2 - Search & Destroy, Oscillation, Instagib
User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: Failed to path dedicated_cfg file

Post by vni »

So, I think you must give us a little more detailed information about your directory/user/permission structure.
SMART - The smarter Servertool for Shootmania
Download SMART at http://smarttool.org
Changelog: here
Frequently Asked Questions: here

IRC: #smart @ QuakeNet (WebChat)
User avatar
djhubertus
Translator
Translator
Posts: 1252
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

Re: Failed to path dedicated_cfg file

Post by djhubertus »

what exactly I have to write about permissions ?
My Gamemodes:
MP4 - Countdown, Firefight
MP3 - Reduction, Overload, Flashpoint, Territory, SM Race, Escape
MP2 - Search & Destroy, Oscillation, Instagib
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Failed to path dedicated_cfg file

Post by TMarc »

unix/linux style servers need dedicated file applications (e.g. lookup the help for the command chmod).
windows systems have permissions on user groups and users in a slightly different way.

where did you create the config file? probably it has only the rights for your user (or if you are doing everthing as admin, admin rights, and this means it can only be read by application executed with admin rights), and standard services can't access it -> wrong permission ... you should have logfile entry about this. Something like the file does'nt exist or can't be read.
User avatar
djhubertus
Translator
Translator
Posts: 1252
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

Re: Failed to path dedicated_cfg file

Post by djhubertus »

Public user doesn't have access to ftp xD

My dedicated_cfg.txt file has chmod 771, Config folder has chmod 774
My Gamemodes:
MP4 - Countdown, Firefight
MP3 - Reduction, Overload, Flashpoint, Territory, SM Race, Escape
MP2 - Search & Destroy, Oscillation, Instagib
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Failed to path dedicated_cfg file

Post by TMarc »

if smart uses a service with a different user, then it can't access the files anyway.

Is there a switch to have more verbose output? :oops:
User avatar
djhubertus
Translator
Translator
Posts: 1252
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

Re: Failed to path dedicated_cfg file

Post by djhubertus »

We were able to fix this and run smart :) We duplicate dedicated file and
one threw to the root/main folder
My Gamemodes:
MP4 - Countdown, Firefight
MP3 - Reduction, Overload, Flashpoint, Territory, SM Race, Escape
MP2 - Search & Destroy, Oscillation, Instagib
Post Reply

Return to “SMART Servercontroller”

Who is online

Users browsing this forum: No registered users and 1 guest