Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377667 - www-servers/apache-2.2.17 - /etc/init.d/apache2 fails to restart or stop after being started
Summary: www-servers/apache-2.2.17 - /etc/init.d/apache2 fails to restart or stop afte...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 08:01 UTC by Tadas
Modified: 2011-08-07 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tadas 2011-08-04 08:01:45 UTC
After I start apache with /etc/init.d/apache2 start it fails to stop with "stop" or restart with "restart"


# /etc/init.d/apache2 restart
 * Starting apache2 ...
httpd (pid 15088) already running                                                                                                                                      [ !! ]
 * ERROR: apache2 failed to start



# /etc/init.d/apache2 stop
 * WARNING: apache2 is already stopped


But it is running!

Reproducible: Always




/etc/init.d/apache2: http://paste.pocoo.org/show/452407/
/etc/conf/apache2: http://paste.pocoo.org/show/452408/
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-08-04 08:46:07 UTC
please do not CC arches on your own
Comment 2 Wormo (RETIRED) gentoo-dev 2011-08-05 06:38:13 UTC
When submitting bugs, attach your supporting files to your report instead of using pastebin services (otherwise important parts of your bug report disappears after a while).

Now regarding your problem -- if you run 'apache2 -k stop' at the command line, does apache eventually stop? If so, how long? I'm suspicious that the 'TIMEOUT=1' line in the checkconfd() function of init script is not long enough.