SuiteCRM can't lauch

Hi,

My suitecrm cannot open and no error log in suitecrm.log but I got error log from apache2 like this :

tail -f /var/log/apache2/error.log
[Sat May 14 11:59:23.316865 2016] [:error] [pid 10525:tid 140234029262592] [client 115.69.219.26:49953] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: #4 {main}
[Sat May 14 11:59:23.316867 2016] [:error] [pid 10525:tid 140234029262592] [client 115.69.219.26:49953] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: thrown in /var/www/html/warehousing/include/utils.php on line 1623
[Sat May 14 12:03:02.412030 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: PHP message: PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Could not connect to the database. Please refer to suitecrm.log for details.’ in /var/www/html/warehousing/include/utils.php:1623
[Sat May 14 12:03:02.412061 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: Stack trace:
[Sat May 14 12:03:02.412065 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: #0 /var/www/html/warehousing/include/database/MysqliManager.php(289): sugar_die(‘Could not conne…’)
[Sat May 14 12:03:02.412069 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: #1 /var/www/html/warehousing/include/database/DBManagerFactory.php(147): MysqliManager->connect(Array, true)
[Sat May 14 12:03:02.412072 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: #2 /var/www/html/warehousing/include/entryPoint.php(179): DBManagerFactory::getInstance()
[Sat May 14 12:03:02.412075 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: #3 /var/www/html/warehousing/index.php(47): require_once(’/var/www/html/w…’)
[Sat May 14 12:03:02.412078 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: #4 {main}
[Sat May 14 12:03:02.412080 2016] [:error] [pid 10525:tid 140233953728256] [client 115.69.219.26:50279] FastCGI: server “/usr/lib/cgi-bin/php5-fcgi” stderr: thrown in /var/www/html/warehousing/include/utils.php on line 1623

Any body know what the error ?

A few things you can check:

  • if your disk is full (check /tmp directory)

  • if your database credentials are ok - SuiteCRM seems to be unable to connect to database

A few things here might help you: https://suitecrm.com/forum/installation-upgrade-help/1277-when-attempting-to-install-suitecrm-7-1-1-max-edition-a-database-connection-error-occurs

Config connection to database and disk free size no issue. I don’t know how this issue come
I was try some trick but still still same issue error log.

Any ideas?

I don’t really have many ideas… but perhaps:

  • Maybe go back to an earlier backup?

  • try to access mysql from the command-line

  • try to access Mysql from phpMyAdmin if you have it installed

  • use a debugger and step through the code to see exactly what is happening when the error occurs