Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-28-2004, 01:18 PM   #1
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
httpd.conf backup problem

Before i started to mess around setting up name based virtual host i made a backup of my httpd.conf file. well i messed up and instead of fixing it (for some reason my nano editer replaces * with a J made it hard to revert to old script) but now when i try to restart or stop the service it tells me that it can not open the httpd.conf.

to try and solve this i changed the permissions of the file to what the old file permission was (root : root) but still no go with trying to start apache.

Old 11-28-2004, 01:58 PM   #2
Registered: May 2003
Location: Cambridge, MA
Distribution: SuSE, RedHat, and OpenBSD
Posts: 116

Rep: Reputation: 15
Did you replace your screwed up file with the backup?

What's the output if you type:

ls -l

in the directory containing httpd.conf?
Old 11-28-2004, 02:16 PM   #3
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
ya in the post above i posted two problems im having.

The main one is with my httpd.conf file not being read. After playing around i found that with FC3 you need to chcon -Z the file, not sure why but i followed a tutorial, and it started to work.

Second was my problem with nano editer. When im in nano all keys work fine but when i use the * key it gives me j, not sure how to fix this or if anyone else is having that problem.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem whith user authentication / httpd.conf elpapazuko Linux - Security 4 12-10-2004 10:10 AM
Red Hat 9 server can't write PHP script, problem in httpd.conf file? x_menno_x Linux - Newbie 27 06-29-2004 05:44 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
Apache (httpd) 2.0 conf authentication problem HELP!!! bleah-man Linux - Software 14 08-18-2003 10:04 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM > Forums > Linux Forums > Linux - Newbie

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

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