Client does not start after migration

stony999

Renowned Member
Oct 22, 2010
20
1
68
I set up a Proxmox Cluster with 2 nodes and ProxMox 1.6-5261-4. In order to move the machines to another location, I migrated my 2 clients from Master to the second Node.
After Migration 1 client started, the other one seems as if it would start, but in fact it is not reachable.
On the Web GUI it shows:
Code:
Status:    running    
Hostname:    fax2.mydomain.de    Uptime: 00:09:45
IP Adresse:    192.168.178.211    Öffne VNC Konsole

Resource             Aktuell          Maximum     
CPU Auslastung:    0                100    0.00%
Speicher/Swap (MB):    1          1024     1MB
Festplattenplatz (GB):    2.63      8.00    32.88%
It stays at 1 MB memory and does not change.

Cmdline with --force does not change anything:
Code:
proxmox:/var/log# vzctl start 104 --force
Starting container ...
Container is mounted
Adding IP address(es): 192.168.178.211
Setting CPU units: 1000
Setting CPUs: 1
Set hostname: fax2.mydomain.de
File resolv.conf was modified
Setting quota ugidlimit: 0
Container start in progress...
Log file shows nothing special
Code:
2010-10-22T03:16:57+0200 vzctl : CT 104 : Starting container ...
2010-10-22T03:16:57+0200 vzctl : CT 104 : Container is mounted
2010-10-22T03:16:57+0200 vzctl : CT 104 : Adding IP address(es): 192.168.178.211
2010-10-22T03:16:58+0200 vzctl : CT 104 : Setting CPU units: 1000
2010-10-22T03:16:58+0200 vzctl : CT 104 : Setting CPUs: 1
2010-10-22T03:16:58+0200 vzctl : CT 104 : Set hostname: fax2.mydomain.de
2010-10-22T03:16:58+0200 vzctl : CT 104 : File resolv.conf was modified
2010-10-22T03:16:58+0200 vzctl : CT 104 : Setting quota ugidlimit: 0
2010-10-22T03:16:58+0200 vzctl : CT 104 : Container start in progress...
Where can I search for the problem?

Edit: The client already ran on this machine previously, also the hardware of both machines is almost identical.

Edit:
Dies this mean anything?
Code:
==> auth.log <==
Oct 22 04:34:52 proxmox2 sshd[9517]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
Oct 22 04:34:52 proxmox2 sshd[9517]: pam_unix(sshd:session): session closed for user root
 
Last edited:
...
Edit:
Dies this mean anything?
Code:
==> auth.log <==
Oct 22 04:34:52 proxmox2 sshd[9517]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
Oct 22 04:34:52 proxmox2 sshd[9517]: pam_unix(sshd:session): session closed for user root
Hi,
i don't think that's resolv your problem. But to fix run
Code:
dpkg-reconfigure locales
and select de_DE.UTF-8 for german.

Udo
 
After a while I get
Code:
proxmox2:/var/lib/vz/private/104/var/log# cat init.log
starting init logger
mountall: root filesystem isn't mounted
init: mountall main process (30) terminated with status 1
 
As I stated, the client already ran on this machine previously. This started to happen after a migration.

Btw: I had some problems with an NFS share previously which the client also tried to mount (according to mtab). This lead to the delayed output of init.log.
But since then I have unmountet the NFS and the client thus doesn't start.
 
I migrated it from server 1 to server 2. It worked on Server2.
So there was not update in the container.

I migrated it back to server 1. It failed.
I tried to migrate it to server 2. It failed again.
 
Here is also the output of mtab in the container
Code:
proxmox:/var/lib/vz/private/104/etc# cat mtab
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev tmpfs rw,relatime,size=10240k,mode=755 0 0
/dev/mapper/pve-root / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
/dev/mapper/pve-data /var/lib/vz ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/var/lib/vz/private/102 /var/lib/vz/root/102 simfs rw,relatime 0 0
none /var/lib/vz/root/102/proc proc rw,nosuid,noexec,nodiratime,relatime 0 0
none /var/lib/vz/root/102/sys sysfs rw,relatime 0 0
none /var/lib/vz/root/102/lib/init/rw tmpfs rw,nosuid,relatime,size=262144k,nr_inodes=65536 0 0
none /var/lib/vz/root/102/dev/shm tmpfs rw,nosuid,nodev,relatime,size=262144k,nr_inodes=65536 0 0
none /var/lib/vz/root/102/dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
/var/lib/vz/private/104 /var/lib/vz/root/104 simfs rw,relatime 0 0
proc /var/lib/vz/root/104/proc proc rw,relatime 0 0
sysfs /var/lib/vz/root/104/sys sysfs rw,relatime 0 0
fstab:
Code:
proxmox:/var/lib/vz/private/104/etc# cat fstab
proc  /proc       proc    defaults    0    0
none  /dev/pts    devpts  rw          0    0
Is there something wrong?
 
I installed another client from an openvz Ubuntu 10.04 template. So now I have two running and one failed clients

  • 102 is running (Proxmox Debian 6.0 Standard)
  • 104 has failed (openvz Ubuntu 10.04 amd64)
  • 106 is running (openvz Ubuntu 10.04 amd64)
I compared the mtab entries on the machines:

Code:
/var/lib/vz/private/102 /var/lib/vz/root/102 simfs rw,relatime 0 0
/var/lib/vz/private/104 /var/lib/vz/root/104 simfs rw,relatime 0 0
/var/lib/vz/private/106 /var/lib/vz/root/106 simfs rw,relatime 0 0
A similar entry for each machine


Code:
none /var/lib/vz/root/102/proc proc rw,nosuid,noexec,nodiratime,relatime 0 0
proc /var/lib/vz/root/104/proc proc rw,relatime 0 0
proc /var/lib/vz/root/106/proc proc rw,relatime 0 0
A similar entry for each machine


Code:
none /var/lib/vz/root/102/sys sysfs rw,relatime 0 0
sysfs /var/lib/vz/root/104/sys sysfs rw,relatime 0 0
sysfs /var/lib/vz/root/106/sys sysfs rw,relatime 0 0
A similar entry for each machine

Code:
none /var/lib/vz/root/102/lib/init/rw tmpfs rw,nosuid,relatime,size=262144k,nr_inodes=65536 0 0
none /var/lib/vz/root/102/dev/shm tmpfs rw,nosuid,nodev,relatime,size=262144k,nr_inodes=65536 0 0
Entries only for Debian machine. But Ubuntu 106 is running so there should not be a problem.


Code:
none /var/lib/vz/root/102/dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
none /var/lib/vz/root/106/dev/pts devpts rw,relatime,mode=600 0 0
Entries only all machines except for the failed one. So here we may see the problem.

How can I solve this missing devpts entry?
Also the contents of
/var/lib/vz/private/<id>/lib/udev/devices
on both Ubuntu clients are the same


Or is /dev/pts being mounted after "/" ?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!