Proxmox doesn't working after unexpected reboot

igoroliveira42

New Member
Oct 28, 2019
3
0
1
28
Hi,
After my server unexpected rebooted, proxmox doesn't work.
I can't access web GUI. If I ping the server, it return 0ms / 1ms, so the NIC is ok.

I typed the line "dpkg -l | grep pve" and it returned this:


Code:
 dpkg -l | grep pve
ii  corosync                             2.4.4-pve1                     amd64        cluster engine daemon and utilities
ii  dmeventd                             2:1.02.137-pve6                amd64        Linux Kernel Device Mapper event daemon
ii  dmsetup                              2:1.02.137-pve6                amd64        Linux Kernel Device Mapper userspace library
ii  grub-common                          2.02-pve6                      amd64        GRand Unified Bootloader (common files)
ii  grub-efi-amd64-bin                   2.02-pve6                      amd64        GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii  grub-efi-ia32-bin                    2.02-pve6                      amd64        GRand Unified Bootloader, version 2 (EFI-IA32 binaries)
ii  grub-pc                              2.02-pve6                      amd64        GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  grub-pc-bin                          2.02-pve6                      amd64        GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii  grub2-common                         2.02-pve6                      amd64        GRand Unified Bootloader (common files for version 2)
ii  libcephfs2                           12.2.12-pve1                   amd64        Ceph distributed file system client library
ii  libcfg6:amd64                        2.4.4-pve1                     amd64        cluster engine CFG library
ii  libcmap4:amd64                       2.4.4-pve1                     amd64        cluster engine CMAP library
ii  libcorosync-common4:amd64            2.4.4-pve1                     amd64        cluster engine common library
ii  libcpg4:amd64                        2.4.4-pve1                     amd64        cluster engine CPG library
ii  libdevmapper-event1.02.1:amd64       2:1.02.137-pve6                amd64        Linux Kernel Device Mapper event support library
ii  libdevmapper1.02.1:amd64             2:1.02.137-pve6                amd64        Linux Kernel Device Mapper userspace library
ii  liblvm2app2.2:amd64                  2.02.168-pve6                  amd64        LVM2 application library
ii  liblvm2cmd2.02:amd64                 2.02.168-pve6                  amd64        LVM2 command library
ii  libnvpair1linux                      0.7.13-pve1~bpo2               amd64        Solaris name-value library for Linux
ii  libpve-access-control                5.1-12                         amd64        Proxmox VE access control library
ii  libpve-apiclient-perl                2.0-5                          all          Proxmox VE API client library
ii  libpve-common-perl                   5.0-55                         all          Proxmox VE base library
ii  libpve-guest-common-perl             2.0-11                         all          Proxmox VE common guest-related modules
ii  libpve-http-server-perl              2.0-14                         all          Proxmox Asynchrounous HTTP Server Implementation
ii  libpve-storage-perl                  5.0-14                         all          Proxmox VE storage management library
ii  libpve-u2f-server-perl               1.0-2                          amd64        Perl bindings for libu2f-server
ii  libquorum5:amd64                     2.4.4-pve1                     amd64        cluster engine Quorum library
ii  librados2                            12.2.12-pve1                   amd64        RADOS distributed object store client library
ii  libradosstriper1                     12.2.12-pve1                   amd64        RADOS striping interface
ii  librbd1                              12.2.12-pve1                   amd64        RADOS block device client library
ii  librgw2                              12.2.12-pve1                   amd64        RADOS Gateway client library
ii  libtotem-pg5:amd64                   2.4.4-pve1                     amd64        cluster engine Totem library
ii  libuutil1linux                       0.7.13-pve1~bpo2               amd64        Solaris userland utility library for Linux
ii  libvotequorum8:amd64                 2.4.4-pve1                     amd64        cluster engine Votequorum library
ii  libzfs2linux                         0.7.13-pve1~bpo2               amd64        OpenZFS filesystem library for Linux
ii  libzpool2linux                       0.7.13-pve1~bpo2               amd64        OpenZFS pool library for Linux
ii  lvm2                                 2.02.168-pve6                  amd64        Linux Logical Volume Manager
ii  lxc-pve                              3.1.0-7                        amd64        Linux containers userspace tools
ii  lxcfs                                3.0.3-pve1                     amd64        LXC userspace filesystem
ii  novnc-pve                            1.0.0-3                        amd64        HTML5 VNC client
ii  pve-cluster                          5.0-38                         amd64        Cluster Infrastructure for Proxmox Virtual Environment
ii  pve-docs                             5.4-2                          all          Proxmox VE Documentation
ii  pve-firewall                         3.0-22                         amd64        Proxmox VE Firewall
ii  pve-firmware                         2.0-7                          all          Binary firmware code for the pve-kernel
rc  pve-ha-manager                       2.0-2                          amd64        Proxmox VE HA Manager
ii  pve-kernel-4.10.17-2-pve             4.10.17-20                     amd64        The Proxmox PVE Kernel Image
ii  pve-libspice-server1                 0.14.1-2                       amd64        SPICE remote display system server library
rc  pve-manager                          5.0-30                         amd64        Proxmox Virtual Environment Management Tools
rc  pve-qemu-kvm                         2.9.0-3                        amd64        Full virtualization on x86 hardware
ii  python-cephfs                        12.2.12-pve1                   amd64        Python 2 libraries for the Ceph libcephfs library
ii  python-rados                         12.2.12-pve1                   amd64        Python 2 libraries for the Ceph librados library
ii  python-rbd                           12.2.12-pve1                   amd64        Python 2 libraries for the Ceph librbd library
ii  spl                                  0.7.13-pve1~bpo2               amd64        Solaris Porting Layer user-space utilities for Linux
ii  tar                                  1.29b-2+pve.1                  amd64        GNU version of the tar archiving utility
ii  zfs-initramfs                        0.7.13-pve1~bpo2               all          OpenZFS root filesystem capabilities for Linux - initramfs
ii  zfsutils-linux                       0.7.13-pve1~bpo2               amd64        command-line tools to manage OpenZFS filesystems
 
