Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ariesice on January 15, 2010, 05:08:38 PM

Title: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: ariesice on January 15, 2010, 05:08:38 PM
Dear friend today after reboot my server using shutdown -r now command, I saw an error:
syntax error on line 134 of /etc/httpd/conf/http.conf

When I check the line I found the following:
# modSSL{CertificateChainFile} not set
SSLCertificateFile /home/e-smith/ssl.crt/serverfpb.mycompany.bk.crt
SSLCertificateKeyFile /home/e-smith/ssl.key/serverfpb.mycompany.bk.key

Exist a way o solve it? , and how

Thanks in advance.

Best Regards
Isaac
Title: Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: ariesice on January 15, 2010, 06:39:48 PM
As additional input, when I checked the file server.company.local.key at 
/home/e-smith/ssl.key this file is complete empty and  the other problem is that the directory named .ssh on /root/.ssh directory not appear.

Some one know how can I recovery it?

Thanks in advance.

Isaac

Title: Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: cactus on January 15, 2010, 07:06:30 PM
Dear friend today after reboot my server using shutdown -r now command, I saw an error:
syntax error on line 134 of /etc/httpd/conf/http.conf

When I check the line I found the following:
# modSSL{CertificateChainFile} not set
SSLCertificateFile /home/e-smith/ssl.crt/serverfpb.mycompany.bk.crt
SSLCertificateKeyFile /home/e-smith/ssl.key/serverfpb.mycompany.bk.key

Exist a way o solve it? , and how
You have been modifying your webserver certificates most likely. What instructions did you execute/follow? Perhaps we can help you restore to normal. It helps if you give as much (relevant) detail as we do not have a USB powered crystal ball.

the other problem is that the directory named .ssh on /root/.ssh directory not appear.
Uhm, what gives you the opinion that this is related to this problem? Are you sure you know what you are doing? This is completely unrelated to your other problem.
Title: Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: ariesice on January 15, 2010, 07:20:56 PM
Thanks Cactus for your advice, Just trying a to find a logical answer to my problem , but you are the expert, I am not modified the webserver  certificate, this server have no mayor function basically I use it to print server an backup server, the point is how can I restore to normal?, please send to me the necessary  steps to return the server to normal work.
Thanks in advance.
Isaac
Title: Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: CharlieBrady on January 15, 2010, 07:28:00 PM
You have been modifying your webserver certificates most likely.

No, that would not cause a syntax error.
Title: Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: cactus on January 15, 2010, 07:28:45 PM
Sorry, just a quick reply, need to run now.

Strange these things do not change by itself normally. What is the output of the following commands:
Code: [Select]
ls -lt /home/e-smith/ssl*
db configuration show modSSL
db configuration show SystemName
db configuration show DomainName
Title: Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: cactus on January 15, 2010, 07:29:40 PM
No, that would not cause a syntax error.
Sorry for my wording, I meant to say that OP must have been modifying the certificate settings and not the certificates itself.
Title: Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
Post by: janet on January 15, 2010, 10:12:24 PM
ariesice

Quote
# modSSL{CertificateChainFile} not set
SSLCertificateFile /home/e-smith/ssl.crt/serverfpb.mycompany.bk.crt
SSLCertificateKeyFile /home/e-smith/ssl.key/serverfpb.mycompany.bk.key

That entry appears to be consistent with default settings.

Missing folders & files are not normal though.
These commands should recreate the missing certificate files
signal-event post upgrade
signal-event reboot

It would be interesting to see the output of the commands you were asked to run by cactus, BEFORE doing the above.