MailAccountFetch Error: Unable to register the process in the database

Hilfe zu Znuny Problemen aller Art
Locked
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

MailAccountFetch Error: Unable to register the process in the database

Post by NancyL »

Guten Morgen,

hat jemand eine Idee was es mit dieser Meldung auf sich hat?
Ich finde die Zeiten merkwürdig, immer die vollen 10 minuten...
An Cron läuft nur das;

# check mail
*/2 * * * * $HOME/bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch --force-pid
# check OTRS daemon status
*/5 * * * * $HOME/bin/otrs.Daemon.pl start >> /dev/null
# unlock tickets
*/10 * * * * $HOME/bin//otrs.Console.pl Maint::Ticket::UnlockAll

# check mail sah gestern noch so aus:
# check mail
*/2 * * * * $HOME/bin/otrs.Console.pl Maint::PostMaster::MailAccountFetch
da hatte ich auch viel mehr dieser Fehlermeldungen. mit force-pid hat sich das schonmal reduziert, ist aber trotzdem unbefriedigend.

Code: Select all

Wed Jan 6 08:30:07 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Wed Jan 6 07:40:03 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Wed Jan 6 07:30:03 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Wed Jan 6 07:20:03 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Wed Jan 6 07:10:03 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Wed Jan 6 07:00:03 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Wed Jan 6 01:00:02 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Wed Jan 6 00:00:01 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Tue Jan 5 18:50:02 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Tue Jan 5 18:40:02 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Tue Jan 5 18:30:05 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Tue Jan 5 13:00:03 2016 	error 	OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-16 	There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: Error: Unable to register the process in the database. Is another instance still running?
Powered by OTRS 5 
bin über einen Hinweis Dankbar.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: MailAccountFetch Error: Unable to register the process in the database

Post by jojo »

wenn Du den Daemon nicht neu gestartet hast, dann läuft er trotz der Änderung in der Sysconfig auf 2 Minuten immer noch alle 10 Minuten.

Du solltest mal die Ursache erforschen warum der Job hier "hängen" bleibt. Das kann unterschiedliche Ursachen haben:

- Crash durch "defekte" Mail
- Läuft noch, weil noch Mails abgeholt werden
"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
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: MailAccountFetch Error: Unable to register the process in the database

Post by NancyL »

Beides nein,
das ist qausi ein neues System welches noch nicht in Betrieb ist.
Start ist Mitte Januar.
Mails sind also kaum angefallen, nur testmails, die werden ordnungsgemäß abgeholt. Es hängt auch nichts "fest".
OTRS 6.0.30 /OS: Ubuntu/ Mysql
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: MailAccountFetch Error: Unable to register the process in the database

Post by NancyL »

den Daemon hatte ich neu gestartet. Der wird aber eh alle 5 min gestartet, also sollte der Fehler alle 10 min nicht entstehen, oder verstehe ich da jetzt was falsch?
OTRS 6.0.30 /OS: Ubuntu/ Mysql
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: MailAccountFetch Error: Unable to register the process in the database

Post by jojo »

der wird nur überprüft und ggf. neu gestartet sollte er nicht laufen
"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
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: MailAccountFetch Error: Unable to register the process in the database

Post by NancyL »

ja, das wäre der Notfallplan, den Daemon dann restarten.
Ich versuche die Ursache zu finden, gelingt es dann melde ich mich wieder. Hat jemand eine Idee wo man da am klügsten ansetzt freue ich mich über Hinweise.
Danke jojo für deine Mühe.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: MailAccountFetch Error: Unable to register the process in the database

Post by KlausNehrer »

prozesslist, logfiles
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: MailAccountFetch Error: Unable to register the process in the database

Post by NancyL »

oh super, danke. war sicher mühevoll den Beitrag zu posten.
Meinst du nicht die logs bin ich bereits durchgegangen?
OTRS 6.0.30 /OS: Ubuntu/ Mysql
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: MailAccountFetch Error: Unable to register the process in the database

Post by KlausNehrer »

Ja.
Was erwartet Du unter "Hinweise"?
Und die lange Version meiner Postings würden Dir doch auch nicht gefallen.

Da ich grundsätzlich konstruktiv bin: Hast Du die Prozessliste überprüft? Hast Du alle OTRS Prozesse beendet und den Mailabruf geprüft? Welche Logfiles hast Du geprüft?


Dir mögen meine Umgangsformen nicht gefallen, aber das ist eben in unserem Dialog ausschließlich Dein Problem und kein Grund unhöflich zu werden.
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: MailAccountFetch Error: Unable to register the process in the database

Post by NancyL »

Kennen wir uns? Oder warum denkst du die lange Version würde mir nicht gefallen?! Dieses Verhalten ist unhöflich und ja, wenig konstruktiv.

Mit dem Mailabruf hatte ich keine Probleme, trotz der Fehlermeldung wurden meine Mails alle 2 min abgeholt.
OTRS Prozesse habe ich gekillt.
Im syslog steht nicht viel was aufschluß über das Problem gibt.

Der Fehler ist nicht wieder aufgetreten nach reboot der vm am morgen.
Somit ist das Problem vorerst behoben.
Nochmals, besten Dank für deine Hilfe.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
Locked