removed snmp snmpd and suddenly it says removing pve????? HELP!

offerlam

Renowned Member
Dec 30, 2012
224
2
83
Denmark
Hi all..

So i was trying to setup SNMP. When i realised that i was following a guide based on ubuntu i figured i would start over since the process didn't seem to be the same..

so after i had done

Code:
apt-get install snmp snmpd snmp-mib-downloader

I chose to do

Code:
apt-get remove snmp snmpd snmp-mib-downloader

which gave me this output

Code:
root@proxmox00:~# apt-get remove snmp snmpd snmp-mibs-downloader
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'snmp-mibs-downloader' is not installed, so not removed
Package 'snmpd' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  gdisk hdparm libicu48 librados2-perl novnc-pve powermgmt-base python-suds
  spiceterm
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  fence-agents-pve proxmox-ve-2.6.32 pve-manager snmp
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 1,983 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 36566 files and directories currently installed.)
Removing proxmox-ve-2.6.32 ...
Removing pve-manager ...
Removing fence-agents-pve ...
Removing snmp ...
Processing triggers for man-db ...
Processing triggers for pve-firewall ...
Restarting Proxmox VE firewall: pve-firewall.
root@proxmox00:~#

Now what scares me is this part
Code:
Removing proxmox-ve-2.6.32 ...
Removing pve-manager ...
Removing fence-agents-pve ...
Removing snmp ...
Processing triggers for man-db ...
Processing triggers for pve-firewall ...
Restarting Proxmox VE firewall: pve-firewall.
root@proxmox00:~#

Everything seems to be working VM wise but i can't access the webinterface for this node anymore...

HOW DO I UNDO THIS!!! HELP!
 
re-install packages by:

> apt-get install proxmox-ve-2.6.32

to check the package list:

> pveversion -v
 
Hi tom,

and thank you thank you thank you thank you thank you thank you thank you thank you thank you

for responding!

I did as you said and this is my package list.. i have no idea what should and shouldn't be on...

Code:
Processing triggers for man-db ...
Processing triggers for pve-firewall ...
Restarting Proxmox VE firewall: pve-firewall.
Setting up snmp (5.4.3~dfsg-2.8+deb7u1) ...
Setting up fence-agents-pve (4.0.10-3) ...
Setting up pve-manager (3.4-10) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE API Proxy Server: pveproxy.
Restarting PVE SPICE Proxy Server: spiceproxy.
Restarting PVE Status Daemon: pvestatd.
Setting up proxmox-ve-2.6.32 (3.4-163) ...
installing proxmox release key: OK
root@proxmox00:~# pveversion -v
proxmox-ve-2.6.32: 3.4-163 (running kernel: 2.6.32-41-pve)
pve-manager: 3.4-10 (running version: 3.4-10/73ab1bcf)
pve-kernel-2.6.32-41-pve: 2.6.32-163
pve-kernel-2.6.32-28-pve: 2.6.32-124
pve-kernel-2.6.32-23-pve: 2.6.32-109
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-4
libpve-common-perl: 3.0-24
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-33
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-11
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1

do you have the time to see if it looks good?

I can access my proxmox00 again through web but when migrating some VMs i get exit code 244