
Hello! After activating the cronjobs i receive the following mail every hour. /bin/sh: /etc/rc.d/otrs: No such file or directory The Subject contains the cronjob: /etc/rc.d/otrs cleanup >> /dev/null I commented the reffering line in the crontab out, the mails stopped and the OTRS kept on working... My Question: What is this line for? Is it relevant in any way? :-) Greetings Hannes Lau

Hi Hannes, On Sat, Oct 05, 2002 at 06:57:42PM +0200, Hannes Lau wrote:
After activating the cronjobs i receive the following mail every hour.
/bin/sh: /etc/rc.d/otrs: No such file or directory
The Subject contains the cronjob: /etc/rc.d/otrs cleanup >> /dev/null
I commented the reffering line in the crontab out, the mails stopped and the OTRS kept on working... My Question: What is this line for? Is it relevant in any way? :-)
If an incoming email can't process (e. g. database down, ...) through PostMaster.pl, this email will be spooled in $OTRS_HOME/var/spool/. This cronjob take each spooled email and pipe it through PostMaster.pl. If the exit status of PostMaster.pl was successful (exit 0) the spooled email will be deleted. What OS do you use? The new OTRS release includes start/stop/cleanup scripts for SuSE and Red Hat Linux.
Hannes Lau
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl

After activating the cronjobs i receive the following mail every hour.
/bin/sh: /etc/rc.d/otrs: No such file or directory
The Subject contains the cronjob: /etc/rc.d/otrs cleanup >> /dev/null
I commented the reffering line in the crontab out, the mails stopped and the OTRS kept on working... My Question: What is this line for? Is it relevant in any way? :-)
If an incoming email can't process (e. g. database down, ...) through PostMaster.pl, this email will be spooled in $OTRS_HOME/var/spool/. This cronjob take each spooled email and pipe it through PostMaster.pl. If the exit status of PostMaster.pl was successful (exit 0) the spooled email will be deleted.
Mhmm... but what is /etc/rc.d/otrs cleanup ? I don't rather have file nor folder named otrs in this directory. Same for cleanup.... !?
What OS do you use? The new OTRS release includes start/stop/cleanup scripts for SuSE and Red Hat Linux.
I'm working on a Debian machine. :-)

Hi Hannes, On Sun, Oct 06, 2002 at 04:18:44AM +0200, Hannes Lau wrote:
[...] If an incoming email can't process (e. g. database down, ...) through PostMaster.pl, this email will be spooled in $OTRS_HOME/var/spool/. This cronjob take each spooled email and pipe it through PostMaster.pl. If the exit status of PostMaster.pl was successful (exit 0) the spooled email will be deleted.
Mhmm... but what is /etc/rc.d/otrs cleanup ? I don't rather have file nor folder named otrs in this directory. Same for cleanup.... !?
Oh. E. g. $OTRS_HOME/scripts/(suse|redhat)-rcotrs is /etc/rc.d/otrs.
What OS do you use? The new OTRS release includes start/stop/cleanup scripts for SuSE and Red Hat Linux.
I'm working on a Debian machine. :-)
Fine! Maybe you can create a debian-rcotrs {start|stop|status|restart|cleanup}? :) I don't have a Debian machine. Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.

Hey Martin!
[...] If an incoming email can't process (e. g. database down, ...) through PostMaster.pl, this email will be spooled in $OTRS_HOME/var/spool/. This cronjob take each spooled email and pipe it through PostMaster.pl. If the exit status of PostMaster.pl was successful (exit 0) the spooled email will be deleted.
Mhmm... but what is /etc/rc.d/otrs cleanup ? I don't rather have file nor folder named otrs in this directory. Same for cleanup.... !?
Oh. E. g. $OTRS_HOME/scripts/(suse|redhat)-rcotrs is /etc/rc.d/otrs.
By Alias? Or by copying with the install-script or rpm-files? So i would have to create that file myself, because i didn't use the installer...
What OS do you use? The new OTRS release includes start/stop/cleanup scripts for SuSE and Red Hat Linux.
I'm working on a Debian machine. :-)
Fine! Maybe you can create a debian-rcotrs {start|stop|status|restart|cleanup}? :)
Urgh! Oh, i think thats too much for me at the moment. I'm working the first time with debian and i don't really understand the suse-otrsrc, that i accessed through the CVS. Perhaps i'll try it in some month... What does this file? Starting and Stopping the cronjobs? And Cleanup!? Do you have an ICQ or AIM Account? If you don't want to publish your nic, you could use PrivatMail... Greetings Hannes Lau

Hi Hannes, On Sun, Oct 06, 2002 at 06:02:50PM +0200, Hannes Lau wrote:
Oh. E. g. $OTRS_HOME/scripts/(suse|redhat)-rcotrs is /etc/rc.d/otrs.
By Alias? Or by copying with the install-script or rpm-files? So i would have to create that file myself, because i didn't use the installer...
The easiest is to change the cronjob to "$HOME/scripts/suse-rcotrs cleanup". This should work on debian.
Fine! Maybe you can create a debian-rcotrs {start|stop|status|restart|cleanup}? :)
Urgh! Oh, i think thats too much for me at the moment. I'm working the first time with debian and i don't really understand the suse-otrsrc, that i accessed through the CVS. Perhaps i'll try it in some month... What does this file? Starting and Stopping the cronjobs? And Cleanup!?
Ja, starting and stopping the cronjobs, cleanup, starting and stopping of PostMaster.pl and check of required services (httpd and database). That's all. -=> OTRS is also working without this script. But the handling is easier.
Greetings Hannes Lau
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- nohl: 6:40pm up 22 days, 11:17, 5 users, load average: 0.11, 0.09, 0.02
participants (2)
-
Hannes Lau
-
Martin Edenhofer