Home  >  Article  >  Topics  >  Solve the problem of Linux Pagoda apache startup failure: error AH00526: Syntax error on line

Solve the problem of Linux Pagoda apache startup failure: error AH00526: Syntax error on line

藏色散人
藏色散人forward
2021-03-30 16:38:534597browse

The following tutorial column of Pagoda will introduce to you the Linux Pagoda apache startup failure: error AH00526: Syntax error on line solution, I hope it will be helpful to friends in need!

Solve the problem of Linux Pagoda apache startup failure: error AH00526: Syntax error on line

Linux Pagoda apache failed to start: error AH00526: Syntax error on line Solution

Error message:

AH00526: Syntax error on line 54 of /www/server/apache/conf/httpd.conf:
Cannot define multiple Listeners on the same IP:port

My friend’s website suddenly became unavailable. After entering the pagoda, I checked that the Apache server was not running. When I restarted Apache, I was prompted with this error message.
Open the Apache configuration file, line 54
Solve the problem of Linux Pagoda apache startup failure: error AH00526: Syntax error on line

It was found that a wrong port was being monitored, and when the server port was opened, it was found that there was no such port at all
Solve the problem of Linux Pagoda apache startup failure: error AH00526: Syntax error on line

Then delete line 54, save it and restart normally.
Commonly used ports:
21: The port opened by the FTP server, used for uploading and downloading.
22: SSH port, used to remotely connect to the Linux system server through the command line mode. (Port can be modified)
80: Default HTTP website access port.
443: Jiangbianniaohost's HTTPS website access port, providing encryption and another HTTP transmitted through a secure port.
3306: It is the default port of the MySQL database, used for MySQL to provide external services.
3389: The default remote desktop service port of Windows server. (Port can be modified)

The above is the detailed content of Solve the problem of Linux Pagoda apache startup failure: error AH00526: Syntax error on line. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete