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.

Problem with upcp

Discussion in 'General Discussion' started by mr2jzgte, Sep 18, 2003.

  1. mr2jzgte

    mr2jzgte Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Florida
    Just trying to run /scripts/upcp to update the server and i get the following errors.. It's been happening for a few weeks so not a once off...

    root@ns1 [~]# /scripts/upcp
    PHP version file is up to date
    Doing a manual update...
    Cpanel updates are coming from layer2.cpanel.net
    Error 404 while fetching url http://updates.cpanel.net//pub/hackcheck/mandrake/9.0/hackcheck.db
    Checking /dev/sda....OK
    x - creating lock directory
    x - SKIPPING /usr/local/lib/php.ini (file already exists)
    ERROR: LOGGER: Can't open file /var/log/clam-update.log to write.
    ERROR: Problem with internal logger.
    Using Mysql4
    MySQL-bench is up to date (Mon Sep 8 03:57:37 2003)
    MySQL-client is up to date (Mon Sep 8 03:57:37 2003)
    MySQL-devel is up to date (Mon Sep 8 03:57:37 2003)
    MySQL-shared is up to date (Mon Sep 8 03:57:37 2003)
    bandmin is up to date (Tue Apr 8 22:00:52 2003)
    chkservd is up to date (Sun Jul 13 08:30:09 2003)
    portsentry is up to date (Wed Jan 30 10:02:40 2002)
    proftpd is up to date (Sun Jul 6 14:39:42 2003)
    rdate is up to date (Fri Dec 8 12:00:34 2000)
    MySQL-embedded is up to date (Mon Sep 8 03:57:37 2003)
    MySQL-server is up to date (Mon Sep 8 03:57:37 2003)
    MySQL-shared-compat is up to date (Wed Sep 10 01:01:42 2003)
    installed: pine-4.50-1.1mdk
    unknown package gd (ok)
    unknown package gd-devel (ok)
    unknown package gd-progs (ok)
    installed: expect-8.3.3-21mdk
    installed: freetype-1.3.1-17mdk
    installed: freetype-devel-1.3.1-17mdk
    installed: gnupg-1.0.7-3mdk
    installed: lynx-2.8.5-0.10mdk.dev.8
    installed: ucd-snmp-4.2.3-4mdk
    unknown package ucd-snmp-devel (ok)
    installed: ucd-snmp-utils-4.2.3-4mdk
    installed: wget-1.8.2-3.1mdk
    installed: sharutils-4.2.1-13mdk
    installed: bind-9.2.1-4mdk
    installed: bind-utils-9.2.1-4mdk
    installed: openssl-0.9.6i-1.4mdk
    unknown package openssl-devel (ok)
    unknown package openssl-misc (ok)
    installed: openssh-3.4p1-4mdk
    installed: openssh-server-3.4p1-4mdk
    installed: openssh-clients-3.4p1-4mdk
    installed: XFree86-devel-4.2.1-3mdk
    installed: XFree86-libs-4.2.1-3mdk
    installed: libgd1-1.8.4-6mdk
    installed: libgd1-devel-1.8.4-6mdk
    installed: gd-utils-1.8.4-6mdk
    Fetching rpmup update list....Error 404 while fetching url http://updates.cpanel.net//pub/rpmup/mandrake/9.0/noarch/updates.db
    Done
    BitchX is up to date
    Eterm is up to date
    Ignoring MySQL
    Ignoring MySQL-Max
    Ignoring MySQL-bench
    Ignoring MySQL-client
    Updating XFree86-devel
    Adding InterDependency libgtk+-x11-2.0_0-devel (required by XFree86-devel)
    Adding InterDependency libgnomecanvas2_0-devel (required by libgtk+-x11-2.0_0-devel)
    Adding InterDependency libgtk+1.2-devel (required by XFree86-devel)
    Adding InterDependency libimlib1-devel (required by libgtk+1.2-devel)
    Adding InterDependency libgnome32-devel (required by libimlib1-devel)
    Adding Dependency XFree86-libs (required by XFree86-devel)
    Adding InterDependency libMesaGLU1 (required by XFree86-libs)
    Adding InterDependency xine-plugins (required by libMesaGLU1)
    Adding InterDependency libqt3 (required by libMesaGLU1)
    Adding InterDependency licq (required by libqt3)
    Adding InterDependency licq-console (required by licq)
    Adding InterDependency licq-rms (required by licq)
    Adding InterDependency libarts (required by libqt3)
    Adding InterDependency pygtk (required by XFree86-libs)
    Adding InterDependency perl-GTK-GdkImlib (required by XFree86-libs)
    Adding InterDependency libMagick5 (required by XFree86-libs)
    Adding InterDependency mtools (required by XFree86-libs)
    Adding InterDependency libgnomemm-1.2_9 (required by XFree86-libs)
    Adding InterDependency xmailbox (required by XFree86-libs)
    Adding InterDependency libimlib1 (required by XFree86-libs)
    Adding InterDependency libgda0 (required by libimlib1)
    Adding InterDependency libgnome32 (required by libimlib1)
    Adding InterDependency gnome-libs (required by libgnome32)
    Adding InterDependency libgdk-pixbuf-gnomecanvas1 (required by gnome-libs)
    Adding InterDependency libglade-gnome0 (required by libgnome32)
    Adding InterDependency bluefish (required by libimlib1)
    Adding InterDependency freetype-tools (required by XFree86-libs)
    Adding InterDependency font-tools (required by freetype-tools)
    Adding InterDependency libgtkxmhtml1 (required by XFree86-libs)
    Adding InterDependency mozilla (required by XFree86-libs)
    Adding InterDependency urlview (required by mozilla)
    Adding Dependency libslang1 (required by urlview)
    Adding InterDependency rgrep (required by libslang1)
    Adding InterDependency libaa1 (required by libslang1)
    Adding InterDependency timeconfig (required by libslang1)
    Adding InterDependency libnewt0.50 (required by libslang1)
    Adding InterDependency drakxtools-newt (required by libnewt0.50)
    Adding InterDependency util-linux (required by libslang1)
    Adding InterDependency basesystem (required by util-linux)
    Adding InterDependency initscripts (required by util-linux)
    Adding InterDependency devfsd (required by initscripts)
    Adding InterDependency kernel-enterprise-2.4.19.16mdk (required by initscripts)
    Adding InterDependency quota (required by kernel-enterprise-2.4.19.16mdk)
    Adding InterDependency iptables (required by kernel-enterprise-2.4.19.16mdk)
    Adding InterDependency shorewall (required by iptables)
    Adding InterDependency libalsa2 (required by kernel-enterprise-2.4.19.16mdk)
    Adding InterDependency libalsa-data (required by libalsa2)
    Adding InterDependency libSDL1.2 (required by libalsa2)
    Adding InterDependency libsmpeg0.4 (required by libSDL1.2)
    Adding InterDependency libao2 (required by libalsa2)
    Adding InterDependency vorbis-tools (required by libao2)
    Adding InterDependency sndconfig (required by kernel-enterprise-2.4.19.16mdk)
    Adding InterDependency kernel-secure-2.4.19.16mdk (required by initscripts)
    Adding InterDependency XFree86-xfs (required by initscripts)
    Adding InterDependency chkfontpath (required by XFree86-xfs)
    Adding InterDependency webmin (required by initscripts)
    Adding InterDependency linuxconf (required by initscripts)
    Adding InterDependency kernel-2.4.19.16mdk (required by initscripts)
    Adding InterDependency sysklogd (required by initscripts)
    Adding InterDependency vixie-cron (required by sysklogd)
    Adding InterDependency kernel-smp-2.4.19.16mdk (required by initscripts)
    Adding InterDependency pam (required by initscripts)
    Adding InterDependency libuser1 (required by pam)
    Adding InterDependency libuser (required by libuser1)
    Adding InterDependency passwd (required by libuser1)
    Adding InterDependency usermode-consoleonly (required by libuser1)
    Adding InterDependency usermode (required by usermode-consoleonly)
    receiving file list ... done
    Unable to retrieve file
    Died at /scripts/cPanelRPM.pm line 845, <LPROIDX> line 34.

    ./
    wrote 72 bytes read 7358 bytes 1651.11 bytes/sec
    total size is 2928731 speedup is 394.18
    mkdir: cannot create directory `/usr/local/cpanel/': File exists
    mkdir: cannot create directory `/usr/local/cpanel/cptmp': File exists
    ==> Extracting snarf...done
    ==> Requesting id...done.
    ==> Attempting to find out what the latest version is...http://layer2.cpanel.net/latest-Linux (0K)
    /usr/local/cpanel/cptmp/ [########################] 0K | 252.62K/s
    52 bytes transferred in 0.00 sec (79.34k/sec)
    done.
    ==> Checking to see if you have the latest version.....Yep! 7.4.2-RELEASE_158
    ==> Exiting
    Added Contact hostsetup@austdomains.com.au
    Rebuilding Process List...Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning.....Done
    Scanning suexec_log.Done
    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  2. trakwebster

    trakwebster Well-Known Member

    Joined:
    Jan 29, 2003
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    Strange upcp "Inderdepencency" updating

    I am somewhat guessing, but I think I know what this upcp behavior is.

    Not too long ago, cpanel appears to have changed to rpms, in a number of cases, as opposed to compiling stuff on our machines.

    This is a good thing, IMHO, because it means that you don't have to leave your gcc compiler operational, where any passing hacker or client could compile stuff on your system.

    However, using rpms to update means that each rpm package's required interdependencies must be satisfied before the rpm can be installed. In other words, if openssl rpm needs something called 'cyrus' then cyrus had also better be up to date, or problembo will occur.

    Therefore, what I think upcp is doing is (a) it wants to update some package via rpm, so (b) first it makes a list of all the indertependencies required, and then (c) it checks the list to see if you have all those packages up to date. If so, it can then go ahead and update the rpm of interest in the first place.

    Therefore if you examine the output you should see upcp first list the interdependencies, then check them all, then install the rpm of interest.

    Is that not what's happening?
     
  3. mr2jzgte

    mr2jzgte Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Florida
    Yuh that was my opinion as well.. But the thing is upcp reports those errors every time.. So i have to assume it's not actually downloading the files..

    Was hoping someone could make more sense of the highlighted error than what i can myself

    -James

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page