Koozali.org: home of the SME Server

Syntax error on line 134 of /etc/httpd/conf/http.conf

Offline ariesice

  • 3
  • +0/-0
Syntax error on line 134 of /etc/httpd/conf/http.conf
« 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

Offline ariesice

  • 3
  • +0/-0
Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
« Reply #1 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


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
« Reply #2 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ariesice

  • 3
  • +0/-0
Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
« Reply #3 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
« Reply #4 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.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
« Reply #5 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
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
« Reply #6 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Syntax error on line 134 of /etc/httpd/conf/http.conf
« Reply #7 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.