Control file for restarting the web server
RICOH ProcessDirector provides a script that automatically restarts the web server if it fails. The control
file WebserverChecker.cfg
lets you set options for automatic restarts. The WebserverChecker.cfg
file is installed in the /aiw/aiw1/config/
directory.
You can deactivate automatic restart using the stopchecker command. For example, you might want to deactivate the script if you need to diagnose a problem related to the web server. If you deactivate automatic restart, or if the server has reached the maximum number of automatic restarts, you can activate the script by entering the startaiw command.
This example shows the default entries in the WebserverChecker.cfg
file:
# Indicate whether the WebServer should be restarted automatically # if it fails (Yes or No) autorestart=Yes # Set the maximum number of times the WebServer can be automatically # restarted in any 24 hour period (1-1440) number_of_restarts_per_day=3 # Set the maximum number of times to retry restarting the WebServer # if the first attempt fails (0-3) number_of_consecutive_restart_attempts=1 # Set the full path and file name of where trace information should be written # Note: aiw1 must have write permission to this folder copy_tracing_to=/aiw/aiw1/trace/webserverchecker.trace