Cool Solutions

Unloading Apache WebServer produces a “press key to continue” prompt


December 2, 2008 1:15 pm





Working around the “press any key” prompt when unloading Apache.

This has been reported to Novell engineering.

This uses an unsupported alternative log rotation NLM provided by a 3rd party. Novell does not support or warrant this solution, use of this solution is AT YOUR OWN RISK.

With this solution, the size of log files will still not be limited, but the logs will roll to new file names on a daily basis.

  1. Perform all of the tasks outlined in TID7001892, and verify your Apache Server is working before continuing.
  2. Download the mod_log_rotate NLM from The current latest version is for 2.0.61, but works with 2.0.63. Unzip the archive file, and place the mod_log_rotate.nlm file in sys:\apache2\modules
  3. Reopen sys:\apache2\httpd.conf
  4. Find this line:
    LoadModule auth_ldap_module modules/authldap.nlm

  5. Just below it, insert the following lines:
    # Load the module mod_log_rotate 
    # This is a unsupported third party item - do not report bugs to Novell. 
    # Downloaded from 
    LoadModule log_rotate_module modules/mod_log_rotate.nlm 
    # turn on rotation function 
    RotateLogs On 
    # make it rotate relative to local time, instead of UTC 
    RotateLogsLocalTime On 
    # make it rotate once a day 
    RotateInterval 86400 

  6. Save httpd.conf
  7. Restart Apache (ap2webdn, ap2webup)


David sent in a comment that there is another solution for this by Guenter Knauf:

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized


Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.