OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Hilfe zu Znuny Problemen aller Art
Locked
grosse
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 10:00
Znuny Version: 3.0.11

OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by grosse »

Hallo zusammen,

ich habe ein kleines Problem mit meinem OTRS.
Auf meinem openSuse habe ich das OTRS laufen. Nun wollte ich einmal das OTRS neu starten /etc/init.d/otrs restart

Dann bekomme ich allerdings folgende Meldung:
Error: /opt/otrs/bin/PostMaster.pl not found!

Im Verzeichnis finde ich allerdings auch nur eine otrs.PostMaser.pl

Hat das schon was zu sagen?

Danke und
mit freundlichen grüßen

Björn Große
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by jojo »

dann sind wohl Deine cron snipplets in var/cron fehlerhaft.

Diese einfach mal prüfen und anpassen
"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
grosse
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 10:00
Znuny Version: 3.0.11

Re: OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by grosse »

jojo wrote:dann sind wohl Deine cron snipplets in var/cron fehlerhaft.

Diese einfach mal prüfen und anpassen
Dieses Verzeichnis habe ich gar nicht!

Ich bin im System nicht 100%tig fit, bitte dies zu beachten :)
Ich habe in der /etc/crontab eine Job eingetragen, aber das wird er doch nicht beim Starten bzw. beim Abfragen des Status abprüfen oder?
grosse
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 10:00
Znuny Version: 3.0.11

Re: OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by grosse »

Also habe jetzt mal in das Verzeichnis geguckt,

Da habe ich ein paar Dateien, in keiner von denen steht aber leider kein PostMaster.pl, welcher es prüfen könnte. Da steht nur in der postmaster_mailbox die Datei PostMasterMailbox.pl drin. Die ist aber da, also wo kann denn das Problem an der Stelle liegen?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by jojo »

jedes OTRS System hat dieses Verzeichnis.

Mit Hilfe des restart scriptes wird eine Crontab via bin/Cron.sh gebaut, es gibt daher keinen Grund die /etc/crontab zu nutzen.

Ich empfehle dringend die Lektüre des Adminhandbuches (http://doc.otrs.org)
"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
grosse
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 10:00
Znuny Version: 3.0.11

Re: OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by grosse »

Da ich da aber ja bisher nichts eingetragen habe, ist doch die Frage an welcher Stelle er dann die PostMaster.pl nicht finden kann?
Oder verstehe ich da doch noch was falsch?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by jojo »

im var/cron Verzeichnis sind bereits entsprechende Snipplets drin. Hier scheinen ggf. alte Versionen drin zu liegen.

In der Datei var/cron/postmaster_mailbox sollte drinstehen:

Code: Select all

*/10 * * * *    $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null

die bin/Postmaster.pl sollte eigentlich durch keinen Cron Job direkt aufgerufen werden

Nutzt Du ggf. Fetchmail oder eine alias Datei die direkt den Postmaster aufruft?
"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
grosse
Znuny newbie
Posts: 5
Joined: 19 Jul 2012, 10:00
Znuny Version: 3.0.11

Re: OTRS Problem /opt/otrs/bin/Postmaster.pl not found

Post by grosse »

fetchmail ist installiert, scheint aber nicht zu laufen!
Ansonsten habe ich halt nur noch den manuellen CronJob, der dann ein sh script aufruft, in dem die PostMaserMailbox.pl aufgerufen wird!
Das werde ich dann auch nochmal umstellen, ist anders ja wesentlich eleganter!

In der var/cron/postmaster_mailbox steht genau das drin, was du auch geschlüsselt hast,

den fetchmail nutze ich aber gar nicht oder? Sonst kann der doch auch deinstalliert werden. Ich habe das OTRS auf einem Server bei Strato installiert und so war schon ein bisschen was vorinstalliert, was aber doch vermutlich nicht genutzt wird?
Locked