Starting apache fails (could not bind to address 0.0.0.0:80)

后端 未结 12 1878
南旧
南旧 2020-12-12 11:11

Update: Already fixed, it seems that one of VirtualHosts configurations files was wrong in sites-enabled.

I have Ubuntu 11.10

When I run the command to start

12条回答
  •  既然无缘
    2020-12-12 12:07

    What I would do is simply check if the following is set in your /etc/apache2/sites-available/your-domain-name.com.conf

    SSLEngine on 
    SSLCertificateFile /your/path/to/your-domain.com.crt
    SSLCertificateKeyFile /your/path/to/your-domain.com.key
    SSLCACertificateFile /your/path/to/your-domain.com.ca-bundle
    

    and there aren't any mistyped directories or anything else that would not supposed to be in your .conf file. It did the trick for me as re-starting and killing the processes did not help at all. It did not start anyway.

提交回复
热议问题