[SOLVED] Please help i can't start pve daemon pveproxy or any pve service on proxmox 4.0

hack3rb43

New Member
Dec 28, 2015
11
0
1
36
I install proxmox 4.0 a mouth ago and run smooth easy

but to day i can't access web service

i try to restart pveproxy and i have error

root@prox1214:~# /etc/init.d/pveproxy restart
[....] Restarting pveproxy (via systemctl): pveproxy.serviceJob for pveproxy.service failed. See 'systemctl status pveproxy.service' and 'journalctl -xn' for details.
failed!
root@prox1214:~# /etc/init.d/pveproxy status
โ— pveproxy.service - PVE API Proxy Server
Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled)
Active: failed (Result: exit-code) since Mon 2015-12-28 20:43:40 ICT; 7s ago
Process: 2367 ExecStart=/usr/bin/pveproxy start (code=exited, status=255)

Dec 28 20:43:40 prox1214 pveproxy[2367]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Cluster.pm line 13, <DATA> line 751.
Dec 28 20:43:40 prox1214 pveproxy[2367]: Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 13, <DATA> line 751.
Dec 28 20:43:40 prox1214 pveproxy[2367]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 13, <DATA> line 751.
Dec 28 20:43:40 prox1214 pveproxy[2367]: Compilation failed in require at /usr/share/perl5/PVE/Service/pveproxy.pm line 15, <DATA> line 751.
Dec 28 20:43:40 prox1214 pveproxy[2367]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pveproxy.pm line 15, <DATA> line 751.
Dec 28 20:43:40 prox1214 pveproxy[2367]: Compilation failed in require at /usr/bin/pveproxy line 11, <DATA> line 751.
Dec 28 20:43:40 prox1214 pveproxy[2367]: BEGIN failed--compilation aborted at /usr/bin/pveproxy line 11, <DATA> line 751.
Dec 28 20:43:40 prox1214 systemd[1]: pveproxy.service: control process exited, code=exited status=255
Dec 28 20:43:40 prox1214 systemd[1]: Failed to start PVE API Proxy Server.
Dec 28 20:43:40 prox1214 systemd[1]: Unit pveproxy.service entered failed state.
root@prox1214:~#

i try to check perl lib and work find

and try to check versions pve i have error

root@prox1214:~# pveversion -v
Can't locate object method "import_random_seed" via package "Crypt::OpenSSL::RSA" at /usr/share/perl5/PVE/AccessControl.pm line 44, <DATA> line 751.
Compilation failed in require at /usr/share/perl5/PVE/RPCEnvironment.pm line 16, <DATA> line 751.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/RPCEnvironment.pm line 16, <DATA> line 751.
Compilation failed in require at /usr/share/perl5/PVE/API2/APT.pm line 20, <DATA> line 751.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/APT.pm line 20, <DATA> line 751.
Compilation failed in require at /usr/bin/pveversion line 7, <DATA> line 751.
BEGIN failed--compilation aborted at /usr/bin/pveversion line 7, <DATA> line 751.
root@prox1214:~#

i try to reinstall Crypt::OpenSSL::RSA

and can't work

how fix this issue

Thank for explan
 
Could you do a:
Code:
dpkg -l | grep perl

And show the output?

Thank for reply

i try to install Crypt::OpenSSL::RSA via apt can't work

but now try to install with
cpan -fi Crypt::OpenSSL::RSA

it work my pve can back for work

Thank
 
Little caution, this is not the preferred way to do this, it can you give you trouble later if Proxmox would use modified versions or there is a bug update. The preferred way is to lookup the correct package and install that.

For example:
Code:
apt-cache search perl crypt::openssl::rsa
 

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!