Re: [Vserver] vserver-new reports a guest exists when it does not

2005-11-06 Thread Ola Lundqvist
I had similar problems with the Debian version of this and my decision was to
change so it check for the .../vserver/etc directory instead of the .../vserver
directory. I had problem with check of .../vserver/var directory as it is used
in a .deb cache feature.

Regards,

// Ola


On Mon, Oct 31, 2005 at 06:08:36PM -0500, Chuck wrote:
 On Monday 31 October 2005 04:40 pm, Benedikt Boehm wrote:
 
 
 ahh, ok... hehe the word destroy had me a bit leery to use it :) so then if i 
 have a mount point already set up, then i can just use the original line with 
 the destroy parm and it will load it in fine onto the mounted partition. 
 
  On Monday 31 October 2005 19:08, Chuck wrote:
   this is on a gentoo system.
  
   i am trying to create a guest called support. i created the mount point
   in /vservers, it is mounted and a clear, empty volume. i run this command
   and get this result:
  
  
   phoenix vservers # vserver-new support --hostname support --context 3920
   --interface eth3:64.113.39.20/24 template
   /work/guest-stuff/template.tar.bz2 * Existing vserver installation found.
   Try --destroy
  
  vserver-new can handle mount points, just add --destroy and it will 
  umount/mount the defice automagically... (you have to specify destroy here, 
  because vserver-new can't decide if the mount point is fresh or already 
  used..
  ___
  Vserver mailing list
  Vserver@list.linux-vserver.org
  http://list.linux-vserver.org/mailman/listinfo/vserver
  
 
 -- 
 
 Chuck
 
 ...and the hordes of M$*ft users descended upon me in their anger,
 and asked 'Why do you not get the viruses or the BlueScreensOfDeath
 or insecure system troubles and slowness or pay through the nose 
 for an OS as *we* do?!!', and I answered...'I use Linux'. 
 The Book of John, chapter 1, page 1, and end of book
 
 
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] vserver-new reports a guest exists when it does not

2005-10-31 Thread Chuck

this is on a gentoo system.

i am trying to create a guest called support. i created the mount point 
in /vservers, it is mounted and a clear, empty volume. i run this command and 
get this result:


phoenix vservers # vserver-new support --hostname support --context 3920 
--interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2
 * Existing vserver installation found. Try --destroy


support does not exist in /etc/vservers or in /vservers as a configured guest, 
the context 3920 does not exist either and the ip address is not in use.

i have tried changing the name of the guest, the context number, even the 
ethernet device still the same... its almost behaving like it has run out of 
resources or something but there are only 8 guests in operation.. this would 
be the 9th.

what could be happening?

and of course this happens when the boss wants this done in the next few 
hrs... 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver-new reports a guest exists when it does not

2005-10-31 Thread Tor Rune Skoglund
Mandag 31 oktober 2005 19:08, skrev Chuck:
 this is on a gentoo system.
 
 i am trying to create a guest called support. i created the mount point 
 in /vservers, it is mounted and a clear, empty volume. i run this command and 
 get this result:
 
 phoenix vservers # vserver-new support --hostname support --context 3920 
 --interface eth3:64.113.39.20/24 template /work/guest-stuff/template.tar.bz2
  * Existing vserver installation found. Try --destroy
 
 support does not exist in /etc/vservers or in /vservers as a configured 
 guest, 
 the context 3920 does not exist either and the ip address is not in use.
 
 i have tried changing the name of the guest, the context number, even the 
 ethernet device still the same... its almost behaving like it has run out of 
 resources or something but there are only 8 guests in operation.. this would 
 be the 9th.
 
 what could be happening?

H, might be a similar problem that I had with vserver-new... 
I created the /vserver/newvserverdir as a symbolic link to a fresh
and empty volume, and vserver-new complained. I found that it
seems to just check if the directory exists, and if it does, 
it will not make a new server.

So I tried --destroy, and it did remove the link, and created
a new directory on the root partition. OK. Well, anyway
I did a manual mv of all the files to a symlinked dir and
it seems to be OK.

Possibly I bug in vserver-new this I don't know.

