Subject: Re: [vserver] Issue with starting guests on Debian Etch host machine
From: vserver@pineview.net
Date: Mon, 30 Jul 2007 23:35:06 +0930



Daniel Hokka Zakrisson wrote:
> Mike O'Connor wrote:
>   
>> Herbert Poetzl wrote:
>>     
>>> On Sat, Jul 28, 2007 at 11:47:45AM +0930, Mike O'Connor wrote:
>>>
>>>       
>>>> Hi All
>>>>
>>>> I have a problem where I'm unable to start guests on a Debian Etch host
>>>> machine. (any host Redhat or Debian)
>>>>
>>>> Example:
>>>> apps8:/etc/vservers# vserver refimage_debian_etch start
>>>> save_ctxinfo: open("/var/run/vservers/refimage_debian_etch"): No such
>>>> file or directory
>>>>
>>>>         
>>> does /var/run/vservers/ exist?
>>>       
>
> Could we get the output of ls -ld / /var /var/run /var/run/vservers please?
>
>   

apps8:~# ls -ld / /var /var/run /var/run/vservers
drwxr-xr-x 21 root root 1024 Jul 27 01:05 /
drwxr-xr-x  7 root root 1024 Apr 13 13:37 /var
lrwxrwxrwx  1 root root   11 Jul 22 14:40 /var/run -> /rw/var/run
drwxr-xr-x  2 root root   40 Jul 27 01:21 /var/run/vservers


Before you say the link is the issue check out this machine (debian sarge)

apps1:~# ls -ld / /var /var/run /var/run/vservers
drwxr-xr-x  22 root root 1024 Oct  3  2006 /
drwxr-xr-x   7 root root 1024 Feb 15  2005 /var
lrwxrwxrwx   1 root root   12 May 24  2006 /var/run -> /rw//var/run
drwxr-xr-x   2 root root  100 Jul  9 08:17 /var/run/vservers
apps1:~#

apps1:~# vserver-info
Versions:
                   Kernel: 2.6.17.13-vs2.0.2.1
                   VS-API: 0x00020002
             util-vserver: 0.30.210; Feb  1 2006, 12:03:32

Features:
                       CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
                      CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
                 CPPFLAGS: ''
                   CFLAGS: '-Wall -g  -O2 -std=c99 -Wall -pedantic -W'
                 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
-fmessage-length=0'
               build/host: i386-pc-linux-gnu/i386-pc-linux-gnu
             Use dietlibc: yes
       Build C++ programs: yes
       Build C99 programs: yes
           Available APIs: v13,net
            ext2fs Source: e2fsprogs
    syscall(2) invocation: alternative
      vserver(2) syscall#: 273/fallback

Paths:
                   prefix: /usr
        sysconf-Directory: /etc
            cfg-Directory: /etc/vservers
         initrd-Directory: $(sysconfdir)/init.d
       pkgstate-Directory: /var/run/vservers
          vserver-Rootdir: /var/lib/vservers


Assumed 'SYSINFO' as no other option given; try '--help' for more
information.


Cheers and thanks