Код: Выделить всё
/etc/rc.d/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:9443
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:9443
no listening sockets available, shutting down
Unable to open logs
[FAILED]
проверка
Код: Выделить всё
semanage port -l | grep htt
http_cache_port_t tcp 3128, 8080, 8118, 8123, 10001-10010
http_cache_port_t udp 3130
http_port_t tcp 80, 81, 443, 488, 8008, 8009, 8443, 9000
pegasus_http_port_t tcp 5988
pegasus_https_port_t tcp 5989
Код: Выделить всё
yum -y install policycoreutils-python
semanage port -a -t http_port_t -p tcp 9443
проверка
Код: Выделить всё
semanage port -l | grep htt
http_cache_port_t tcp 3128, 8080, 8118, 8123, 10001-10010
http_cache_port_t udp 3130
http_port_t tcp 9443, 80, 81, 443, 488, 8008, 8009, 8443, 9000
pegasus_http_port_t tcp 5988
pegasus_https_port_t tcp 5989
# /etc/rc.d/init.d/httpd start
Starting httpd: [ OK ]