Re: [Vserver] Hashification process ( not working? )

From: Roderick A. Anderson <raanders_at_acm.org>
Date: Thu 25 May 2006 - 23:25:59 BST
Message-ID: <44762EF7.4030609@acm.org>

Roderick A. Anderson wrote:
> Despite following the instructions found at

As a follow up I think I found the problem. Somehow I ended up with a
circular link list.

/var/vservers/.hash/.hash => /var/vservers/.hash

Anyway it was getting ugly so I decided to remove the two guests and
probably due to my inexperience couldn't delete the the files in
/var/vservers. Tried every trick I could think of; chattr -R -i, chmod
-R u+rwx, etc.
   Finally remembering that I'd had file system problems many years ago
I rebooted into a normal kernel and was able to rm -rf /var/vservers/*.
  Booted back into the vs kernle and all is progressing.

I'll leave vhashify alone for a bit.

Rod

-- 
> 
>    http://linux-vserver.org/alpha+util-vserver
> 
> for vhashify I am getting error messages.
> 
> Two vserver guests; test and site; ( with a few different packages and 
> some modified files )
> 
> I have:
> 
>    mkdir -p /etc/vservers/.defaults/apps/vunify/hash
> 
>    mkdir -p /var/vservers/.hash
> 
>    ln -s /var/vservers/.hash /etc/vservers/.defaults/apps/vunify/hash/0
> 
>    mkdir -p /etc/vservers/site/apps/vunify
>    mkdir -p /etc/vservers/test/apps/vunify
> 
>    vserver site hashify
> 
> and then get this message.
> 
>    error: db4 error(13) from dbenv->open: Permission denied
>    error: cannot open Packages index using db3 - Permission denied (13)
>    error: cannot open Packages database in /var/vservers/site/.rpmdb
> 
> What did I miss?  ( This setup is based on the FC5 install instructions 
> and I've added several packages using vyum. )  Any other references on 
> the web site or wiki to using vhashify that I missed?
> 
> 
> Rod
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu May 25 23:26:45 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 25 May 2006 - 23:26:53 BST by hypermail 2.1.8