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.

Update issue

Discussion in 'General Discussion' started by cguimont, Aug 9, 2004.

Thread Status:
Not open for further replies.
  1. cguimont

    cguimont Well-Known Member

    Joined:
    Jul 13, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    rpm is fucked !!!! PLS HELP!

    My server is trying to upgrade some services, but it can't because it make a weird error: canot read the rpm...
    So, what I did is I went into Web host manager, and tryed to rebuild the database, It says after 5 secs, completed,
    then, I go to install package,, and there is nothing showing up... ??

    Charles

    Here are the log that the server is sending me:
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages database in /var/lib/rpm
    Retrieving http://layer1.cpanel.net/fp/frontpage-5.2-0.i386.rpm
    PHP version file is up to date
    Cpanel updates are coming from layer2.cpanel.net
    Checking /dev/hda....OK
    x - creating lock directory
    x - SKIPPING /usr/local/lib/php.ini (file already exists)
    Using Mysql4
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    proftpd is not up to date (Wed Dec 31 19:00:00 1969)
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages database in /var/lib/rpm
    Retrieving http://updates.cpanel.net/pub/sysup//9/proftpd/proftpd-1.2.9tls-5_linuxprivs.i386.rpm
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)
    error: cannot open Packages database in /var/lib/rpm
    bandmin is not up to date (Wed Dec 31 19:00:00 1969)
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
     
    #1 cguimont, Aug 9, 2004
    Last edited: Aug 9, 2004
  2. cguimont

    cguimont Well-Known Member

    Joined:
    Jul 13, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    here is why it doesn't rebuild the db:

    root@root [~]# rpm --rebuilddb
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index
    root@root [~]# rpm --initdb
    rpmdb: /var/lib/rpm/Packages: unexpected file type or format
    error: cannot open Packages index using db3 - Invalid argument (22)
    root@root [~]#

    thanks
     
  3. cguimont

    cguimont Well-Known Member

    Joined:
    Jul 13, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    I tryed to restart
    root@root [/etc/rc.d/init.d]# ./autofs start
    Starting automount: No Mountpoints Defined [ OK ]
    root@root [/etc/rc.d/init.d]# ./autofs status
    Configured Mount Points:
    ------------------------

    Active Mount Points:
    --------------------
    root@root [/etc/rc.d/init.d]#

    So it cannot find any mountpoints... ??!?
     
  4. Michael-MS

    Michael-MS Well-Known Member

    Joined:
    Apr 16, 2003
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    I am having the same problem. Did you ever fix this?

    Michael
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Please don't cross-post.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page