PDA

View Full Version : [Fedora Core 4] Yum update killed a config file


joshcombs
01-08-2006, 11:46 PM
I ran yum update tonight and it updated my named server and it did the following

Updating : openssh-server [ 68/215]warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew

is there anyway of getting the old config back? Because I was not the one who set up the config file and I have not a clue on how to do it.

Thanks
Joshua

jlasman
01-09-2006, 07:19 PM
Based on the message, It looks as if your original configuration file was left alone and the new one was named with an ".rpmnew" extension.

If not, then look for an ".rpmnew" extension file which may be the same as your original file.

Or look for sshd_config- (that's a "-", not a "~").

Jeff

joshcombs
01-09-2006, 07:24 PM
it was all fixed after my datacenter did a power boot.

jlasman
01-09-2006, 07:30 PM
Which indicates my first thought was correct; your old sshd_config was still in place.

The problem appears to be that your sshd daemon wasn't restarted after the update.

Jeff

joshcombs
01-09-2006, 07:33 PM
yeah everything went dead, httpd, named, and sshd I had no other choice to do a reboot. I did it through direct admin. Then it didn't come back up so I had to have them do a power boot to it.