LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-06-2004, 03:09 AM   #1
vmnrao
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Rep: Reputation: 0
Apache not starting up!


I am trying to run Apache on YellowDog Linux 3.0.1. I start it up and it says "OK" but when I do a

> ps -e | grep httpd

it is not running! Any suggestions?

A related question: I am running my webserver through a router. In my apache config, should I enter my "server name" as my private IP address (10.x.x.x) or my public IP address (69.x.x.x)?

Last edited by vmnrao; 09-06-2004 at 03:18 AM.
 
Old 09-06-2004, 03:52 AM   #2
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
try acessing it from another computer. It maybe some weird inetd thing where if it senses a request on port 80 or something, it'll start up httpd. Just a thought, not too sure though.
 
Old 09-06-2004, 03:59 AM   #3
vmnrao
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks- tried that, doesn't work! Won't even work from the same computer I'm trying to run apache on!
 
Old 09-06-2004, 08:45 AM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
isnt the running process called apache.. not httpd ?
try connection to http://127.0.0.1 see anything ?
 
Old 09-06-2004, 09:28 AM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by qwijibow
isnt the running process called apache.. not httpd ?
try connection to http://127.0.0.1 see anything ?
Actually apache processes are called httpd.

How are you starting apache? Have you tried running it manually or is that what your already doing? What commands are you using? More details get better reponses.
 
Old 09-06-2004, 03:21 PM   #6
vmnrao
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Original Poster
Rep: Reputation: 0
I've tried:
> /etc/init.d/httpd restart
and it says it started "OK" but then it does not show up in the
> ps -e | grep httpd
command.

I get a "connection refused" when I try connecting to localhost or 10.0.1.3 or 127.0.0.1 on the same computer I am running apache on.

I have also tried turning off my firewall and that doesn't help, either.

The file /etc/httpd/logs/error_log is empty.

The file /etc/httpd/logs/ssl_error_log contains several lines of the following:
[Mon Sep 06 13:11:32 2004] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Sep 06 13:11:32 2004] [warn] RSA server certificate CommmonName (CN) 'localhost.localdomain' does NOT match server name!?

I'm assuming this is a problem witrh my httpd.conf file. I've tried setting my ServerName to my private IP address behind my router (10.0.1.3) and I've also tried setting it to localhost. Any suggestions on what to try next?

Last edited by vmnrao; 09-06-2004 at 04:41 PM.
 
Old 09-06-2004, 06:38 PM   #7
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
anything in /var/log/apache ???
 
Old 09-06-2004, 07:14 PM   #8
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
With the error provided that you stated here:

The file /etc/httpd/logs/ssl_error_log contains several lines of the following:
[Mon Sep 06 13:11:32 2004] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Sep 06 13:11:32 2004] [warn] RSA server certificate CommmonName (CN) 'localhost.localdomain' does NOT match server name!?

What do have configured in your httpd.conf file? What is your actual hostname/servername, etc? Have you gone over your httpd.conf file for accuracy?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache not starting ilnli Linux - General 1 06-29-2005 06:15 AM
Apache not starting up scarr3d Debian 4 05-17-2005 05:05 AM
Apache not starting... noteventime Linux - Software 2 03-11-2005 06:34 PM
Starting Apache mattp Slackware - Installation 5 03-14-2004 11:58 PM
Apache not starting athompso Linux - Software 1 11-16-2002 12:33 AM


All times are GMT -5. The time now is 12:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration