Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 83 - /etc/rc.d/init.d/httpd restart doesn't always start
/etc/rc.d/init.d/httpd restart doesn't always start
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Preston Brown
Depends On:
  Show dependency treegraph
Reported: 1998-11-15 19:47 EST by Edward Schlunder
Modified: 2012-06-19 18:19 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1998-12-16 12:15:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Edward Schlunder 1998-11-15 19:47:28 EST
Sometimes when you do a /etc/rc.d/init.d/httpd restart, the
httpd server doesn't start back up properly because the port
is still busy. There needs to be a slight wait between
shutting down and then trying to start back up.
Comment 1 seva 1998-11-19 09:25:59 EST
I can confirm this.  Don't know if the reason is right or not, but
restart doesn't alwasy work.

Although most of the time you want 'reload' option.

Comment 2 zblaxell 1998-12-12 20:04:59 EST
Isn't that "slight wait" on the order of 120 seconds?

One could use something like netcat to try to bind the port in a loop,
pausing a few seconds at a time until it succeeds.  Then again, httpd
could do that for us anyway.
Comment 3 Preston Brown 1998-12-16 12:15:59 EST
The next release of apache will include a httpd init file which is
closely modeled after the 'apachectl' utility that the apache group
ships, which we have found people are familiar with.  It does server
restarts in a different way -- much more like server reloads.
Hopefully this will fix the problem.  If you want an explicit 'stop'
followed by a 'start' you will specify it as such.

Note You need to log in before you can comment on or make changes to this bug.