Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)?
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.
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.
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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.