Jump to content
Sign in to follow this  
kevbaz

Linux error logs?

Recommended Posts

Just had a shiney new linux dedicated server setup, but the host has asked about where error logs are located, so that when something is wrong i can be mailed the log.

cheers

also, were having trouble getting maps with addons in to work, they just take me to "Wait for server" ive placed all the addons in the ofp/addons folder. but am now at a loss as to what to do. sad_o.gif

and how do i go about getting the server to restart if/when it crashes?

if you can speak to me like a 5yr old i might be able to understand. smile_o.gif

Share this post


Link to post
Share on other sites

What do you meand with "error logs"? If you use the ofpserver script that came with the linux ofp server you should be able to setup everything in there. They do logging with the command<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">${SERVER} >>${LOGFILE} 2>&1

for example:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">./server >>/home/opflash/logs/logfile.2302 2>&1

This script also restarts the server in an event of crash.

Putting all addons into the normal addons folder should be failsafe, as even most broken addons work from that folder.

Did you run tolower to convert all filenames to lower case?

And look here too.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×