Server Failing to Create Log File


(MadZerg) #1

Hi Folks,

Have run into an odd problem with my server refusing to create an ET log file. Some info:

Server is running RedHat Linux 9.
Perms are set properly for the directory where I want to write log files.
Have the following in my server.cfg file:

set g_log “etserver.log”
set g_logsync 0
set logfile 3

I am running the Shrub mod (v1.3).

Anyone have any suggestions?

Thx in advance.

-MadZerg


(MadZerg) #2

Figured out what was going on–the server was writing stats–just was placing them in the user directory it was running as, in the folder .etwolf

The odd thing is, when I gave it a path, it was appending that path on to:

/home/etserver/.etwolf/etmain

so that if I said “/local/logs/etserver.log”, the path under which it was saved was:

/home/etserver/.etwolf/etmain/local/logs/etserver.log

So, I “fixed” the problem by creating a symbolic link from /home/…/etmain -> /local/logs and now the file gets saved to where I want it. Kind of a pain in the ass, actually. lol

So, if you’re running into this issue, there ya go. :beer: