LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   httpd - Fedora Core 6 (https://www.linuxquestions.org/questions/linux-server-73/httpd-fedora-core-6-a-542302/)

SgtM 04-01-2007 02:56 AM

httpd - Fedora Core 6
 
Hey all. Another Linux noob here. So, I installed Fedora 6 tonight, and I want to set it up as a web server for my home. Why? Learning experience. I followed a guide on howtoforge.com about installing a LAMP with Fedora 6, but httpd will not start no matter what I try. I tried looking in /var/log/httpd, but the directory is empty. When I try and start apache, I get the following output:

root@localhost ~]# /etc/init.d/httpd start
Starting httpd: [FAILED]

Any suggestions?

hollywoodb 04-01-2007 07:05 PM

try using
Code:

apachectl start
which is apache's actual start/stop/restart tool. It might give you more information as to why it doesn't start. Once you get it working then you should be able to use Fedora's httpd service like you are attempting to do now.

SgtM 04-01-2007 07:43 PM

Thanks hollywood. I'll try that when I get home tomorrow morning.

SgtM 04-04-2007 10:21 AM

Well, I really screwed things up somehow. No biggie. This box is just so I can play around with a linux web server. So, I reinstalled FC6 last night, and Apache is running without issue.

Thanks again hollywood!

sirclown82 04-04-2007 11:08 PM

httpd.conf syntax error?
 
Maybe i can tag on to this thread. I just installed apache 2.2+ on FC6, and httpd will not start because, on startup, it says that /etc/httpd/conf/httpd.conf has an syntax error on line 170. I am fairly new to Linux in general, and i dont understand syntax. Here is what it says on line 170 -
LoadModule access_module modules/mod_access.so

This is something that was written in the file when i did the install. whats the problem in there? I don't see anything, but thats my inexperienced eye looking at it too.

Thanks,
Chris

hollywoodb 04-09-2007 08:01 AM

Quote:

Originally Posted by sirclown82
Maybe i can tag on to this thread. I just installed apache 2.2+ on FC6, and httpd will not start because, on startup, it says that /etc/httpd/conf/httpd.conf has an syntax error on line 170. I am fairly new to Linux in general, and i dont understand syntax. Here is what it says on line 170 -
LoadModule access_module modules/mod_access.so

I don't see a problem with that at all... what do the lines immediately before and after that line look like?

BTW, you'll likely get a better response if you just start a new thread ;)

sirclown82 04-09-2007 10:49 AM

I went ahead and uninstalled the entire web server packages in the package manager and started from scratch, this time not using the HTTP configuration GUI, and it now is working. I dont think that i had all the modules installed the first time. Thanks for the response.

Chris


All times are GMT -5. The time now is 07:11 AM.