Re: [Vserver] hostname -va

2006-11-16 Thread Daniel Hokka Zakrisson
Daniel Haensse wrote: Dear list, I have a problem with hostname -va inside of vserver. Any hints? best regards Dani vserver1.foobar.com ... 192.168.5.101 virtual1.foobar.com virtual1 vserver1 != virtual1 ;) -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F

Re: [Vserver] hostname -va

2006-11-16 Thread Daniel Haensse
vserver1 != virtual1 ;) I'm so stupid. I'll repeat this for the rest of the day. Now it is working. Thank for the quick help. regards Dani ___ Vserver mailing list Vserver@list.linux-vserver.org

Re: [Vserver] hostname -va

2006-11-16 Thread Herbert Poetzl
On Thu, Nov 16, 2006 at 08:02:38AM +0100, Daniel Haensse wrote: inside of what vserver :) i.e. please provide a few more details, like kernel version, tool version and such vserver1:/# uname -va Linux vserver1.foobar.com 2.6.17-2-vserver-amd64 #1 SMP Wed Sep 13 18:02:36 CEST 2006

[Vserver] hostname -va

2006-11-15 Thread Daniel Haensse
Dear list, I have a problem with hostname -va inside of vserver. Any hints? best regards Dani virtual:~# hostname -va virtual virtual:~# vserver vserver1 enter vserver1:/# hostname -v vserver1.foobar.com vserver1:/# hostname -va hostname: Unknown host vserver1:/# cat /etc/hosts 192.168.5.101

Re: [Vserver] hostname -va

2006-11-15 Thread Herbert Poetzl
On Wed, Nov 15, 2006 at 06:11:30PM +0100, Daniel Haensse wrote: Dear list, I have a problem with hostname -va inside of vserver. inside of what vserver :) i.e. please provide a few more details, like kernel version, tool version and such Any hints? let's see ... best regards Dani

Re: [Vserver] hostname -va

2006-11-15 Thread Daniel Haensse
inside of what vserver :) i.e. please provide a few more details, like kernel version, tool version and such vserver1:/# uname -va Linux vserver1.foobar.com 2.6.17-2-vserver-amd64 #1 SMP Wed Sep 13 18:02:36 CEST 2006 x86_64 GNU/Linux virtual:~# vserver --version vserver 0.30.211 --

Re: [Vserver] hostname ?

2006-07-09 Thread Gregory (Grisha) Trubetskoy
Hm.. I just upgraded to 0.30.210, and added utsname: cat /etc/vservers/snip/ccapabilities mount utsname cat /proc/virtual/xid/status UseCnt: 99 Tasks: 25 Flags: 020a0211 BCaps: 744c04ff CCaps: 00010101 Ticks: 0 still doesn't let me change the hostname I must

Re: [Vserver] hostname ?

2006-07-08 Thread Daniel Hokka Zakrisson
Gregory (Grisha) Trubetskoy wrote: Hm.. I just upgraded to 0.30.210, and added utsname: cat /etc/vservers/snip/ccapabilities mount utsname cat /proc/virtual/xid/status UseCnt: 99 Tasks: 25 Flags: 020a0211 BCaps: 744c04ff CCaps: 00010101 Ticks: 0 still doesn't let

[Vserver] hostname ?

2006-07-07 Thread Gregory (Grisha) Trubetskoy
Sorry if this was already asked - I searched and couldn't find anything. Recently I went from 2.6.12.4-vs2.0 to 2.6.17-vs2.0.2-rc24 on one of the machines (needed 2.6.17 because of a hardware issue). Inside a vserver: with 2.6.12.4-vs2.0: # hostname blah # hostname blah with

Re: [Vserver] hostname ?

2006-07-07 Thread Daniel Hokka Zakrisson
Gregory (Grisha) Trubetskoy wrote: Sorry if this was already asked - I searched and couldn't find anything. Recently I went from 2.6.12.4-vs2.0 to 2.6.17-vs2.0.2-rc24 on one of the machines (needed 2.6.17 because of a hardware issue). Inside a vserver: with 2.6.12.4-vs2.0: # hostname blah

[Vserver] hostname

2006-04-10 Thread Albert Shih
Hi all How can I change the hostname of a vsever ? I'v change the file /etc/vserver/name_of_vserver/name but when I start the vserver he already have the old-name (event after stop/start). Lots of thanks. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7

Re: [Vserver] hostname

2006-04-10 Thread Guenther Fuchs
Hi there, on Monday, April 10, 2006 at 2:14:42 PM there was posted: AS /etc/vserver/name_of_vserver/name This is only the name visible to/through utilities. The hostname ist to go into /etc/vserver/[vserver-name]/uts/nodename -- regards 'n greez, Guenther Fuchs (aka muh and

Re: [Vserver] hostname

2006-04-10 Thread Herbert Poetzl
On Mon, Apr 10, 2006 at 02:18:33PM +0200, Guenther Fuchs wrote: Hi there, on Monday, April 10, 2006 at 2:14:42 PM there was posted: AS /etc/vserver/name_of_vserver/name This is only the name visible to/through utilities. The hostname ist to go into

Re: [Vserver] Hostname confusion inside vserver

2005-12-20 Thread Stéphane GAUTIER
micah a écrit : Roché Compaan wrote: Any reason why /usr/bin/mail would think the hostname is the host's hostname and not the vserver's, even though the hostname command correctly returns the vserver's hostname? Check your /etc/mailname and /etc/hosts to see what is defined. Micah

Re: [Vserver] Hostname confusion inside vserver

2005-12-20 Thread Herbert Poetzl
On Tue, Dec 20, 2005 at 09:37:07AM +0100, Stéphane GAUTIER wrote: micah a écrit : Roché Compaan wrote: Any reason why /usr/bin/mail would think the hostname is the host's hostname and not the vserver's, even though the hostname command correctly returns the vserver's hostname? Check

