Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Httpd service for troubleshooting

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. View service status

#systemctl status httpd

(1) Configuration file error

Syntax error on line 364 of /etc/httpd/conf/httpd.conf:

Invalid command 'adModule', perhaps misspelled or defined by a module not included in the server configuration

Open the configuration file and correct the syntax errors.

Start httpd service

#service httpd start

The problem has been fixed.

(2) Port number occupied or modified

Check whether the port number is occupied

#netstat -antlp | grep 80

Offer two options, kill the hogging process or change the port number for httpd. I will not repeat it here.

(3) Firewall blocking is recommended to directly close the firewall #service iptables stop

or open ports.

#firewall-cmd --add-service=http

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report