Current time: 11-29-2024, 04:06 AM Hello There, Guest! (LoginRegister)


Post Reply 
Complete uninstallation of RC4
Author Message
dotsi Offline


Posts: 3
Joined: Apr 2008
Reputation: 0
Post: #1
Complete uninstallation of RC4
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.
04-14-2008 04:52 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Complete uninstallation of RC4
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
04-14-2008 05:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dotsi Offline


Posts: 3
Joined: Apr 2008
Reputation: 0
Post: #3
RE: Complete uninstallation of RC4
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.
04-14-2008 06:14 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Complete uninstallation of RC4
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
04-14-2008 07:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
dotsi Offline


Posts: 3
Joined: Apr 2008
Reputation: 0
Post: #5
RE: Complete uninstallation of RC4
Removing (with --purge, since I'm using Debian) the packages and then installing them again did the trick, thanks!
04-15-2008 06:00 PM
Find all posts by this user Quote this message in a reply
pardi Offline


Posts: 1
Joined: Apr 2008
Reputation: 0
Post: #6
RE: Complete uninstallation of RC4
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
04-21-2008 11:27 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)