Re: [Vserver] cdrecording inside vserver?

2006-05-04 Thread Peter Mann
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] Errors on stopping vserver

2006-05-04 Thread Fareha Shafique

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


[Vserver] Add IP to vserver

2006-05-04 Thread ehab heikal
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


Re: [Vserver] Add IP to vserver

2006-05-04 Thread Arnór Kristjánsson

What I did was to add files to
/etc/vservers/vservername/interfaces dir; basically copying like so:
cp -r /etc/vservers/vservername/interfaces/0/ /etc/vservers/ 
vservername/interfaces/1/

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


RE: [Vserver] Add IP to vserver

2006-05-04 Thread ehab heikal
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/vservername/interfaces
dir; basically copying like so: cp -r
/etc/vservers/vservername/interfaces/0/ /etc/vservers/ 
vservername/interfaces/1/
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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Add IP to vserver

2006-05-04 Thread Arnór Kristjánsson

from http://this.is/promazin/?p=pageID=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/vservername/interfaces
dir; basically copying like so: cp -r
/etc/vservers/vservername/interfaces/0/ /etc/vservers/
vservername/interfaces/1/
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 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] Newbie question

2006-05-04 Thread Fareha Shafique

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] Errors on stopping vserver

2006-05-04 Thread Björn Steinbrink
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


Re: [Vserver] Newbie question

2006-05-04 Thread Björn Steinbrink
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