LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2003, 04:42 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
starting up a service


hello everybody,

I'm trying to setup internal webpage.
using apache http server and i think i have the configurations set.

end of the instruction it said that i have to start ther service using the following command: service httpd restart

i went into terminal window as root user and ran "service httpd restart".. but nothing happend...

what am i doing wrong?
 
Old 08-30-2003, 04:51 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
did you get an error or did it just put your right back to the bash prompt? if it went straight to the prompt then that should mean that no errors have occured and it started...
type:
ps -aux|grep httpd
and you should see some results....
also if it said something like "service: command not found" then use the full path /sbin/service...
and not only all this....just try the site, and see if you can access it...that would be the first thing to try...
 
Old 08-30-2003, 04:56 PM   #3
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Original Poster
Rep: Reputation: 15
hi,

thanks for the help.. i ran the command and it displayed the follwoing message: starting httpd: syntax error on line 116 of /etc/httpd/conf.d/ssl.conf: sslcertificatefile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or es empty.

any ideas
 
Old 08-31-2003, 05:04 AM   #4
shelldude
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Quick Fix:
look in your httpd.conf file ... it's probably trying to load mod_ssl. Comment out both the places where it's trying to access mod_ssl and try to restart apache. Might have to get into the init script and see what command it's using to actually start apache. (most likely called /etc/init.d/httpd) There'll be a line with apachectl sslstart. Change the "sslstart" to "start" and you may have better luck.
 
  


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
PCMCIA service not starting nelsonnery Linux - Hardware 5 04-05-2005 06:39 PM
starting this as a service. dkc_ace Linux - General 15 12-27-2004 09:31 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
starting one service before the other in Rh jayakrishnan Linux - General 2 11-19-2003 12:32 AM
xinetd service not starting porous Linux - Networking 4 10-14-2003 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 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