Re: [Vserver] Newbie question
On 2006.05.04 22:46:07 -0400, Fareha Shafique wrote: > Hi, > > I'm new to vservers. I installed the vserver from rpms and built it > according to the instructions on Vserver Installation Fedora Core 4. I > was under the impression that a vserver has all the same files in its > /etc directory as the host machine, but my vserver has fewer files. > Furthermore, inside my vserver I cannot use bash commands such as less, > rpm, man. > Have I misunderstood the basics of vserver or did I incorrectly install > my vserver? AFAIK the build methods of util-vserver build FC vservers with a minimum of installed packages. less, rpm and man are not bash commands but separate programs which are probably simply not installed yet. > Any help would be appreciated. HTH Björn ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Errors on stopping vserver
On 2006.05.04 12:59:45 -0400, Fareha Shafique wrote: > Hi, > > When I stop the vserver I get the following: > Stopping sshd: [FAILED] > Shutting down kernel logger: [FAILED] > Shutting down system logger: [ OK ] > Starting killall: Stopping sshd:[FAILED] > > [FAILED] They probably failed because the services were never started ;) The kernel logger can only be started if you enable lgo virtualization for that vserver, but you can as well just remove the kernel logger from your vserver's runlevels, as it won't log anything anyway ;) For sshd to be able to start, you need to set the ListenAddress for the host's sshd to some ip address else than 0.0.0.0 (default), because otherwise it listens on port 22 of all ip addresses, so the vservers' addresses are already in use. HTH Björn ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Newbie question
Hi, I'm new to vservers. I installed the vserver from rpms and built it according to the instructions on Vserver Installation Fedora Core 4. I was under the impression that a vserver has all the same files in its /etc directory as the host machine, but my vserver has fewer files. Furthermore, inside my vserver I cannot use bash commands such as less, rpm, man. Have I misunderstood the basics of vserver or did I incorrectly install my vserver? Any help would be appreciated. Thanks, -FS ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
RE: [Vserver] Add IP to vserver
Did u need to change any settings in the vserver itself? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnór Kristjánsson Sent: Friday, May 05, 2006 4:27 AM To: vserver@list.linux-vserver.org Subject: Re: [Vserver] Add IP to vserver What I did was to add files to /etc/vservers//interfaces dir; basically copying like so: cp -r /etc/vservers/ How do I add an IP to a vserver? > I added 2 ips by editing the configuration of the vserver, but now > these > Ips are not accessible from computers outside my lan, as if they do > not > route right. > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Add IP to vserver
from http://this.is/promazin/?p=page&ID=1 update Feb 06 2006 networking and mask settings It is extremely important to set the mask for every single host. I created severe problems on the network by using the default mask settings. ifconfig does not display this so I suggest the iproute package, including the lovable tool ip addr, use it to give you detailed information about your interfaces. The mask is set in the following manner echo 255.255.xxx.xxx > /etc/ vservers/vserver-name/interfaces/0/mask. You can also use a file called prefix and set the subnet there, for example echo 24 > /etc/vservers/vserver-name/interfaces/0/prefix Using the vserver command to create a new vserver. vserver build \ -n ltsp \ --hostname ltsp.domain.com \ --interface vlan10:172.201.222.10 \ -m debootstrap -- -d sarge On 5.5.2006, at 01:30, ehab heikal wrote: I did that but the ips are only accessible from our LAN and do not route. These IP are routable since I was using them on another server in the same datacenter so the Ips them selves have no problems and they have the same gateway etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnór Kristjánsson Sent: Friday, May 05, 2006 4:27 AM To: vserver@list.linux-vserver.org Subject: Re: [Vserver] Add IP to vserver What I did was to add files to /etc/vservers//interfaces dir; basically copying like so: cp -r /etc/vservers/ How do I add an IP to a vserver? I added 2 ips by editing the configuration of the vserver, but now these Ips are not accessible from computers outside my lan, as if they do not route right. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
RE: [Vserver] Add IP to vserver
I also changed the name of the interfaces so that I got eth0:1 and eth0:2 for the new IPs -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnór Kristjánsson Sent: Friday, May 05, 2006 4:27 AM To: vserver@list.linux-vserver.org Subject: Re: [Vserver] Add IP to vserver What I did was to add files to /etc/vservers//interfaces dir; basically copying like so: cp -r /etc/vservers/ How do I add an IP to a vserver? > I added 2 ips by editing the configuration of the vserver, but now > these > Ips are not accessible from computers outside my lan, as if they do > not > route right. > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
RE: [Vserver] Add IP to vserver
I did that but the ips are only accessible from our LAN and do not route. These IP are routable since I was using them on another server in the same datacenter so the Ips them selves have no problems and they have the same gateway etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnór Kristjánsson Sent: Friday, May 05, 2006 4:27 AM To: vserver@list.linux-vserver.org Subject: Re: [Vserver] Add IP to vserver What I did was to add files to /etc/vservers//interfaces dir; basically copying like so: cp -r /etc/vservers/ How do I add an IP to a vserver? > I added 2 ips by editing the configuration of the vserver, but now > these > Ips are not accessible from computers outside my lan, as if they do > not > route right. > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Add IP to vserver
What I did was to add files to /etc/vservers//interfaces dir; basically copying like so: cp -r /etc/vservers/ and then editing the ip and mask files in "1". Some of my servers have 4 different ips set up this way. HTH, A. On 5.5.2006, at 00:54, ehab heikal wrote: How do I add an IP to a vserver? I added 2 ips by editing the configuration of the vserver, but now these Ips are not accessible from computers outside my lan, as if they do not route right. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Add IP to vserver
How do I add an IP to a vserver? I added 2 ips by editing the configuration of the vserver, but now these Ips are not accessible from computers outside my lan, as if they do not route right. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Errors on stopping vserver
Hi, When I stop the vserver I get the following: Stopping sshd: [FAILED] Shutting down kernel logger: [FAILED] Shutting down system logger: [ OK ] Starting killall: Stopping sshd:[FAILED] [FAILED] I'm not sure why I this happens. Any help would be appreciated. Thanks, -FS ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Direct access to devices?
On Thu, 2006-05-04 at 13:32 +0200, Martin Grunert wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > How can I give a vserver direct access to devices like dvd? > > I want to burn/mount dvds in a vserver. > > Is this possible? > Afaik you just need to create the correct device files in the vserver's /dev directory. (with mknod, and not from within the vserver, as that's obviously not possible). Enjoy, Tom > Greetings, > groonie > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iQEVAwUBRFnmVXRA8nrgQFqxAQIP2AgAxzF0mdh8n7fCbAogz//joa/zzYtVYzq2 > 3IUjt402tsc9HvupiqJRMmBxs8jP9qtzACHo1RdZQLpwIQWrYsy/Wil9MZVOtBvo > UWZcggu1BwZjuUQqTMrerIO+CwT6IWdi71qY8KZBvHIOANcHVN35awpWDhevGt6y > 8F/aGDvOd7zeIupsI8pgOKCu0N6uKDsi3WY8e4syYvOV9kBJsFKS/bOX9BSjVUAJ > JIXvBPswRqVmzchRrKoa564zP3cTkBaGNFx0kWi7Va8n/9YI1CMqDxIer0kpvYZ3 > v53VKC1mXXJ3NlfSHSmbYkQOfZ1mObHa7BVPs22yEwyn7D5AcxpMXQ== > =TApk > -END PGP SIGNATURE- > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] cdrecording inside vserver?
On Fri, Apr 28, 2006 at 10:18:06AM +0200, Martin Grunert wrote: > Is it possible to use cdrecording software inside a vserver? > > The environment has to get direct access to the device, but > simply copying the hdc devnode ends copying devnode is IMHO sufficient for cdrecording > in a "permission denied" > warning, when I try to mount a cd or dvd. http://linux-vserver.org/Caps+and+Flags try BINARY_MOUNT capability -- 5o Peter.Mann at tuke.sk ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] cdrecording inside vserver?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Is it possible to use cdrecording software inside a vserver? The environment has to get direct access to the device, but simply copying the hdc devnode ends in a "permission denied" warning, when I try to mount a cd or dvd. Greetings, Martin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRFHPvXRA8nrgQFqxAQLHEQgArmJcHECtAhxXElLWCsFfK9iP3/4yvU7L wz8CLxg7iCKiBheoCPisuTcuAXAPdF3IYR9N2uGqPGQarVq2Bly/5g2Ek+l0LlSX s8D3j+4XTtk1Fy92zJLlKl1vidIvAKn8jsNFn1SVAfL9hadc6y3ck1Y1TDZMrvvw 7vdqXbF5OceKBxh+Wn8x7NT7hgF4Z7PfoKYzlMX9SPUZirPxOtVEvtjPFQL4qK/A 2ArE/QGFNiU1oRfStXg4mkuSpPMuNSkyLq5K58IfRm9DkHCl9nLREFtduox93n2V S5OOS2Ma/ia+/bkFbS/f9n7erIlH25QXWfB45BsN431D9X6zhCrtCg== =6gkP -END PGP SIGNATURE- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Direct access to devices?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How can I give a vserver direct access to devices like dvd? I want to burn/mount dvds in a vserver. Is this possible? Greetings, groonie -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRFnmVXRA8nrgQFqxAQIP2AgAxzF0mdh8n7fCbAogz//joa/zzYtVYzq2 3IUjt402tsc9HvupiqJRMmBxs8jP9qtzACHo1RdZQLpwIQWrYsy/Wil9MZVOtBvo UWZcggu1BwZjuUQqTMrerIO+CwT6IWdi71qY8KZBvHIOANcHVN35awpWDhevGt6y 8F/aGDvOd7zeIupsI8pgOKCu0N6uKDsi3WY8e4syYvOV9kBJsFKS/bOX9BSjVUAJ JIXvBPswRqVmzchRrKoa564zP3cTkBaGNFx0kWi7Va8n/9YI1CMqDxIer0kpvYZ3 v53VKC1mXXJ3NlfSHSmbYkQOfZ1mObHa7BVPs22yEwyn7D5AcxpMXQ== =TApk -END PGP SIGNATURE- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver