Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
grindkore Offline
New Member
 
Posts: 3
Join Date: Feb 2008
The "parser.lockfile" is blocking POP3/IMAP fetching - 29-02-2008, 04:55 AM

Message from staff: Patch available for this problem at the end and last page of this thread.



Original post:
Hi we use POP3 to fetch e-mail in to Kayako, up until last nigh everything worked fine. Then about 24 hours ago Kayako stopped connecting to the POP3 mailboxes.

I have verified all the setting, passwords, mail server logs and everything pointed to Kayako not connecting to POP3. After searching this forum, I stumbled on "/cron/index.php?_t=parser" trick. Sure enough when we access cron file using this URL we get following error:

[ERROR]: Lock file found! (./files/parser.lockfile). A lock file has been found preventing further execution, if it is from a stale instance of cron then please delete the file in order to continue. To remove the file manually click here

Once I have located the "parser.lockfile" and deleted it, the parser has executed and all pending e-mail messages that were queued up in POP3 were processed. The problem is that the "parser.lockfile" file is recreate every time parser runs, thus subsequent parser runs are blocked until we manually remove this file.

As a short term solution, we made a small script that deletes this file. But we would like to know why this is happening and how to solve this problem.

Our Kayako Environment:
WIN2003, II6, PHP 5.2.6 CGI, Kayako 3.20.00 CVS

Last edited by Jamie Edwards; 09-07-2008 at 05:43 PM..
   
  (#2) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,962
Join Date: Aug 2006
Location: Mumbai, India
29-02-2008, 08:26 AM

I believe the parser lock is created when Kayako fails to retrieve the emails from the mentioned POP3/IMAP account forcing the email parser not to retrieve emails. This usually happens when the parser fails to retrieve emails with large attachments. You might want to check your server settings making sure it is configured to accept large attachments.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
  (#3) Old
grindkore Offline
New Member
 
Posts: 3
Join Date: Feb 2008
29-02-2008, 03:00 PM

At this point we are not live with this kayako installation, the only e-mails we have in the POP3 mailboxes are test and are no more than 2KB in size. Furthermore the mail server installation is dedicated for kayako use only. We wanted to isolate our help-desk server from the rest of the network n order to avoid possible blacklisting or other issues that may prevent support tickets from reaching our customers.

I will attempt to reinstall kayako, hopefully clean installation will resolve this.
   
  (#4) Old
craigbrass Offline
Senior Member
 
Posts: 5,928
Join Date: Jun 2005
Location: Cumbria, UK
29-02-2008, 05:14 PM

If not, I suggest you submit a ticket to Kayako (http://members.kayako.net -> "Get Support") so they can trace the issue.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
  (#5) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,668
Join Date: Jan 2006
Location: United Kingdom
29-02-2008, 08:35 PM

Hi grindkore,

In the latest version of our software, a link is provided in the administrator control panel to delete the lock file. However, this is not a complete solution to the issue so I have submitted a bug to the tracker, which we will attend to as soon as possible:

Kayako Bug Tracker - Viewing Issue #463 - parser.lock file should automatically expire


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---

Last edited by Jamie Edwards; 01-04-2008 at 10:35 PM..
   
  (#6) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,668
Join Date: Jan 2006
Location: United Kingdom
01-04-2008, 10:37 PM

Hi there,

This has actually already been fixed between 3.20.00 and 3.20.01. Please upgrade to the latest version and the lock file should no longer remain stale.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
  (#7) Old
webbcite Offline
New Member
 
Posts: 11
Join Date: Jan 2004
01-04-2008, 10:56 PM

We are running 3.20.02 and had this issue come up today. The lockfile was in place and POP3 was not being picked up since yesterday afternoon...
   
  (#8) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,668
Join Date: Jan 2006
Location: United Kingdom
01-04-2008, 11:06 PM

I have reopened the bug tracker entry;

Quote:
I have changed this back to investigating. As the user posted in the thread linked above, we cannot cater for every possible stoppage of the parser that might leave the lock file in place (i.e. a server crash).

So we need something to automatically delete the parser lock file; such as in an existing or a new pseudo-cron (scheduled task).


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
  (#9) Old
Xaman Offline
Member
 
Posts: 43
Join Date: Feb 2008
02-04-2008, 10:26 PM

A solution that worked for us, disable the autoresponder option.

We disabled it and it's working fine now. At least until Kayako can fix this bug.
   
  (#10) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,668
Join Date: Jan 2006
Location: United Kingdom
02-04-2008, 10:30 PM

Hi Xaman,

Are you using an SMTP server?


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
  (#11) Old
cyberneticos Offline
Member
 
Posts: 114
Join Date: Dec 2007
Location: Spain
08-04-2008, 01:05 PM

Hi Jamie,

Nice to see you again. I am having this very same issue also. Went 7 days without mail (sent via pop)

I also run 3.20.02 Manual link works. I guess the very same cron that runs the parser could check if it's locked and unlock it.

But I'll wait for a solution


CyberNETicos Hosting SL
www.cyberneticos.com
   
  (#12) Old
cyberneticos Offline
Member
 
Posts: 114
Join Date: Dec 2007
Location: Spain
10-04-2008, 04:48 PM

Meaning, I would like for some one to give me a solution.

Thanks.


CyberNETicos Hosting SL
www.cyberneticos.com
   
  (#13) Old
tparikka Offline
New Member
 
Posts: 14
Join Date: Apr 2008
Also encountering parser.logfile issues - 02-05-2008, 10:52 PM

I am also encountering issues with the parser.lockfile. I have eSupport configured to fetch via POP3 (no outgoing mail configured yet). When I set the POP3/IMAP Fetching task to run and then trigger the cron manually, the ./files/parser.lockfile generates by itself. There are no log entries to speak of that I can see indicating the cause of the failure. I have tried deleting the parser.lockfile file but each time I trigger the cron the file is created. The mail server resides on the same network segment as the eSupport server and the two are connected via a gigabit switch. The only emails currently in the inbox are small text-only emails of one or two lines.

I am currently running a trial of eSupport on a dedicated server in preparation for a possible deployment using an Owned License.
   
  (#14) Old
GoneShootin Offline
Member
 
GoneShootin's Avatar
 
Posts: 215
Join Date: Jan 2008
07-05-2008, 04:40 PM

This is a right balls up. Lock file has been happening for the past few mornings. Which means that there is a delay in the emails being responded to due to the fact that our kayako users often get in earlier than the IT department can to clear the lock file.

I've mentioned this before

I see tha the last comment on the bug issue was

Quote:
Ryan Lederman: Status changed from Confirmed to Fixed 02/04/2008 17:42
So if this is fixed do you know when it will be released?

I'm so anxious about this issue because we are looking to deliver Kayako to the rest of our company, but I cannot recommend that action until the parser lock file issue is resolved.
   
  (#15) Old
tparikka Offline
New Member
 
Posts: 14
Join Date: Apr 2008
07-05-2008, 05:15 PM

Word over at Notice: Undefined offset: 1 in d:\Inetpub\HelpDesk\cli\index.php on line 22 is that the CVS breaks a few things, so although this particular issue is listed as resolved, it sounds like other bugs have been introduced that make upgrading a poor decision. Haven't found anything as far as expected release date for 3.20.03 yet.

I haven't yet purchased, and I won't be doing so until this bug is resolved. I'm currently on a trial Leased License.
   
Closed Thread

Tags
blocking, fetching, parserlockfile, pop3 or imap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48