ispCP - Board - Support - VHCS fork

Full Version: Complete uninstallation of RC4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I don't know if this is the correct area for a question such as this, but if it isn't, please feel free to move my topic to a more appropriate area.

So, in a course of time I have come to a conclusion that I want to completely uninstall ispCP RC4 from my system. For the first time I ran
Code:
perl ./ispcp-uninstall
and got this error message:

Code:
Welcome in ISPCP OMEGA '1.0.0 RC4 OMEGA' Uninstall Program.

    This program will uninstall ispCP OMEGA system from your server.

    /!\ WARNING: All domain users and their accounts will be removed.  /!\

    Please press 'Enter' to continue.

        Delete /var/www/virtual? [yes]:
/etc/courier/userdb: MAY NOT HAVE GROUP OR WORLD PERMISSIONS!!
ERROR: External command '/usr/sbin/makeuserdb' returned '255' status !

Then I tried it again and got this:

Code:
ERROR: Unable to connect SQL server !

What went wrong and how can I possibly fix it? I'd really like to get rid of ispCP so I can go on and try other "free cPanel alternatives".

Thanks.
Hi dotsi

Seems we have to improve the uninstallation Routine...

Now you have two possibilities:
- complete fresh install of the OS and a format of the system with this...
- remove the remaining things of ispCP manually

Since AFAIK ispcp-uninstall also deletes the user mails and websites - you might be faster with a fresh linux installation and then have a clean system.
If you want to try several systems I recommend to make a backup of the clean system...

If you want to go the manula way, come back here and I'll try to list all files you need to remove...

/J
Hi,

Thanks for your quick answer. Unfortunately reinstalling the OS completely is not possible at this point. I'd prefer removing the files manually.

Thanks again.
ok.

maybe it's also an option to remove the whole packages: eg. remove any apache* package and then remove the /etc/apache2 - wehn installing again, you'll get the files you need. You can do this with apache2 (also libapache2-mod-fastcgi or something like this) (/etc/apache2, /var/www/*), courier (/etc/courier), postfix (etc/postfix " /var/mail/*), mysql (/etc/mysql + /var/lib/mysql), bind9 (/etc/named* + /var/cache/bind*), proftpd (/etc/proftpd).
Users + Groups in /etc/passwd, shadow, groups, gshadow: user vmail, vu2*, groups: vu2*)
then also remove /etc/cron.d/ispcp, /etc/logrotate.d/ispcp

If you really want to pick out the ispcp files:

So, don't start with /etc/ispcp - there are maybe some backups from *before* in it :-)

You can remove:
apache:
/etc/apache2/mods-available/fastcgi_ispcp.conf
/etc/apache2/mods-available/fastcgi_ispcp.load
/etc/apache2/mods-enabled/fastcgi_ispcp.conf
/etc/apache2/mods-enabled/fastcgi_ispcp.load
/etc/apache2/sites-available/00_master.conf
/etc/apache2/sites-available/01_awstats.conf
/etc/apache2/sites-available/ispcp.conf
/etc/apache2/sites-enabled/00_master.conf
/etc/apache2/sites-enabled/01_awstats.conf
/etc/apache2/sites-enabled/ispcp.conf
(in *-enabled are symlinks to *-avaliable)

courier:
/etc/courier/userdb* - the original files are in /etc/ispcp/courier/backup (rename from xx.system to xx)

postfix:
remove /etc/postfix/ispcp
replace /etc/postfix/main.cf and master.cf with the backup from /etc/ispcp/postfix/backup

proftpd:
replace /etc/proftpd/* with backup from ispcp... you now know where to find...

bind/named: same thing

also remove /etc/cron.d/ispcp, /etc/logrotate.d/ispcp

you can remove the DB tables ispcp and the one from the customers

you can remove /var/www/ispcp, fcgi, scoreboards, virtual (customer websites)
" /var/mail/virtual (customer mail)
" /var/cache/bind/ domain zonefiles of customers

I hope that's it... if anything is ok, you can remove /etc/ispcp roo...

/J
Removing (with --purge, since I'm using Debian) the packages and then installing them again did the trick, thanks!
HI,
Could you tell me how can I unistall this application?
I tried to find ./ispcp-uninstall but I couldn't .
How Can I start unistall proccess?
bsicly I've setup server as OpenLdap + samba.
I wanted to try this ISP-Panel. After successful installation (no errors)
I can't access to ISP-Panel, also i lost access to my local webpages.
I'd like to back to "normal" my server Smile
PLease give me any advise

Peter
Reference URL's