proxmox not restart

what does 'pveversion -v' say?

edit: oh i just saw you already posted it

i guess you removed some wrong packages

try:

apt install proxmox-ve

if that does not work:

apt install --fix-broken
 
ok, i repost pveversion -v:
Code:
proxmox-ve: 5.2-2 (running kernel: 4.15.18-1-pve)
pve-manager: 5.2-6 (running version: 5.2-6/bcd5f008)
pve-kernel-4.15: 5.2-4
pve-kernel-4.15.18-1-pve: 4.15.18-17
pve-kernel-4.15.17-3-pve: 4.15.17-14
pve-kernel-4.15.17-2-pve: 4.15.17-10
corosync: 2.4.2-pve5
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-37
libpve-guest-common-perl: 2.0-17
libpve-http-server-perl: 2.0-9
libpve-storage-perl: 5.0-24
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
novnc-pve: 1.0.0-2
openvswitch-switch: 2.7.0-3
proxmox-widget-toolkit: 1.0-19
pve-cluster: 5.0-29
pve-container: 2.0-25
pve-docs: 5.2-5
pve-firewall: 3.0-13
pve-firmware: 2.0-5
pve-ha-manager: 2.0-5
pve-i18n: 1.0-6
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.11.2-1
pve-xtermjs: 1.0-5
qemu-server: 5.0-32
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3

when i send the command apt install proxmox-ve this is results (is in italian if u need i try to translate that):
Code:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
proxmox-ve is already the newest version (5.2-2).
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.

for command apt install --fix-broken:
Code:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
 
ok with
journalctl -b -u pveproxy:
Code:
Logs begin at Fri 2018-08-10 08:19:56 UTC, end at Fri 2018-08-10 12:22:01 UTC. --
ago 10 08:20:11 ns399714 systemd[1]: Starting PVE API Proxy Server...
ago 10 08:20:11 ns399714 pveproxy[2081]: Insecure directory in $ENV{PATH} while running with -T switch at /usr/share/perl5/PVE/Report.pm line 87.
ago 10 08:20:11 ns399714 pveproxy[2081]: Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 25.
ago 10 08:20:11 ns399714 pveproxy[2081]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 25.
ago 10 08:20:11 ns399714 pveproxy[2081]: Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 14.
ago 10 08:20:11 ns399714 pveproxy[2081]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 14.
ago 10 08:20:11 ns399714 pveproxy[2081]: Compilation failed in require at /usr/share/perl5/PVE/Service/pveproxy.pm line 14.
ago 10 08:20:11 ns399714 pveproxy[2081]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pveproxy.pm line 14.
ago 10 08:20:11 ns399714 pveproxy[2081]: Compilation failed in require at /usr/bin/pveproxy line 11.
ago 10 08:20:11 ns399714 pveproxy[2081]: BEGIN failed--compilation aborted at /usr/bin/pveproxy line 11.
ago 10 08:20:11 ns399714 systemd[1]: pveproxy.service: Control process exited, code=exited status=255
ago 10 08:20:11 ns399714 systemd[1]: Failed to start PVE API Proxy Server.
ago 10 08:20:11 ns399714 systemd[1]: pveproxy.service: Unit entered failed state.
ago 10 08:20:11 ns399714 systemd[1]: pveproxy.service: Failed with result 'exit-code'.

and with
journalctl -b -u pvedaemon:
Code:
ago 10 11:37:29 ns399714 systemd[1]: Starting PVE API Daemon...
ago 10 11:37:29 ns399714 pvedaemon[15817]: Insecure directory in $ENV{PATH} while running with -T switch at /usr/share/perl5/PVE/Report.pm line 87.
ago 10 11:37:29 ns399714 pvedaemon[15817]: Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 25.
ago 10 11:37:29 ns399714 pvedaemon[15817]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 25.
ago 10 11:37:29 ns399714 pvedaemon[15817]: Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 14.
ago 10 11:37:29 ns399714 pvedaemon[15817]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 14.
ago 10 11:37:29 ns399714 pvedaemon[15817]: Compilation failed in require at /usr/share/perl5/PVE/Service/pvedaemon.pm line 8.
ago 10 11:37:29 ns399714 pvedaemon[15817]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pvedaemon.pm line 8.
ago 10 11:37:29 ns399714 pvedaemon[15817]: Compilation failed in require at /usr/bin/pvedaemon line 11.
ago 10 11:37:29 ns399714 pvedaemon[15817]: BEGIN failed--compilation aborted at /usr/bin/pvedaemon line 11.
ago 10 11:37:29 ns399714 systemd[1]: pvedaemon.service: Control process exited, code=exited status=255
ago 10 11:37:29 ns399714 systemd[1]: Failed to start PVE API Daemon.
ago 10 11:37:29 ns399714 systemd[1]: pvedaemon.service: Unit entered failed state.
ago 10 11:37:29 ns399714 systemd[1]: pvedaemon.service: Failed with result 'exit-code'.

i saw in this thread https://forum.proxmox.com/threads/pveproxy-compilation-failed.42997/page-2 the same error.... what is permission i have to give and i have to give this to folder or to single file?
 
Last edited:
ago 10 08:20:11 ns399714 pveproxy[2081]: Insecure directory in $ENV{PATH} while running with -T switch at /usr/share/perl5/PVE/Report.pm line 87.
ok i can remember a case with this error message where some path permission were wrong
 

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!