Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-02-2006, 01:39 PM
|
#1
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338
Rep:
|
service httpd fails
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.
|
|
|
07-02-2006, 02:42 PM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
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.
|
|
|
07-02-2006, 02:53 PM
|
#3
|
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Rep:
|
From the Fedora Core 5 Linux Installation Notes:
Quote:
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.
|
|
|
|
07-02-2006, 03:22 PM
|
#4
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,338
Original Poster
Rep:
|
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)
|
|
|
All times are GMT -5. The time now is 01:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|