Results 1 to 2 of 2

Thread: Scheduled tasks/Cron.php segfaults on inbound mail

  1. #1
    bob.huisman is offline Junior Member
    Join Date
    Dec 2009
    Posts
    3

    Arrow Scheduled tasks/Cron.php segfaults on inbound mail

    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:

    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
    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.

    Any clues on how to resolve this issue will be much appreciated!

    Bob

  2. #2
    bob.huisman is offline Junior Member
    Join Date
    Dec 2009
    Posts
    3

    Exclamation Re: Scheduled tasks/Cron.php segfaults on inbound mail

    Fixed this problem:

    It seems that PHP 5.2.10 and SugarCE 5.5.0 are not the best of friends. After downgrading php and all php modules (php-imap) to an earlier version (5.2.9) it all started working again.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 2009-06-12, 02:14 PM
  2. Replies: 2
    Last Post: 2008-09-10, 02:35 PM
  3. help needed with inbound mail scheduled
    By amir22 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-24, 06:37 PM
  4. Inbound Email Cron.php problem
    By lonecrow in forum Help
    Replies: 0
    Last Post: 2007-06-30, 09:01 AM
  5. Replies: 0
    Last Post: 2006-12-12, 11:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •