• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. chaonatic
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 22
    • Best 0
    • Controversial 0
    • Groups 1

    Posts made by chaonatic

    • RE: Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      @george1421 said in Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues:

      What I’m going to recommend is that you go into FOG Configuration -> FOG Settings, then hit the expand all button. Search that page for bzImage update that field to match the new kernel name.

      Ahhh, perfect! Thanks (and duh!) that’s a far better option way to do it.

      This one is a bit more complicated to answer. I know there are a set if iPXE bootloaders that contain a 10 second timeout for the network to settle before it tries to init the network. If you loog on the fog server in /tftpboot. There should be a directory something about 10secdelay or like that. In there, there is similar files to the main directory. So to use them in your dhcp server, in the configuraiton for uefi booting change the field from ipxe.efi to 10secdelay/ipxe.efi or what ever the parent directory is called for those delay ipxe boot loaders.

      Okay, I changed the boot file name and it did do the 10 second delay, but it’s still not PXE booting off of a USB-C NIC or the dock. Any other ideas I could try?

      Thanks @george1421!

      posted in FOG Problems
      C
      chaonatic
    • RE: Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      @george1421, @Sebastian-Roth, do either of you have an idea on how I can implement the first bullet point (I assume I just rename the kernel, but want to make sure,) and how I can test/fix the second bullet point? tia

      posted in FOG Problems
      C
      chaonatic
    • RE: Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      @sebastian-roth said in Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues:

      @chaonatic The error seen in the picture points to a spelling issue in the filename I am pretty sure. Linux is case sensitive! Make sure it’s named exactly as seen in the picture.

      So sorry for the late reply, it’s been a… month. So the reason this was “spelled wrong” wasn’t that it was actually spelled wrong, it was that I had transferred the kernel over prior to compiling the iPXE client. I used the “poor man’s” method for getting the package in the right location by reinstalling FOG after compile, thereby overwriting the directory housing the kernels… d’oh! Thanks for bringing this to my attention, @Sebastian-Roth, after putting the modified kernel back it worked a charm!

      So this is all good. The modified kernel is working on the gen 6, 7 & 8 Lenovo x1 Carbon with the Lenovo ThinkPad Ethernet Adapter. However… when I attempt to PXE boot off of the ThinkPad USB-C Dock or a USB-C NIC with MAC passthrough enabled, iPXE bombs out with the following:

      09ba1abf-e42e-4e1f-ac80-6b93544a724d-image.png
      Error: https://ipxe.org/err/380861

      If I disable MAC passthrough it boots just fine. I can only surmise, based on logic and my oh-so-limited knowledge of coding, that this is actually a timeout issue rather than a driver issue (since I had updated to the latest iPXE code as of two weeks ago).

      So, how do I:

      • Make modified kernel the FOG default?
        And
      • Test the iPXE timeout or fix this issue when we attempt to image laptops on the dock…?

      Thanks again, y’all are my heroes!

      posted in FOG Problems
      C
      chaonatic
    • Lenovo x1 Carbon Gen 7, 8 & 9 USB NIC Issues

      So I thought the kernal that @Sebastian-Roth had created for @michaeloberg (here) had remedied our inability to use USB NICs and enable MAC passthrough on these x1 Carbon laptops. While it’s closer than it had been, it’s not quite working as we’re now getting a “Chainloading” error:

      8eafa933-c462-4f68-aa27-23236ee79958-image.png

      As you can see, I’ve updated/recompiled my iPXE build to the latest available. I’m kinda at a loss as to what’s wrong here, so if anyone has an idea of where to go from here or something to try, please let me know. I would be happy to recreate the steps I’ve taken to get to this spot, so lemme know if that’s necessary, too.

      Thanks!

      posted in FOG Problems
      C
      chaonatic
    • RE: HP Probook 430 G8 System MAC not passing through USB Type-C Dongle

      @sebastian-roth said in HP Probook 430 G8 System MAC not passing through USB Type-C Dongle:

      @michaeloberg Ok, I just build a new kernel without the cdc_ether driver included (latest 5.10.83): https://fogproject.org/kernels/bzImage-no-cdc_ether

      Give that a try and let us know.

      I’m sorry, I don’t mean to threadjack, but I have been strugglebussing for years (literally) trying to get these Lenovo ThinkPad x1 Carbon Gens 7, 8 and 9 to image with a dongle but have had no luck. Using this kernal has solved the USB adapter problems. How do I go about making it the main kernal so I don’t have to pre-create a machine and specify the kernal?

      Please feel free to break this off into another thread (I just wanted it to have some context,) as there are a few other things that I have questions about.

      Thank you so much for the amazing things y’all do!

      posted in FOG Problems
      C
      chaonatic
    • RE: FOG 1.5.7 Update Database Issue

      @Sebastian-Roth Well we’re definitely closer. The installer doesn’t fail when installing the databases but when you get to updating the database I’m still getting the Database connection unavailable error. Is this something to do with the blank vs not blank password (I mean, I’ve not yet set a DB pass)?

      posted in FOG Problems
      C
      chaonatic
    • RE: FOG 1.5.7 Update Database Issue

      @Sebastian-Roth said in FOG 1.5.7 Update Database Issue:

      What happens if you run sudo apt-get install mariadb-client-10.1??

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libevent-core-2.1-6 mysql-server-core-5.7
      Use 'apt autoremove' to remove them.
      The following additional packages will be installed:
        libconfig-inifiles-perl libjemalloc1 mariadb-client-core-10.1 mariadb-common
      The following packages will be REMOVED:
        mysql-client mysql-client-5.7 mysql-client-core-5.7 mysql-server mysql-server-5.7
      The following NEW packages will be installed:
        libconfig-inifiles-perl libjemalloc1 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common
      0 upgraded, 5 newly installed, 5 to remove and 120 not upgraded.
      Need to get 10.5 MB of archives.
      After this operation, 44.0 MB disk space will be freed.
      Do you want to continue? [Y/n] y
      Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libconfig-inifiles-perl all 2.94-1 [40.4 kB]
      Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mariadb-common all 1:10.1.40-0ubuntu0.18.04.1 [16.2 kB]
      Get:3 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mariadb-client-core-10.1 amd64 1:10.1.40-0ubuntu0.18.04.1 [4,745 kB]
      Get:4 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 libjemalloc1 amd64 3.6.0-11 [82.4 kB]
      Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mariadb-client-10.1 amd64 1:10.1.40-0ubuntu0.18.04.1 [5,646 kB]
      Fetched 10.5 MB in 3s (4,077 kB/s)
      (Reading database ... 114360 files and directories currently installed.)
      Removing mysql-client (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-server (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-server-5.7 (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-client-5.7 (5.7.26-0ubuntu0.18.04.1) ...
      Removing mysql-client-core-5.7 (5.7.26-0ubuntu0.18.04.1) ...
      Selecting previously unselected package libconfig-inifiles-perl.
      (Reading database ... 114235 files and directories currently installed.)
      Preparing to unpack .../libconfig-inifiles-perl_2.94-1_all.deb ...
      Unpacking libconfig-inifiles-perl (2.94-1) ...
      Selecting previously unselected package mariadb-common.
      Preparing to unpack .../mariadb-common_1%3a10.1.40-0ubuntu0.18.04.1_all.deb ...
      Unpacking mariadb-common (1:10.1.40-0ubuntu0.18.04.1) ...
      Selecting previously unselected package mariadb-client-core-10.1.
      Preparing to unpack .../mariadb-client-core-10.1_1%3a10.1.40-0ubuntu0.18.04.1_amd64.deb ...
      Unpacking mariadb-client-core-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      Selecting previously unselected package libjemalloc1.
      Preparing to unpack .../libjemalloc1_3.6.0-11_amd64.deb ...
      Unpacking libjemalloc1 (3.6.0-11) ...
      Selecting previously unselected package mariadb-client-10.1.
      Preparing to unpack .../mariadb-client-10.1_1%3a10.1.40-0ubuntu0.18.04.1_amd64.deb ...
      Unpacking mariadb-client-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      Setting up mariadb-common (1:10.1.40-0ubuntu0.18.04.1) ...
      Setting up libconfig-inifiles-perl (2.94-1) ...
      Setting up libjemalloc1 (3.6.0-11) ...
      Setting up mariadb-client-core-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      Processing triggers for libc-bin (2.27-3ubuntu1) ...
      Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
      Setting up mariadb-client-10.1 (1:10.1.40-0ubuntu0.18.04.1) ...
      

      @Sebastian-Roth said in FOG 1.5.7 Update Database Issue:

      As well try sudo apt-get -f install - post output here.

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libevent-core-2.1-6 mysql-server-core-5.7
      Use 'apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded.
      
      posted in FOG Problems
      C
      chaonatic
    • RE: FOG 1.5.7 Update Database Issue

      @Sebastian-Roth said in FOG 1.5.7 Update Database Issue:

      @chaonatic Manually edit /opt/fog/.fogproject and change the line starting with packages=.... Make the parts with “mariadb…” to read like this: MariaDB-client MariaDB-server (yeah, upper case M …)

      I don’t see the .fogproject file, only .fogsettings. I did attempt to change the two database entries in the settings file from mysql-client and mysql-server (note that they were generically named) to MariaDB-client and MariaDB-server but I got the same installation results. To be clear, I need to modify these entries prior to installing the update, right?

      @george1421 said in FOG 1.5.7 Update Database Issue:

      From the fog server linux command prompt what do you get when you key in sudo apt-get install mariadb-client?

      I get the following:

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      
      The following packages have unmet dependencies:
       mariadb-client : Depends: mariadb-client-10.1 (>= 1:10.1.40-0ubuntu0.18.04.1) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      

      If I try sudo apt-get install MariaDB-client I get:

      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package MariaDB-client
      
      posted in FOG Problems
      C
      chaonatic
    • FOG 1.5.7 Update Database Issue

      On Ubuntu 18.04.2, when upgrading FOG from 1.5.6 to 1.5.7, I get the following error:

       * Installing package: mariadb-client..........................Failed! (Will try later)
      

      Then the install hangs for quite some time here:

       * Setting up and starting MySQL........................
      

      When the installer asks to hit the web interface to setup the database schema we are just left with the “Database connection unavailable” dialogue.

      I’m not sure what’s amiss here so any direction would be totally welcome. Thanks!

      posted in FOG Problems
      C
      chaonatic
    • RE: Snapin Update Fail

      Thanks for the prompt response Sebastian, you guys rock!

      I was able to resolve this by installing FOG 1.5.5 again after I fixed the TFTPD-HPA issue. You woulda thought I’d tried that already, but you’d be wrong, ugh. Anyway, please mark this as solved and thanks again, Sebastian.

      posted in FOG Problems
      C
      chaonatic
    • Snapin Update Fail

      I’m getting the following error when I try to update a snapin:

      0_1543870608888_FTP.png

      I also get the following error when I try to deploy a snapin:

      SnapinClient ERROR: Hash does not match
      

      I figured this was an issue with the TFTP/FTP password, so I followed this guide to verify all of the “fog” user passwords matched (which I now realize wasn’t necessary, so yeah…)

      Wiki --> Credentials / Passwords

      Chain of events: I was on Ubuntu Server 14.04/FOG 1.5.4. I updated Ubuntu, first to 16.04 then to 18.04.1 and then I updated FOG to 1.5.5. I did have to repair the TFTPD-HPA service to get it to start correctly, not sure if this caused the issue with FOG…

      Can anyone enlighten me or tell me what to try next?

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      @joe-schmitt No, I just looked and there are no virtual NIC’s that I can see. Our VPN is only installed after the image rollout via a snapin.

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      @joe-schmitt I ran that command. Both of our gold image VM MAC addresses is only listed once in the resulting table. What should I try next?

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      @wayne-workman I found an exception list in the “FOG Client - Host Register” --> “QUICKREG PENDING MAC FILTER”, though this doesn’t seem like the one you’re referring to… I’ll keep looking if this is incorrect, just lemme know.

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      @wayne-workman Yeah, the master image is a VM.

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      Thanks, Wayne. I ran those commands against the database but unfortunately the fog.log is still reporting the same “Middleware::Response ERROR”. I’m going to attempt upgrading to FOG 1.5.2 next, but let me know if there’s anything else you would recommend in the meantime.

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      The error log is quite large, nearly 4MB. Here’s a portion:

      [Mon Apr 09 06:27:15.300066 2018] [mpm_prefork:notice] [pid 1498] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured -- resuming normal operations
      [Mon Apr 09 06:27:15.300090 2018] [core:notice] [pid 1498] AH00094: Command line: '/usr/sbin/apache2'
      [Mon Apr 09 11:02:25.803453 2018] [mpm_prefork:notice] [pid 1498] AH00169: caught SIGTERM, shutting down
      [Mon Apr 09 11:02:42.066304 2018] [mpm_prefork:notice] [pid 14794] AH00163: Apache/2.4.33 (Ubuntu) OpenSSL/1.1.0h configured -- resuming normal operations
      [Mon Apr 09 11:02:42.066355 2018] [core:notice] [pid 14794] AH00094: Command line: '/usr/sbin/apache2'
      [Mon Apr 09 11:03:58.791494 2018] [mpm_prefork:notice] [pid 14794] AH00169: caught SIGTERM, shutting down
      [Mon Apr 09 11:04:32.260699 2018] [mpm_prefork:notice] [pid 4138] AH00163: Apache/2.4.33 (Ubuntu) OpenSSL/1.1.0h configured -- resuming normal operations
      [Mon Apr 09 11:04:32.260786 2018] [core:notice] [pid 4138] AH00094: Command line: '/usr/sbin/apache2'
      [Mon Apr 09 11:05:07.880201 2018] [php7:error] [pid 4175] [client xx.xx.xx.xx:51075] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:09.727442 2018] [php7:error] [pid 4143] [client xx.xx.xx.xx:55637] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:14.183925 2018] [php7:error] [pid 4300] [client xx.xx.xx.xx:55823] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:15.354272 2018] [php7:error] [pid 4237] [client xx.xx.xx.xx:56201] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:18.824752 2018] [php7:error] [pid 4296] [client xx.xx.xx.xx:63572] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:19.296611 2018] [php7:error] [pid 4244] [client xx.xx.xx.xx:54826] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:20.526256 2018] [php7:error] [pid 4305] [client xx.xx.xx.xx:58498] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:25.073969 2018] [php7:error] [pid 4246] [client xx.xx.xx.xx:49811] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:26.346861 2018] [php7:error] [pid 4143] [client xx.xx.xx.xx:54840] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:26.783144 2018] [php7:error] [pid 4244] [client xx.xx.xx.xx:57937] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:29.846180 2018] [php7:error] [pid 4175] [client xx.xx.xx.xx:64607] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:52.290899 2018] [php7:error] [pid 4245] [client xx.xx.xx.xx:54762] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:05:55.881944 2018] [php7:error] [pid 4246] [client xx.xx.xx.xx:51410] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:06:08.460724 2018] [php7:error] [pid 4246] [client xx.xx.xx.xx:54716] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:06:39.182908 2018] [php7:error] [pid 4264] [client xx.xx.xx.xx:61637] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 261, referer: http://xx.xx.xx.xx/fog/management/index.php?node=host&sub=edit&id=174
      [Mon Apr 09 11:08:58.537026 2018] [php7:error] [pid 4177] [client xx.xx.xx.xx:49320] PHP Fatal error:  Uncaught Exception: Error multiple hosts returned for list of mac addresses in /var/www/html/fog/lib/fog/hostmanager.class.php:209\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(571): HostManager->getHostByMacAddresses(Array)\n#1 /var/www/html/fog/lib/client/registerclient.class.php(46): FOGBase::getHostItem(true, false, false, true)\n#2 /var/www/html/fog/lib/fog/fogpage.class.php(3005): RegisterClient->json()\n#3 /var/www/html/fog/lib/fog/fogpage.class.php(249): FOGPage->requestClientInfo()\n#4 /var/www/html/fog/lib/pages/processlogin.class.php(57): FOGPage->__construct('')\n#5 /var/www/html/fog/lib/fog/fogpagemanager.class.php(381): ProcessLogin->__construct()\n#6 [internal function]: FOGPageManager->{closure}('/var/www/html/f...')\n#7 /var/www/html/fog/lib/fog/fogpagemanager.class.php(386): array_map(Object(Closure), Array)\n#8 /var/www/html/fog/lib/fog/fogpagemanager.class.php(79): FOGPageManager->loadPageClasses()\n#9 [internal function]: FOGPageManager->__construct()\n#10 /var/www/html/fog/lib/fog/fo in /var/www/html/fog/lib/fog/hostmanager.class.php on line 209
      [Mon Apr 09 11:11:19.052570 2018] [php7:error] [pid 8040] [client xx.xx.xx.xx:62387] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/fog/lib/fog/fogbase.class.php on line 2398, referer: http://xx.xx.xx.xx/fog/management/index.php?node=host&sub=edit&id=174
      

      Please let me know what else you would like and thanks.

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      Here’s a snippet from another host:

      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       4/9/2018 12:57 PM Client-Info Client Version: 0.11.15
       4/9/2018 12:57 PM Client-Info Client OS:      Windows
       4/9/2018 12:57 PM Client-Info Server Version: 1.5.0
       4/9/2018 12:57 PM Middleware::Response ERROR: Unable to get subsection
       4/9/2018 12:57 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
       4/9/2018 12:57 PM Service Sleeping for 67 seconds
       4/9/2018 12:58 PM Middleware::Communication URL: http://xx.xx.xx.xx/fog/management/index.php?sub=requestClientInfo&configure&newService&json
       4/9/2018 12:58 PM Middleware::Response Success
       4/9/2018 12:58 PM Middleware::Communication URL: http://xx.xx.xx.xx/fog/management/index.php?sub=requestClientInfo&mac=[BUNCH OF MAC ADDRESSES]&newService&json
       4/9/2018 12:58 PM Middleware::Communication ERROR: Could not contact FOG server
       4/9/2018 12:58 PM Middleware::Communication ERROR: The remote server returned an error: (500) Internal Server Error.
       4/9/2018 12:58 PM Middleware::Response Success
       4/9/2018 12:58 PM Middleware::Communication URL: http://xx.xx.xx.xx/fog/service/getversion.php?clientver&newService&json
       4/9/2018 12:58 PM Middleware::Communication URL: http://xx.xx.xx.xx/fog/service/getversion.php?newService&json
      
       4/9/2018 12:58 PM Service Creating user agent cache
       4/9/2018 12:58 PM Middleware::Response ERROR: Unable to get subsection
       4/9/2018 12:58 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
       4/9/2018 12:58 PM Middleware::Response ERROR: Unable to get subsection
       4/9/2018 12:58 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
       4/9/2018 12:58 PM Middleware::Response ERROR: Unable to get subsection
       4/9/2018 12:58 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
      

      I assume this is the concerning part:

       4/9/2018 12:58 PM Middleware::Communication ERROR: The remote server returned an error: (500) Internal Server Error.
      

      But the client was able to update itself and identifies/downloads the cert just fine.

      posted in FOG Problems
      C
      chaonatic
    • RE: Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      I’ve tried to reset the encryption numerous times on numerous hosts, including this one, but to no avail. Here’s a snippet from the log file:

      ------------------------------------------------------------------------------
      --------------------------------PowerManagement-------------------------------
      ------------------------------------------------------------------------------
       4/9/2018 12:19 PM Client-Info Client Version: 0.11.15
       4/9/2018 12:19 PM Client-Info Client OS:      Windows
       4/9/2018 12:19 PM Client-Info Server Version: 1.5.0
       4/9/2018 12:19 PM Middleware::Response ERROR: Unable to get subsection
       4/9/2018 12:19 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
      
      ------------------------------------------------------------------------------
      ----------------------------------UserTracker---------------------------------
      ------------------------------------------------------------------------------
       4/9/2018 12:19 PM Client-Info Client Version: 0.11.15
       4/9/2018 12:19 PM Client-Info Client OS:      Windows
       4/9/2018 12:19 PM Client-Info Server Version: 1.5.0
       4/9/2018 12:19 PM Middleware::Response ERROR: Unable to get subsection
       4/9/2018 12:19 PM Middleware::Response ERROR: Object reference not set to an instance of an object.
       4/9/2018 12:19 PM Service Sleeping for 142 seconds
       4/9/2018 12:23 PM Main Overriding exception handling
       4/9/2018 12:23 PM Main Bootstrapping Zazzles
       4/9/2018 12:23 PM Controller Initialize
       4/9/2018 12:23 PM Controller Start
      
       4/9/2018 12:23 PM Service Starting service
       4/9/2018 12:23 PM Bus Became bus server
       4/9/2018 12:23 PM Bus Emmiting message on channel: Status
       4/9/2018 12:23 PM Service Invoking early JIT compilation on needed binaries
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       4/9/2018 12:23 PM Client-Info Version: 0.11.15
       4/9/2018 12:23 PM Client-Info OS:      Windows
       4/9/2018 12:23 PM Middleware::Authentication Waiting for authentication timeout to pass
       4/9/2018 12:23 PM Middleware::Communication Download: http://10.0.0.21/fog/management/other/ssl/srvpublic.crt
       4/9/2018 12:23 PM Data::RSA FOG Server CA cert found
       4/9/2018 12:23 PM Middleware::Authentication Cert OK
       4/9/2018 12:24 PM Middleware::Communication POST URL: http://10.0.0.21/fog/management/index.php?sub=requestClientInfo&authorize&newService
       4/9/2018 12:24 PM Middleware::Response Error multiple hosts returned for list of mac addresses
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       4/9/2018 12:24 PM Client-Info Version: 0.11.15
       4/9/2018 12:24 PM Client-Info OS:      Windows
       4/9/2018 12:24 PM Middleware::Authentication Waiting for authentication timeout to pass
       4/9/2018 12:26 PM Middleware::Communication Download: http://xx.xx.xx.xx/fog/management/other/ssl/srvpublic.crt
       4/9/2018 12:26 PM Data::RSA FOG Server CA cert found
       4/9/2018 12:26 PM Middleware::Authentication Cert OK
       4/9/2018 12:26 PM Middleware::Communication POST URL: http://xx.xx.xx.xx/fog/management/index.php?sub=requestClientInfo&authorize&newService
       4/9/2018 12:26 PM Middleware::Response Error multiple hosts returned for list of mac addresses
      
      ------------------------------------------------------------------------------
      --------------------------------Authentication--------------------------------
      ------------------------------------------------------------------------------
       4/9/2018 12:26 PM Client-Info Version: 0.11.15
       4/9/2018 12:26 PM Client-Info OS:      Windows
       4/9/2018 12:26 PM Middleware::Authentication Waiting for authentication timeout to pass
      

      I suspect that the concerning part of the log is this:

      4/9/2018 12:26 PM Middleware::Response Error multiple hosts returned for list of mac addresses
      

      However, when I search for the MAC address, it returns only this one device.

      Please let me know what you would like me to do next. Thank you, Wayne!!

      posted in FOG Problems
      C
      chaonatic
    • Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

      This error is cropping up on a fair number of our machines (this is in the FOG Log on the host machine.) I’ve seen this being an issue in the past with other people’s database however I have not been able to fix it in my environment. This has been going on for quite some time, going back to Fog Client version 0.11.12, so I thought it would possibly be resolved by updating FOG to 1.5.0 but I was wrong.

      I’m sure there’s something amiss with my database but I’m a serious Linux noob and don’t know how to go about resolving the issue, or rebuilding the database. Any help would be very much appreciated! This install is on Ubuntu Server 14.04.5 LTS. Thanks!

      posted in FOG Problems
      C
      chaonatic
    • 1
    • 2
    • 1 / 2