以前遇到一个问题:

sudo /etc/init.d/apache2 start
 * Starting web server apache2                                                                                                      
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs

其实就是80端口被占用的原因,解决办法如下:

sudo fuser -k -n tcp 80

sudo /etc/init.d/apache2 start

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-10-28
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
  • 2022-12-23
相关资源
相似解决方案