Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th November 2008, 11:10 PM
tx836519 Offline
Registered User
 
Join Date: Mar 2008
Location: Pickens Co., SC
Age: 66
Posts: 56
Fedora 8: ssh setup produces httpd error

When I try to create ssh keys on Fedora 8, the httpd service will stop and fail to restart. I had this problem on another machine also running Fedora 8 and finally got it going by reinstalling httpd several times before it accepted the entry and now works fine. The errors on the current machine is:

[ken@smbsrvr2 ~]$ su -
Password:
[root@smbsrvr2 ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 320 of /etc/httpd/conf.d/system-config-httpd.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
[root@smbsrvr2 ~]#

Below is an excerpt from system-config-httpd.conf:
303 #
304 # Virtual hosts
305 #
306
307 # Virtual host Default Virtual Host
308 <VirtualHost *>
309 DocumentRoot /var/www/html/
310 ErrorLog logs/error_log
311 ServerAdmin root@localhost
312
313
314
315 ServerSignature email
316 TransferLog logs/access_log
317 DirectoryIndex index.php index.html index.htm index.shtml
318
319
320 SSLEngine on
321 SSLCertificateFile /etc/pki/tls/certs/smbsrvr2.crt
322 SSLCertificateKeyFile /etc/pki/tls/private/smbsrvr2.key
323
324 SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt
325
326 SSLOptions StrictRequire
327
328 TransferLog logs/access_log
329 ErrorLog logs/error_log
330 LogLevel debug
331 HostNameLookups off
332
333
334
335
336 </VirtualHost>

I need to find out why this is happening and I am open to all input. -- ken
Reply With Quote
  #2  
Old 29th November 2008, 12:45 AM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,950
Quote:
Originally Posted by tx836519 View Post
Invalid command 'SSLEngine', ... defined by a module not included in the server configuration
Your answer and solution is right there.

You need to install mod_ssl.
__________________
A Drink is Not Just For Christmas - SaskyCom :thumb:


“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
  #3  
Old 29th November 2008, 02:00 AM
tx836519 Offline
Registered User
 
Join Date: Mar 2008
Location: Pickens Co., SC
Age: 66
Posts: 56
Thanks a million, Pete_1967. Installed mod_ssl and it did as one would expect! -- ken
Reply With Quote
  #4  
Old 4th February 2009, 09:13 AM
victorvam Offline
Registered User
 
Join Date: Feb 2009
Posts: 1
httpd does not start

Am using fedora9, i'v installed httpd 2.2.10, but when i /usr/local/apache/bin/apachectl graceful i get httpd not running, trying to start.
When i try service httpd start, i get Starting httpd: Syntax error on line 334 of /etc/httpd/conf/httpd.conf:
I've tried and tried but now i dont know wat to do!
Reply With Quote
  #5  
Old 4th February 2009, 09:23 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by victorvam View Post
Am using fedora9, i'v installed httpd 2.2.10, but when i /usr/local/apache/bin/apachectl graceful i get httpd not running, trying to start.
When i try service httpd start, i get Starting httpd: Syntax error on line 334 of /etc/httpd/conf/httpd.conf:
I've tried and tried but now i dont know wat to do!


Try editing the syntax mistake on line 334 of /etc/httpd/conf/httpd.conf


or post

Code:
cat /etc/httpd/conf/httpd.conf
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #6  
Old 4th February 2009, 03:04 PM
tx836519 Offline
Registered User
 
Join Date: Mar 2008
Location: Pickens Co., SC
Age: 66
Posts: 56
I am assuming you are posting here because of similarity of your problem to the symptoms I described.

When downloading the required packages, I failed to enter one (mod_ssl). I was working on several machines and got it right on the others and had no problem. Once I corrected this lapse in my attention to detail, all worked as it should. -- ken
Reply With Quote
Reply

Tags
error, fedora, httpd, produces, setup, ssh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wine installation produces this error on Fedora 11 64bit hpark21 Installation and Live Media 3 9th October 2009 09:40 PM
FAQ link produces database error tashirosgt Suggestions & Feedback 2 3rd April 2009 11:05 PM
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /us Kingtu Servers & Networking 2 5th April 2007 12:54 AM


Current GMT-time: 00:18 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat