Forums

Resolved
0 votes
Hello there, my server randomly crash, no messages, just stops responding. I only can find this in logs :
gateway engine: exception: error: /usr/clearos/apps/reports_database/libraries/Database_Report.php (248): SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)


squid stops responding for new clients, eventually, the server goes down.
no mysql server installed, (app), Ideas?
In Support
Tuesday, November 06 2018, 02:34 PM
Share this post:
Responses (4)
  • Accepted Answer

    Tuesday, November 06 2018, 04:49 PM - #Permalink
    Resolved
    0 votes
    Already did it, (mem test, hdd test, processor test) I suppose, the crash is so suddenly, than the logs can't be written. the only thing I can see, is the report engine failing over mysql, then squid crash, then server crash...
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 06 2018, 04:15 PM - #Permalink
    Resolved
    0 votes
    If there is nothing in the logs, it is going to be difficult. Can you monitor "top" and see if something is hogging resources? Can you check your hard disk (smartmontools can be installed with yum)/ If you pull the system down can you do a memory test?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 06 2018, 03:29 PM - #Permalink
    Resolved
    0 votes
    thank you nick, I am running squid in cacheless mode. disk space is more than ok.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 06 2018, 02:55 PM - #Permalink
    Resolved
    0 votes
    There is a sandboxed version of MariaDB installed (system-mariadb). How is your disk space "df -h"? Once you've done that, can you clear your proxy cache?
    The reply is currently minimized Show
Your Reply