Linux - AH00072 make sock could not bind to address 88

Linux - AH00072 make sock could not bind to address 88

Ahoj,

nejde mi spustit apache server na linux poté co jsem přidal k portu 80 i port 88 do virtualhostu. Nevíte co s tím.


[root@oscotch ~]# journalctl -xe
-- Subject: Unit httpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Jan 02 14:08:49 oscotch systemd[1]: Unit httpd.service entered failed state.
Jan 02 14:08:49 oscotch systemd[1]: httpd.service failed.
Jan 02 14:08:49 oscotch polkitd[631]: Unregistered Authentication Agent for unix-process:2032:431801855 (system bus name :1.21794, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jan 02 14:08:53 oscotch polkitd[631]: Registered Authentication Agent for unix-process:2044:431802274 (system bus name :1.21795 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/Policy
Jan 02 14:08:53 oscotch systemd[1]: Starting firewalld - dynamic firewall daemon...
-- Subject: Unit firewalld.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit firewalld.service has begun starting up.
Jan 02 14:08:54 oscotch systemd[1]: Started firewalld - dynamic firewall daemon.
-- Subject: Unit firewalld.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit firewalld.service has finished starting up.
--
-- The start-up result is done.
Jan 02 14:08:54 oscotch polkitd[631]: Unregistered Authentication Agent for unix-process:2044:431802274 (system bus name :1.21795, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jan 02 14:08:54 oscotch kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 02 14:08:54 oscotch kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
Jan 02 14:08:54 oscotch kernel: Ebtables v2.0 registered
Jan 02 14:08:54 oscotch kernel: nf_conntrack version 0.5.0 (6921 buckets, 27684 max)
Jan 02 14:08:54 oscotch firewalld[2050]: WARNING: ICMP type 'beyond-scope' is not supported by the kernel for ipv6.
Jan 02 14:08:54 oscotch firewalld[2050]: WARNING: beyond-scope: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Jan 02 14:08:54 oscotch firewalld[2050]: WARNING: ICMP type 'failed-policy' is not supported by the kernel for ipv6.
Jan 02 14:08:54 oscotch firewalld[2050]: WARNING: failed-policy: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Jan 02 14:08:54 oscotch firewalld[2050]: WARNING: ICMP type 'reject-route' is not supported by the kernel for ipv6.
Jan 02 14:08:54 oscotch firewalld[2050]: WARNING: reject-route: INVALID_ICMPTYPE: No supported ICMP type., ignoring for run-time.
Jan 02 14:08:56 oscotch polkitd[631]: Registered Authentication Agent for unix-process:2149:431802515 (system bus name :1.21797 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/Policy
Jan 02 14:08:56 oscotch systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit httpd.service has begun starting up.
Jan 02 14:08:56 oscotch httpd[2155]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::80ba:c0ff:feee:cd9d. Set the 'ServerName' directive globally to suppress th
Jan 02 14:08:56 oscotch httpd[2155]: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:88
Jan 02 14:08:56 oscotch httpd[2155]: (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:88
Jan 02 14:08:56 oscotch httpd[2155]: no listening sockets available, shutting down
Jan 02 14:08:56 oscotch httpd[2155]: AH00015: Unable to open logs
Jan 02 14:08:56 oscotch systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jan 02 14:08:56 oscotch kill[2157]: kill: cannot find process ""
Jan 02 14:08:56 oscotch systemd[1]: httpd.service: control process exited, code=exited status=1
Jan 02 14:08:56 oscotch 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
--
-- Unit httpd.service has failed.
--
-- The result is failed.
Jan 02 14:08:56 oscotch systemd[1]: Unit httpd.service entered failed state.
Jan 02 14:08:56 oscotch systemd[1]: httpd.service failed.
Jan 02 14:08:56 oscotch polkitd[631]: Unregistered Authentication Agent for unix-process:2149:431802515 (system bus name :1.21797, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)


ODPOVĚĎ


Čau, port 88 ti blokuje SELinux, zkus nastavit místo portu 88 port 81 či 8008, který SELinux má povolený v defaultu pro bind apache.

Nebo nainstaluj policycoreutils-python a povol port 88 semanage port -a -t http_port_t -p tcp 88.

Komentáře

Vaše reakce na Linux - AH00072 make sock could not bind to address 88

Související obsah

linux

bash

terminal

apache

web

Reference

Podívejte se na naše reference

Prohlédnout

Aplikace

Podívejte se na naše aplikace

Prohlédnout

Co umíme?

Podívejte se co umíme

Prohlédnout

Co umíme?

Vytváříme sofistikované aplikace pro náročné

Od webových aplikací přes android až po převodové můstky či složité informační systémy.

Podívejte se k nám

Máte ještě čas? Podívejte se na další rubriky

Tento web používá soubory cookie. Dalším procházením tohoto webu vyjadřujete souhlas s jejich používáním.. Více informací zde.