[Users] Debian - Odd, hopefully minor, machine name / prompt issue

Jim Archer jim at archer.net
Wed Sep 12 11:57:08 EDT 2007


When logged into the main system:

vps5000:~# hostname
vps5000.regtek.com
vps5000:~# vzlist
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME
       102         13 running 72.46.65.30     nsp4.registrationtek.com
       104         21 running 72.46.65.47     mail5.registrationtek.com
       105         22 running 72.46.65.48     whois.registrationtek.com
       106          4 running 72.46.65.54     gz.registrationtek.com
       107          7 running 72.46.65.34     squid.registrationtek.com
      1000          4 running 72.46.67.2      vps1000.regtek.com
      1001         39 running 72.46.67.3      vps1002.registrationtek.com
      1002         29 running 72.46.67.7      tocco.regtek.com
      1003         23 running 72.46.67.8      firstclass.regtek.com
      5000          4 running 72.46.65.254    vps5000.regtek.com
vps5000:~# vzctl enter 102
entered into VE 102
vps5000:/# hostname
vps5000.regtek.com
vps5000:/# exit
logout
exited from VE 102
vps5000:~# vzctl enter 104
entered into VE 104
vps5000:/# hostname
vps5000.regtek.com
vps5000:/# exit
logout
exited from VE 104
vps5000:~# vzctl enter 1003
entered into VE 1003
vps5000:/# hostname
vps5000.regtek.com
vps5000:/# exit
logout
exited from VE 1003
vps5000:~#




--On Wednesday, September 12, 2007 1:30 PM +0400 Kir Kolyshkin 
<kir at openvz.org> wrote:

> Jim,
>
> Can you run hostname on the host system and inside a couple of VEs? Do
> they show the same or different hostnames?
>
> Jim Archer wrote:
>> Hi All...
>>
>> I just upgraded the kernel on my machine from:
>>
>> actual:/home/jim/openvz/kernels# uname -a
>> Linux actual.registrationtek.com 2.6.18-openvz-12-1etch1-amd64 #1 SMP
>> Fri May 4 23:37:24 MSD 2007 x86_64 GNU/Linux
>>
>> To:
>>
>> vps5000:~# uname -a
>> Linux vps5000.regtek.com 2.6.18-openvz-13-39.1d1-amd64 #1 SMP Mon Sep
>> 3 10:11:00 MSD 2007 x86_64 GNU/Linux
>>
>>
>> I did this because I have been having a memory consumption problem
>> with Exim4 I was hoping to resolve.  I had been told that the Exim4
>> memory issue was a known issue and was fixed in later kernels.
>>
>> Anyhow, I installed the new kernel using dpkg -i and it seems to
>> install fine, with no warnings or errors.  It boots and runs fine,
>> even iSCSI. But, the odd issue is that the machine name in the prompt
>> is wrong.  As you can see from above, it went from:
>>
>> actual#
>>
>> To:
>>
>> vps5000#
>>
>> The name of the machine in /etc/hostname is actual and vps5000 is the
>> highest number vps I have.  Is this a serious issue or can I safely
>> ignore it?
>>
>> Thanks...
>>
>> Jim
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://openvz.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users






More information about the Users mailing list