Hi folks,
Anyone having problems with httpd unable to start?
journalctl -xe shows:
Aug 03 14:09:16 d-f21-web sshd[1071]: pam_unix(sshd:session): session opened for user root by (uid=0) Aug 03 14:10:17 d-f21-web httpd[1106]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::5054:ff:fe43:91f9. Set the 'ServerName' directive globally to suppress th Aug 03 14:10:17 d-f21-web httpd[1106]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443 Aug 03 14:10:17 d-f21-web systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Aug 03 14:10:17 d-f21-web systemd[1]: Failed to start The Apache HTTP Server. -- Subject: Unit httpd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
but netstat shows:
[root@d-f21-web ~]# netstat -tanp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 684/sshd tcp 0 184 a.a.a.a:22 b.b.b.b:46779 ESTABLISHED 1071/sshd: root@pts tcp6 0 0 :::22 :::* LISTEN 684/sshd tcp6 0 0 :::9090 :::* LISTEN 1/systemd
and httpd's error_log:
[Mon Aug 03 14:10:17.831003 2015] [core:crit] [pid 1106] (22)Invalid argument: AH00069: make_sock: for address [::]:443, apr_socket_opt_set: (IPV6_V6ONLY) (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443 [Mon Aug 03 14:10:17.831058 2015] [mpm_prefork:alert] [pid 1106] no listening sockets available, shutting down [Mon Aug 03 14:10:17.831061 2015] [:emerg] [pid 1106] AH00019: Unable to open logs, exiting
[root@d-f21-web httpd]# uname -a Linux d-f21-web 4.0.8-200.fc21.x86_64 #1 SMP Fri Jul 10 21:09:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
SELinux is disabled.
Thanks, Tommy
and relevant packages:
[root@d-f21-web httpd]# rpm -qa|egrep -i 'kernel|httpd'|sort abrt-addon-kerneloops-2.3.0-8.fc21.x86_64 fedora-logos-httpd-21.0.5-1.fc21.noarch httpd-2.4.16-1.fc21.x86_64 httpd-filesystem-2.4.16-1.fc21.noarch httpd-manual-2.4.16-1.fc21.noarch httpd-tools-2.4.16-1.fc21.x86_64 kernel-4.0.6-200.fc21.x86_64 kernel-4.0.7-200.fc21.x86_64 kernel-4.0.8-200.fc21.x86_64 kernel-core-4.0.6-200.fc21.x86_64 kernel-core-4.0.7-200.fc21.x86_64 kernel-core-4.0.8-200.fc21.x86_64 kernel-headers-4.0.8-200.fc21.x86_64 kernel-modules-4.0.6-200.fc21.x86_64 kernel-modules-4.0.7-200.fc21.x86_64 kernel-modules-4.0.8-200.fc21.x86_64 libreport-plugin-kerneloops-2.3.0-8.fc21.x86_64
On Mon, Aug 3, 2015 at 2:15 PM, Tommy Pham tommyhp2@gmail.com wrote:
Hi folks,
Anyone having problems with httpd unable to start?
journalctl -xe shows:
Aug 03 14:09:16 d-f21-web sshd[1071]: pam_unix(sshd:session): session opened for user root by (uid=0) Aug 03 14:10:17 d-f21-web httpd[1106]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::5054:ff:fe43:91f9. Set the 'ServerName' directive globally to suppress th Aug 03 14:10:17 d-f21-web httpd[1106]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443 Aug 03 14:10:17 d-f21-web systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Aug 03 14:10:17 d-f21-web systemd[1]: Failed to start The Apache HTTP Server. -- Subject: Unit httpd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
but netstat shows:
[root@d-f21-web ~]# netstat -tanp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 684/sshd tcp 0 184 a.a.a.a:22 b.b.b.b:46779 ESTABLISHED 1071/sshd: root@pts tcp6 0 0 :::22 :::* LISTEN 684/sshd tcp6 0 0 :::9090 :::* LISTEN 1/systemd
and httpd's error_log:
[Mon Aug 03 14:10:17.831003 2015] [core:crit] [pid 1106] (22)Invalid argument: AH00069: make_sock: for address [::]:443, apr_socket_opt_set: (IPV6_V6ONLY) (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443 [Mon Aug 03 14:10:17.831058 2015] [mpm_prefork:alert] [pid 1106] no listening sockets available, shutting down [Mon Aug 03 14:10:17.831061 2015] [:emerg] [pid 1106] AH00019: Unable to open logs, exiting
[root@d-f21-web httpd]# uname -a Linux d-f21-web 4.0.8-200.fc21.x86_64 #1 SMP Fri Jul 10 21:09:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
SELinux is disabled.
Thanks, Tommy