Unloading Apache WebServer produces a "press key to continue" prompt

  • 7001892
  • 16-Nov-2008
  • 26-Apr-2012

Environment

Novell NetWare 6.5 Support Pack 8

Situation

Unloading the Apache Web Server in NetWare 6.5 SP8 (or previous versions if using Apache 2.0.61 or newer) produces a "press key to continue" prompt, which prevents automated shutdowns and restarts.  This is due to a bug in rotlogs.nlm, the log rotation functionality

Resolution

This has been reported to engineering

Additional Information

Workaround 
 
This disables the log rotation entirely.  A single access_log and error_log file will be created and written to.  The files grow without bounds.  This may be unacceptable to some customers.   
  1. Open sys:\apache2\httpd2.conf
  2. Find the ErrorLog line, comment it out with the # character and replace it with a new line as shown below:
                 #Removed pending future fix
                 #ErrorLog "|SYS:/APACHE2/bin/rotlogs.nlm sys:apache2/logs/error_log 5M"
                 ErrorLog "sys:/apache2/logs/error_log
 
  3.  Find the CustomLog line, comment it out with the # character and replace it with a new line as shown below:
 
                 #Removed pending future fix
                 #CustomLog "|sys:/apache2/bin/rotlogs.nlm  sys:/apache2/logs/access_log 5M" common
                 CustomLog "sys:/apache2/logs/access_log" common
  
    4.  Save http2.conf
    5.  Restart Apache using ap2webdn and ap2webup
 
Another possible workaround would be to unload rotlogs.nlm before executing the ap2webdn.ncf