httpd restart - dev/null doesn't not exist

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
aceSpec
Forum Newbie
Posts: 12
Joined: Fri Sep 24, 2010 10:13 am

httpd restart - dev/null doesn't not exist

Post by aceSpec »

Hey,

Im trying to get a php library installed on my php/apache box. I ran the installation and now im trying to restart it.

I ran:

Code: Select all

/etc/init.d/httpd restart
from one level outside of etc.

Then I got this error:

Code: Select all

Warning: DocumentRoot [/dev/null] does not exist
If I go into etc, /dev/null does exist.

Any ideas?

Thanks in advance.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: httpd restart - dev/null doesn't not exist

Post by John Cartwright »

Why is your document root pointed to /dev/null? Thats generally where you send output to die.
Post Reply