@Wayne-Workman said:
What SVN / Cloud version?
SVN 5283, but I’ve seen it for the past several SVNs.
@Wayne-Workman said:
What SVN / Cloud version?
SVN 5283, but I’ve seen it for the past several SVNs.
FOG inventory creates a blank export with their csv or pdf. I’ve included the apache.log output, but I don’t know if its a FOG, PHP, or Apache issue. Any suggestions?
edit: SVN 5283, but I’ve seen it for the past several SVNs.
root@fog:~# tail /var/log/apache2/error.log
[Mon Nov 09 15:48:58.308174 2015] [:error] [pid 3498] [client 10.195.65.148:51081] PHP Warning: mcrypt_decrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /var/www/fog/lib/fog/FOGBase.class.php on line 375
[Mon Nov 09 15:48:58.308269 2015] [:error] [pid 3498] [client 10.195.65.148:51081] PHP Warning: mcrypt_decrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /var/www/fog/lib/fog/FOGBase.class.php on line 375
[Mon Nov 09 15:48:58.308398 2015] [:error] [pid 3498] [client 10.195.65.148:51081] PHP Warning: mcrypt_decrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /var/www/fog/lib/fog/FOGBase.class.php on line 375
[Mon Nov 09 15:48:58.308494 2015] [:error] [pid 3498] [client 10.195.65.148:51081] PHP Warning: mcrypt_decrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /var/www/fog/lib/fog/FOGBase.class.php on line 375
[Mon Nov 09 15:48:59.659375 2015] [:error] [pid 3498] [client 10.195.65.148:51081] PHP Warning: Error while sending STMT_PREPARE packet. PID=3498 in /var/www/fog/lib/db/MySQL.class.php on line 56
When assigning a printer to a host or removing one it messes up the path to the drive with extra backslashes. I know its been discussed before, but before once corrected it would stay fixed. I went through all our printers and corrected the incorrect path, but now, when I assign a printer the extra slashes come back and then mess up other hosts that already had them installed or were waiting to have the printer installed. I don’t mind fixing the printers, but having them revert each time is just treading water.
Thanks for the help everyone, it seems up and working now, but I can’t say I know why. I didn’t get to change the MaxRequestWorkers before it came up.
I did notice in /var I have a fog and a wwwfog directory which I never remember seeing.
@Tom-Elliott said:
@Scott-B What is the error that you see in apache error logs?
[Mon Nov 09 10:15:30.289314 2015] [core:warn] [pid 19961] AH00045: child process 20839 still did not exit, sending a SIGTERM
[Mon Nov 09 10:15:32.291371 2015] [core:error] [pid 19961] AH00046: child process 20839 still did not exit, sending a SIGKILL
[Mon Nov 09 10:15:33.292477 2015] [mpm_prefork:notice] [pid 19961] AH00169: caught SIGTERM, shutting down
[Mon Nov 09 10:15:34.009790 2015] [mpm_prefork:notice] [pid 20864] AH00163: Apache/2.4.16 (Ubuntu) PHP/5.6.14-1+deb.sury.org~trusty+1 OpenSSL/1.0.1f configured -- resuming normal operations
[Mon Nov 09 10:15:34.009857 2015] [core:notice] [pid 20864] AH00094: Command line: '/usr/sbin/apache2'
[Mon Nov 09 10:15:44.193424 2015] [mpm_prefork:error] [pid 20864] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
[Mon Nov 09 10:16:28.129848 2015] [mpm_prefork:notice] [pid 20864] AH00169: caught SIGTERM, shutting down
[Mon Nov 09 10:16:28.804913 2015] [mpm_prefork:notice] [pid 21984] AH00163: Apache/2.4.16 (Ubuntu) PHP/5.6.14-1+deb.sury.org~trusty+1 OpenSSL/1.0.1f configured -- resuming normal operations
[Mon Nov 09 10:16:28.805012 2015] [core:notice] [pid 21984] AH00094: Command line: '/usr/sbin/apache2'
[Mon Nov 09 10:16:47.986259 2015] [mpm_prefork:error] [pid 21984] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
SVN update ran but now /fog gives a 404. Checking in the /var/www/ directory all I have is download.php FOGCrypt.zip FOGService.msi index.php favicon.ico FogPrep.zip and FogService.zip.
Ubuntu 14.04
SVN v5283 installer.
@Tom-Elliott said:
@Scott-B You will have to update the information so the values get properly updated.
I’m adding proper code to check for these things now and what you’re seeing is the old double addslashes methodology.
I assure you it will work. There will be some work on your part, but once it’s done I assure you it will work.
Thanks for your help. Any idea why when the printers are assigned to a host they end up reverting back to the extra \\\ ?
@Tom-Elliott said:
@Scott-B You will have to update the information so the values get properly updated.
I’m adding proper code to check for these things now and what you’re seeing is the old double addslashes methodology.
I assure you it will work. There will be some work on your part, but once it’s done I assure you it will work.
Thanks Tom. I can do anything necessary to get the printers to work correctly. I tried using the “//server/folder/print.inf” method @johnomaz posted, but when I do so I get a message saying “printer updated”, but then it just goes back to the old value.
I’m still having the same issue, currently SVN 5207.
@Jbob said:
@johnomaz ,the next version should automatically remove the legacy client:
https://github.com/FOGProject/fog-client/issues/31
Do you mean the next SVN or the next version of the client (0.9.6?).
That works great, but how do you tell the new client your FOG’s address or is that some kind of magic with the new client, not necessary?
@John-L-Clark said:
@ScottB
Are you still having printer issues? I installed the latest SVN and now i am unable to install any printers. In the fog.log I see that it says the printer installed but it also has an error FAILED: it looks like the local printer is missing. Any ideas? Any help would be great
Yes I am still having the issue (SVN 5124). Difference between this reply and the first time I posted this is now instead of making the port then nothing, now it says there are no printers assigned. Which means it actually removes the fog printers that it did have from before this started.
from fog.log
10/29/2015 11:32 AM FOG::MODDebug Attempting to open connect to: http://XXXX.XXXX.XXXX/fog/service/debug.php
10/29/2015 11:32 AM FOG::MODDebug Server responded with: Hello FOG Client
10/29/2015 11:32 AM FOG::MODDebug Module has finished work and will now exit.
10/29/2015 11:33 AM FOG::PrinterManager Printer update was request from fog tray...
10/29/2015 11:33 AM FOG::PrinterManager Management level = 1
10/29/2015 11:33 AM FOG::PrinterManager Adding new printers to host...
10/29/2015 11:33 AM FOG::PrinterManager 0 found on server side.
@Wayne-Workman said:
We should write a script that sets all the permissions back to the defaults…
That would be awesome.
@Pascal-Gazaille said:
Hi,
I’m on Ubuntu 14.04.2 LTS with Fog 1.2.0. I’m trying to update to latest svn but during the fog installation I get :
- Addubg needed repository…Failed!
and everything stops
What can I do?
I had this issue and finally found my filter was blocking launchpad.net. After allow access to that page it updated like a charm.
@Matthieu-Jacquart said:
@Wayne-Workman You’r right, I really never think to this…
So I can do this if needed, and if Tom can implement that function, it will be great
I second this request. Would be nice to image a whole lab, but for the teacher PC for example.
@Scott-B said:
Printers through FOG have stopped auto installing. It will create the ports fine, but never installs the drivers. FOG.log reports the printer has been installed correctly, and only throws and error when setting as default.
10/22/2015 3:40 PM FOG::PrinterManager Printer update was request from fog tray…
10/22/2015 3:40 PM FOG::PrinterManager Management level = 1
10/22/2015 3:40 PM FOG::PrinterManager Adding new printers to host…
10/22/2015 3:40 PM FOG::PrinterManager 3 found on server side.
10/22/2015 3:40 PM FOG::PrinterManager Installation requested for MS-Staff-Left-Copier
10/22/2015 3:40 PM FOG::PrinterManager Printer Installed: MS-Staff-Left-Copier
10/22/2015 3:40 PM FOG::PrinterManager Installation requested for MS-Staff-Right-Copier
10/22/2015 3:40 PM FOG::PrinterManager Printer Installed: MS-Staff-Right-Copier
10/22/2015 3:40 PM FOG::PrinterManager Installation requested for SE-Office-Copier
10/22/2015 3:40 PM FOG::PrinterManager Printer Installed: SE-Office-Copier
10/22/2015 3:40 PM FOG::PrinterManager Setting Default Printer…
10/22/2015 3:40 PM FOG::PrinterManager Failed: it looks like the local printer is missing.The UNC path to the driver files are reachable from the workstation and I can manually install the printer using the port the FOG install created.
Currently on SVN 5044, but it been happening for a few.
Now I am seeing the messages below on the clients fog.log. Additionally the host has lost all its printers.
10/28/2015 8:51 AM FOG::PrinterManager Printer update was request from fog tray...
10/28/2015 8:51 AM FOG::PrinterManager Management level = 1
10/28/2015 8:51 AM FOG::PrinterManager Adding new printers to host...
10/28/2015 8:51 AM FOG::PrinterManager 0 found on server side.
Apache error log shows…
[Wed Oct 28 08:56:55.100128 2015] [:error] [pid 16943] [client 10.195.84.105:49175] PHP Warning: sprintf(): Too few arguments in /var/wwwfog/lib/client/PrinterClient.class.php on line 18
[Wed Oct 28 08:56:55.102179 2015] [:error] [pid 16943] [client 10.195.84.105:49175] PHP Warning: sprintf(): Too few arguments in /var/wwwfog/lib/client/PrinterClient.class.php on line 18
[Wed Oct 28 08:56:55.104175 2015] [:error] [pid 16943] [client 10.195.84.105:49175] PHP Warning: sprintf(): Too few arguments in /var/wwwfog/lib/client/PrinterClient.class.php on line 18
[Wed Oct 28 08:56:56.190988 2015] [:error] [pid 16967] [client 10.195.84.29:49167]
Edit: SVN 5106
Turns out its all hosts when a change is made.
I have a PC that somehow lost all of its inventory information. I ran a hardware inventory task on it and it has the non-editable information. However when I go to edit primary user, tag 1, or tag 2 it come up with a “invalid MAC Address” message and the information doesn’t save. I’ve tried removing the host and repeating the process both as just adding a name and MAC and then doing a hardware inventory as well as removing the host and doing it all through adding a new host with a network book. Any ideas?
SVN 5078
MAC in question 70:54:d2:45:43:62
@tprice said:
- What is the best combination for installing FOG i.e. is Ubuntu better than Centos?
Just my personal preference, but I’ve always been happy with FOG on Ubuntu and formerly Fedora.