Best regards
Tor Rune Skoglund
[EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver-new reports a guest exists when it does not

2005-10-31 Thread Chuck
On Monday 31 October 2005 02:49 pm, Tor Rune Skoglund wrote:


that was it! thanks!

it should take an already created empty subdir tho... gonna suggest that


 Mandag 31 oktober 2005 19:08, skrev Chuck:
  this is on a gentoo system.
  
  i am trying to create a guest called support. i created the mount point 
  in /vservers, it is mounted and a clear, empty volume. i run this command 
and 
  get this result:
  
  phoenix vservers # vserver-new support --hostname support --context 3920 
  --interface eth3:64.113.39.20/24 
template /work/guest-stuff/template.tar.bz2
   * Existing vserver installation found. Try --destroy
  
  support does not exist in /etc/vservers or in /vservers as a configured 
guest, 
  the context 3920 does not exist either and the ip address is not in use.
  
  i have tried changing the name of the guest, the context number, even the 
  ethernet device still the same... its almost behaving like it has run out 
of 
  resources or something but there are only 8 guests in operation.. this 
would 
  be the 9th.
  
  what could be happening?
 
 H, might be a similar problem that I had with vserver-new... 
 I created the /vserver/newvserverdir as a symbolic link to a fresh
 and empty volume, and vserver-new complained. I found that it
 seems to just check if the directory exists, and if it does, 
 it will not make a new server.
 
 So I tried --destroy, and it did remove the link, and created
 a new directory on the root partition. OK. Well, anyway
 I did a manual mv of all the files to a symlinked dir and
 it seems to be OK.
 
 Possibly I bug in vserver-new this I don't know.
 
 Best regards
 Tor Rune Skoglund
 [EMAIL PROTECTED]
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver-new reports a guest exists when it does not

2005-10-31 Thread Benedikt Boehm
On Monday 31 October 2005 19:08, Chuck wrote:
 this is on a gentoo system.

 i am trying to create a guest called support. i created the mount point
 in /vservers, it is mounted and a clear, empty volume. i run this command
 and get this result:


 phoenix vservers # vserver-new support --hostname support --context 3920
 --interface eth3:64.113.39.20/24 template
 /work/guest-stuff/template.tar.bz2 * Existing vserver installation found.
 Try --destroy

vserver-new can handle mount points, just add --destroy and it will 
umount/mount the defice automagically... (you have to specify destroy here, 
because vserver-new can't decide if the mount point is fresh or already 
used..
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver-new reports a guest exists when it does not

2005-10-31 Thread Tor Rune Skoglund
Mandag 31 oktober 2005 22:40, skrev Benedikt Boehm:
 On Monday 31 October 2005 19:08, Chuck wrote:
  this is on a gentoo system.
 
  i am trying to create a guest called support. i created the mount point
  in /vservers, it is mounted and a clear, empty volume. i run this command
  and get this result:
 
  phoenix vservers # vserver-new support --hostname support --context 3920
  --interface eth3:64.113.39.20/24 template
  /work/guest-stuff/template.tar.bz2 * Existing vserver installation found.
  Try --destroy
 
 vserver-new can handle mount points, just add --destroy and it will 
 umount/mount the defice automagically... (you have to specify destroy here, 
 because vserver-new can't decide if the mount point is fresh or already 
 used..

AFAICT then the problem is existing symlinked vserver directories rather 
than mount points... 

Tor Rune Skoglund
[EMAIL PROTECTED]
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver-new reports a guest exists when it does not

2005-10-31 Thread Chuck
On Monday 31 October 2005 04:42 pm, Tor Rune Skoglund wrote:


no its just the fact that the directory existed whether i used it as a mount 
point or whether it was a simple directory.. what i had to do is after the 
template was installed in the new guest, then i renamed the guest directory, 
made another one mounted it then moved all the data from the freshly 
installed directory to the mountpoint.

 Mandag 31 oktober 2005 22:40, skrev Benedikt Boehm:
  On Monday 31 October 2005 19:08, Chuck wrote:
   this is on a gentoo system.
  
   i am trying to create a guest called support. i created the mount point
   in /vservers, it is mounted and a clear, empty volume. i run this 
command
   and get this result:
  
   phoenix vservers # vserver-new support --hostname support --context 3920
   --interface eth3:64.113.39.20/24 template
   /work/guest-stuff/template.tar.bz2 * Existing vserver installation 
found.
   Try --destroy
  
  vserver-new can handle mount points, just add --destroy and it will 
  umount/mount the defice automagically... (you have to specify destroy 
here, 
  because vserver-new can't decide if the mount point is fresh or already 
  used..
 
 AFAICT then the problem is existing symlinked vserver directories rather 
 than mount points... 
 
 Tor Rune Skoglund
 [EMAIL PROTECTED]
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vserver-new reports a guest exists when it does not

2005-10-31 Thread Chuck
On Monday 31 October 2005 04:40 pm, Benedikt Boehm wrote:


ahh, ok... hehe the word destroy had me a bit leery to use it :) so then if i 
have a mount point already set up, then i can just use the original line with 
the destroy parm and it will load it in fine onto the mounted partition. 

 On Monday 31 October 2005 19:08, Chuck wrote:
  this is on a gentoo system.
 
  i am trying to create a guest called support. i created the mount point
  in /vservers, it is mounted and a clear, empty volume. i run this command
  and get this result:
 
 
  phoenix vservers # vserver-new support --hostname support --context 3920
  --interface eth3:64.113.39.20/24 template
  /work/guest-stuff/template.tar.bz2 * Existing vserver installation found.
  Try --destroy
 
 vserver-new can handle mount points, just add --destroy and it will 
 umount/mount the defice automagically... (you have to specify destroy here, 
 because vserver-new can't decide if the mount point is fresh or already 
 used..
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver