Lost SSH, and WebUI access to Proxmox, but all VMs still working and accessible.

  • Thread starter Thread starter darthanubis
  • Start date Start date
D

darthanubis

Guest
Luckily my Proxmox server is on site. I have not found a thread relating to losing SSH. I found a thread concerning losing WebUI, but not ssh. I can't even ping,, Proxmox. Which leads me to believe it is my network. Proxmox has a static IP of 192.168.0.4, the rest of the network is 192.168.0.100-200. The gateway is 192.168.0.3. I even have a switch at 192.168.0.5. All pingable except the PM server? I'd just hate to bring down the running VMs because of this. Even changing the IP address, I can only ping the gateway.

Reboot

After changing my static ip in /etc/network/interfaces, which still does not change the IP Proxmox shows upon boot, I noticed NFS errors. I think this all started to happen after I added and removed a second node. Anyhow, I removed portmap, which removed nfs-common and pve-manager. I removed the latest kernel -14. I reinstalled portmap, nfs-common. The NFS errors went away. I'm able to get back into the GUI, and SSH. But pve-manager will not finish installing.

Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up pve-manager (2.1-14) ...
insserv: Service vz has to be enabled to start service pve-manager
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
pve-manager

Now I'm stuck.
 
Last edited by a moderator:
I've ironed out my IP issues. Now I just need to get pve-manager properly configured.
 
What is the output of

# pveversion -v
pveversion -v
pve-manager: not correctly installed (pve-manager/2.1/f32f3f46)
running kernel: 2.6.32-14-pve
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-13-pve: 2.6.32-72
pve-kernel-2.6.32-14-pve: 2.6.32-73
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-49
pve-firmware: 1.0-18
libpve-common-perl: 1.0-30
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-30
vncterm: 1.0-2
vzctl: not correctly installed
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
 
pveversion -v
pve-manager: not correctly installed (pve-manager/2.1/f32f3f46)
running kernel: 2.6.32-14-pve
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-13-pve: 2.6.32-72
pve-kernel-2.6.32-14-pve: 2.6.32-73
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-49
pve-firmware: 1.0-18
libpve-common-perl: 1.0-30
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-30
vncterm: 1.0-2
vzctl: not correctly installed
vzprocps: 2.0.11-2
vzquota: 3.0.12-3

apt-get install vzctl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
vzctl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 241 kB of archives.
After this operation, 1,188 kB of additional disk space will be used.
Get:1 http://download.proxmox.com/debian/ squeeze/pve vzctl amd64 3.0.30-2pve5 [241 kB]
Fetched 241 kB in 1s (142 kB/s)
Selecting previously deselected package vzctl.
(Reading database ... 32741 files and directories currently installed.)
Unpacking vzctl (from .../vzctl_3.0.30-2pve5_amd64.deb) ...
Processing triggers for man-db ...
Setting up pve-manager (2.1-14) ...
insserv: Service vz has to be enabled to start service pve-manager
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
Setting up vzctl (3.0.30-2pve5) ...
Checking vzevent kernel module .....done
Starting vzeventd:
Starting OpenVZ: ..done
Bringing up interface venet0: ..done
- Warning: IP forwarding is not enabled
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@proxmox:/var/log# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up pve-manager (2.1-14) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Restarting web server: apache2 ... waiting .

It's fixed now. As shown above I installed vzctl. After seeing this :vzctl: not correctly installed.

Thank you for the hint. It was driving me mad.
pveversion -v
pve-manager: 2.1-14 (pve-manager/2.1/f32f3f46)
running kernel: 2.6.32-14-pve
pve-kernel-2.6.32-14-pve: 2.6.32-73
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-49
pve-firmware: 1.0-18
libpve-common-perl: 1.0-30
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-30
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3

 
Last edited by a moderator:
Hi
I have the same error here.
SSH access and WebGUI on the host is not working, but the VMs are still running. Restarting and updating the packages did not help.
 
Notice this as well over the past couple of days... but then way beyond that I have had issues with data between nodes being synced and going into panic during ssh communications between them. I'm just wondering if the cause might be openssh and openssl, since ours appear to be somewhat dated, but this might be limited to the debian repo.

Code:
root@proliant01:~# ssh -V
OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013