[otrs] Generic Agent Not Running

Nick Lapp Nick.Lapp at imesd.k12.or.us
Sat Dec 15 23:38:34 GMT 2012


That was it, I had an invalid line in one of those files.  Thank you very much for your assistance!

Nick

From: otrs-bounces at otrs.org [mailto:otrs-bounces at otrs.org] On Behalf Of Gerald Young
Sent: Saturday, December 15, 2012 10:48 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Generic Agent Not Running

I'm saying that there's a file in the cron directory that is not a cron file (has a bad entry) and that is causing the error.
try

cat /opt/otrs/var/cron/*


On Sat, Dec 15, 2012 at 1:37 PM, Nick Lapp <Nick.Lapp at imesd.k12.or.us<mailto:Nick.Lapp at imesd.k12.or.us>> wrote:
Below is a screenshot of all the files in otrs/var/cron/.  If I'm understanding you correctly, I should remove the .dist from survey_trigger_send_requests.dist and then re-run the Cron.sh?

[cid:image001.png at 01CDDADA.3E2B4040]

From: otrs-bounces at otrs.org<mailto:otrs-bounces at otrs.org> [mailto:otrs-bounces at otrs.org<mailto:otrs-bounces at otrs.org>] On Behalf Of Gerald Young
Sent: Saturday, December 15, 2012 10:24 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Generic Agent Not Running

essentially, Cron.sh cats all the otrs/var/cron/* files into the otrs crontab.
check to make sure the files are all .dist or without .dist, and no other cruft exists in that folder as the files' contents will be added verbatim to cron. (all files without .dist in linux, all files, period, (IIRC) in windows).

On Sat, Dec 15, 2012 at 1:17 PM, Nick Lapp <Nick.Lapp at imesd.k12.or.us<mailto:Nick.Lapp at imesd.k12.or.us>> wrote:
Hello all!

I just updated from 3.1.10 to 3.1.12 and for some reason my generic agent jobs stopped running.  I did a bit of research and I think I found the issue but am not sure how to resolve it.  Below are the commands that I have run and their results:

[root at IMESD-OTRS bin]# crontab -l -u root
no crontab for root
[root at IMESD-OTRS bin]# crontab -l -u otrs
no crontab for otrs
[root at IMESD-OTRS bin]# ./Cron.sh restart otrs
/opt/otrs/bin
Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>
Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
/opt/otrs/bin
Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>
Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
no crontab for otrs
failed
/opt/otrs/bin
Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>
Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
"/opt/otrs/var/tmp/otrs-cron-tmp.1748":109: bad minute
errors in crontab file, can't install.
Failed

I also verified the following lines in the generic agent cron files:
/opt/otrs/var/cron/generic_agent
                */20 * * * *    $HOME/bin/otrs.GenericAgent.pl<http://otrs.GenericAgent.pl> >> /dev/null
/opt/otrs/var/cron/generic_agent-database
                */10 * * * *    $HOME/bin/otrs.GenericAgent.pl<http://otrs.GenericAgent.pl> -c db >> /dev/null

Any help would be much appreciated!

Nick

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.otrs.org/pipermail/otrs/attachments/20121215/c7d7ef35/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7417 bytes
Desc: image001.png
URL: <http://lists.otrs.org/pipermail/otrs/attachments/20121215/c7d7ef35/attachment-0001.png>


More information about the otrs mailing list