How to restart suitecrm

Hey guys,

I am having a hard time with campaigns today. I try to add a bounce email and the site will just hang. I have had to restart the entire machine, not just apache, but a complete reboot, just to be able to login

When I look at the logs, I am seeing the following:


Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheAPC
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheFile
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheMemcache
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheMemcached
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheMemory
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Using cache backend SugarCacheMemory, since 999 is less than 1000
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheRedis
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCachesMash
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheWincache
Tue Sep 13 21:13:00 2016 [1191][-none-][DEBUG] Found cache backend SugarCacheZend
Tue Sep 13 21:13:01 2016 [1191][-none-][INFO] Found language file: en_us.lang.php
Tue Sep 13 21:13:01 2016 [1191][-none-][FATAL] Configuration variable date.timezone is not set, guessed timezone UTC. Please set date.timezone="UTC" in php.ini!
Tue Sep 13 21:13:01 2016 [1191][-none-][FATAL] Could not connect to DB server localhost as root. port : No such file or directory
Tue Sep 13 21:13:01 2016 [1191][-none-][DEBUG] Hook called: ::server_round_trip
Tue Sep 13 21:13:01 2016 [1191][-none-][DEBUG] Including module specific hook file for custom/modules
Tue Sep 13 21:13:01 2016 [1191][-none-][DEBUG] Including Ext hook file for custom/application
Tue Sep 13 21:13:01 2016 [1191][-none-][DEBUG] Calling MySQLi::disconnect()
Tue Sep 13 21:14:00 2016 [1203][-none-][DEBUG] current_language is: en_us

When I go to the command line and type sudo mysql -u root -p and enter the same password that is located in the config.php file - I am able to connect, show databases, use , show tables, etc… If it works on the command line, then is it writing an error of could not connect to DB?

Ultimately my question is: Is there a way to restart suiteCRM without restarting my computer? I have tried - sudo /usr/sbin/apachectl restart - but is of no effect

Thanks in advance

service apache2 restart

why you have setup to “debug” your logs? just for this purpose or you have it like always?

best regards

1 Like

Yeah, I have had in debug mode all along. I find that it can help shed light on issues.

Thanks for the command line suggestion. I tried to restart apache several times and no change.

I finally had to stop mysql. BTW, that was not a smooth process either, but in the end, it is working.

Why do you think that it would freeze up every time that I try to create a bounce account, which is a required field for making a campaign?

Do you think that it is because I was making the campaign in one tab and then I tried to create a bounce account in a separate tab?