Re: Why wont this script run??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-10-13 at 08:43 +0200, Søren Neigaard wrote:

> 
> Ok i ran a dos2unix on the file, and that fixed it (my path to bash was 

Great.

> ok). However now it only kills apache when i do a restart, it does never 
> print out "Starting httpd" when running a restart, although if i run 
> start it works???

Someone else suggested a sleep between the stop and start.

> 
> Ok i agree on reinstalling apache, but how can i do this, and will it 
> owerwrite my httpd.conf?

Depends on the RPM command you use. I think there is a freshen option,
but if it was my system, I'd backup the files I cared about, then remove
and re-install apache.

So I'd suggest:

cp /etc/httpd/conf/httpd.conf $HOME/saved_httpd.conf
cp **ANYTHING ELSE YOU CHANGED** **SOMEWHERE SAFE**
rpm -e httpd
yum install httpd

Then put back the files you backed up.

Please don't try any of this if you are not confident with backing up
any of your apache content or configuration.

Cheers, Ben



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux