Since upgrade to 3.0.9 No new emails [SOLVED]

Moderator: crythias

Post Reply
Bucko77
Znuny newbie
Posts: 31
Joined: 29 Jun 2011, 16:02
Znuny Version: 3.0.8
Real Name: Stephen Buckton
Company: Kite Packaging

Since upgrade to 3.0.9 No new emails [SOLVED]

Post by Bucko77 »

I've just upgraded to OTRS 3.0.9, all went well except my IMAP mail sync isn't automatically coming through, I have to do a manual "Fetch Now". I noticed when I restart my services CronW reports the attached error although the service does start.

I've also noticed this bug report http://bugs.otrs.org/show_bug.cgi?id=7502 which I've applied but still no joy and my crontab.txt file is blank.

Any assistance is appreciated.
You do not have the required permissions to view the files attached to this post.
Last edited by Bucko77 on 25 Jul 2011, 23:46, edited 1 time in total.
OTRS 3.0.9 & ITSM 3.0.4 running on Windows Server 2008 R2 with MySQL database, iPhonehandle 1.0.3, Active Directory LDAP integration.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Since upgrade to 3.0.9 No new emails

Post by crythias »

It appears to be a service that can't find where cronW exists


the short answer could be to copy/rename Cron4Win32.pl to otrs.Cron4Win32.pl
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Bucko77
Znuny newbie
Posts: 31
Joined: 29 Jun 2011, 16:02
Znuny Version: 3.0.8
Real Name: Stephen Buckton
Company: Kite Packaging

Re: Since upgrade to 3.0.9 No new emails

Post by Bucko77 »

Hi, if I look in c:\Program Files (x86)\OTRS\OTRS\bin it's already called otrs.Cron4Win32.pl?

Thanks
Stephen.
OTRS 3.0.9 & ITSM 3.0.4 running on Windows Server 2008 R2 with MySQL database, iPhonehandle 1.0.3, Active Directory LDAP integration.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Since upgrade to 3.0.9 No new emails

Post by crythias »

Well, it can't find it where it's looking, so (among other possibilities), you could add otrs\otrs\bin to program files\ and copy the file there.

from a command line,
cd c:
dir /x
find out where, if any, progra~2 exists

or check out
regedit
HKLM\System\CurrentControlSet\Services\CRON
and verify the ImagePath location.

Standard disclaimer about don't mess with registry without understanding what you're doing/make backups.

if you don't want to mess with the registry, you can use sc config http://technet.microsoft.com/en-us/libr ... K_examples
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Bucko77
Znuny newbie
Posts: 31
Joined: 29 Jun 2011, 16:02
Znuny Version: 3.0.8
Real Name: Stephen Buckton
Company: Kite Packaging

Re: Since upgrade to 3.0.9 No new emails

Post by Bucko77 »

It's Program Files (x86) and the Image Path is "C:\Program Files (x86)\OTRS\StrawberryPerl\perl\bin\perl.exe" "C:\Program Files (x86)\OTRS\CRONw\cronService.pl" --crontab="C:\Program Files (x86)\OTRS\CRONw\crontab.txt"

I amended the following lines below in otrs.Cron4Win32.pl from:

my $PerlExe = "c:/perl/bin/perl.exe";
my $Directory = "e:/workspace/otrs30/var/cron";
my $CronTabFile = "e:/workspace/otrs30/crontab.txt";
my $OTRSHome = "e:/workspace/otrs30";

to

my $PerlExe = "";
my $Directory = "";
my $CronTabFile = "";
my $OTRSHome = "";

I did this based on this bug report http://bugs.otrs.org/show_bug.cgi?id=7502. If I set the code back I get the following:

Thanks for your help
Stephen.
You do not have the required permissions to view the files attached to this post.
OTRS 3.0.9 & ITSM 3.0.4 running on Windows Server 2008 R2 with MySQL database, iPhonehandle 1.0.3, Active Directory LDAP integration.
Bucko77
Znuny newbie
Posts: 31
Joined: 29 Jun 2011, 16:02
Znuny Version: 3.0.8
Real Name: Stephen Buckton
Company: Kite Packaging

Re: Since upgrade to 3.0.9 No new emails

Post by Bucko77 »

Hi, after looking at a couple of posts similar to mine
http://forums.otrs.org/viewtopic.php?f= ... 727#p41727
http://forums.otrs.org/viewtopic.php?f= ... 728#p41728
I made the path changes below in my otrs.Cron4Win32.pl file which fixed the issue.

Thanks for you assistance!
Stephen.

my $PerlExe = "c:/Progra~2/OTRS/StrawberryPerl/perl/bin/perl.exe";
my $Directory = "c:/Progra~2/OTRS/OTRS/var/cron/";
my $CronTabFile = "c:/Progra~2/OTRS/CRONw/crontab.txt";
my $OTRSHome = "c:/Progra~2/OTRS/OTRS/";
OTRS 3.0.9 & ITSM 3.0.4 running on Windows Server 2008 R2 with MySQL database, iPhonehandle 1.0.3, Active Directory LDAP integration.
Post Reply