Page 1 of 1

How do you turn off Horde?

Posted: 10 May 2010, 18:05
by giorgio
My log is full of stuff like the following (this probably makes up 70% or more of the syslog)

Code: Select all

May 11 05:45:55 bubba /USR/SBIN/CRON[31196]: (root) CMD (test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php)
May 11 05:45:55 bubba /USR/SBIN/CRON[31199]: (root) CMD (test -x /usr/lib/web-admin/notify-dispatcher.pl && /usr/lib/web-admin/notify-dispatcher.pl)
May 11 05:47:18 bubba /USR/SBIN/CRON[31206]: (root) CMD (test -x /usr/lib/web-admin/notify-dispatcher.pl && /usr/lib/web-admin/notify-dispatcher.pl)
May 11 05:48:29 bubba /USR/SBIN/CRON[31208]: (root) CMD (test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php)
May 11 05:57:49 bubba /USR/SBIN/CRON[31217]: (root) CMD (test -x /usr/lib/web-admin/notify-dispatcher.pl && /usr/lib/web-admin/notify-dispatcher.pl)
May 11 06:01:40 bubba /USR/SBIN/CRON[31222]: (root) CMD (test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php)
May 11 06:03:06 bubba /USR/SBIN/CRON[31224]: (root) CMD (test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php)
May 11 06:03:08 bubba /USR/SBIN/CRON[31226]: (root) CMD (test -x /usr/lib/web-admin/notify-dispatcher.pl && /usr/lib/web-admin/notify-dispatcher.pl)
May 11 06:05:28 bubba ntpd[32224]: kernel time sync enabled 4001

Firstly what are all these messages about?
secondlyhHow can I turn "Horde3" off?

I posted a similar question some time ago but nobody seems to know!

Cheers
George

Re: How do you turn off Horde?

Posted: 11 May 2010, 01:32
by Xet
You can simple remove the Horde related stuff from cron. You'll find it in "/etc/cron.d/bubba-horde".
Note that this will prevent certain things from working as it should, but if you don't use Horde, it should be fairly safe.

Re: How do you turn off Horde?

Posted: 11 May 2010, 01:34
by ryz
According to the logs the script is run from cron and a quick look in /etc/crond.d/ shows a file called bubba-horde with this content

Code: Select all

# vim: ft=crontab sw=2 sts=2
# Regular cron jobs for the bubba-horde package
#

# Horde Alarms
*/5 * * * *     root    test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php

# Temp Cleanup
0 23 * * *      root    test -x /usr/share/horde3/scripts/temp-cleanup.cron && /usr/share/horde3/scripts/temp-cleanup.cron

# Kronolith reminders
0 2 * * *       root    test -x /usr/bin/php && /usr/bin/php -q /usr/share/horde3/kronolith/scripts/reminders.php > /dev/null 2>&1
/etc/cron.d/bubba-horde (END) 
Just comment out the lines that you do not want to execute. A comment starts with the # token. So to make none of the script to run you should change the content of the file to

Code: Select all

# vim: ft=crontab sw=2 sts=2
# Regular cron jobs for the bubba-horde package
#

# Horde Alarms
#*/5 * * * *     root    test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php

# Temp Cleanup
#0 23 * * *      root    test -x /usr/share/horde3/scripts/temp-cleanup.cron && /usr/share/horde3/scripts/temp-cleanup.cron

# Kronolith reminders
#0 2 * * *       root    test -x /usr/bin/php && /usr/bin/php -q /usr/share/horde3/kronolith/scripts/reminders.php > /dev/null 2>&1
If you want to understand the syntax of the file you can run the following command in a shell.

Code: Select all

man -s 5 crontab

Re: How do you turn off Horde?

Posted: 13 May 2010, 18:02
by giorgio
Thanks for the replies.

I figured out it must be cron jobs and commented them out..

However the admin interface still shows a little envelope the is fully enables and allows you to click on it and open a mail window. Is it possible to remove/hide this?

Cheers
G.