From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 06 Feb 2003 - 13:52:33 GMT
On Thu, Feb 06, 2003 at 02:15:48PM +0100, Wolfgang Rest wrote:
> hello all,
> 
> i am new to vserver and have some troubles/questions
> 
> first, i installed a rh7.3 min vserver and i can enter the vserver (vserver
> vserver1 enter)
> 
> but some strange things when i start:
> 
> -snip-
> Starting the virtual server vserver1
> Server vserver1 is not running
> broadcast: Unknown host
> SIOCSIFADDR: Invalid argument
> ipv4root is now 172.23.2.20
> Host name is now vserver1.xxxxxx.com
> New security context is 8
> Starting system logger:                                    [  OK  ]
> Starting kernel logger:                                    [  OK  ]
> Starting crond:                                            [  OK  ]
> [root_at_testserver /]#
> -snip-
> 
> 
> broadcast: Unknown host
> SIOCSIFADDR: Invalid argument
> 
> is this normal?
no, looks like an interface issue (like eth0/eth1 mismatch
or wrong network mask/ip address in config file)
please provide the /etc/vservers/vserver1* files ...
> when i stop it i get this:
> 
> -snip-
> Stopping the virtual server vserver1
> Server vserver1 is running
> broadcast: Unknown host
> SIOCSIFADDR: Invalid argument
> ipv4root is now 172.23.2.20
> New security context is 8
> Stopping crond:                                            [  OK  ]
> Shutting down kernel logger:                               [FAILED]
> Shutting down system logger:                               [  OK  ]
> Starting killall:                                          [  OK  ]
> sleeping 5 seconds
> Killing all processes
> kill -TERM /vservers/vserver1/sbin/minilogd[2249]
> expr: too few arguments
> Try `expr --help' for more information.
> kill init, pid
> kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or
> kill -l [sigspec]
> [root_at_testserver /]#
> -snip-
> 
> 
> when i try to install a rpm i get this:
> 
> [root_at_testserver inst]# vrpm vserver1 -- -Uhv mc-4.5.55-5.i386.rpm
> openssh-server-3.1p1-3.i386.rpm
> Updating server vserver1
> error: cannot open Packages index using db3 - Permission denied (13)
> error: cannot open Packages database in /vservers/vserver1/var/lib/rpm
> [root_at_testserver inst]#
make sure that the rpm versions of physical and
virtual server match, the path /vservers/vserver1/var/lib/rpm
exists and is accessable for root, and check for __db.00? 
files in /var/lib/rpm (rename them)
> when i try to install the rpms inside the server i get this:
> 
> [root_at_vserver1 home]# rpm -Uhv openssh-server-3.1p1-3.i386.rpm
> Preparing...                ###########################################
> [100%]
>    1:openssh-server         warning: /etc/pam.d/sshd created as
> /etc/pam.d/sshd.rpmnew
> warning: /etc/rc.d/init.d/sshd saved as /etc/rc.d/init.d/sshd.rpmorig
> error: unpacking of archive failed on file /etc/ssh: cpio: utime failed -
> Operation not permitted
sounds like some permission issues ...
(but I do not use redhat ...)
> [root_at_vserver1 home]#
> 
> 
> hmm.. whats wrong?
hth, best,
Herbert
> best regards
> Wolfgang Rest