[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache2 locally broken



Hi all,
on an updated Sid box I have trouble with apache:
==================================================================
service apache2 reload
Job for apache2.service failed because the control process exited with
error code. See "systemctl status apache2.service" and "journalctl -xe"
for details.

==================================================================
systemctl status apache2.service

* apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: active (exited) since Tue 2015-09-08 08:30:30 CEST; 1min 39s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5681 ExecStop=/etc/init.d/apache2 stop (code=exited,
status=0/SUCCESS)
  Process: 5655 ExecReload=/etc/init.d/apache2 reload (code=exited,
status=1/FAILURE)
  Process: 5689 ExecStart=/etc/init.d/apache2 start (code=exited,
status=0/SUCCESS)

Sep 08 08:30:30 440 systemd[1]: Starting LSB: Apache2 web server...
Sep 08 08:30:30 440 apache2[5689]: Starting web server: apache2AH00558:
apache2: Could not reliably determine the server's fully qualified
domain...is message
Sep 08 08:30:30 440 apache2[5689]: (98)Address already in use: AH00072:
make_sock: could not bind to address [::]:80
Sep 08 08:30:30 440 apache2[5689]: (98)Address already in use: AH00072:
make_sock: could not bind to address 0.0.0.0:80
Sep 08 08:30:30 440 apache2[5689]: no listening sockets available,
shutting down
Sep 08 08:30:30 440 apache2[5689]: AH00015: Unable to open logs
Sep 08 08:30:30 440 apache2[5689]: Action 'start' failed.
Sep 08 08:30:30 440 apache2[5689]: The Apache error log may have more
information.
Sep 08 08:30:30 440 apache2[5689]: .
Sep 08 08:30:30 440 systemd[1]: Started LSB: Apache2 web server.
Hint: Some lines were ellipsized, use -l to show in full.
==================================================================
journalctl -xe

Sep 08 08:30:30 440 systemd[1]: Stopping LSB: Apache2 web server...
-- Subject: Unit apache2.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has begun shutting down.
Sep 08 08:30:30 440 apache2[5681]: Stopping web server: apache2.
Sep 08 08:30:30 440 systemd[1]: Stopped LSB: Apache2 web server.
-- Subject: Unit apache2.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has finished shutting down.
Sep 08 08:30:30 440 systemd[1]: apache2.service: Unit entered failed state.
Sep 08 08:30:30 440 systemd[1]: apache2.service: Failed with result
'exit-code'.
Sep 08 08:30:30 440 systemd[1]: Starting LSB: Apache2 web server...
-- Subject: Unit apache2.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has begun starting up.
Sep 08 08:30:30 440 apache2[5689]: Starting web server: apache2AH00558:
apache2: Could not reliably determine the server's fully qualified
domain name, using
Sep 08 08:30:30 440 apache2[5689]: (98)Address already in use: AH00072:
make_sock: could not bind to address [::]:80
Sep 08 08:30:30 440 apache2[5689]: (98)Address already in use: AH00072:
make_sock: could not bind to address 0.0.0.0:80
Sep 08 08:30:30 440 apache2[5689]: no listening sockets available,
shutting down
Sep 08 08:30:30 440 apache2[5689]: AH00015: Unable to open logs
Sep 08 08:30:30 440 apache2[5689]: Action 'start' failed.
Sep 08 08:30:30 440 apache2[5689]: The Apache error log may have more
information.
Sep 08 08:30:30 440 apache2[5689]: .
Sep 08 08:30:30 440 systemd[1]: Started LSB: Apache2 web server.
-- Subject: Unit apache2.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit apache2.service has finished starting up.
-- 
-- The start-up result is done.
Sep 08 08:30:30 440 polkitd(authority=local)[790]: Unregistered
Authentication Agent for unix-process:5673:47780685 (system bus name
:1.799, object path /org/
==================================================================

service apache2 restart
root@440:/# ps aux | grep apache
root 5711 0.0 0.0 11124 940 pts/0 S+ 08:30 0:00 grep apache
==================================================================


Even worst, this prevents the config of some packages
==================================================================
Setting up libapache2-mod-dnssd (0.6-3.1) ...
dpkg: error processing package libapache2-mod-dnssd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gnome-user-share:
 gnome-user-share depends on libapache2-mod-dnssd (>= 0.6-3.1~); however:
  Package libapache2-mod-dnssd is not configured yet.

dpkg: error processing package gnome-user-share (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-core:
 gnome-core depends on gnome-user-share (>= 3.14); however:
  Package gnome-user-share is not configured yet.
==================================================================

Am I the only one?
I tried to purge all apache2 and reinstall, but this did not change
anything.

I'd appreciate any hint.

All the best, and thanks in advance.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


Reply to: