Hallo Liste,

 

mal wieder ich.

 

Mein cronjob läuft nicht mehr, weiß nicht wieso.

Er soll die emails per POP3 abrufen alle 5 Minuten, das tut er nur nicht.

 

Hab mal ein „ps –ef | grep crond“ gemacht, dabei kam das raus

 

[otrs@SE1-FEDORA6 init.d]$ ps -ef | grep crond

root      4124     1  0 14:11 ?        00:00:00 crond

otrs      4358  4269  0 14:50 pts/0    00:00:00 grep crond

 

für OTRS läuft der crond nicht L

 

Der Cronjob-Eintrag sieht folgendermaßen aus:

 

 

# --

# cron/postmaster_pop3 - postmaster_pop3 cron of the OTRS

# Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/

# --

# $Id: postmaster_pop3.dist,v 1.8 2006/10/20 16:46:14 mh Exp $

# --

# This software comes with ABSOLUTELY NO WARRANTY. For details, see

# the enclosed file COPYING for license information (GPL). If you

# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.

# --

 

# fetch emails every 5 minutes

5 * * * *    otrs  /opt/otrs/bin/PostMasterPOP3.pl

 

Wenn ich die Datei /opt/otrs/bin/PostMasterPOP3.pl händisch ausführe funktioniert es einwandfrei

 

Hab OTRS auch schon mit root Rechten ausgestattet:

 

[otrs@SE1-FEDORA6 cron]$ less /etc/group

root:x:0:root,otrs

 

Aber wenn ich dann aber den crond stoppen und neu starten will, passiert folgendes…

 

[otrs@SE1-FEDORA6 cron]$ /etc/init.d/crond stop

rm: Entfernen von â/var/run/crond.pidâ nicht möglich: Keine BerechtigungN]

 

Wieso?!?

Will doch nur, dass meine POP3 emails automatisch alle 5 Minuten abgerufen werden. Gestern ging es so, Neustart vom Server gestern Abend gemacht, seit dem nicht mehr. Hab ich vergessen was neu zu starten?

 

 

 

 

Mit freundlichen Grüßen / Best Regards


Tim Böhmert