OTRS Not Polling (OTRS 3.2.1 Windows)

Moderator: crythias

Post Reply
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

Hi,

I just updated OTRS to the latest release v 3.2.1 in Windows a few days ago. We just realized that OTRS is not currently polling emails.

To verify that the incoming pop3 email accounts are setup properly, I went to Admin --> PostMaster Mail Accounts --> Fetch mail

All email them populated the necessary queues. This used to be automated before I updated, now we currently have to manually hit the "Fetch mail" button in the Admin panel in order to receive any emails.

Any suggestions?

Thanks!
Alex
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

Looks like v3.2.2 just released today. Hope that'll fix something ;)

ftp://ftp.otrs.org/pub/otrs/otrs-3.2.2- ... -2.4.5.exe
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by reneeb »

Are your cronjobs running? Any log messages?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

Ok, that didnt work. OTRS is still not automatically polling emails...
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by reneeb »

Anything in the log files?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

reneeb wrote:Are your cronjobs running? Any log messages?
Looks like jobs are running. here are the logs from cronw.log

Code: Select all

[2013/02/19 18:07:31] starting service
[2013/02/19 18:07:31] cron dir 'C:\Program Files\OTRS\CRONw\cron.daily' does not exist.
[2013/02/19 18:07:31] Created cron dir 'C:\Program Files\OTRS\CRONw\cron.daily' successfuly.
[2013/02/19 18:07:31] cron dir 'C:\Program Files\OTRS\CRONw\cron.weekly' does not exist.
[2013/02/19 18:07:31] Created cron dir 'C:\Program Files\OTRS\CRONw\cron.weekly' successfuly.
[2013/02/19 18:07:31] cron dir 'C:\Program Files\OTRS\CRONw\cron.monthly' does not exist.
[2013/02/19 18:07:31] Created cron dir 'C:\Program Files\OTRS\CRONw\cron.monthly' successfuly.
[2013/02/19 18:07:31] cron service started
[2013/02/19 18:25:00] starting service
[2013/02/19 18:25:01] cron service started
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by reneeb »

And otrs log?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

reneeb wrote:And otrs log?

The only things that really stand out are below. Everything else is generic user activity.

Code: Select all

[Tue Feb 19 18:25:02 2013][Notice][Kernel::System::PID::PIDCreate] Can't create PID otrs.Scheduler, because it's already running (domain.com/1652)!
[Tue Feb 19 18:25:03 2013][Notice][main::_start] Scheduler Service is starting...!
[Tue Feb 19 18:25:04 2013][Notice][main::_start] Scheduler Service start! PID 1652

[Wed Feb 20 08:29:45 2013][Notice][main::_AutoRestart] Scheduler service is stopping due a restart.
[Wed Feb 20 08:29:47 2013][Error][main::_AutoRestart][671] Could not start-up new Scheduler instance.
[Wed Feb 20 08:29:48 2013][Notice][main::_start] Scheduler Service is starting...!
[Wed Feb 20 08:29:49 2013][Notice][main::_start] Scheduler Service start! PID 2228

[Wed Feb 20 08:30:58 2013][Notice][main::_AutoRestart] Scheduler service is stopping due a restart.
[Wed Feb 20 08:31:00 2013][Error][main::_AutoRestart][671] Could not start-up new Scheduler instance.
[Wed Feb 20 08:31:01 2013][Notice][main::_start] Scheduler Service is starting...!
[Wed Feb 20 08:31:02 2013][Notice][main::_start] Scheduler Service start! PID 2332
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

If I run the following from the command prompt, polling works fine. I'd rather not have to rely on executing running a batch file in taskmanager.

Any ideas?

Code: Select all

>perl.exe c:\pro~1\OTRS\OTRS\bin\otrs.PostMasterMailbox.pl
Alex
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
arvas
Znuny newbie
Posts: 44
Joined: 15 Oct 2012, 09:08
Znuny Version: 3.0.11

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by arvas »

Ive come across that issue atleast twice so far in a live environment without even updating.
The only fix i found was to reinstall OTRS and import your data, its a pretty rare problem.
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

arvas wrote:Ive come across that issue atleast twice so far in a live environment without even updating.
The only fix i found was to reinstall OTRS and import your data, its a pretty rare problem.
Thanks for the feedback Arvas. We've actually already tried that, however it was unsuccessful. For now we are still using the Windows Task Scheduler to poll emails. Hopefully with the next update things will be back to normal.
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
Calsonic
Znuny newbie
Posts: 44
Joined: 07 Nov 2011, 15:00
Znuny Version: 5.0.8

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by Calsonic »

We are struggling with the same problem.
It starts before updating with the version 3.1.12. I have nothing changed on otrs.
An update to 3.2.3 have not solved the problem.

We are running with windows task scheduler. But he creates sometimes totally empty tickets. The second or third ticket is then correctly filled.

Hope there will be a solution soon.
OTRS 5.0.8
ITSM 5.0.14

CentOS 7
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

Calsonic wrote:We are struggling with the same problem.
It starts before updating with the version 3.1.12. I have nothing changed on otrs.
An update to 3.2.3 have not solved the problem.

We are running with windows task scheduler. But he creates sometimes totally empty tickets. The second or third ticket is then correctly filled.

Hope there will be a solution soon.
Thanks for the feedback. I hope something is done about this as well.
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
Calsonic
Znuny newbie
Posts: 44
Joined: 07 Nov 2011, 15:00
Znuny Version: 5.0.8

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by Calsonic »

Solved the problem on my system.
Any update got wrong so that the scheduler4win could not start and get some errors with unknown columns.
I exported the database to my testsystem and did alle updates again.
With the correctly updated database, the scheduler can now start on the productiv.
OTRS 5.0.8
ITSM 5.0.14

CentOS 7
TzunTzai
Znuny newbie
Posts: 28
Joined: 20 Feb 2013, 01:26
Znuny Version: 3.2.1
Real Name: Alex
Company: Avert

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by TzunTzai »

Calsonic wrote:Solved the problem on my system.
Any update got wrong so that the scheduler4win could not start and get some errors with unknown columns.
I exported the database to my testsystem and did alle updates again.
With the correctly updated database, the scheduler can now start on the productiv.
So you installed another instance of OTRS on another server
Exported your production database
Imported your production database to the secondary server
Updated the DB on the secondary server then imported it back to the primary one?
OTRS 3.3.2
Ubuntu Server 13.10
MySQL

OTRS 3.2.6
OpenSUSE 11.4
MySQL
Calsonic
Znuny newbie
Posts: 44
Joined: 07 Nov 2011, 15:00
Znuny Version: 5.0.8

Re: OTRS Not Polling (OTRS 3.2.1 Windows)

Post by Calsonic »

Yes, thats how i have done this.
Sorry for late reply.
OTRS 5.0.8
ITSM 5.0.14

CentOS 7
Post Reply