New user's registration have been
closed due to high spamming and low trafic on this forum. Please
contact forum admins directly if you need an account. Thanks !
Got problems with your B2 or B3? Share and get helped!
giorgio
Posts: 21 Joined: 24 Sep 2009, 05:44
Post
by giorgio » 10 May 2010, 18:05
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
Xet
Posts: 53 Joined: 12 May 2008, 02:40
Post
by Xet » 11 May 2010, 01:32
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.
ryz
Posts: 183 Joined: 12 Feb 2009, 06:03
Post
by ryz » 11 May 2010, 01:34
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.
giorgio
Posts: 21 Joined: 24 Sep 2009, 05:44
Post
by giorgio » 13 May 2010, 18:02
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.