The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

up2date info

Discussion in 'General Discussion' started by vla, Dec 9, 2004.

  1. vla

    vla Member

    Joined:
    Jun 19, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I decided to configure up2date and I was wondering what settings shall I choose so I dont get into troubles with Cpanel Rpm updates.

    I read a post by chirpy advising on the exclude list
    Anything else that might help me configure it properly ?

    Thank you all.


    I am using :
    WHM 9.9.8,
    cPanel 9.9.8-R160,
    OS RedHat 9

    The default config looks like this

    0. debug No
    1. rhnuuid myID
    2. isatty Yes
    3. showAvailablePacka No
    4. depslist []
    5. networkSetup Yes
    6. retrieveOnly No
    7. enableRollbacks No
    8. pkgSkipList ['kernel*']
    9. storageDir /var/spool/up2date
    10. adminAddress ['root@localhost']
    11. noBootLoader No
    12. serverURL https://xmlrpc.rhn.redhat.com/XMLRPC
    13. fileSkipList []
    14. sslCACert /usr/share/rhn/RHNS-CA-CERT
    15. noReplaceConfig Yes
    16. noReboots None
    17. useNoSSLForPackage No
    18. systemIdPath /etc/sysconfig/rhn/systemid
    19. enableProxyAuth No
    20. retrieveSource No
    21. versionOverride
    22. headerFetchCount 10
    23. networkRetries 5
    24. enableProxy No
    25. proxyPassword
    26. noSSLServerURL http://xmlrpc.rhn.redhat.com/XMLRPC
    27. keepAfterInstall No
    28. proxyUser
    29. removeSkipList ['kernel*']
    30. useGPG Yes
    31. gpgKeyRing /etc/sysconfig/rhn/up2date-keyring.gpg
    32. httpProxy
    33. headerCacheSize 40
    34. forceInstall No
    35. noReboot No
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Is there really any point to using up2date with redhat 9 ? As far as I know, fedoralegacy only supports yum and apt-get so up2date would be totally useless.
     
  3. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    I just recently took imap out of my exclude list.. as I read in the cpanel changelog a while back that they fixed how they handled their imap vs the default redhat imap so there shouldn't be any more problems related to the rpm. I installled the redhat rpm after that and it didn't break my webmail or anything so allowing imap should be fine now.

    As for squirrelmail... err, I don't believe there's a default redhat rpm package for it, is there? I don't have it, at least.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, there is an RHE rpm for squirrelmail:

    up2date --showall | grep squirrel
    squirrelmail-1.4.3-0.e3.1.noarch
     
  5. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    hmm... interesting... but the question is: does it break cpanel's sqmail?

    I don't have it installed though... so it shouldn't be installed through up2date since it only updates packages that are already installed. Right?
     
  6. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    Two quick questions:

    1. So put squirrelmail in the exclude list, because cpanel updates it.. correct?
    2. If I'm able to use up2date, I don't need YUM installed?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    1. Yes
    2. Yes

    :)
     
  8. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
  9. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    1. chirpy u advise taking out imap from that list?
    2. Should spamassasin also be on that list? (If so, is there anything else the above list is missing?)
     
    #9 damainman, Dec 25, 2004
    Last edited: Dec 25, 2004
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    My current list is:

    squirrelmail*;kernel*;php*;httpd*;perl*;mysql*;mod_ssl*;imap*;spamassassin*;caching-nameserver*
     
  11. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    Thank you for your reply chirpy.

    So basically you suggest still keeping imap in the exclude list? Also can you explain the purpose of having this in the exclude list: caching-nameserver* ?

    Thank you in advance, and happy holidays :)
     
  12. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    Should these packages be installed?

    root@solaris [~]# rpm -qa | grep php
    php-ldap-4.3.2-14.ent
    php-4.3.2-14.ent
    php-imap-4.3.2-14.ent
    root@solaris [~]# rpm -qa | grep mod_ssl
    mod_ssl-2.0.46-44.ent
    root@solaris [~]# rpm -qa | grep imap
    imap-devel-2002d-9
    php-imap-4.3.2-14.ent
    imap-2002d-9
    root@solaris [~]# rpm -qa | grep perl
    perl-HTML-Parser-3.26-17
    perl-XML-Parser-2.31-15
    perl-libxml-enno-1.02-29
    newt-perl-1.08-4
    perl-DBD-MySQL-2.1021-3
    perl-DateManip-5.42a-0.rhel3
    perl-Filter-1.29-3
    perl-HTML-Tagset-3.03-28
    perl-Parse-Yapp-1.05-30
    perl-libwww-perl-5.65-6
    perl-libxml-perl-0.07-28
    perl-XML-Encoding-1.01-23
    perl-XML-Grove-0.46alpha-25
    perl-DBI-1.32-5
    perl-5.8.0-88.9
    perl-CGI-2.81-88.9
    perl-CPAN-1.61-88.9
    perl-URI-1.21-7
    perl-XML-Dumper-0.4-25
    perl-XML-Twig-3.09-3

    I see you have those on the skiplist and they are installed on my server. Should something not be there? Should I remove something?
     
  13. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, since cPanel uses it's own installation of imap, you don't want up2date updating with a different one.

    The recent RHE3.4 update included a new version of the caching-nameserver rpm. If your server had been built with that installed (in addition to the standard bind rpms) then its upgrade wipes out your named.conf file :eek: So, excluding it is a good idea as it's not needed.
     
  14. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Hi Rich,

    What's happened is that the server was initially built with those rpms installed. Subsequently, cPanel has been installed and loaded its own version of those apps. So, when a RHN up2date update comes along, you don't want it to overwrite the cPanel versions, so you include them in the exceptions list. That they're there isn't an indication of a problem :)

    Additionally, some datacentres will use up2date -uif --justdb apps that appear in your up2date list that are to be excluded. The --justdb puts the rpm package headers into the rpm database, but doesn't actually install the rpm itself - it makes things look cleaner, but can make things a little confusing.
     
  15. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    Thanks Chirpy,

    I set my skip packages config with the one you posted above. Hopefully it won't give me any beef. (mmmmm...beef ::drools:: lol)
     
Loading...

Share This Page