Forum OpenACS Q&A: Response to servername-error.log

Collapse
Posted by MaineBob OConnor on

Try using the less command. It works on any sized file as a viewer. It allows you to move around: use "Esc->" to go to the end of the file and work your way backwards. type "h" for help on other commands including text search.

less server.log

You can manually archive and create a new server log by following these steps:

  • Stop aolserver
  • gzip the server.log
  • touch server.log to create a new blank log
  • chown theuser.thegroup server.log to be sure owner and group is correct if you were logged in as root. You can check owner/group with the usual "ls -l" directory command.
  • restart aolserver.

-Bob