Home Artica & System Repair & Maintain How to uninstall artica ?

How to uninstall artica ?

Print PDF

This operation not make sense,since it is written everywhere (in setup-ubuntu, setup-centos...) that artica change your system according it's needs in order to make it  trough a web console and you must insall it on a free system

anyway to uninstall artica,  you need to follow these steps.

Remove first packages modified by artica.

To handle control of starting/stopping daemons, some Open Source softwares  starting scripts has been modified by artica.

You need to remove them and to reinstall them to take the control.

do 

cd /etc/init.d
grep "artica-install" *
postfix:    /usr/share/artica-postfix/bin/artica-install -watchdog postfix-single $2 $3
postfix:    /usr/share/artica-postfix/bin/artica-install -shutdown postfix-single $2 $3
postfix:     /usr/share/artica-postfix/bin/artica-install -shutdown postfix-single $2 $3
postfix:     /usr/share/artica-postfix/bin/artica-install -watchdog postfix-single $2 $3
postfix:     /usr/share/artica-postfix/bin/artica-install --postfix-reload $2 $3
saslauthd:    /usr/share/artica-postfix/bin/artica-install start saslauthd $3
saslauthd:    /usr/share/artica-postfix/bin/artica-install stop saslauthd $3
saslauthd:     /usr/share/artica-postfix/bin/artica-install stop saslauthd $3
saslauthd:     /usr/share/artica-postfix/bin/artica-install start saslauthd $3
spamassassin:    /usr/share/artica-postfix/bin/artica-install start spamd $3
spamassassin:    /usr/share/artica-postfix/bin/artica-install stop spamd $3
spamassassin:     /usr/share/artica-postfix/bin/artica-install stop spamd $3
spamassassin:     /usr/share/artica-postfix/bin/artica-install start spamd $3
spamass-milter:    /usr/share/artica-postfix/bin/artica-install start spamd $3
spamass-milter:    /usr/share/artica-postfix/bin/artica-install stop spamd $3
spamass-milter:     /usr/share/artica-postfix/bin/artica-install stop spamd $3
spamass-milter:     /usr/share/artica-postfix/bin/artica-install start spamd $3

In this example, you need to remove postfix,saslauthd,spamassassin,spamass-milter.

If you don't want to remove them, just change the init script by the original one.

If you don't want to use openLdap installed by artica remove it.

After this operation you need to remove cron startup scripts.

cd /etc/cron.d
rm -rf artica-cron*

stop artica 

/etc/init.d/artica-postfix stop 

Remove Artica directories

rm -rf /usr/share/artica-postfix
rm -rf /opt/artica
rm -rf /var/spool/artica
rm -rf /usr/share/artica-groupware
rm -rf /usr/local/apache-groupware

Finally remove artica-boa and artica-postfix init script.