Can't call method "map_method_by_name"

johnbip

New Member
Jan 5, 2016
2
0
1
34
We are having an error in our nodes

We are using WHMCS and Proxmox Cloud for WHMCS by Module Garden.
We are selling a VPS.
Everytime the user create a vps the error occured

HTTP/1.1 500 Can't call method "map_method_by_name" on unblessed reference at /usr/share/perl5/PVE/RESTHandler.pm line 280.
Cache-Control: max-age=0
Connection: close
Date: Tue, 05 Jan 2016 13:20:02 GMT
Pragma: no-cache
Server: pve-api-daemon/3.0
Content-Length: 13
Content-Type: application/json;charset=UTF-8
Expires: Tue, 05 Jan 2016 13:20:02 GMT

{"data":null}


What is this error?
How can we fix it?

We already do an "apt-get dist-upgrade"


root@node01:~# pveversion -v
proxmox-ve-2.6.32: 3.4-166 (running kernel: 2.6.32-43-pve)
pve-manager: 3.4-11 (running version: 3.4-11/6502936f)
pve-kernel-2.6.32-35-pve: 2.6.32-143
pve-kernel-2.6.32-40-pve: 2.6.32-160
pve-kernel-2.6.32-39-pve: 2.6.32-157
pve-kernel-2.6.32-41-pve: 2.6.32-164
pve-kernel-2.6.32-33-pve: 2.6.32-138
pve-kernel-2.6.32-37-pve: 2.6.32-150
pve-kernel-2.6.32-42-pve: 2.6.32-165
pve-kernel-2.6.32-34-pve: 2.6.32-140
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-43-pve: 2.6.32-166
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-3
pve-cluster: 3.0-19
qemu-server: 3.4-6
pve-firmware: 1.1-5
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-34
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-14
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1

Thanks..
 
I ran into this same problem when trying to use the instructions on the download page to upgrade from 4.0beta to "Latest 4.0". pvedaemon would throw this error when I tried to run it (which caused the config step of pve-manager to fail. Somehow, not all of the PVE packages and libraries were getting updated. Eventually, what I had to do is get the Proxmox 4.1 ISO file, extract everything matching "proxmox/packages/pve-*.deb" from the ISO, and then I used "dpkg --install pve-*.deb" to install them all at once.
 

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!