Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've just installed SuSE Linux 7.2 (Pro) and I can't seem to get Apache up and running. Ideally, I'd like it to start at bootup
The configuration file seems fine (the relevant line saying
But when I type "rcapache status"
I get "Checking for httpd: unused", and I still get this message even after doing "rcapache start".
Putting localhost into my web browser doesn't access htdocs/index.htm, and when shutting down Linux I notice that it says 'Shutting down httpd failed'.
What happens when you just try to start apache from the command line? You can just try running httpd AFAIK, or use apachectl start instead, however you might need to find Apache's sbin directory for this one (so on my machine it is /var/lib/apache/sbin/apachectl start). That might give you some hints. Once you have found the Apache dir, then have a look at your httpd.conf file in the conf/ directory and see where the logs are kept (normaly /var/log/access and /var/log/error) and have a look through those files for more clues about why its not starting.
I've found, and looked at the Apache log files, and theres nothing in any of them, even after running "httpd" from the command line. Even after using this, and even typing in apachectl start, still nothing in the logs. In fact, all I get when I query the status is "unused".
When I try apachetcl status, I get:
Looking up localhost
Making HTTP connection to localhost
Alert! Unable to connect to remote host. lynx: can't file http://localhost/server_status
which is bemusing to say the least. The slightly worrying thing in the httpd.conf file is that a lot of the settings are encased in quotes, such as
START_HTTPD="yes" and DocumentRoot "/usr/local/httpd/htdocs"
- I don't suppose this makes a difference, does it?
But you don't get any errors on the command line when you try to start apache?? I'd expect some sorta message if it doesn't start. As for apachectl status, this just make a connection to the server so if it isn't running then it just fails. And there is definately not mention of httpd when you do a ps -ef?
Right... well if httpd isn't starting, and there's no errors on the command line and no errors in your logs then I'm almost out of ideas! The only thing I can say is double check everything in your httpd.conf.
I had a look at the document on the httpd website, but I don't know if it applies in this case. Looking at the config file, the mod_status module is specified, and it should work (I'm running Apache in standalone mode anyway). It just looks like Apache isn't running, but goodness knows why!
I ran into the same issue with Redhat 7.1. Could please you tell me exactly how you fix the issue? I know you saying something about removing auth_ldap, it is not clear to me how you do that and what sort of conflict is that?