Apache Error Log Question


  • Testers

    Just a quick question. Does anyone know what is causing this error?

    [Wed Oct 07 07:54:09.514830 2015] [:error] [pid 15975] [client 10.24.28.18:50827] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63
    [Wed Oct 07 07:54:09.519121 2015] [:error] [pid 15975] [client 10.24.28.18:50827] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 37
    [Wed Oct 07 07:54:09.519445 2015] [:error] [pid 15975] [client 10.24.28.18:50827] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
    [Wed Oct 07 07:54:09.519577 2015] [:error] [pid 15975] [client 10.24.28.18:50827] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63```

  • Developer


  • Testers

    @Tom-Elliott Still getting alot of errors with 4219

    [Tue Oct 27 08:31:54.331206 2015] [:error] [pid 13121] [client 10.24.28.18:34424] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
    [Tue Oct 27 08:31:54.331388 2015] [:error] [pid 13121] [client 10.24.28.18:34424] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63
    [Tue Oct 27 08:31:54.407476 2015] [:error] [pid 13121] [client 10.24.28.18:34424] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 37
    [Tue Oct 27 08:31:54.408213 2015] [:error] [pid 13121] [client 10.24.28.18:34424] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
    [Tue Oct 27 08:31:54.408345 2015] [:error] [pid 13121] [client 10.24.28.18:34424] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63
    [Tue Oct 27 08:31:54.408792 2015] [:error] [pid 13121] [client 10.24.28.18:34424] PHP Fatal error:  Call to a member function query() on null in /var/www/html/fog/lib/fog/FOGCore.class.php on line 276

  • Senior Developer

    @Raymond-Bell said:

    `

    Can you please update and tell me if it’s any better?


  • Testers

    Still get errors in Apache Log

    [Mon Oct 26 10:43:22.627831 2015] [:error] [pid 2143] [client 10.24.28.18:33357] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
    [Mon Oct 26 10:43:22.627973 2015] [:error] [pid 2143] [client 10.24.28.18:33357] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63
    [Mon Oct 26 10:43:22.628365 2015] [:error] [pid 2143] [client 10.24.28.18:33357] PHP Fatal error:  Call to a member function query() on null in /var/www/html/fog/lib/fog/FOGCore.class.php on line 276
    [Mon Oct 26 14:53:27.331172 2015] [mpm_prefork:notice] [pid 2140] AH00169: caught SIGTERM, shutting down
    [Mon Oct 26 14:53:28.579538 2015] [mpm_prefork:notice] [pid 31553] AH00163: Apache/2.4.16 (Ubuntu) OpenSSL/1.0.1 configured -- resuming normal operations
    [Mon Oct 26 14:53:28.579689 2015] [core:notice] [pid 31553] AH00094: Command line: '/usr/sbin/apache2'
    [Mon Oct 26 15:07:51.817275 2015] [:error] [pid 31556] [client 10.24.28.18:32936] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 37
    [Mon Oct 26 15:07:51.818488 2015] [:error] [pid 31556] [client 10.24.28.18:32936] PHP Warning:  mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
    [Mon Oct 26 15:07:51.818682 2015] [:error] [pid 31556] [client 10.24.28.18:32936] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63```

  • Senior Developer

    The fact that it states “connection refused” would you adjust your /etc/my.cnf (/etc/mysql/my.cnf if ubuntu/debian) and in the [mysqld] section add the line (or uncomment) max_connections = 100?


Log in to reply
 

405
Online

38955
Users

10706
Topics

101576
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.