Re: [otrs] Generic Agent

I went through the instructions and for some reason it is still not working. If I do crontab -l after all of this I do not get anything, it does not say no cron jobs but it doesn't display anything?
Thank you,
Garabed Yegavian
323.465.6772 x3414
-----Original Message-----
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of otrs-request@otrs.org
Sent: Thursday, October 06, 2011 1:25 PM
To: otrs@otrs.org
Subject: otrs Digest, Vol 37, Issue 9
Send otrs mailing list submissions to
otrs@otrs.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.otrs.org/cgi-bin/listinfo/otrs
or, via email, send a message with subject or body 'help' to
otrs-request@otrs.org
You can reach the person managing the list at
otrs-owner@otrs.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of otrs digest..."
Today's Topics:
1. Re: Generic Agent (Rory)
2. Re: New line automatically inserted in event based
Notifications (Gerald Young)
3. Re: Stats about escalations (Michiel Beijen)
4. ACL Ticket Type-Service (Carlos Andr?s Gallego Arboleda)
5. Re: ACL Ticket Type-Service (Nils Leideck)
----------------------------------------------------------------------
Message: 1
Date: Thu, 6 Oct 2011 13:45:18 +0100
From: Rory
From this point on the crontab should be working correctly. If the Cron.sh script still didn't run for some reason let us know. The next thing to check is that your generic agent has run. Check the otrs log file when you expect your Generic Agent to have run to confirm that it worked.
Let us know how you get on. Kind regards, Rory Clerkin

Try running that again but this time run it as the super user and
specify that you want to see your otrs users entries;
sudo crontab -u fireline -l
If it still returns nothing then the crontab for your otrs user is empty.
To get what should be the content of your otrs users crontab firstly
go to the following directory (assuming that OTRS is installed at
/opt/otrs)
cd /opt/otrs/var/cron
Now run the following command to export the content of the crontab
into a file called crontab.txt located in /opt/otrs
ls -d * | grep -v '.dist'| grep -v '.rpm'| grep -v CVS | xargs cat >
/opt/otrs/cronfile.txt
Now to import that file into the otrs users crontab do the following;
sudo crontab -u fireline /opt/otrs/cronfile.txt
That should add the contents of the file your created to the crontab
(this is what the Cron.sh script does, we're just doing it manually
here)
Now check the contents of your crontab again
sudo crontab -u fireline -l
If that *still* doesn't work check if the files /etc/cron.allow and
/etc/cron.deny exist. If they do exist then the otrs user must be in
cron.allow and not in cron.deny.
If these files do not exist then you must be the super user (root) to
run the crontab command. sudo should work for this but if not switch
to root and try the above again, this time leaving out the word sudo
in the commands.
Let us know how you get on with that.
Kind regards,
Rory
On 12 October 2011 21:24, Garabed Yegavian
I went through the instructions and for some reason it is still not working. If I do crontab -l after all of this I do not get anything, it does not say no cron jobs but it doesn't display anything?
Thank you,
Garabed Yegavian
323.465.6772 x3414
participants (2)
-
Garabed Yegavian
-
Rory