yum update caused big problems

sde

Verified User
Joined
Sep 11, 2004
Messages
213
Location
Temecula, CA
i'm running centos4 and last night i had the bright idea to udate my server with yum. i didn't have any excludes, needless to say it updated everything and hosed my sites.

here's the yum log from the update:
Code:
 Jan 09 19:19:04 Updated: perl.i386 3:5.8.5-24.RHEL4
Jan 09 19:19:04 Updated: cups-libs.i386 1:1.1.22-0.rc1.9.9
Jan 09 19:19:09 Updated: openssl-devel.i586 0.9.7a-43.4
Jan 09 19:19:16 Updated: gtk2.i386 2.4.13-18
Jan 09 19:19:17 Updated: libtool-libs.i386 1.5.6-4.EL4.1.c4
Jan 09 19:19:19 Updated: shadow-utils.i386 2:4.0.3-58.RHEL4
Jan 09 19:19:20 Updated: libtool.i386 1.5.6-4.EL4.1.c4
Jan 09 19:19:21 Updated: curl-devel.i386 7.12.1-8.rhel4
Jan 09 19:19:26 Updated: cups.i386 1:1.1.22-0.rc1.9.9
Jan 09 19:19:32 Updated: openldap-devel.i386 2.2.13-4
Jan 09 19:19:34 Updated: nss_ldap.i386 226-10
Jan 09 19:19:34 Updated: php-ldap.i386 4.3.9-3.9
Jan 09 19:19:37 Updated: udev.i386 039-10.10.EL4.3
Jan 09 19:19:37 Updated: pam-devel.i386 0.77-66.13
Jan 09 19:19:41 Updated: util-linux.i386 2.12a-16.EL4.12
Jan 09 19:19:42 Updated: wget.i386 1.10.2-0.40E
Jan 09 19:21:11 Installed: kernel-devel.i686 2.6.9-22.0.1.EL
Jan 09 19:21:30 Installed: kernel.i686 2.6.9-22.0.1.EL
Jan 09 19:21:47 Installed: kernel-smp.i686 2.6.9-22.0.1.EL
Jan 09 19:21:50 Updated: php-pear.i386 4.3.9-3.9
Jan 09 19:22:47 Updated: kernel-hugemem-devel.i686 2.6.9-22.0.1.EL
Jan 09 19:23:24 Updated: kernel-smp-devel.i686 2.6.9-22.0.1.EL
Jan 09 19:23:25 Updated: libungif.i386 4.1.3-1.el4.2
Jan 09 19:23:31 Updated: httpd-manual.i386 2.0.52-22.ent.centos4
Jan 09 19:23:31 Updated: httpd-suexec.i386 2.0.52-22.ent.centos4
Jan 09 19:23:34 Installed: httpd.i386 2.0.52-22.ent.centos4
Jan 09 19:23:36 Installed: php.i386 4.3.9-3.9

it updated httpd and php so that looks like what the problem was.

i re-built customapache. i can't access my sites via the domain names, but i can via an ip address.

email works fine.

i can login to the da control panel via an ip address ( not a domain name)

i'm getting desperate for a solution. please advise.
 
nevermind. the customapache build DID fix the problem.

i just happened to have a completely seperate DNS issue come up at about the same time.
 
from another thread on this forum, put the following excludes on your yum.conf:

Code:
exclude= kernel* httpd* mysql* php* apache* mod_* MySQL* ftp* exim* sendmail* da_* webalizer*

I don't know if sendmail should be in that list or not though, and this is not an official DA list. I would like to see yum (and apt) properly supported by DA just to improve the overall quality of their installed package.

There again, beats me why DA cannot just use apache 2 and dynamic modules (how I used to have it previously - eg. you want gd support, just yum install php-gd and you're done without even an apache restart!) instead of rebuilding everything.
 
Many of the items in the exclude probably don't need to be there, because yum won't attempt to update anything you haven't already gotten installed by rpm and/or yum.

Here's what we use in current installs (two today):
Code:
exclude=httpd* mysql* php* perl* apache* mod_* MySQL* *ftp* exim* sendmail* php* kernel* da_*

Jeff
 
besides what jeff posted, i added bind into the exclude list coz last time when i did yum update, bind was updated. yum replaced my named.conf. it was a mess. so i exclude it. and i also remove yum from cron.daily folder. do not want it to update automatically on a daily basis. i would rather update manually and watch close what is replaced and what needs to be restored.
 
I've actually mentioned that in a few posts as well.

The problem is that the standard nameserver install on RHEL and CentOS includes both BIND and caching-nameserver.

So after we got hit with the problem we started deleting it as part of our DA install.

You could also add:

caching_nameserver

to your yum excludes line.

Jeff
 
Back
Top