Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Email problems and sugarcrm.log is empty !

  1. #1
    jmsalomr is offline Member
    Join Date
    Oct 2006
    Posts
    6

    Default Email problems and sugarcrm.log is empty !

    Hi all,

    I've just installed sugarcrm open source eddition (Version 4.5.0c (Build 1155)) in a debian sarge box. It looks very nice!, but, I have problems sending emails. When I send an email I get no errors, but email is not sent.

    When I try to see the logs in: '/opt/sugarcrm-4.5.0c/htdocs/sugarcrm/sugarcrm.log' the file is empty.

    I send you the contents of the file '/opt/sugarcrm-4.5.0c/htdocs/sugarcrm/log4php.properties':

    log4php.appender.A2=LoggerAppenderRollingFile
    log4php.appender.A2.MaxFileSize=10MB
    log4php.appender.A2.MaxBackupIndex=5
    log4php.appender.A2.layout=LoggerLayoutTTCC
    log4php.appender.A2.layout.ContextPrinting="true"
    log4php.appender.A2.layout.DateFormat="%c"
    log4php.appender.A2.File=/sugarcrm.log

    //log4php.rootLogger=fatal, A2
    //log4php.rootLogger=error, A2
    //log4php.rootLogger=warn, A2
    //log4php.rootLogger=info, A2
    log4php.rootLogger=debug, A2


    Thanks in advance for your help,

    Josep

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Email problems and sugarcrm.log is empty !

    Are you using Sendmail or SMTP?
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  3. #3
    jmsalomr is offline Member
    Join Date
    Oct 2006
    Posts
    6

    Default Re: Email problems and sugarcrm.log is empty !

    I'm using SMTP and 'sugarcrm.log' is 'chmoted' to 777.

  4. #4
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Email problems and sugarcrm.log is empty !

    What is your memory limit set to in your php.ini?
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  5. #5
    jmsalomr is offline Member
    Join Date
    Oct 2006
    Posts
    6

    Default Re: Email problems and sugarcrm.log is empty !

    Hi Umeco,

    My memory size limit is: 'memory_limit = 350M'.

  6. #6
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Email problems and sugarcrm.log is empty !

    have you restarted Apache after you made changes to the php.ini?
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  7. #7
    jmsalomr is offline Member
    Join Date
    Oct 2006
    Posts
    6

    Default Re: Email problems and sugarcrm.log is empty !

    I haven't made any changes to restart Apache, but I've restarted sugarcrm several times, which script controls Apache daemon execution. So, we can consider I've restarted Apache.

    How could I activate the logs? Or what's wrong to don't see any log in 'sugarcrm.log'?

    Thanks for your help, Umeco.

  8. #8
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Email problems and sugarcrm.log is empty !

    Edit the file log4php.properties and remove the "//" from the beginning of debug. See below:

    Code:
    log4php.rootLogger=debug, A2
    Save the file. Warnning this generates lots of logging information and sould be changed back to have the "//" in front of the debug.

    you can select one of the options ( fatal, error, warn, info or debug ) a good seting for production is warn, error or fatal. I reccomend error only for production. You should only select one at a time.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  9. #9
    jmsalomr is offline Member
    Join Date
    Oct 2006
    Posts
    6

    Default Re: Email problems and sugarcrm.log is empty !

    Hi Umeco,

    As I put in my first post, I did what you are saying in log4php.properties; you can see the exact contents of 'log4php.properties'.

    I'm a litle bit desperate. Maybe I will be doing something wrong? It seems all is ok, but logs and email doesn't work.

    Could I do some other troubleshooting to see what's happenning with logging?

    Thanks in advance,

    Josep

  10. #10
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Email problems and sugarcrm.log is empty !

    In your base sugarcrm directory what is the permissions for that directory? It may not have permissions to write to that directory. run

    Code:
    chmod -R 777 /path/to/sugarcrmdir
    this will change the permissions recursively on all sugarcrm directories. This may be your problem as apache need write permission to the cache and base directory for the configuration files.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

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
  •