LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-18-2008, 04:34 AM   #1
bartalamu
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, 06:04 AM   #2
FranDango
Member
 
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 05:02 AM.
 
Old 07-18-2008, 03:28 PM   #3
bartalamu
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
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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