Killed apache trying to follow guide to enable SSL
02-12-2015, 12:25 AM
(This post was last modified: 02-12-2015, 01:15 AM by SupaYoshi.)
Hi I was reading one of the guides on this forum on how to enable SSL and I did exactly what they told me to do, and after I did that and restarted apache, my apache will not turn on anymore.
I have tried to undo the changes but no luck so far and I am very displeased and unhappy about the terrible experience sentora gives to edit config files to enable ssl... all I tried was to enable SSL...
Anyway what I did was the following,
http://forums.sentora.org/showthread.php?tid=994
I went to nano /etc/sentora/configs/apache/httpd.conf
and i edited that and added,
<IfModule ssl_module>
Listen 443
</IfModule>
After I done that I restarted apache2 and now my apache won't start anymore saying,
root@vps1:/etc/sentora/configs/apache# sudo service apache2 restart
* Restarting web server apache2 no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
What do I do to fix htis? I removed the code I added earlier but it won't help me at all... I can't restart my apache and I am out of an idea what to do now..
Some information:
I read on the internet and asked some people on IRC, they gave me this, http://wiki.apache.org/httpd/CouldNotBindToAddress
I tried to do the following command,
root@vps1:/etc/sentora/configs/apache# sudo lsof -i:80
root@vps1:/etc/sentora/configs/apache#
The output of that is 0, so I tried other things but nothing so far.
These are my /etc/sentora/configs/apache files:
http://paste.ubuntu.com/10173834/ httpd.conf
I tried to remove the include but that didn't work either... I really don't know what to do now?
I have tried to undo the changes but no luck so far and I am very displeased and unhappy about the terrible experience sentora gives to edit config files to enable ssl... all I tried was to enable SSL...
Anyway what I did was the following,
http://forums.sentora.org/showthread.php?tid=994
I went to nano /etc/sentora/configs/apache/httpd.conf
and i edited that and added,
<IfModule ssl_module>
Listen 443
</IfModule>
After I done that I restarted apache2 and now my apache won't start anymore saying,
root@vps1:/etc/sentora/configs/apache# sudo service apache2 restart
* Restarting web server apache2 no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
What do I do to fix htis? I removed the code I added earlier but it won't help me at all... I can't restart my apache and I am out of an idea what to do now..
Some information:
I read on the internet and asked some people on IRC, they gave me this, http://wiki.apache.org/httpd/CouldNotBindToAddress
I tried to do the following command,
root@vps1:/etc/sentora/configs/apache# sudo lsof -i:80
root@vps1:/etc/sentora/configs/apache#
The output of that is 0, so I tried other things but nothing so far.
These are my /etc/sentora/configs/apache files:
http://paste.ubuntu.com/10173834/ httpd.conf
I tried to remove the include but that didn't work either... I really don't know what to do now?