Results 1 to 7 of 7

Thread: Cron Errors

  1. #1
    bvwwillvest is offline Sugar Community Member
    Join Date
    Jun 2008
    Posts
    23

    Red face Cron Errors

    When I run the cron job for SugarCRM I get the following error

    /bin/sh: line 1: 3404 Segmentation fault php -f cron.php > /dev/null 2>&1

    Any ideas why this is not working right?

    this is the cron cd /var/www/SugarCE-Full-6.2.1; php -f cron.php > /dev/null 2>&1

    Please help ... I'mmmm Sooooo Close!
    currently running:
    Sugar Version 6.2.1 (Build 6405)
    Sugar Edition Community
    Operating System CentOS 6.0 x86_64
    PHP Version 5.3.2
    Database MySQL Ver. 5.1.52
    Web Server Apache 2.2.15


    Will
    Just barely a Sys/Admin
    No where close to a programmer

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Cron Errors

    Try to run manually these commands:

    cd /var/www/SugarCE-Full-6.2.1

    php -f cron.php


    Let us know output of last one.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    bvwwillvest is offline Sugar Community Member
    Join Date
    Jun 2008
    Posts
    23

    Default Re: Cron Errors

    Thank you, Really Thank you for a response

    I had already tried that and here is the output:

    [root@bvwllc SugarCE-Full-6.2.1]#
    [root@bvwllc SugarCE-Full-6.2.1]# php -f cron.php
    /var/www/SugarCE-Full-6.2.1
    /var/www/SugarCE-Full-6.2.1
    /var/www/SugarCE-Full-6.2.1
    PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/SugarCE-Full-6.2.1/cron.php:40) in /var/www/SugarCE-Full-6.2.1/cron.php on line 52
    [root@bvwllc SugarCE-Full-6.2.1]#
    currently running:
    Sugar Version 6.2.1 (Build 6405)
    Sugar Edition Community
    Operating System CentOS 6.0 x86_64
    PHP Version 5.3.2
    Database MySQL Ver. 5.1.52
    Web Server Apache 2.2.15


    Will
    Just barely a Sys/Admin
    No where close to a programmer

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Cron Errors

    Please, attach your cron.php.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    bvwwillvest is offline Sugar Community Member
    Join Date
    Jun 2008
    Posts
    23

    Default Re: Cron Errors

    Many Thanks again!

    file is attached
    Attached Files Attached Files
    currently running:
    Sugar Version 6.2.1 (Build 6405)
    Sugar Edition Community
    Operating System CentOS 6.0 x86_64
    PHP Version 5.3.2
    Database MySQL Ver. 5.1.52
    Web Server Apache 2.2.15


    Will
    Just barely a Sys/Admin
    No where close to a programmer

  6. #6
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Cron Errors

    You need to drop these lines

    PHP Code:
    echo getcwd() . "\n"
    echo 
    getcwd() . "\n"
    chdir("/var/www/SugarCE-Full-6.2.1/");
    echo 
    getcwd() . "\n"
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  7. #7
    bvwwillvest is offline Sugar Community Member
    Join Date
    Jun 2008
    Posts
    23

    Default Re: Cron Errors

    I can do that, no problem, however I just put them in to see if the job was processing and what dir. it was in. I had the problem before I put that in there. Don't think it will affect the out come. Will try it and paste the outcome.
    currently running:
    Sugar Version 6.2.1 (Build 6405)
    Sugar Edition Community
    Operating System CentOS 6.0 x86_64
    PHP Version 5.3.2
    Database MySQL Ver. 5.1.52
    Web Server Apache 2.2.15


    Will
    Just barely a Sys/Admin
    No where close to a programmer

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Errors Installing Community. Data base creation errors
    By alcamie in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2009-07-17, 03:56 AM
  2. cron.php generating errors
    By mhoppes in forum Help
    Replies: 2
    Last Post: 2007-09-21, 12:45 PM
  3. Cron Job
    By kevpool1 in forum Help
    Replies: 1
    Last Post: 2007-03-29, 06:48 PM
  4. cron.php bugs
    By jasoneisen in forum Help
    Replies: 3
    Last Post: 2006-03-07, 06:45 PM
  5. how to cron tab?? HELP PLEASE!!!
    By aashish in forum Help
    Replies: 2
    Last Post: 2006-02-20, 08:44 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
  •