Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: curlynostril on May 05, 2006, 07:41:10 AM
-
Hopefully someone will write that ssl cert gui panel soon. In the meantime I tried it the (not soo) hard way.
Here is a cleaner guide than I found in the official documentation written by the same guy, nick critten:
http://mirror.contribs.org/smeserver/contribs//nickcritten/howtos/ssl.htm
the official is herehttp://no.longer.valid/phpwiki/index.php/Creating%20SSL%20Certificates
I did this with a command shell in Putty w/ SSH port 22 on XP pro and also had the web admin page up at the same time....(?) After several attempts, once I finally got all the input correct (i think) , I went to restart the server and got this message...
Code:
[root@dlhygt1 ssl.crt]# /etc/rc.d/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
[FAILED]
Although, when I went to refresh the web admin a new certificate prompt came up and I was on to the web admin again.. so it seems the server is up?
SME 7.0rc2 is installed on a Dell P3 900mhz 768MB
I'm fairly new to this and my installation is quite young (though I'm not). Should I just wipe it out and start over or is this normal?
Do I have to edit the httpd.conf? Is there even such a file?
I'm lost again already...
-
Hi,
The error is a red herring;
Dispite what it says, httpd has restarted, this has been occuring since SME7.
This may be a Bug in Centos / SME.
One of the Guru's (Greg, Charlie, Ron etc.) may be able to point at a reason for the error.
If you can reproduce the error, you should log it as a bug in bugtracker.
-
ok, thanks, nick.
yes it definitely happens every time.
and now, breakfast :pint:
-
The error is because you are using the wrong command which tries to start the "wrong" http service/daemon.
Always use /etc/rc7.d/S86httpd-e-smith restart as already said in the other/original post.
The command you use is trying to start httpd as it comes with CentOS but SMEserver starts httpd differently.
Michael
-
Thanks mdo, that works.
It seems I've stepped on a book of matches. Maybe the documentation will get a little more attention from now on. I'll try to help out.
Thanks for your efforts, too, Nick.
And as you say, "No good deed goes unpunished".
So I hope you won't let that stop you...
-
:-D