Re: [Vserver] Hostname confusion inside vserver

2005-12-20 Thread Bodo Eggert
On Tue, 20 Dec 2005, Stéphane GAUTIER wrote: Why scripts of creation: vserver build does not modify information /etc/hostname and /etc/hosts in the vserver? Because these names are distribution-dependant. -- For every action, there is an equal and opposite criticism. (in boot camp)

[Vserver] Hostname confusion inside vserver

2005-12-18 Thread Roché Compaan
Any reason why /usr/bin/mail would think the hostname is the host's hostname and not the vserver's, even though the hostname command correctly returns the vserver's hostname? -- Roché Compaan Upfront Systems http://www.upfrontsystems.co.za

Re: [Vserver] Hostname confusion inside vserver

2005-12-18 Thread Martin
On Sun, 2005-12-18 at 11:12 +0200, Roché Compaan wrote: Any reason why /usr/bin/mail would think the hostname is the host's hostname and not the vserver's, even though the hostname command correctly returns the vserver's hostname? DNS issues? Try strace-ing /usr/bin/mail and seeing how it

Re: [Vserver] Hostname confusion inside vserver

2005-12-18 Thread micah
Roché Compaan wrote: Any reason why /usr/bin/mail would think the hostname is the host's hostname and not the vserver's, even though the hostname command correctly returns the vserver's hostname? Check your /etc/mailname and /etc/hosts to see what is defined. Micah

Re: [Vserver] hostname in guest is equal to the hosts hostname

2005-05-31 Thread Thorsten Busse
Hi, Herbert Poetzl meinte: I don't know your config .. but I guess it's a config issue check what /proc/virtual/%xid/cvirt says about the nodename Solved. Setting the nodename as Micah suggested helped. It seems I missed some configuration settings in my attempt to translate an old config

[Vserver] hostname in guest is equal to the hosts hostname

2005-05-30 Thread Thorsten Busse
Hi, I set up vserver 2.0 rc2 / kernel 2.6.11.10 / debian. If I run a guest (debian sarge) and type hostname the hostname of the host gets returned and not the one of the guest. Also hostname -i gives me the ip address of the host and not of the client. Is this some configuration issue or a bug

Re: [Vserver] hostname in guest is equal to the hosts hostname

2005-05-30 Thread Herbert Poetzl
On Mon, May 30, 2005 at 06:21:32PM +0200, Thorsten Busse wrote: Hi, I set up vserver 2.0 rc2 / kernel 2.6.11.10 / debian. If I run a guest (debian sarge) and type hostname the hostname of the host gets returned and not the one of the guest. Also hostname -i gives me the ip address of the

Re: [Vserver] hostname in guest is equal to the hosts hostname

2005-05-30 Thread Micah Anderson
Depends on what you used as arguments when you created the vserver. Since its already been created, maybe changing /etc/vservers/vserver/uts/nodename to what you are expecting and restarting the vserver will get your expected results. micah On Mon, 30 May 2005, Thorsten Busse wrote: Hi, I

[Vserver] hostname in the vserver and vserver name

2004-07-07 Thread loic d'Anterroches
Dear All, My little question is: Is there a link between the hostname of the vserver and the vserver name? I am setting up a backup scheme with 2 vserver enabled boxes bluefish and babelfish and the real service is to be provided by virtualfish. Yes our boxes have fish names, no I will not call

Re: [Vserver] hostname in the vserver and vserver name

2004-07-07 Thread Dennis Roos
On Wed, 2004-07-07 at 14:17, loic d'Anterroches wrote: Dear All, My little question is: Is there a link between the hostname of the vserver and the vserver name? Yes and no, it totally depends on the way you configure it the vserver_name is set by /etc/vservers/VSVRNAME.conf and the

Re: [Vserver] hostname in the vserver and vserver name

2004-07-07 Thread loic d'Anterroches
On Wed, 2004-07-07 at 14:17, loic d'Anterroches wrote: Dear All, My little question is: Is there a link between the hostname of the vserver and the vserver name? Yes and no, it totally depends on the way you configure it the vserver_name is set by /etc/vservers/VSVRNAME.conf and the

[Vserver] hostname in hosts

2004-06-08 Thread Lucas Albers
Result: Changing vserver name after creation, keeps hostname in vserver the same. Repro: Create vserver, set ip address to 192.168.1.1. Then change ip address in /etc/vservers/servername.conf. When starting apache on the vserver it uses the original ip address listed in: /etc/vservers/hosts.

Re: [Vserver] hostname in hosts

2004-06-08 Thread Roderick A. Anderson
On Tue, 8 Jun 2004, Lucas Albers wrote: Result: Changing vserver name after creation, keeps hostname in vserver the same. Repro: Create vserver, set ip address to 192.168.1.1. Then change ip address in /etc/vservers/servername.conf. Did you restart the vserver? I thought

Re: [Vserver] hostname in hosts

2004-06-08 Thread Gregory (Grisha) Trubetskoy
Does your apache config have a Listen directive, and if so, what is it? When Listen does not specify an IP address (e.g. Listen 80), apache should bind to 0.0.0.0, which doesn't have much to do with the hostname AFAIK. If you're using Apache 1.3, then also check the BindAddress directive.

Re: [Vserver] hostname in hosts

2004-06-08 Thread Roderick A. Anderson
On Tue, 8 Jun 2004, Lucas Albers wrote: my bad its this file: /vservers/vservername/etc/hosts Its the hosts file in the vserver. I encountered this little gotcha when I setup a new vserver with a 168.0.0.1 address then switched to a routable ip address. apache keep trying to use the old