Results 1 to 9 of 9

Thread: Sugar 6.2 install

  1. #1
    Glideh is offline Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Post Sugar 6.2 install

    Hi,

    Here is the context:
    - I have the version 4.5.1h of Sugar CE.
    - I had several fatal server errors when for example trying to export anything.
    - I decided to upgrade the CRM.
    - I got some other fatal errors trying to upgrade.
    - Then I decided to do a dual install with 6.2
    - Now I'm stuck in this installation in a page where it's written:
    Creating Sugar configuration file (config.php)

    Creating Sugar application tables, audit tables and relationship metadata
    Creating the Database username and password...Creating the Database username and password for localhost...
    Do you have an idea of what can be the problem ?

  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: Sugar 6.2 install

    Take a look into sugarcrm.log, install.log and error log of your web server. Hopefully you will see some error message regarding this issue.

    Cheers
    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
    Glideh is offline Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Post Re: Sugar 6.2 install

    sugarcrm.log is empty

    Here is my install.log
    Code:
    2011-07-22 07:02:24...Begin System Check Process *************
    2011-07-22 07:02:24...Found at least one supported DB Type
    2011-07-22 07:02:24...XML Parsing Support Found
    2011-07-22 07:02:24...MBString Support Found
    2011-07-22 07:02:24...ERROR:: ZIP support not found: SugarCRM needs ZIP support in order to 
    process compressed files.
    2011-07-22 07:02:24.../custom directory and subdirectory check passed
    2011-07-22 07:02:24.../data/upoad directory and subdirectory check passed
    2011-07-22 07:02:24.../cache directory and subdirectory check passed
    2011-07-22 07:02:24.../module  directory and subdirectory check passed
    2011-07-22 07:02:24...php.ini location found. /usr/local/lib/php4.ini
    2011-07-22 07:02:24...Outputting HTML for System check
    2011-07-22 07:02:24...No Errors were found *************
    2011-07-22 07:02:46...Begin DB Check Process *************
    2011-07-22 07:02:46...Basic form info is valid, continuing Process.
    2011-07-22 07:02:46...Testing priviliged account...
    2011-07-22 07:02:46...Connection made for Privileged admin account using  host: localhost, u
    sr: root
    2011-07-22 07:02:46...ERROR:: The provided Database Name already exists.  You can<br>1.  hit
     the back button and choose a new database name <br>2.  click next and continue but all exis
    ting tables on this database will be dropped.  <strong>This means your tables and data will 
    be blown away.</strong>
    2011-07-22 07:02:46...DB Selected, will reuse sugar2
    2011-07-22 07:02:46...Passed DB Version check, version is 5.1.34
    2011-07-22 07:02:46...WARNING:: no errors detected, but DB tables will be dropped!, issuing 
    warning to user
    2011-07-22 07:02:46...End DB Check Process *************
    2011-07-22 07:03:02...calling handleSugarConfig()
    2011-07-22 07:03:02...calling handleLog4Php()
    2011-07-22 07:03:02...calling handleHtaccess()
    2011-07-22 07:03:02...calling handleDbCharsetCollation()
    Here is my web server log arround 2011-07-22 07:00:00
    Code:
    [Fri Jul 22 08:37:42 2011] [error] [client xx.xxx.xxx.xxx] File does not exist: /home/httpd/
    html/default/sugar2/favicon.ico
    [Fri Jul 22 08:37:44 2011] [error] [client xx.xxx.xxx.xxx] File does not exist: /home/httpd/
    html/default/sugar2/favicon.ico
    [Fri Jul 22 08:37:45 2011] [error] [client xx.xxx.xxx.xxx] File does not exist: /home/httpd/
    html/default/sugar2/favicon.ico
    [Fri Jul 22 08:47:12 2011] [error] [client xx.xxx.xxx.xxx] PHP Warning:  file_put_contents(/
    home/httpd/html/default/sugar2/.htaccess) [<a href='function.file-put-contents'>function.fil
    e-put-contents</a>]: failed to open stream: Permission denied in /home/httpd/html/default/su
    gar2/install/install_utils.php on line 1125, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 08:47:13 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error:  Allowed memory 
    size of 16777216 bytes exhausted (tried to allocate 4864 bytes) in /home/httpd/html/default/
    sugar2/include/database/MysqlHelper.php on line 57, referer: http://sugar.westmill.net/insta
    ll.php
    [Fri Jul 22 08:50:46 2011] [error] [client xx.xxx.xxx.xxx] PHP Warning:  file_put_contents(/
    home/httpd/html/default/sugar2/.htaccess) [<a href='function.file-put-contents'>function.fil
    e-put-contents</a>]: failed to open stream: Permission denied in /home/httpd/html/default/su
    gar2/install/install_utils.php on line 1125, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 08:50:46 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error:  Allowed memory 
    size of 16777216 bytes exhausted (tried to allocate 4864 bytes) in /home/httpd/html/default/
    sugar2/include/database/MysqlHelper.php on line 57, referer: http://sugar.westmill.net/insta
    ll.php
    [Fri Jul 22 08:52:17 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error:  Allowed memory 
    size of 16777216 bytes exhausted (tried to allocate 4864 bytes) in /home/httpd/html/default/
    sugar2/include/database/MysqlHelper.php on line 57, referer: http://sugar.westmill.net/insta
    ll.php
    [Fri Jul 22 08:52:17 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 08:52:17 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 08:52:17 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 08:52:17 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 08:52:29 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 08:52:46 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here
    [Fri Jul 22 08:52:52 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here
    [Fri Jul 22 09:03:03 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error:  Allowed memory 
    size of 16777216 bytes exhausted (tried to allocate 19456 bytes) in /home/httpd/html/default
    /sugar2/include/database/MysqlManager.php on line 431, referer: http://sugar.westmill.net/in
    stall.php
    [Fri Jul 22 09:03:03 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error:  Class 'MysqlMan
    ager' not found in /home/httpd/html/default/sugar2/include/database/DBManagerFactory.php on 
    line 101, referer: http://sugar.westmill.net/install.php
    [Fri Jul 22 09:39:53 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.
    htaccess: RedirectMatch not allowed here

  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: Sugar 6.2 install

    The issue is file permission issue. SugarCRM folder is not writable. Fix that and try again.

    Cheers
    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
    Glideh is offline Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Post Re: Sugar 6.2 install

    My installation folder have 755.
    I think I'm going to put 777 to all the files to be sure...
    Anyway since my installation problem I have this message when I try to go on the installation page

    Code:
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, xxx@xxx.xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
    So I think I'm going to have to restart the whole process

  6. #6
    Glideh is offline Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Post Re: Sugar 6.2 install

    Installation redone from the beginning (deleted the entire directory and unziped the application)
    with chmod -R 777 sugar/
    It blocks always at the same step.


    install.log
    Code:
    ...
    2011-07-26 06:32:25...Begin DB Check Process *************
    2011-07-26 06:32:25...Basic form info is valid, continuing Process.
    2011-07-26 06:32:25...Testing priviliged account...
    2011-07-26 06:32:25...Connection made for Privileged admin account using  host: localhost, usr: root
    2011-07-26 06:32:25...ERROR:: The provided Database Name already exists.  You can<br>1.  hit the back butto
    n and choose a new database name <br>2.  click next and continue but all existing tables on this database w
    ill be dropped.  <strong>This means your tables and data will be blown away.</strong>
    2011-07-26 06:32:25...DB Selected, will reuse sugar2
    2011-07-26 06:32:25...Passed DB Version check, version is 5.1.34
    2011-07-26 06:32:25...WARNING:: no errors detected, but DB tables will be dropped!, issuing warning to user
    2011-07-26 06:32:25...End DB Check Process *************
    2011-07-26 06:33:49...calling handleSugarConfig()
    2011-07-26 06:33:49...calling handleLog4Php()
    2011-07-26 06:33:49...calling handleHtaccess()
    2011-07-26 06:33:49...calling handleDbCharsetCollation()
    webserver log
    Code:
    ...
    [Tue Jul 26 08:33:49 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 19456 bytes) in /home/httpd/html/default/sugar2/include/database/MysqlManager.php on line 431, referer: http://sugar.westmill.net/install.php
    [Tue Jul 26 08:33:49 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error:  Class 'MysqlManager' not found in /home/httpd/html/default/sugar2/include/database/DBManagerFactory.php on line 101, referer: http://sugar.westmill.net/install.php
    Sugar doesn't seem to take the hour from my server for his logs timestamps.

  7. #7
    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: Sugar 6.2 install

    Hi Glideh

    This error

    [Tue Jul 26 08:33:49 2011] [error] [client xx.xxx.xxx.xxx] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 19456 bytes) in /home/httpd/html/default/sugar2/include/database/MysqlManager.php on line 431, referer: http://sugar.westmill.net/install.php

    is due insufficient allocated memory to php.
    Edit your php.ini and increase memory_limit to 256M
    Restart you web server.
    It is "possible" the second error is gone with this fix.

    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.

  8. #8
    Glideh is offline Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Post Re: Sugar 6.2 install

    Thanks Andopes,

    The memory change allowed me to complete the installation (I think it's complete)
    But now trying to go on the main page I get this error (that I had once already before)

    Code:
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, xxx@xxx.xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
    Here is the log (no fatal error):

    Code:
    [Tue Aug 16 10:48:22 2011] [alert] [client xx.xxx.xxx.xxx] /home/httpd/html/default/sugar2/.htaccess: RedirectMatch not allowed here

  9. #9
    Glideh is offline Junior Member
    Join Date
    Jul 2011
    Posts
    10

    Post Re: Sugar 6.2 install

    Thanks Andopes,

    The memory limit change allowed me to complete the installation (I think it's complete)
    But now trying to go on the main page I get this error:

    Code:
    Internal Server Error
    
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, xxx@xxx.xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
    Here is the log (no fatal error):
    Code:
    [Tue Aug 16 10:48:22 2011] [alert] [client xx.xx.xxx.xxx] /home/httpd/html/default/sugar2/.htaccess: RedirectMatch not allowed here

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. install sugar crm 6.0.1
    By red fox in forum Installation and Upgrade Help
    Replies: 11
    Last Post: 2010-11-10, 05:27 AM
  2. Cannot install the sugar 4.5, install.php cannot be displayed.
    By bushbuck in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-11-23, 03:23 PM
  3. Sugar 4.5.1d install
    By pingtone in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2007-06-18, 05:39 PM
  4. Replies: 1
    Last Post: 2006-06-05, 12:01 PM

Tags for this Thread

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
  •