Check if the service (see docs) are running and healthy systemctl.
https://pve.proxmox.com/pve-docs/#_service_daemons


Code:
root@7netbandalarga:~# systemctl status pmxcfs.service
Unit pmxcfs.service could not be found.
root@7netbandalarga:~# systemctl status pmxcfs
Unit pmxcfs.service could not be found.
root@7netbandalarga:~# systemctl status pve-firewall.service
● pve-firewall.service - Proxmox VE firewall
   Loaded: loaded (/lib/systemd/system/pve-firewall.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-10-28 15:43:00 -03; 16h ago
 Main PID: 1648 (pve-firewall)
    Tasks: 1 (limit: 4915)
   Memory: 43.1M
      CPU: 3min 2.411s
   CGroup: /system.slice/pve-firewall.service
           └─1648 pve-firewall

Oct 28 15:43:00 7netbandalarga systemd[1]: Starting Proxmox VE firewall...
Oct 28 15:43:00 7netbandalarga pve-firewall[1648]: starting server
Oct 28 15:43:00 7netbandalarga systemd[1]: Started Proxmox VE firewall.
Oct 28 16:20:16 7netbandalarga systemd[1]: Reloading Proxmox VE firewall.
Oct 28 16:20:16 7netbandalarga pve-firewall[18306]: send HUP to 1648
Oct 28 16:20:16 7netbandalarga pve-firewall[1648]: received signal HUP
Oct 28 16:20:16 7netbandalarga pve-firewall[1648]: server shutdown (restart)
Oct 28 16:20:16 7netbandalarga systemd[1]: Reloaded Proxmox VE firewall.
Oct 28 16:20:16 7netbandalarga pve-firewall[1648]: restarting server
root@7netbandalarga:~# systemctl status pve-ha-crm.service
Unit pve-ha-crm.service could not be found.
root@7netbandalarga:~# systemctl status pve-ha-lrm.service
Unit pve-ha-lrm.service could not be found.
root@7netbandalarga:~# systemctl status pvedaemon.service
● pvedaemon.service - LSB: PVE Daemon
   Loaded: loaded (/etc/init.d/pvedaemon; generated; vendor preset: enabled)
   Active: active (exited) since Tue 2019-10-29 08:30:51 -03; 6min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/pvedaemon.service

Oct 29 08:30:51 7netbandalarga systemd[1]: Starting LSB: PVE Daemon...
Oct 29 08:30:51 7netbandalarga systemd[1]: Started LSB: PVE Daemon.
root@7netbandalarga:~# systemctl status pveproxy.service
● pveproxy.service - LSB: PVE API Proxy Server
   Loaded: loaded (/etc/init.d/pveproxy; generated; vendor preset: enabled)
   Active: active (exited) since Tue 2019-10-29 08:31:22 -03; 5min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/pveproxy.service

Oct 29 08:31:22 7netbandalarga systemd[1]: Starting LSB: PVE API Proxy Server...
Oct 29 08:31:22 7netbandalarga systemd[1]: Started LSB: PVE API Proxy Server.
root@7netbandalarga:~# systemctl status pvestatd.service
● pvestatd.service - LSB: PVE Status Daemon
   Loaded: loaded (/etc/init.d/pvestatd; generated; vendor preset: enabled)
   Active: active (exited) since Tue 2019-10-29 08:32:04 -03; 6min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/pvestatd.service

Oct 29 08:32:04 7netbandalarga systemd[1]: Starting LSB: PVE Status Daemon...
Oct 29 08:32:04 7netbandalarga systemd[1]: Started LSB: PVE Status Daemon.
root@7netbandalarga:~# systemctl status qmeventd
Unit qmeventd.service could not be found.
root@7netbandalarga:~# systemctl status qmeventd.service
Unit qmeventd.service could not be found.
root@7netbandalarga:~# systemctl status spiceproxy.service
● spiceproxy.service - LSB: PVE SPICE Proxy Server
   Loaded: loaded (/etc/init.d/spiceproxy; generated; vendor preset: enabled)
   Active: active (exited) since Tue 2019-10-29 08:32:44 -03; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 12905 ExecStart=/etc/init.d/spiceproxy start (code=exited, status=0/SUCCESS)
      CPU: 6ms

Oct 29 08:32:44 7netbandalarga systemd[1]: Starting LSB: PVE SPICE Proxy Server...
Oct 29 08:32:44 7netbandalarga systemd[1]: Started LSB: PVE SPICE Proxy Server.
 
Loaded: loaded (/etc/init.d/pvedaemon; generated; vendor preset: enabled)
It seems that the system is still using old init.d startup scripts. These should be systemd services, fix those and restart the services. That may already resolve the problem.
 
It seems that the system is still using old init.d startup scripts. These should be systemd services, fix those and restart the services. That may already resolve the problem.

Sorry Alwin,
How can I fix the these with systemd?
 

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!