LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-28-2004, 07:46 PM   #1
rinne
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Trouble launching apache on yarrow (fedora core 1)


Howdy,
I'm having a bit of trouble starting the Apache http daemon on my Fedora Core 1 install.

From the Desktop menu, I go to System Settings->Server Settings->Services (I believe this is the serviceconf executable). From the list I scroll down to the httpd selection and click it once. The service status now says, "httpd is stopped." So, to start the bugger, I click on the start button.

Here, however, my problem appears. An error dialog appears stating the following:

Quote:
httpd failed. The error was: Starting httpd: Syntax error on line 127 of /etc/httpd/conf.d/ssl.conf: SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty
FAILED
Line 127 in ssl.conf looks like:
Quote:
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
no surprises there.

I checked the /etc/httpd/conf/ssl.crt/ directory and found that it contained only one file, "Makefile.crt"

I checked my installed RPMs by going through the desktop menu: System Tools->System Logs, then selecting RPM Packages.

When I filtered for "ssl" I got:
Quote:
docbook-style-dsssl-1.78-2.noarch.rpm
openssl-0.9.7a-33.10.i686.rpm
openssl-devel-0.9.7a-33.10.i386.rpm
filtering for "SSL" gave me:
Quote:
pyOpenSSL-0.5.1-11.i386.rpm
Based on all this, I guess the error is stemming from me missing some vital SSL package.

Ah ha! At this point I pulled out my Fedora Core 1 CDs and checked out the installed components under Web Server, and noticed that mod_ssl was not installed (although I don't know why I would have left this off when I was installing Linux). So I thought, "there's my problem! ooh yeah, I r0xor linux." I installed mod_ssl and tried launching httpd again.

Nope. Didn't change anything. Same error message when I try to start the httpd service. I tried rebooting after the install (hey, I'm coming from windows!), but to no avail.

I'm a new linux user, and, while I can move through the file system, vi, and code well, I still need help with administrative tasks like installing RPMs and such. If there's any further information that you would need to help diagnose my problem please ask. I'd post it for you now, but I'm not even sure what it could be.

Any help would be mucho appreciated.

ciao,
-rinne
 
Old 05-28-2004, 08:18 PM   #2
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Rep: Reputation: 32
ok.....I'm not familiar with fedora at all .......but on most distros ive used you have to enable and start the service httpd first.....the icon or file you are clicking is probably the executable to the gui config.......wich means you are trying to run apache with a configuration window.......wich also means that your running it in X.......(you shouldnt do that but thats......too broad of a subject for this reply).............

first you have to enable the httpd <---daemon.......to run.........there are several ways to do this wich I really think if you learn this on your own you will know it better.....go to http://httpd.apache.org/docs/invoking.html read the information there first.....then after you have it all set up click the icon you used before while the service is running.........and blamo........
 
Old 05-29-2004, 10:02 PM   #3
rinne
LQ Newbie
 
Registered: May 2004
Posts: 2

Original Poster
Rep: Reputation: 0
What I was doing should have been starting the httpd service (i think).

Anyway, I figured I'd give command line execution a shot. First off, in that Apache site you directed me to, the instructions state to execute:
/usr/local/apache/bin/httpd -f /usr/local/apache/conf/httpd.conf

It turns out that /usr/local/ doesn't have a subdirectory named apache at all. I assume this is because the Apache site is looking at a UNIX file system install, whereas I'm running fedora core 1.

In an attempt to locate the executable myself I ran a find * -name "httpd" from root, and obtained the following results:
  • etc/rc.d/init.d/httpd
  • etc/logrotate.d/httpd
  • etc/httpd
  • usr/share/doc/qt-devel-3.1.2/examples/network/httpd
  • usr/sbin/httpd
  • usr/include/httpd
  • usr/lib/httpd
  • var/log/httpd

I tried running /usr/sbin/httpd -f /etc/httpd/conf/httpd.conf which was the closest thing I could find to the invoke help site command, and, lo and behold, I received the same error:
Quote:
Syntax error on line 127 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist of is empty
Anyway else have any suggestions? I'm considering uninstalling and then reinstalling Apache (a solution that fixed many-a windows problem in the past), but I'm not sure how to do it in Linux. Suggestions?

Thanks in advance.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble launching jedit on Fedora 3 raindogs Linux - Software 2 09-14-2005 07:22 AM
Fedora Core 1 ( Yarrow ) Trouble-shooting guide. dsfh24 Fedora 30 02-08-2005 08:50 AM
trouble with fedora core 3...please help! dabeaver68 Linux - Software 4 01-04-2005 01:30 PM
trouble on fedora core 2 c++ and c standby01 Programming 3 08-12-2004 06:34 PM
Fedora (yarrow) Instal problems on a Proliant 5000 Yacuzaboss Fedora 0 08-07-2004 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration