当我尝试在ubuntu中启动我的apache2时,它会显示以下错误。
* Starting web server apache2
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:8
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:8080
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
*
* The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
我清空后var/log/apache2/
个文件error.log
,acces.log
文件中的日志文件未更新。
请帮我解决。
答案 0 :(得分:0)
可能其他一些服务已经在使用端口8080.运行
# netstat -lnpt
看看它是什么。