Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164717 - Apache2 init-script won't restart
Summary: Apache2 init-script won't restart
Status: RESOLVED DUPLICATE of bug 110556
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 17:26 UTC by UncleOwen
Modified: 2007-01-31 17:30 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 UncleOwen 2007-01-31 17:26:45 UTC
$ sudo /etc/init.d/apache2 restart
 * Stopping apache2 ...                                                   [ ok ]
 * Starting apache2 ...
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs                                                       [ !! ]
$ sudo /etc/init.d/apache2 restart
 * Starting apache2 ...                                                   [ ok ]

That's happening every time I restart apache. Seems like the init script is restarting it too fast.

$ emerge -pv apache | grep ebuild
[ebuild   R   ] net-www/apache-2.0.59-r2  USE="-apache2 -debug -doc ldap -mpm-itk -mpm-leader -mpm-peruser mpm-prefork -mpm-threadpool -mpm-worker (-selinux) ssl -static-modules -threads" 4,690 kB

$ cat /etc/conf.d/apache2 | grep -v '#' | grep -v ^$
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5 -D PYTHON -D USERDIR"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-31 17:30:10 UTC

*** This bug has been marked as a duplicate of bug 110556 ***