dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,576
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
OH SH*T!!!!!!

REMINDER!!! Never run a script without looking at it first. I ran the kill-vserver-rpms script to remove the vserver this is what has happened. Repair disk is being run for a file system error on reboot. The script does the following.
#!/bin/sh

rm -rf /usr/local/cpanel
rm -f /usr/src/linux*.gz
rpm -e --nodeps eject
rpm -e --nodeps openldap-clients
rpm -e --nodeps openldap-devel
rpm -e --nodeps apmd
rpm -e --nodeps cups-drivers
rpm -e --nodeps cups
rpm -e --nodeps mkbootdisk
rpm -e --nodeps esound-devel
rpm -e --nodeps esound
rpm -e --nodeps mikmod
rpm -e --nodeps awesfx
rpm -e --nodeps sox
rpm -e --nodeps sndconfig
rpm -e --nodeps sendmail-cf
rpm -e --nodeps libogg
rpm -e --nodeps libvorbis
rpm -e --nodeps vorbis-tools
rpm -e --nodeps libogg-devel
rpm -e --nodeps libvorbis-devel
rpm -e --nodeps printconf
rpm -e --nodeps mpage
rpm -e --nodeps cdparanoia
rpm -e --nodeps tetex-fonts
rpm -e --nodeps tetex
rpm -e --nodeps tetex-latex
rpm -e --nodeps linuxdoc-tools
rpm -e --nodeps alchemist
rpm -e --nodeps alchemist-devel
rpm -e --nodeps setserial
rpm -e --nodeps rp-pppoe
rpm -e --nodeps nkf
rpm -e --nodeps efax
rpm -e --nodeps cups-libs
rpm -e --nodeps cups-devel
rpm -e --nodeps ghostscript
rpm -e --nodeps cups-drivers-hpijs
rpm -e --nodeps cups-drivers-pnm2ppa
rpm -e --nodeps ghostscript-fonts
rpm -e --nodeps cdparanoia-libs
rpm -e --nodeps cdparanoia-devel
rpm -e --nodeps LPRng
rpm -e --nodeps aumix
rpm -e --nodeps openjade
rpm -e --nodeps docbook-style-dsssl
rpm -e --nodeps docbook-utils
rpm -e --nodeps perl-SGMLSpm
rpm -e --nodeps playmidi
rpm -e --nodeps cdda2wav
rpm -e --nodeps sgml-common
rpm -e --nodeps docbook-dtds
rpm -e --nodeps isdn4k-utils
rpm -e --nodeps isdn4k-utils-devel
rpm -e --nodeps audiofile
rpm -e --nodeps audiofile-devel
rpm -e --nodeps Omni-foomatic
rpm -e --nodeps Omni
rpm -e --nodeps foomatic
rpm -e --nodeps cdlabelgen
rpm -e --nodeps mpg321
rpm -e --nodeps minicom
rpm -e --nodeps micq
rpm -e --nodeps sox-devel
rpm -e --nodeps cdrecord-devel
rpm -e --nodeps emacs
rm -rf /usr/share/docs
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,576
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
It was here.

http://layer1.cpanel.net/cpanel-vservermgr.tar.gz

Shell script called kill-vserver-rpms

I now finally have the server back and running thank god for a good backup policy.
 

ck

Member
Aug 15, 2001
16
0
301
Since we're on the topic of vservers, has anybody had luck getting these to work? It seems to open a new port (2088) and is listening to it, but we just can't figure out how to get down to managing them on our test servers.

Any advice would be greatly appreciated ;)