LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-13-2006, 01:00 PM   #1
Lorend
Member
 
Registered: Feb 2005
Location: Wisconsin
Distribution: Fedora Core 5, Knoppix, Suse 10
Posts: 37

Rep: Reputation: 15
Unhappy apache 2 won't restart after it was shut down


Hi all,

I am trying my best to not lose it here.

I am trying to get apache and PHP 5 to work properly and initially apache started without a problem, I then made a info.php file but I was denied access to the file because it said I did not have permission to view this file, I looked around and think I have that fixed, but now I tried to restart the server and now it won't start at all, even after I shut down and do a restart of the machine.
this is what I have tried so far. I tried start httpd from the services window, it just sat and sat. then I tried something that I saw somewhere in the terminal. and this is what I got.

/etc/rc.d/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 182 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_access.so into server: /etc/httpd/modules/mod_access.so: cannot open shared object file: No such file or directory
[FAILED]
Any help would be greatly appreciated. I have been working on this for three hours and I am still stuck on creating the info page for php. I thought this would be a little easier to get going.

Thanks for the help,
 
Old 08-13-2006, 01:12 PM   #2
Lorend
Member
 
Registered: Feb 2005
Location: Wisconsin
Distribution: Fedora Core 5, Knoppix, Suse 10
Posts: 37

Original Poster
Rep: Reputation: 15
I found my own answer not five minutes after I wrote this, so thanks anyway.

from root type:

mv /etc/httpd/conf/httpd.conf.bak /etc/httpd/conf/httpd.conf

if asked to overwrite, type Y and enter.
 
Old 08-13-2006, 01:25 PM   #3
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
next time you can just try

vi /etc/httpd/conf/httpd.conf
:182

take a look at what is causing the problem and then if you can't fix use your backups.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Dapper: no shut Down /Restart Buttons Luke771 Linux - Software 2 06-09-2006 02:13 PM
Shut Down / Restart mahednranit Linux - Software 6 06-25-2005 02:02 PM
Sym link disaepears after shut down/restart usr_wifi Linux - Software 0 02-13-2005 02:43 PM
System hangs up on restart and shut down darknails Fedora 7 01-24-2005 04:04 AM
Mandrake Shut Down/Restart Problem dangerboy Linux - Distributions 14 08-20-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration