Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Bluephoton on April 11, 2010, 01:58:45 AM
-
While trying to boot SME server 7.3 it hangs and repeats the following error:
Syntax error on line 134 of /etc/httpd/conf/httpd.conf:
SSLCertificate:file ' /home/e-smith/ssl.crt/hal9000.workgroup.crt' does not exist or is empty
I think I may have changed something in "Server-Manager" I shouldn't have. Can anyone help me with how to fix this and get it to boot?
Thanks
Paul
-
Bluephoton
While trying to boot SME server 7.3
You should update to 7.4 using the server manager software updates panel or via command line with
yum update
signal-event post-upgrade
signal-event reboot
As you are having boot problems you may need to boot up in Rescue mode first from CD, fix the problem, then update.
Click the Howto link at top of forums and select the article titled Booting
I think I may have changed something in "Server-Manager"...
Please be realistic, you need to tell us what you changed. Please make a note as you go of any changes you make in future.
I'm unaware of where in server manager you could do anything to cause that error.
At command line, yes.
Click the Howto link at top of forums and read the Certificates Concepts article, that should give you sufficient clues ie re delete existing and recreation of default certificates
PLEASE stop playing with your server and making changes you do not understand, and then expecting others to fix it for you.
Testing is done on a test server, if you break something you can easily rebuild it, so get yourself any old box and make a test server to play with.
Please also read the many helpful Howtos and FAQs and the Manuals, as you seem to be in need of sme knowledge.
-
I am not asking others to fix it for me - your direction to the "Certificates Concepts" for further reading was very helpful and is the kind of direction/help I am looking for in the event the error I have is not an easily solved problem others have seen.
This actually is my test server on an old box that I installed a couple of years ago as a home hobby activity. It's due to the software being so stable and solid that I have done nothing with it since setting it up other than use it and so I have forgotten most of what I learned during the install process.
Forgive me for being a dolt flailing around in the dark. I post for help only when I don't know what else to do not in an attempt to avoid effort myself. There is a tremendous amount of documentation to read and absorb most of it not relevant to my difficulties. Assistance in directing me to what to read is of great benefit.
I considered updating to 7.4 but was concerned I may cause further damage.
-
Bluephoton
OK in case it is not clear to you, and as you seem to be in bother, as I see it here is what you need to do.
Boot up to the sme install CD in rescue mode. Carefully follow the wiki instructions re this here
http://wiki.contribs.org/Booting
ie
You can use the function keys F1 to F5 to get more information about different boot options or type
sme rescue
or I think you can even select that mode from the screen
Follow the on screen suggestions re mounting your system and so on.
When you are at a command prompt, you can then follow the instructions in the Certificates Concepts wiki article here
http://wiki.contribs.org/Certificates_Concepts#Expiration_time_of_the_self_signed_certificate
to restore default self signed certificate.
Also follow the instructions carefully to the letter, no deviation (except using correct names for your system).
ie
rm /home/e-smith/ssl.crt/servername.domain.com.crt
rm /home/e-smith/ssl.key/servername.domain.com.key
rm /home/e-smith/ssl.pem/servername.domain.com.pem
signal-event post-upgrade
signal-event reboot
Replacing servername.domain.com with your server & domain name.
do for each folder name
cd /home/e-smith/ssl.crt/
ls -al
to list the file names
Then when your server reboots OK, (assuming it does), you can fix your file access issue, using my suggestion in the other thread. Ask again if you want me to elaborate on the commands.
Then you can update your server to 7.4 using the server manager panel.
-
Mary
I managed to get through that error and reboot the server by doing the following:
I rebooted using interactive mode and found the "Start process http-e-smith" was the step producing the error so I rebooted again and answered N to that line which allowed the server to at least reboot without that process started.
I then went into the server console and entered # 2 Configure this server and changed the domain name to "nodomain" and server only mode etc and it rebooted no problem.
I think I caused the error by changing the domain in server-manager to "workgroup" in an act of desperation trying to logon. I know it was dumb but I was experimenting.
I can now access server-manager again so I will return to the other thread and follow your instructions.
-
Bluephoton
You effectively created new certificates by doing that