*SOLVED* Failed to path dedicated_cfg file

Moderators: vni, NADEO

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

*SOLVED* Failed to path dedicated_cfg file

Post by djhubertus » 13 Dec 2012, 19:20

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: 13880
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Failed to path dedicated_cfg file

Post by TMarc » 14 Dec 2012, 12:35

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 ;)
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.
Bug/crash? Please report here, also try the current debug version.

System specs: i7-970 12GB RAM, nVidia GTX 970, SB X-Fi, 2xSSD

User avatar
vni
Posts: 221
Joined: 02 Oct 2011, 09:56

Re: Failed to path dedicated_cfg file

Post by vni » 14 Dec 2012, 14:03

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: 1218
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

Re: Failed to path dedicated_cfg file

Post by djhubertus » 14 Dec 2012, 15:18

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 » 15 Dec 2012, 13:28

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: 1218
Joined: 09 Jul 2012, 18:30
Location: Poland
Contact:

Re: Failed to path dedicated_cfg file

Post by djhubertus » 15 Dec 2012, 20:38

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: 13880
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Failed to path dedicated_cfg file

Post by TMarc » 15 Dec 2012, 22:08

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.
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.
Bug/crash? Please report here, also try the current debug version.

System specs: i7-970 12GB RAM, nVidia GTX 970, SB X-Fi, 2xSSD

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

Re: Failed to path dedicated_cfg file

Post by djhubertus » 16 Dec 2012, 18:36

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: 13880
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Failed to path dedicated_cfg file

Post by TMarc » 16 Dec 2012, 18:51

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:
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.
Bug/crash? Please report here, also try the current debug version.

System specs: i7-970 12GB RAM, nVidia GTX 970, SB X-Fi, 2xSSD

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

Re: Failed to path dedicated_cfg file

Post by djhubertus » 16 Dec 2012, 22:06

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