Keine automatische Abholung von E-Mails
Keine automatische Abholung von E-Mails
Hallo,
seit dem Update auf 3.0.3 werden E-Mails per POP3 nicht mehr automatisch abgeholt (openSUSE 11.1).
Ich habe schon alles mögliche probiert und nun völlig den Überblick verloren. Deshalb die Installation (welches nur eine Testinstallation war) entfernt und neu installiert (rpm -Uvh http://ftp.otrs.org/pub/otrs/RPMS/suse/ ... noarch.rpm), Datenbank neu angelegt, und nun ganz systematisch:
Abholen per Klick "Emails abholen" funktioniert. Es liegt offenbar an Rechten/Cronjob/...?
Was wäre der nächste Schritt?
Viele Grüße,
Oliver
seit dem Update auf 3.0.3 werden E-Mails per POP3 nicht mehr automatisch abgeholt (openSUSE 11.1).
Ich habe schon alles mögliche probiert und nun völlig den Überblick verloren. Deshalb die Installation (welches nur eine Testinstallation war) entfernt und neu installiert (rpm -Uvh http://ftp.otrs.org/pub/otrs/RPMS/suse/ ... noarch.rpm), Datenbank neu angelegt, und nun ganz systematisch:
Abholen per Klick "Emails abholen" funktioniert. Es liegt offenbar an Rechten/Cronjob/...?
Was wäre der nächste Schritt?
Viele Grüße,
Oliver
Re: Keine automatische Abholung von E-Mails
/etc/init.d/otrs restart
und prüfen ob OTRS auch bootfest ist.
und prüfen ob OTRS auch bootfest ist.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Keine automatische Abholung von E-Mails
Falls Du mit bootfest meinst, dass das Problem nach einem Serverneustart weiter besteht, OTRS aber ansonsten funktioniert: Ja!
Code: Select all
h2742260:~ # /etc/init.d/otrs restart
Shutting down OTRS
Disable /opt/otrs/bin/otrs.PostMaster.pl ... done.
Shutting down cronjobs ... done.
done
Starting OTRS
Checking Apache ... done.
Checking MySQL ... done.
Checking database connect... (It looks Ok!).
Enable /opt/otrs/bin/otrs.PostMaster.pl ... done.
Checking otrs spool dir... done.
Creating cronjobs (source /opt/otrs/var/cron/*) ... done.
-->> http://h2742260.stratoserver.net/otrs/index.pl <<--
done
h2742260:~ #
/etc/init.d/otrs restart
Re: Keine automatische Abholung von E-Mails
Hi Olli,
bei mir bestand das Problem darin, dass die Skripte plötzlich otrs.PostMaster.pl usw. heissen und die Einträge im cron eben <HOME$>/bin/PostMaster.pl aufgerufen wird.
Mit crontab -l -u otrs kannst Du sehen, was bei cron aufgerufen wird.
Die Skripte kannst Du unter /opt/otrs/var/cron finden und entsprechend anpassen.
Gruss,
Uli
bei mir bestand das Problem darin, dass die Skripte plötzlich otrs.PostMaster.pl usw. heissen und die Einträge im cron eben <HOME$>/bin/PostMaster.pl aufgerufen wird.
Mit crontab -l -u otrs kannst Du sehen, was bei cron aufgerufen wird.
Die Skripte kannst Du unter /opt/otrs/var/cron finden und entsprechend anpassen.
Gruss,
Uli
Gruss,
Uli
Uli
Re: Keine automatische Abholung von E-Mails
wenn Du die Cronjobs via Cron.sh oder über das init script neu baust hast Du das Problem nicht.
Bootfest heisst, das der OTRS Service im entsprechenden Runlevel eingetragen sein sollte
Bootfest heisst, das der OTRS Service im entsprechenden Runlevel eingetragen sein sollte
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Keine automatische Abholung von E-Mails
Die Scripte heißen tatsächlich otrs.PostMaster.pl usw.ulis wrote:bei mir bestand das Problem darin, dass die Skripte plötzlich otrs.PostMaster.pl usw. heissen und die Einträge im cron eben <HOME$>/bin/PostMaster.pl aufgerufen wird.
Mit crontab -l -u otrs kannst Du sehen, was bei cron aufgerufen wird.
Die Skripte kannst Du unter /opt/otrs/var/cron finden und entsprechend anpassen.
Di Skripte sind aber nach meinem Eindruck richtig?
Code: Select all
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/opt/otrs/var/tmp/cron installed on Mon Dec 13 23:19:40 2010)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
# --
# cron/aaa_base - base crontab package
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: aaa_base.dist,v 1.7 2009/02/16 20:35:25 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# Who gets the cron emails?
MAILTO="root@localhost"
# --
# cron/cache - delete expired cache
# Copyright (C) 2001-2010 xxx, http://otrs.org/
# --
# $Id: cache.dist,v 1.2 2010/11/22 12:15:35 mg Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# delete expired cache weekly (Sunday mornings)
20 0 * * 0 $HOME/bin/otrs.DeleteCache.pl --expired >> /dev/null
30 0 * * 0 $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null
# --
# cron/fetchmail - fetchmail cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: fetchmail.dist,v 1.10 2009/02/16 20:53:10 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# fetch every 5 minutes emails via fetchmail
#*/5 * * * * [ -x /usr/bin/fetchmail ] && /usr/bin/fetchmail -a >> /dev/null
#*/5 * * * * /usr/bin/fetchmail -a --ssl >> /dev/null
# --
# cron/generic_agent - otrs.GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent.dist,v 1.13 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# start generic agent every 20 minutes
*/20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
# example to execute otrs.GenericAgent.pl on 23:00 with
# Kernel::Config::GenericAgentMove job file
#0 23 * * * $HOME/bin/otrs.GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
# --
# cron/generic_agent - otrs.GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent-database.dist,v 1.9 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# start generic agent every 10 minutes
*/10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: pending_jobs.dist,v 1.12 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# check every 120 min the pending jobs
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
# --
# cron/postmaster - postmaster cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: postmaster.dist,v 1.9 2009/02/16 20:55:11 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# check daily the spool directory of OTRS
#10 0 * * * * [ -e /etc/init.d/otrs ] && /etc/init.d/otrs cleanup >> /dev/null; [ -e /etc/rc.d/init.d/otrs ] && /etc/rc.d/init.d/otrs cleanup >> /dev/null
10 0 * * * $HOME/bin/otrs.cleanup >> /dev/null
# --
# cron/postmaster_mailbox - postmaster_mailbox cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: postmaster_mailbox.dist,v 1.3 2009/11/09 15:24:13 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# fetch emails every 10 minutes
*/10 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
# --
# cron/rebuild_ticket_index - rebuild ticket index for OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: rebuild_ticket_index.dist,v 1.10 2009/11/09 15:24:13 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# just every day
01 01 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null
# --
# cron/session - delete old session ids of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: session.dist,v 1.12 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# delete every 120 minutes old/idle session ids
55 */2 * * * $HOME/bin/otrs.DeleteSessionIDs.pl --expired >> /dev/null
# --
# cron/unlock - unlock old locked ticket of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: unlock.dist,v 1.11 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# unlock every hour old locked tickets
35 * * * * $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
Re: Keine automatische Abholung von E-Mails
was ist das Home Deines OTRS Users und wo ist OTRS installiert?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Keine automatische Abholung von E-Mails
Wie überprüfe ich, ob der Service im richtigen Runlevel steht?jojo wrote:wenn Du die Cronjobs via Cron.sh oder über das init script neu baust hast Du das Problem nicht.
Bootfest heisst, das der OTRS Service im entsprechenden Runlevel eingetragen sein sollte
Dies hat nicht geholfen:
Code: Select all
h2742260:~ # cd /opt/otrs/bin/
h2742260:/opt/otrs/bin # su otrs
h2742260:/opt/otrs/bin # ./Cron.sh start
Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER' as root!
h2742260:/opt/otrs/bin # ./Cron.sh start otrs
/opt/otrs/bin
Cron.sh - start/stop OTRS cronjobs - <$Revision: 1.19 $>
Copyright (C) 2001-2009 xxx, http://otrs.org/
(using /opt/otrs) done
h2742260:/opt/otrs/bin #
Re: Keine automatische Abholung von E-Mails
was sagt crontab -l -u otrs?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Keine automatische Abholung von E-Mails
Dieses:jojo wrote:was sagt crontab -l -u otrs?
Code: Select all
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/opt/otrs/var/tmp/otrs-cron-tmp.4024 installed on Tue Dec 14 22:32:30 2010)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
# --
# cron/aaa_base - base crontab package
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: aaa_base.dist,v 1.7 2009/02/16 20:35:25 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# Who gets the cron emails?
MAILTO="root@localhost"
# --
# cron/cache - delete expired cache
# Copyright (C) 2001-2010 xxx, http://otrs.org/
# --
# $Id: cache.dist,v 1.2 2010/11/22 12:15:35 mg Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# delete expired cache weekly (Sunday mornings)
20 0 * * 0 $HOME/bin/otrs.DeleteCache.pl --expired >> /dev/null
30 0 * * 0 $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null
# --
# cron/fetchmail - fetchmail cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: fetchmail.dist,v 1.10 2009/02/16 20:53:10 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# fetch every 5 minutes emails via fetchmail
#*/5 * * * * [ -x /usr/bin/fetchmail ] && /usr/bin/fetchmail -a >> /dev/null
#*/5 * * * * /usr/bin/fetchmail -a --ssl >> /dev/null
# --
# cron/generic_agent - otrs.GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent.dist,v 1.13 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# start generic agent every 20 minutes
*/20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
# example to execute otrs.GenericAgent.pl on 23:00 with
# Kernel::Config::GenericAgentMove job file
#0 23 * * * $HOME/bin/otrs.GenericAgent.pl -c "Kernel::Config::GenericAgentMove" >> /dev/null
# --
# cron/generic_agent - otrs.GenericAgent.pl cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: generic_agent-database.dist,v 1.9 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# start generic agent every 10 minutes
*/10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: pending_jobs.dist,v 1.12 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# check every 120 min the pending jobs
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
# --
# cron/postmaster - postmaster cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: postmaster.dist,v 1.9 2009/02/16 20:55:11 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# check daily the spool directory of OTRS
#10 0 * * * * [ -e /etc/init.d/otrs ] && /etc/init.d/otrs cleanup >> /dev/null; [ -e /etc/rc.d/init.d/otrs ] && /etc/rc.d/init.d/otrs cleanup >> /dev/null
10 0 * * * $HOME/bin/otrs.cleanup >> /dev/null
# --
# cron/postmaster_mailbox - postmaster_mailbox cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: postmaster_mailbox.dist,v 1.3 2009/11/09 15:24:13 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# fetch emails every 10 minutes
*/1 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null
# --
# cron/rebuild_ticket_index - rebuild ticket index for OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: rebuild_ticket_index.dist,v 1.10 2009/11/09 15:24:13 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# just every day
01 01 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null
# --
# cron/session - delete old session ids of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: session.dist,v 1.12 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# delete every 120 minutes old/idle session ids
55 */2 * * * $HOME/bin/otrs.DeleteSessionIDs.pl --expired >> /dev/null
# --
# cron/unlock - unlock old locked ticket of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# $Id: unlock.dist,v 1.11 2009/11/04 12:27:57 mn Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
# unlock every hour old locked tickets
35 * * * * $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
Re: Keine automatische Abholung von E-Mails
"pwd otrs" liefert: /rootjojo wrote:was ist das Home Deines OTRS Users und wo ist OTRS installiert?
OTRS sitzt hier: "/opt/otrs"
Re: Keine automatische Abholung von E-Mails
pwd otrs zeigt Dir bestimmt nicht das home vom otrs user...
Probiers mal mit id otrs
Probiers mal mit id otrs
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Keine automatische Abholung von E-Mails
Code: Select all
h2742260:~ # id otrs
uid=10016(otrs) gid=8(www) groups=8(www),16(dialout),33(video)
Re: Keine automatische Abholung von E-Mails
Inzwischen habe ich nochmal versucht, neu zu installieren, aber es hilft nichts.
Re: Keine automatische Abholung von E-Mails
bitte prüf nochmal das Home des OTRS users
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Keine automatische Abholung von E-Mails
Ganz blöde Frage: wie?jojo wrote:bitte prüf nochmal das Home des OTRS users
In yast users ist für den benutzer otrs "/opt/otrs" eingetragen, aber wie kann ich das über die Shell verifizieren?
"su otrs" scheint nicht zu funktionieren, wie ich als Linux-Laie es verstehen würde, siehe meine Beobachtung in meinem früheren Posting.
Deshalb auch so etwas:
Code: Select all
h2742260:~ # su otrs
h2742260:~ # pwd otrs
/root
h2742260:~ #
Re: Keine automatische Abholung von E-Mails
grep otrs /etc/passwd würde z.B. helfen
Die Cron Logfiles sollten ggf. auch aufschluss geben
Die Cron Logfiles sollten ggf. auch aufschluss geben
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Keine automatische Abholung von E-Mails
jojo wrote:grep otrs /etc/passwd würde z.B. helfen
Die Cron Logfiles sollten ggf. auch aufschluss geben
Code: Select all
h2742260:~ # grep otrs /etc/passwd
otrs:x:10016:8:OTRS System User:/opt/otrs:/bin/false
In der /var/log/messages gibt es minütlich:
Code: Select all
Dec 13 10:18:01 h2742260 /usr/sbin/cron[26577]: (otrs) CMD ($HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null)
Re: Keine automatische Abholung von E-Mails
Hm, gibt es für solche kleinen Problemchen (ich spekuliere doch auf einen fehlerhaften User, siehe die Beobachtung zu "su otrs") eine Möglichkeit, irgendwo kostenpflichtigen Support zu beziehen?
Unter otrs.com finde ich nur große Supportpakete, nichts, was sich für solche Kinkerlitzchen eignen würde. Ich denke, es reicht, wenn jemand mit ordentichen Linux-Kenntnissen und einem voll funktionsfähigen Referenzsystem die Sache ansehen würde...
Unter otrs.com finde ich nur große Supportpakete, nichts, was sich für solche Kinkerlitzchen eignen würde. Ich denke, es reicht, wenn jemand mit ordentichen Linux-Kenntnissen und einem voll funktionsfähigen Referenzsystem die Sache ansehen würde...
-
- Znuny expert
- Posts: 152
- Joined: 03 Jun 2013, 14:40
- Znuny Version: 6.0.33
- Real Name: Robert
- Company: Gebr. Steimel GmbH
Re: Keine automatische Abholung von E-Mails
Laut Dokumentation gib es den Serice "rcotrs". Leider gibts den nicht bei mir...Habe ich was flasch gemacht?
-
- Znuny ninja
- Posts: 1312
- Joined: 25 May 2012, 08:51
- Znuny Version: OTRS 4
- Real Name: Klaus Nehrer
Re: Keine automatische Abholung von E-Mails
Grundkurs Linux?
wechselst Du nur die ID, was Du mit
prüfen kannst. Verwende lieber
damit bekommst Du auch die Pfade vom Benutzer.
Das kann aber nur funktionieren, wenn der Benutzer eine gültige Shell hat, z.B. /bin/bash
Die Ausgabe der cron Jobs wird nach /dev/null umgeleitet. Du könntest es auch in eine reguläre Datei umleiten, z.B. /tmp/cron.log
Code: Select all
# su otrs
Code: Select all
# id
Code: Select all
# su - otrs
Das kann aber nur funktionieren, wenn der Benutzer eine gültige Shell hat, z.B. /bin/bash
Die Ausgabe der cron Jobs wird nach /dev/null umgeleitet. Du könntest es auch in eine reguläre Datei umleiten, z.B. /tmp/cron.log