Results 1 to 10 of 10

Thread: SugarCRM causes apache2 to crash on "Load Module" page

  1. #1
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default SugarCRM causes apache2 to crash on "Load Module" page

    Sugar Version: 5.2, 5.5RC (tried both, same issue)
    Sugar Edition Sugar Community
    Category: Modules
    Operating System: Ubuntu 9.04
    PHP Version: 5.2.6
    Database: MySQL 5.0.75
    Web Server: Apache 2.2.11

    Steps to reproduce
    1. Click "Load Modules" from admin menu
    2. Everything will load fine.
    3. Click anywhere else, Apache process is aready dead from the end of the last page call.

    Only the load modules page does this, only this application, we host many applications and haven't had this issue before.


    Error message or issue presented
    Apache Log:
    [Fri Oct 16 08:09:22 2009] [error] [client 172.16.100.184] File does not exist: /var/www/internal/crm/include/javascript/yui/ext/resources, referer: http://172.16.100.20/crm/index.php?m...rd&view=module
    [Fri Oct 16 08:09:22 2009] [error] [client 172.16.100.184] File does not exist: /var/www/internal/crm/include/javascript/yui/ext/resources, referer: http://172.16.100.20/crm/index.php?m...rd&view=module
    [Fri Oct 16 08:09:22 2009] [error] [client 172.16.100.184] File does not exist: /var/www/internal/crm/include/javascript/yui/ext/resources, referer: http://172.16.100.20/crm/index.php?m...rd&view=module
    [Fri Oct 16 08:09:22 2009] [error] [client 172.16.100.184] File does not exist: /var/www/internal/crm/include/javascript/yui/assets, referer: http://172.16.100.20/crm/index.php?m...rd&view=module
    [Fri Oct 16 08:09:22 2009] [error] [client 172.16.100.184] File does not exist: /var/www/internal/crm/include/javascript/yui/assets, referer: http://172.16.100.20/crm/index.php?m...rd&view=module
    [Fri Oct 16 08:09:36 2009] [notice] caught SIGTERM, shutting down

    ^Me restarting Apache, it isn't responding.

    SugarCRM Log:
    Reports nothing.

    I know it looks like an Apache issue, but why only this application, this page, and errors are reported with these scripts?

    I've tried fresh installs of SugarCRM, both the stable and RC, no difference.

    Thanks.


    Edit:
    3-0 19129 34/103/103 W 0.82 396 0 57.0 0.14 0.14 172.16.100.184 Server.local GET /crm/index.php?module=Administration&action=index HTTP/1.1

    That is the data of the process in apache that is frozen. Execution time is way over 300 seconds, weird eh?
    Last edited by wdroush; 2009-10-16 at 04:34 PM.

  2. #2
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    Current "workaround" is to open the load module page, restart apache2, upload file, restart apache2, install file, and go back out to the main menu. Modules install fine this way.

    It's only this page, and I shouldn't be doing too much with it, HOWEVER we host production websites, and while a second of being down isn't a huge deal, it does bother me, and especially if another administrator doesn't remember to stay out of the Load Module section and causes the CRM to freeze until I go in and restart the process.

  3. #3
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    Any ideas?

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    I'd recommend finding those missing files from an install zip and move those files over to production so that they don't come up missing anymore.

  5. #5
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    Quote Originally Posted by eggsurplus View Post
    I'd recommend finding those missing files from an install zip and move those files over to production so that they don't come up missing anymore.
    They aren't there, I've tried the two different versions too.

  6. #6
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    Those directories exist in my version (5.2.0j) and have existed in past versions. I wonder if it creates those directories on the fly? If so, could it be a file permissions issue?

  7. #7
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    Fixed the missing files, still crashing apache, now there are no logs on either files.

  8. #8
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    PHP.info
    http://www.certifiedfinancialpg.com/phpinfo.htm



    Apache site:
    Code:
    <VirtualHost 172.16.100.20:80>
    ServerAdmin webmaster@localhost
    
    DocumentRoot /var/www/internal
    <Directory "/">
    		Options FollowSymLinks
    		AllowOverride AuthConfig
    
    </Directory>
    <Directory /var/www/internal>
    	Options Indexes FollowSymLinks MultiViews
    	AllowOverride all
    	Order allow,deny
            Allow from 127.0.0.0/255.0.0.0 ::1/128
            Allow from 172.16.100.0/255.255.255.0
    </Directory>
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
    	AllowOverride None
    	Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    	Order allow,deny
    	Allow from all
    </Directory>
    ErrorLog /var/log/apache2/error.log
    
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    
    CustomLog /var/log/apache2/access.log combined
    
       Alias /doc/ "/usr/share/doc/"
       <Directory "/usr/share/doc/">
           Options Indexes MultiViews FollowSymLinks
            AllowOverride None
            Order deny,allow
            Deny from all
            Allow from 127.0.0.0/255.0.0.0 ::1/128
        </Directory>
    </VirtualHost>
    Any ideas? I think I can bump the number of processes per page (err site, whatever), but that will only work until all the processes are locked. I could write a script to trash bad threads, but I shouldn't have to, etc. etc.

  9. #9
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    It is killing the virtual host, and only the virtual host... all other sites work, but no other scripts on the same virtual host... any ideas what would cause that?

  10. #10
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: SugarCRM causes apache2 to crash on "Load Module" page

    Bingo
    Code:
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Retrieve UpgradeHistory : SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '78a9b5a6-6958-e51a-b26a-4adcf008da45'
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Limit Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '78a9b5a6-6958-e51a-b26a-4adcf008da45'  Start: 0 count: 1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '78a9b5a6-6958-e51a-b26a-4adcf008da45'  LIMIT 0,1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query Execution Time:0.000111103057861
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] rebuilding cache for Administration
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='Administration' AND  deleted = 0
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query Execution Time:0.000227212905884
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Retrieve UpgradeHistory : SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '433fac49-ad01-d718-c7b0-4ad8afca3954'
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Limit Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '433fac49-ad01-d718-c7b0-4ad8afca3954'  Start: 0 count: 1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '433fac49-ad01-d718-c7b0-4ad8afca3954'  LIMIT 0,1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query Execution Time:0.000112056732178
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] rebuilding cache for Administration
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='Administration' AND  deleted = 0
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query Execution Time:0.000231027603149
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Retrieve UpgradeHistory : SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = 'da329ee0-b199-f46f-e997-4ad8c86588ee'
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Limit Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = 'da329ee0-b199-f46f-e997-4ad8c86588ee'  Start: 0 count: 1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = 'da329ee0-b199-f46f-e997-4ad8c86588ee'  LIMIT 0,1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query Execution Time:0.000291109085083
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] rebuilding cache for Administration
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='Administration' AND  deleted = 0
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query Execution Time:0.000109910964966
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Retrieve UpgradeHistory : SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '165159e2-7e6e-d742-aff6-4adcc74ad9b1'
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Limit Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '165159e2-7e6e-d742-aff6-4adcc74ad9b1'  Start: 0 count: 1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query:SELECT upgrade_history.* FROM upgrade_history  WHERE upgrade_history.id = '165159e2-7e6e-d742-aff6-4adcc74ad9b1'  LIMIT 0,1
    Mon Nov  2 13:13:12 2009 [26428][1][INFO] Query Execution Time:0.000113964080811
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] Including generic hook file
    Mon Nov  2 13:13:12 2009 [26428][1][DEBUG] USING HTTPS TO CONNECT TO HEARTBEAT
    Freezes after that.

    Accepting all traffic on the firewall gets rid of the issue.

    Weird, why is SugarCRM doing HTTPS requests on this page?
    Last edited by wdroush; 2009-11-02 at 10:14 PM.

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-09-16, 11:25 AM
  2. About features on "Administration: Module Loader" page
    By satimis in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2008-07-08, 04:40 PM
  3. Replies: 2
    Last Post: 2008-04-28, 04:54 PM
  4. SugarCRM Installation Reaches "Perform Setup" Page and Fails to Complete
    By zeeman48 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-04-19, 03:04 PM
  5. Replies: 1
    Last Post: 2006-08-03, 06:36 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
  •