Mon, 23 Feb 2009 14:30:59 -0800 (PST)
Hello,
Unfortunately, your suggestion didn't work. BUT - it got me thinking in a new direction.
Here's what I did to fix the problem:
# cd /vservers/.pkg/<vservername>/rpm/state
# rm __db*
# vyum <vservername> -- --rebuilddb
Has worked on the 6 or so vservers I've tried so far. Thanks for the pointer.
Eric
________________________________
From: Roderick A. Anderson <raanders@cyber-office.net>
To: vserver@list.linux-vserver.org
Sent: Monday, February 23, 2009 12:53:09 PM
Subject: Re: [vserver] copied vservers to a new host, and now can't use vyum
Eric Jorgensen wrote:
> Hello,
>
> Thanks for the suggestion - unfortunately I'm still getting the same error. Any idea
on how to upgrade an rpmdb by hand?
Sorry to take so long to get back to you. I changed/upgrade my mail server and the
account lists were going to and forgot to tell Thunderbird to check for messages in
the Vserver folder. :-(
Here is what my searches indicate.
On the old system install the db3-utils package and export the databases in /vservers/$GUEST/var/lib/rpm.
Copy/move them over to the new system (some place private) and use the db4-utils to
import.
I got this from:
http://lists.andrew.cmu.edu/pipermail/info-cyrus/2007-July/026507.html
Which is talking about cyrus but the process should be the same ... hopefully.
Good luck,
Rod
Hello,
Unfortunately, your suggestion didn't work. BUT - it got me thinking in a new direction. Here's what I did to fix the problem:
# cd /vservers/.pkg/<vservername>/rpm/state
# rm __db*
# vyum <vservername> -- --rebuilddb
Has worked on the 6 or so vservers I've tried so far. Thanks for the pointer.
Eric
From: Roderick A. Anderson <raanders@cyber-office.net>
To:
vserver@list.linux-vserver.org
Sent: Monday, February 23, 2009 12:53:09 PM
Subject: Re: [vserver] copied vservers to a new host, and now can't use vyum
Eric Jorgensen wrote:
> Hello,
>
> Thanks for the suggestion - unfortunately I'm still getting the same error. Any idea on how to upgrade an rpmdb by hand?
Sorry to take so long to get back to you. I changed/upgrade my mail server and the account lists were going to and forgot to tell Thunderbird to check for messages in the Vserver folder. :-(
Here is what my searches indicate.
On the old system install the db3-utils package and export the databases in /vservers/$GUEST/var/lib/rpm.
Copy/move them over to the new system (some place private) and use the db4-utils to import.
I got this from:
http://lists.andrew.cmu.edu/pipermail/info-cyrus/2007-July/026507.htmlWhich is talking about cyrus but the process should be the same ... hopefully.
Good
luck,
Rod