Welcome to the most active Linux Forum on the web.
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 07-18-2008, 05:34 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
Can't configure HTTPD

The problem is that i have to configure httpd to work with new IP
When i changed IP of the host, httpd continue to link to old IP. When i try to edit file /etc/httpd/conf/httpd.conf with VI it didn't give posibility to save. See output also

root@ugs1a conf]# chmod 777 httpd.conf
chmod: changing permissions of `httpd.conf': Operation not permitted

[root@ugs1a conf]# httpd -f root/new.httpd
httpd: could not open document config file /etc/httpd/root/new.httpd
Old 07-18-2008, 07:04 AM   #2
Registered: Jun 2008
Posts: 101

Rep: Reputation: 15
You need to change the IP number in httpd.conf and also in any IP-based virtual hosts either in httpd.conf or files that are included by httpd.conf.
It seems that you tried to do that, but failed to over-write/save the file and the changes.

If root is not able to modify a file, then the filesystem might be mounted as read-only.

I don't see why you ant to change file permissions on a file to 777 when accessing that file as root anyway.

Linux Archive

Last edited by FranDango; 09-20-2008 at 06:02 AM.
Old 07-18-2008, 04:28 PM   #3
LQ Newbie
Registered: Mar 2008
Posts: 22

Original Poster
Rep: Reputation: 15
It is just to show you tha i cant do with it file enything.. Cahnge permissions, write, copy t othe same dir. I thing the problem with DIR permissions, but the owner is root, so i'm confused


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
Apache 2.2 Index.html / configure httpd.conf file kaltwasser Linux - Networking 16 09-14-2011 01:05 AM
Configure PHP source to HTTPD installed from YUM ittec Linux - Software 2 03-03-2008 04:31 AM
Configure Tomcat 6 and httpd 2.2.4 (mod_jk 1.2.25) nileshgr Linux - Server 0 10-29-2007 09:34 AM
how can to configure httpd-2.0.54? jsnch Solaris / OpenSolaris 6 07-06-2005 03:21 AM
httpd-2.0.52 configure before make with 2 extra modules tca23 Linux - Software 3 11-19-2004 11:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 PM.

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
Open Source Consulting | Domain Registration