----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi,

I am using apache 1.3.9, jserv 1.0, gnujsp 1.0, Redhat 6.1

I use the logrotate from RedHat to manager server logfiles,
error_log, access_log and mod_jserv.  I wrote the following
logrotate file and placed it in /etc/logrotate.d

/usr/local/apache/logs/access_log {
    postrotate
        /usr/bin/killall -HUP httpd
    endscript



/usr/local/apache/logs/error_log {
    postrotate
        /usr/bin/killall -HUP httpd
    endscript


/usr/local/apache/logs/mod_jserv.log {
    postrotate
        /usr/bin/killall -HUP httpd
 endscript
}

This works for access_log and mod_jserv.log but after an
error log rotate the new error log fills up with the following
messages and no new errors are logged:

ApacheJServ/1.0: Exception creating the server socket:
java.net.BindException: Address already in use
ApacheJServ/1.0: Exception creating the server socket:
java.net.BindException: Address already in use
REPEATED

Does anyone know why this happens, how to fix it.

Your help is much appreciated!

--
Paul Ashby
[EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to