Re: [otrs] Generic Agent Not Running
That was it, I had an invalid line in one of those files. Thank you very much for your assistance! Nick From: otrs-boun...@otrs.org [mailto:otrs-boun...@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 mailto:nick.l...@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@01CDDADA.3E2B4040] From: otrs-boun...@otrs.org<mailto:otrs-boun...@otrs.org> [mailto:otrs-boun...@otrs.org<mailto:otrs-boun...@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 mailto:nick.l...@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@IMESD-OTRS bin]# crontab -l -u root no crontab for root [root@IMESD-OTRS bin]# crontab -l -u otrs no crontab for otrs [root@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 <>- 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
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 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? > > ** ** > > > > ** ** > > *From:* otrs-boun...@otrs.org [mailto:otrs-boun...@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 > 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@IMESD-OTRS bin]# crontab -l -u root > > no crontab for root > > [root@IMESD-OTRS bin]# crontab -l -u otrs > > no crontab for otrs > > [root@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 >> > /dev/null > > /opt/otrs/var/cron/generic_agent-database > > */10 * * * *$HOME/bin/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 > <>- 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
Re: [otrs] Generic Agent Not Running
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@01CDDAB0.2B68A530] From: otrs-boun...@otrs.org [mailto:otrs-boun...@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 mailto:nick.l...@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@IMESD-OTRS bin]# crontab -l -u root no crontab for root [root@IMESD-OTRS bin]# crontab -l -u otrs no crontab for otrs [root@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
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 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@IMESD-OTRS bin]# crontab -l -u root > > no crontab for root > > [root@IMESD-OTRS bin]# crontab -l -u otrs > > no crontab for otrs > > [root@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 >> > /dev/null > > /opt/otrs/var/cron/generic_agent-database > > */10 * * * *$HOME/bin/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
[otrs] Generic Agent Not Running
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@IMESD-OTRS bin]# crontab -l -u root no crontab for root [root@IMESD-OTRS bin]# crontab -l -u otrs no crontab for otrs [root@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 >> /dev/null /opt/otrs/var/cron/generic_agent-database */10 * * * *$HOME/bin/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
RE: [otrs] Generic Agent not running
Yes, it is. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems -Original Message- From: Brian McFarlane [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 4:17 PM To: User questions and discussions about OTRS. Subject: RE: [otrs] Generic Agent not running Double check that this process: $HOME/bin/GenericAgent.pl -c db >> /dev/null Is the one that runs every 10 minutes. The -c db tells it to run the Agents stored in the database. -brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Doyle Sent: Wednesday, February 23, 2005 10:51 AM To: User questions and discussions about OTRS. Subject: RE: [otrs] Generic Agent not running They are there and both work. The system set them up itself. The GenericAgent runs at 00, 20, and 40 and the Generic Agent for the DB stuff every 10 minutes. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems -Original Message- From: Brian McFarlane [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 11:54 AM To: User questions and discussions about OTRS. Subject: RE: [otrs] Generic Agent not running Check your cron job for the generic agent. -Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Doyle Sent: Wednesday, February 23, 2005 8:46 AM To: User questions and discussions about OTRS. Subject: [otrs] Generic Agent not running I have three generic agent jobs set up. Two are set to run every ten minutes (basically, as often as the web interface will allow). However, it doesn't run every ten minutes. Seems to run every twenty or so. Any thoughts? Running from the "run now" link is fine. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems ___ 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 Support oder Consulting für Ihr OTRS System? > http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? =http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? > http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? =http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
RE: [otrs] Generic Agent not running
Double check that this process: $HOME/bin/GenericAgent.pl -c db >> /dev/null Is the one that runs every 10 minutes. The -c db tells it to run the Agents stored in the database. -brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Doyle Sent: Wednesday, February 23, 2005 10:51 AM To: User questions and discussions about OTRS. Subject: RE: [otrs] Generic Agent not running They are there and both work. The system set them up itself. The GenericAgent runs at 00, 20, and 40 and the Generic Agent for the DB stuff every 10 minutes. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems -Original Message- From: Brian McFarlane [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 11:54 AM To: User questions and discussions about OTRS. Subject: RE: [otrs] Generic Agent not running Check your cron job for the generic agent. -Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Doyle Sent: Wednesday, February 23, 2005 8:46 AM To: User questions and discussions about OTRS. Subject: [otrs] Generic Agent not running I have three generic agent jobs set up. Two are set to run every ten minutes (basically, as often as the web interface will allow). However, it doesn't run every ten minutes. Seems to run every twenty or so. Any thoughts? Running from the "run now" link is fine. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems ___ 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 Support oder Consulting für Ihr OTRS System? > http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? =http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? > http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
RE: [otrs] Generic Agent not running
They are there and both work. The system set them up itself. The GenericAgent runs at 00, 20, and 40 and the Generic Agent for the DB stuff every 10 minutes. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems -Original Message- From: Brian McFarlane [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 11:54 AM To: User questions and discussions about OTRS. Subject: RE: [otrs] Generic Agent not running Check your cron job for the generic agent. -Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Doyle Sent: Wednesday, February 23, 2005 8:46 AM To: User questions and discussions about OTRS. Subject: [otrs] Generic Agent not running I have three generic agent jobs set up. Two are set to run every ten minutes (basically, as often as the web interface will allow). However, it doesn't run every ten minutes. Seems to run every twenty or so. Any thoughts? Running from the "run now" link is fine. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems ___ 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 Support oder Consulting für Ihr OTRS System? > http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? =http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
RE: [otrs] Generic Agent not running
Check your cron job for the generic agent. -Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Doyle Sent: Wednesday, February 23, 2005 8:46 AM To: User questions and discussions about OTRS. Subject: [otrs] Generic Agent not running I have three generic agent jobs set up. Two are set to run every ten minutes (basically, as often as the web interface will allow). However, it doesn't run every ten minutes. Seems to run every twenty or so. Any thoughts? Running from the "run now" link is fine. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems ___ 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 Support oder Consulting für Ihr OTRS System? > http://www.otrs.de/ ___ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
[otrs] Generic Agent not running
I have three generic agent jobs set up. Two are set to run every ten minutes (basically, as often as the web interface will allow). However, it doesn't run every ten minutes. Seems to run every twenty or so. Any thoughts? Running from the "run now" link is fine. - Jack Doyle, Network+ Systems Operations Specialist Lewis-Gale Clinic Information Systems ___ 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 Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/