Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Corrupt conf files

Status
Not open for further replies.

donj1

MIS
Dec 28, 2000
1
US
We are running Apache web server on several hosts and have seen a reoccuring problem. The conf file gets corrupted in some way when the host is shutdown and restarted or just rebooted. The only way to get Apache to start again is to make a new conf file. This has happened to us on a RS6000 running AIX and on a Sparc station runnning RedHat Linux.There is no visible corruption in the old file. Anyone else seen this problem?
 
I havent had that problem, but my resolv.conf changes on me on reboot since I am using dhcp. I have also had the weirdest problem involving my ethernet card. It is a perfectly working netgear card, but instead of staying on the assigned IP address, it changes MAC on reboot and thus changes IP!

If the problem doesn't get resolved soon, just go into /etc/rc.d/rc.local, and at the end make a line like "cp /home/admin/httpd.conf /usr/local/apache/conf/httpd.conf"
JUST MAKE SURE TO ACTUALLY HAVE A BACKUP OF HTTPD.CONF IN THE FIRST PATH! this way, at least the backup will overwrite the corrupted one.


Hope This helps!!!


Rninja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top