Hi, No I haven't tried it (or too late). Here is how I solved the problem.
# Show the current OTRS processes: cat << EOF | sudo mysql otrs -vvv SELECT process_name , process_id , process_host , FROM_UNIXTIME(process_create) process_create , FROM_UNIXTIME(process_change) process_change FROM process_id EOF # There was one FetchMail process stuck for 24h : +-------------------------------------+------------+--------------+---------------------+---------------------+ | process_name | process_id | process_host | process_create | process_change | +-------------------------------------+------------+--------------+---------------------+---------------------+ | Maint::PostMaster::MailAccountFetch | 14352 | santiago-01 | 2017-12-04 07:09:02 | 2017-12-04 07:09:02 | +-------------------------------------+------------+--------------+---------------------+---------------------+ # I tried to kill it: sudo kill 14352 # But it wouldn't die, so I insisted: sudo kill -INT 14352 # And that solved the problem. ------------------------- Santiago DIEZ Quark Systems & CAOBA 23 rue du Buisson Saint-Louis, 75010 Paris ------------------------- On Tue, Dec 5, 2017 at 12:04 PM, Jens Köhler <[email protected]> wrote: > Hi, > > did you try to execute this command in directory /opt/otrs/bin/ ? > > su -c "./otrs.Console.pl Maint::PostMaster::MailAccountFetch --force-pid" -s > /bin/bash otrs > > > > -----Ursprüngliche Nachricht----- > Von: otrs [mailto:[email protected]] Im Auftrag von Santiago DIEZ > Gesendet: Dienstag, 5. Dezember 2017 11:43 > An: OTRS LIST > Betreff: [otrs] MailAccountFetch stopped working > > Hi, > > We've been happily using OTRS 5.0.20 on Debian 8.8 for 6 month now. > > We've made no change at all (it's only 3 of us) to the config but last > night, the program stopped fetching emails. > > I can still manually fetch emails going to > otrs/index.pl?Action=AdminMailAccount and clicking on [Fetch mail] but > it only download 10-15 at a time. > > The cron was set as follow (on July 20th) : > Daemon::SchedulerCronTaskManager::Task###MailAccountFetch > - Function = Execute > - MaximumParallelInstances = 1 > - Module = > Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch > - Schedule = * * * * * > - TaskName = MailAccountFetch > > There is NO error message in otrs/index.pl?Action=AdminLog. > > I've tried the following : > > 1) Restart daemon > No luck > sudo -u otrs /opt/otrs/bin/otrs.Daemon.pl stop > sudo -u otrs /opt/otrs/bin/otrs.Daemon.pl start > > 2) Empty the cache > No luck > sudo -u otrs /opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete > > 3) Restart daemon and mysql and empty the cache > No luck > sudo /opt/otrs/bin/Cron.sh stop otrs > sudo -u otrs /opt/otrs/bin/otrs.Daemon.pl stop > sudo /etc/init.d/mysql stop > sudo -u otrs /opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete > sudo /etc/init.d/mysql start > sudo /opt/otrs/bin/Cron.sh start otrs > (the daemon restarted automatically after a few minutes) > > What else can I do? > > Regards > ------------------------- > Santiago DIEZ > Quark Systems & CAOBA > 23 rue du Buisson Saint-Louis, 75010 Paris > ------------------------- > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
