The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Vserver setup and Use

Discussion in 'General Discussion' started by dgbaker, Oct 5, 2002.

  1. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Does anyone have experience integrating vserver? And if so can someone provide human instructions?

    Thanks
    David Baker
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    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
     
  3. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    Where on earth did you get that script from???
     
  4. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    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.
     
  5. ck

    ck Member

    Joined:
    Aug 15, 2001
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    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 ;)
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    I've been advised to NOT use it with a cpanel server.
     
  7. ck

    ck Member

    Joined:
    Aug 15, 2001
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    aah, it crashes the server? thanks for the info btw :)
     
  8. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    ck - as noted above, DO NOT run the kill-vserver-rpms script.
     
  9. ck

    ck Member

    Joined:
    Aug 15, 2001
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Sure thing, thanks dude.
     
Loading...

Share This Page