Problem with log files
-
I’m using SVN 4193 on Ubuntu 14.04.2 web server error when trying to view logs.
here is my last few lines of error log after re-install… There are about 100 errors about line 59 & line 60 before this, but those were always there…Below is different…
[Mon Jul 27 08:54:33.886758 2015] [:error] [pid 1347] [client 10.72.145.4:63549] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 60 [Mon Jul 27 08:54:33.886876 2015] [:error] [pid 1347] [client 10.72.145.4:63549] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 60 [Mon Jul 27 08:54:34.260653 2015] [:error] [pid 1348] [client 10.72.2.107:52653] PHP Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 163 [Mon Jul 27 08:54:34.260689 2015] [:error] [pid 1348] [client 10.72.2.107:52653] PHP Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 163 [Mon Jul 27 08:54:53.233533 2015] [:error] [pid 1345] [client 10.72.2.107:52691] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/fog/lib/fog/StorageGroup.class.php on line 24, referer: http://10.72.3.50/fog/management/index.php?node=about [Mon Jul 27 08:54:53.233845 2015] [:error] [pid 1345] [client 10.72.2.107:52691] PHP Fatal error: Call to a member function isValid() on boolean in /var/www/html/fog/lib/pages/FOGConfigurationPage.class.php on line 740, referer: http://10.72.3.50/fog/management/index.php?node=about
Any ideas ?
Mod edited to use code box. -
Here’s my apache error log. I’m on r4193
[Mon Jul 27 08:01:12.905615 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.905949 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.906277 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.906418 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.906715 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.907037 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.907345 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.907643 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.907779 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59 [Mon Jul 27 08:01:12.922432 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 147 [Mon Jul 27 08:01:12.922458 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning: mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 147 [Mon Jul 27 08:01:14.125664 2015] [:error] [pid 13301] [client 10.2.3.51:63626] PHP Warning: mysqli::mysqli(): MySQL server has gone away in /var/www/html/fog/lib/db/MySQL.class.php on line 37 [Mon Jul 27 08:01:19.328106 2015] [mpm_prefork:notice] [pid 830] AH00170: caught SIGWINCH, shutting down gracefully [Mon Jul 27 08:01:27.390211 2015] [suexec:notice] [pid 13921] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message [Mon Jul 27 08:01:27.414239 2015] [auth_digest:notice] [pid 13921] AH01757: generating secret for digest authentication ... [Mon Jul 27 08:01:27.414885 2015] [lbmethod_heartbeat:notice] [pid 13921] AH02282: No slotmem from mod_heartmonitor [Mon Jul 27 08:01:27.434172 2015] [mpm_prefork:notice] [pid 13921] AH00163: Apache/2.4.12 (Fedora) OpenSSL/1.0.1k-fips PHP/5.6.11 configured -- resuming normal operations [Mon Jul 27 08:01:27.434197 2015] [core:notice] [pid 13921] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
-
do your logs display correctly within the webui ?
-
@Hanz yes they do, that’s where I pulled them from.
-
Mine aren’t showing up, I pulled that manually.
-
For the record, I’m using Fedora 21 Server - fully updated as of this morning.
-
The log files should, hopefully, start appearing again, though there’s no guarantee as I don’t know all particular setups. Hopefully they just work though.