Hello all,
I'm having issues with the scheduled inbound mail feature. We have a number of accounts that are to be checked (around 10) on every run. Symptoms:
- After (re-)enabling cron, the 'Inbound mail' task switches to 'In progress...' and stays there. Cron runs fine next time, skipping the inbound mail task.
- To get the task back to 'active', I have to run scheduled tasks repair. Cron dies next time - leaving the task at the 'In progress..' stage.
When i'm running cron.php manually from the commandline (and the task is 'active') the process dies with only the message 'Segmentation fault'.
The following message is found in the log:
I'm running SugarCE 5.5.0 on CentOS 5.4. My Apache version is 2.2.3-31 and i'm running PHP 5.2.10-1.Code:Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] ----->SchedulersJob firing pollMonitoredInboxes Wed Feb 10 12:57:18 2010 [32657][1][INFO] ----->Scheduler fired job of type pollMonitoredInboxes() Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] Loading Preferences DB admin Wed Feb 10 12:57:18 2010 [32657][1][INFO] Query:SELECT contents FROM user_preferences WHERE assigned_user_id='1' AND category = 'Emails' AND deleted = 0 Wed Feb 10 12:57:18 2010 [32657][1][INFO] Query Execution Time:0.00048303604125977 Wed Feb 10 12:57:18 2010 [32657][1][INFO] Query:SELECT id, name FROM inbound_email WHERE is_personal = 0 AND deleted=0 AND status='Active' AND mailbox_type != 'bounce' Wed Feb 10 12:57:18 2010 [32657][1][INFO] Query Execution Time:0.00033807754516602 Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] Just got Result from get all Inbounds of Inbound Emails Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] In while loop of Inbound Emails Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] Retrieve InboundEmail : SELECT inbound_email.* FROM inbound_email WHERE inbound_email.id = 'e5409c9c-98da-d6b9-54b4-4b7188b91fc4' AND inbound_email.deleted=0 Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] Limit Query:SELECT inbound_email.* FROM inbound_email WHERE inbound_email.id = 'e5409c9c-98da-d6b9-54b4-4b7188b91fc4' AND inbound_email.deleted=0 Start: 0 count: 1 Wed Feb 10 12:57:18 2010 [32657][1][INFO] Query:SELECT inbound_email.* FROM inbound_email WHERE inbound_email.id = 'e5409c9c-98da-d6b9-54b4-4b7188b91fc4' AND inbound_email.deleted=0 LIMIT 0,1 Wed Feb 10 12:57:18 2010 [32657][1][INFO] Query Execution Time:0.00034904479980469 Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] Trying to connect to mailserver for [ Info ] Wed Feb 10 12:57:18 2010 [32657][1][DEBUG] Connected to mailserver
Any clues on how to resolve this issue will be much appreciated!
Bob


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks