Inventory Report is blank, host list contains hundreds of entries with full inventory


  • Developer

    @Rivybeast If you don’t get any hints in the apache error logs then check php-fpm logs as well. There must be something that can point us the right way…



  • I have updated to 1.5.6.5. After verifying all the usernames and passwords, we can now capture and deploy images without issue.

    The Inventory Report, however, still does not work. The column headers (Host name, Memory, System Product, etc.) appear for about 1 second and then disappear. Prior to my upgrade to 1.5.6.5 the column headers did not appear at all, so maybe I’m making progress?

    There are no errors in the Apache error.log


  • Developer

    @Rivybeast While the password resync mentioned by George is very important to get right this shouldn’t play much of a role in terms of reports.

    About the bandwidth warnings. I suspect this to be what we have fixed in 1.5.6 already: https://github.com/FOGProject/fogproject/commit/e929fdef58717f344a864d32853ad7e4e92171e7

    Is there a good reason you updated to 1.5.5 and not 1.5.6?


  • Moderator

    @Rivybeast fwiw: I have a tutorial on how to resync these passwords.

    https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

    If you are capturing a password mismatch will be seen at the end of the capture, you will see an error something like “Unable to update database” You will also see manifistations of this where there will be directories in /images/dev/<mac_address> where <mac_address> is the mac address of the machine you were just captured. If everything is working correctly you should not have any directories that resemble mac address in there unless you are capturing images. As a side note you can delete those directories to free up disk space since the upload was botched.

    Do you have storage nodes in your setup, or is there only the main fog server? FTP is used to replicate images to remote storage nodes too.



  • 192.168.0.223 and 192.168.0.69 are systems that we tried to capture. The capture failed.

    I verified the fog user and the fogproject user (both exist in my Linux installation). The passwords match the .fogsettings file and all instances I could find in FOG Configuration > FOG Settings


  • Moderator

    @Rivybeast What were you doing when it threw these errors? What is target 192.168.0.223? Is that a system you were imaging at the time?

    The ftp login incorrect typically means that someone has changed either the linux user fog or with 1.5.6 of FOG the fogproject user account. Those accounts are managed by the fog installer. If someone reset those account passwords, it would throw that error.



  • I tried adjusting the PHP memory limit, with no effect.

    Here is the Apache error.log:

    [Wed Jul 10 07:35:04.199711 2019] [mpm_prefork:notice] [pid 4975] AH00163: Apache/2.4.39 (Ubuntu) OpenSSL/1.1.1c configured -- resuming normal operations
    [Wed Jul 10 07:35:04.199789 2019] [core:notice] [pid 4975] AH00094: Command line: '/usr/sbin/apache2'
    [Wed Jul 10 10:22:37.428426 2019] [proxy_fcgi:error] [pid 28372] [client 192.168.0.1:60578] AH01071: Got error 'PHP message: PHP Warning:  trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogbase.class.php on line 1382\n', referer: http://192.168.0.1/fog/management/index.php?node=image&sub=multicast
    [Wed Jul 10 11:54:43.568866 2019] [proxy_fcgi:error] [pid 28354] [client 192.168.0.1:53028] AH01071: Got error 'PHP message: PHP Warning:  trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogbase.class.php on line 1382\n', referer: http://192.168.0.1/fog/management/index.php?node=image&sub=multicast
    [Wed Jul 10 12:41:04.134483 2019] [proxy_fcgi:error] [pid 13747] [client 192.168.0.223:48198] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:08.775851 2019] [proxy_fcgi:error] [pid 13080] [client 192.168.0.223:48200] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:13.832283 2019] [proxy_fcgi:error] [pid 13752] [client 192.168.0.223:48202] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:18.831008 2019] [proxy_fcgi:error] [pid 13749] [client 192.168.0.223:48204] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:22.687502 2019] [proxy_fcgi:error] [pid 13753] [client 192.168.0.223:48206] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:27.631301 2019] [proxy_fcgi:error] [pid 13080] [client 192.168.0.223:48208] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:33.078709 2019] [proxy_fcgi:error] [pid 13681] [client 192.168.0.223:48210] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:38.435601 2019] [proxy_fcgi:error] [pid 13749] [client 192.168.0.223:48212] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:42.984696 2019] [proxy_fcgi:error] [pid 13751] [client 192.168.0.223:48214] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:47.266173 2019] [proxy_fcgi:error] [pid 13749] [client 192.168.0.223:48216] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:41:52.022788 2019] [proxy_fcgi:error] [pid 13753] [client 192.168.0.223:48218] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:48:34.271167 2019] [proxy_fcgi:error] [pid 13747] [client 192.168.0.223:38034] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:48:39.664344 2019] [proxy_fcgi:error] [pid 13729] [client 192.168.0.223:38036] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:48:44.694602 2019] [proxy_fcgi:error] [pid 13219] [client 192.168.0.223:38038] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:48:48.863348 2019] [proxy_fcgi:error] [pid 13729] [client 192.168.0.223:38040] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:48:52.770175 2019] [proxy_fcgi:error] [pid 13681] [client 192.168.0.223:38042] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:48:57.389075 2019] [proxy_fcgi:error] [pid 13753] [client 192.168.0.223:38044] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:49:02.626468 2019] [proxy_fcgi:error] [pid 13747] [client 192.168.0.223:38046] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:49:07.565807 2019] [proxy_fcgi:error] [pid 13729] [client 192.168.0.223:38048] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:49:12.375292 2019] [proxy_fcgi:error] [pid 13214] [client 192.168.0.223:38050] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:49:17.684240 2019] [proxy_fcgi:error] [pid 13753] [client 192.168.0.223:38052] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 12:49:23.134783 2019] [proxy_fcgi:error] [pid 13219] [client 192.168.0.223:38054] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:41:38.500351 2019] [proxy_fcgi:error] [pid 13214] [client 192.168.0.69:34790] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:41:42.903551 2019] [proxy_fcgi:error] [pid 13219] [client 192.168.0.69:34792] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:41:48.791382 2019] [proxy_fcgi:error] [pid 13080] [client 192.168.0.69:34794] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:41:54.003529 2019] [proxy_fcgi:error] [pid 13751] [client 192.168.0.69:34796] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:41:59.051117 2019] [proxy_fcgi:error] [pid 13729] [client 192.168.0.69:34798] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:42:03.435854 2019] [proxy_fcgi:error] [pid 13752] [client 192.168.0.69:34800] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:42:08.523313 2019] [proxy_fcgi:error] [pid 13747] [client 192.168.0.69:34802] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:42:13.229994 2019] [proxy_fcgi:error] [pid 13219] [client 192.168.0.69:34804] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:42:17.860132 2019] [proxy_fcgi:error] [pid 13749] [client 192.168.0.69:34806] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:42:21.905914 2019] [proxy_fcgi:error] [pid 13753] [client 192.168.0.69:34808] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 14:42:26.025684 2019] [proxy_fcgi:error] [pid 13214] [client 192.168.0.69:34810] AH01071: Got error 'PHP message: PHP Warning:  ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464\n'
    [Wed Jul 10 15:57:09.564586 2019] [proxy:error] [pid 13747] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
    [Wed Jul 10 15:57:09.564690 2019] [proxy_fcgi:error] [pid 13747] [client 10.0.7.38:58342] AH01079: failed to make connection to backend: 127.0.0.1, referer: http://10.0.0.29/fog/management/index.php?node=report&sub=file&f=aW52ZW50b3J5IHJlcG9ydA%3D%3D
    [Wed Jul 10 15:57:32.440694 2019] [mpm_prefork:notice] [pid 4975] AH00169: caught SIGTERM, shutting down
    [Wed Jul 10 15:59:45.952514 2019] [mpm_prefork:notice] [pid 1455] AH00163: Apache/2.4.39 (Ubuntu) OpenSSL/1.1.1c configured -- resuming normal operations
    [Wed Jul 10 15:59:46.201174 2019] [core:notice] [pid 1455] AH00094: Command line: '/usr/sbin/apache2'
    [Wed Jul 10 16:00:58.543325 2019] [proxy_fcgi:error] [pid 2316] [client 192.168.0.1:52808] AH01071: Got error 'PHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\n'
    [Wed Jul 10 16:00:59.818285 2019] [proxy_fcgi:error] [pid 2306] [client 192.168.0.1:52814] AH01071: Got error 'PHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\n'
    [Wed Jul 10 16:01:01.088024 2019] [proxy_fcgi:error] [pid 1485] [client 192.168.0.1:52820] AH01071: Got error 'PHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\n'
    [Wed Jul 10 16:01:02.348814 2019] [proxy_fcgi:error] [pid 1482] [client 192.168.0.1:52826] AH01071: Got error 'PHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\n'
    [Wed Jul 10 16:01:03.630748 2019] [proxy_fcgi:error] [pid 1636] [client 192.168.0.1:52860] AH01071: Got error 'PHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\nPHP message: PHP Notice:  A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\n'
    

    Looks like I have some authentication problems. I’m not sure where to look to correct that.


  • Developer

    @Rivybeast When you see blank pages take a look at the apache error logs (see my signature) and post the errors here.

    The other thing that comes to mind is possibly PHP memory limit kicking in - see George’s post here: https://forums.fogproject.org/post/124047


Log in to reply
 

319
Online

6.1k
Users

13.4k
Topics

126.4k
Posts