You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Andrew Lindsay <An...@uk.quza.com> on 1999/03/26 11:41:01 UTC

mod_jserv/4141: Apache-JServ dies when apachectl restart used

>Number:         4141
>Category:       mod_jserv
>Synopsis:       Apache-JServ dies when apachectl restart used
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 26 02:50:01 PST 1999
>Last-Modified:
>Originator:     Andrew.Lindsay@uk.quza.com
>Organization:
apache
>Release:        1.3.3 (Unix)
>Environment:
SunOS 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-2
>Description:
Upon issuing the 'apachectl restart' command it was found that the java JServ part of
mod_jserv was not being restarted correctly. The following output is generated in the 
jserv_log file.

[Fri Mar 26 10:16:57 1999] [notice] SIGHUP received.  Attempting to restart
[Fri Mar 26 10:16:57 1999] [notice] Apache/1.3.3 (Unix) ApacheJServ/1.0b3 mod_ssl/2.1.6 SSLeay/0.9.0b configured -- resuming normal operations
[Fri Mar 26 10:16:57 1999] [notice] suEXEC mechanism enabled (wrapper: /opt/www/sbin/suexec)
Apache JServ: Exception creating the server socket: java.net.BindException: Address already in use
Apache JServ: Exception creating the server socket: java.net.BindException: Address already in use
Apache JServ: Exception creating the server socket: java.net.BindException: Address already in use
Apache JServ: Exception creating the server socket: java.net.BindException: Address already in use
Apache JServ: Exception creating the server socket: java.net.BindException: Address already in use
Apache JServ: Exception creating the server socket: java.net.BindException: Address already in use
Apache JServ: Exception creating the server socket: java.net.BindException: Address already in use

JServ process is started on the next 'apachectl restart' command
The restart command is issued on a daily basis as part of the access log processing
script.
>How-To-Repeat:
Alternate 'apachectl restart' commands
>Fix:
Operate the JServ process in manual mode so that it is not restarted when the 
'apachectl restart' is issued.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]