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.

2nd sucessful uninstall of cpanel:)

Discussion in 'General Discussion' started by bofla, Feb 21, 2004.

  1. bofla

    bofla Member

    Joined:
    Sep 1, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    2nd time uninstalled cpanel sucessfuly:) its not that hard, and not that integrated into the OS. system is stable, not even restart needed and continued its 190 days of uptime:)
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    A lot of people would be interested in how exactly you uninstalled cPanel. A how-to would be nice :)
     
  3. Francisco

    Francisco Well-Known Member

    Joined:
    Jun 3, 2003
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    6
    Exactly :D
     
  4. homeuser55

    homeuser55 Active Member

    Joined:
    Feb 16, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Wisconsin
    Im not sure about this, I never tried it. but try this

    rm -f /usr/local/cpanel/uninstall
     
  5. bofla

    bofla Member

    Joined:
    Sep 1, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    homeuser55, ha ha :)
    well, I didn't knew why people always said that uninstalling cpanel is so hard. firstly I shutdown it completly (not /etc/rc.d/init.d/cpanel stop), process by process. second deleted /usr/local/cpanel /var/cpanel /home/cpapachebuild /home/.cpan /tmp /home/cptmp. then removed all rpms that are unnecessary, and woala:)
    more detailed:
    first -
    shutdown chkservd (killall -9 chksrvd)
    shutdown cpaneld (killall -9 cpanel)
    shutdown webmaild (killall -9 webmaild)
    shutdown cpanellogd
    shutdown whm (killall -9 whostmgrd)
    ... python (killall -9 /usr/bin/python2)
    ... antirelayd (killall -9 antirelayd)
    ... spamd (killall -9 /usr/bin/spamd)
    ... pure-ftpd or proftpd depends on what are you using
    shutdown apache (killall -9 /usr/local/apache/bin/httpd)
    shutdown exim (killall -9 /usr/sbin/exim)
    shutdown mysql (killall -9 /usr/sbin/mysqld)
    shutdown crond
    shutdown portsentry (killall -9 /usr/sbin/portsentry)
    shutdown stunnel (killall -9 killall -9/usr/bin/stunnel-4.04local)
    shutdown perl (killall -9 /usr/bin/perl)
    thats with the processes, remove the files. then
    rpm -q -a >list.txt
    then I did only removed what I think cpanel installed, that not needed anymore. make a clean server, get list of files that are installed on fresh rh 7.3 install, and leave only them, remove others, but be sure to remove all sendmail, exim, bind, apache, and other rpms that cpanel used. woala, you have a "clean" server. for test, I tryed to install plesk, and guess, it worked. but plesk is sh***t so plesk made an uninstall script and make everything a bit easier. now I know some fanatics may say that this isn't the best solution, but if you are all paranoid about security of your server, that some files cpanel installed are not erased, find them and delete or whatever you wanna do, but this works fine. didn't had any problems with server, its now, 191 days of uptime, still working in good shape, like in time he was a virgin:D
     
  6. bofla

    bofla Member

    Joined:
    Sep 1, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    and one thing, if you need list of what rpms I removed, here it is:
    rpm -e cvs-1.11.1p1-9.7.legacy
    rpm -e --nodeps exim-4.24-30_cpanel_stmpcontrol_antivirus_rewrite_mailman2
    rpm -e sendmail-devel-8.11.6-27.73
    rpm -e MySQL-embedded-4.0.15-0
    rpm -e php-devel-4.1.2-7.3.6
    rpm -e php-ldap-4.1.2-7.3.6
    rpm -e php-imap-4.1.2-7.3.6
    rpm -e php-4.1.2-7.3.6
    rpm -e bind-utils-9.2.1-1.7x.2
    rpm -e bind-devel-9.2.1-1.7x.2
    rpm -e bind-9.2.1-1.7x.2
    rpm -e stunnel-3.26-1.7.3
    rpm -e sendmail-cf-8.11.6-27.73
    rpm -e MySQL-server-4.0.15-0
    rpm -e MySQL-client-4.0.15-0
    rpm -e MySQL-bench-4.0.15-0
    rpm -e MySQL-devel-4.0.15-0
    rpm -e MySQL-client-4.0.15-0
    rpm -e MySQL-shared-compat-4.0.15-0
    rpm -e MySQL-shared-4.0.15-0
    rpm -e chkservd-6.1-0
    rpm -e ypserv-2.8-0.73E
    rpm -e pure-ftpd-1.0.12-26cpanel
    rpm -e anonftp-4.0-9
    rpm -e pure-ftpd-1.0.12-26cpanel
    rpm -e asp2php-0.76.2-1
    rpm -e bandmin-1.6-7
    rpm -e perl-5.6.1-36.1.73
    rpm -e frontpage-5.1-0
    rpm -e curl-devel-7.9.5-2
    rpm -e mrtg-2.9.17-3
    rpm -e curl-7.9.5-2
    rpm -e --nodeps ypbind-1.10-7
    rpm -e yp-tools-2.6-4

    thats it. I think there is more, but this did the job.
     
  7. jesse

    jesse Member

    Joined:
    Jul 13, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I just did this tonight, what was already said works well. We switched from CPanel to Pleks no problems, without a reboot I may add. One thing to note, is you will want to hunt down all the symlinks created by CPanel(such as /etc/httpd to /usr/local/apache) as when you go to install another control panel you may find those symlinks not being overwritten. Also, do not forget to delete CPanel created cronjobs, and if you are installing a new control panel, remove the user accounts(while you are at it, you may as well kill off the system users created by cpanel as well) from the system(or remove the users= accounts via WHM before you uninstall it)
     
  8. codeunix

    codeunix Member

    Joined:
    Apr 13, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    hello bofla could you get me on your msn addy on code@nightshells.net please so you could help me out to uninstall cPAnel on my box :)

    thankyou :D
     
Loading...

Share This Page