Linux - SoftwareThis 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
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.
I'm using FC5 and when I try to start httpd it fails, but if I type it, it works, and if it fails, it actually tells my why, unlike when I try to start it with service.
How can I make it work with service? I want it to start on it's own at system startup.
Distribution: At home: Arch, OpenBSD, Solaris. At work: CentOS, Debian, Ubuntu
Posts: 3,625
Rep:
Look at the /etc/init.d/httpd script and figure out exactly what command line options it is using with httpd. if it starts fine by hand then chances are that one of the pre-set options is the problem. You should also check the /var/log/httpd/error_log file to see if anythinh is reported there.
Originally Posted by http://stanton-finley.net/fedora_core_5_installation_notes.html
Go to "System" > "Administration" > "Security Level and Firewall". Provide your root password, click "ok" and on the "Firewall Options" tab make sure the check boxes next to "WWW (HTTP)" and "Secure WWW (HTTPS) are ticked. On the "SELinux" tab click the arrow on the left of "Modify SELinux Policy" and under (expanded) "HTTPD Service" make sure all the checkboxes are ticked except "Disable SELinux protection for httpd daemon" and "Disable SELinux protection for http suexec". (Please see http://fedora.redhat.com/docs/selinux-faq-fc5/ for important SELinux considerations.) Click "ok". Reboot your machine to enable the new SELinux settings.
I did not install a GUI... so am I screwed? I'll look at those scripts though to see if there's anything obvious in there. And nothing was being produced in the error log (which suprisingly exists, since FC5 seems to lack logging of lot of stuff)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.