Moreover, some clients “lost” services : I check all services and few days after, one or more services are missing…
I suppose it’s a bug due to my database, any idea ?
Can I force fog to check database ?
Thanks
Moreover, some clients “lost” services : I check all services and few days after, one or more services are missing…
I suppose it’s a bug due to my database, any idea ?
Can I force fog to check database ?
Thanks
It’s not the first time svn version do this to me, but sometimes computer doesn’t appear any more in the web interface. fog.log give me “Middleware::Communication Unknown Response: Invalid Host”, but when I search in database, client exist !
If I try to make a quick registration, client appear in web interface as new client (name = mac address), but if I try to rename it I’ve a message “client already exist” !
It’s problematic, I have 5 or 6 clients who have disappear this morning, I had to suppress them from the database and then recreate them, not convenient at all…
Other problem, I made a group with all clients (around 320), and each time I look at the membership, some clients are not anymore in this group whereas I add them the first time…
Thanks
Matthieu
Yes, I could try
Before fog I used to install printers on each computers, now i find printer manager very useful !
I now what to do on moday
Ok thanks
I could have test it before, I didn’t think to do it…
At worst teachers and student will work without printers for the first days
Hi,
I’ve got a problem with printer manager : it doesn’t work ! Everything was ok last year with fog 1.2 and client 0.3, but when I test now on computers network printer is not mapped… (fog 1.3 svn and client 0.9.4)
Here is the configuration on client
And the printer manager log seems good
------------------------------------------------------------------------------
--------------------------------PrinterManager--------------------------------
------------------------------------------------------------------------------
29/08/2015 11:59 Client-Info Version: 0.9.4
29/08/2015 11:59 PrinterManager Running...
29/08/2015 11:59 Middleware::Communication URL: http://192.168.10.60/fog/service/servicemodule-active.php?moduleid=printermanager&mac=B0:83:FE:94:72:F7||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
29/08/2015 11:59 Middleware::Communication Response: Success
29/08/2015 11:59 Middleware::Communication URL: http://192.168.10.60/fog/service/Printers.php?mac=B0:83:FE:94:72:F7||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
29/08/2015 11:59 Middleware::Communication Response: Success
29/08/2015 11:59 PrinterManager Creating list of printers
29/08/2015 11:59 PrinterManager Creating printer objects
29/08/2015 11:59 Middleware::Communication URL: http://192.168.10.60/fog/service/Printers.php?id=29&mac=B0:83:FE:94:72:F7||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
29/08/2015 11:59 Middleware::Communication Response: Success
29/08/2015 11:59 Middleware::Communication URL: http://192.168.10.60/fog/service/printerlisting.php?newService=1
29/08/2015 11:59 Middleware::Communication Response: Success
29/08/2015 11:59 PrinterManager Adding printers
29/08/2015 11:59 NetworkPrinter Attempting to add printer:
29/08/2015 11:59 NetworkPrinter --> Name = \\impression\s109laser1
29/08/2015 11:59 NetworkPrinter --> IP =
29/08/2015 11:59 NetworkPrinter --> Port =
------------------------------------------------------------------------------
But no printer appears on the client, tested with 3 clients and 3 different printers…
And if I lauch command “\impression\s109laser1”, printer is well mapped…
I tested with removing client 0.9.4 and installing 0.3, printer are well mapped but with error message (error 0x00000709, unable to finish operation, verified printer name…)
Thanks for help !
Ok thanks
I have software to deploy software (GPO or I prefer PDQ deploy), but I don’t know the tips to remove it, I’m going to search
It works great, thank you @Tom-Elliott and @Jbob ! You make a great job.
I lost few hours this time but usually I gain so much time thanks to fog, that’s not a big deal.
Oh, is there a difference between git and svn version ?
And last question, I reinstalled computers yesterday with 0.3 client, is there a way to uninstall it in bulk before installing new clients (with command “msiexec /i FOGService.msi /quiet WEBADDRESS=“192.168.1.2” WEBROOT=”")
I feel less alone… ^^
I agree with that, I updated svn each day and trouble began last thursday I think, don’t remember precise svn version at this date.
For uninstalling/reinstalling client, already did (a lot of time ^^)
With rebbot between, and each time douwnloading client from web interface to be sure it is up to date.
For the other solution, where is the certificate store ?
@Tom-Elliott I agree with that, question is : how to modidy certificate stored by new client ?
Communication with server is good, for exmaple snapin and printers are ok
On the server I’ve got the file ca.cert.der in the 2 folders
In /var/www/fog/management/other/ :
drwxr-xr-x 3 www-data www-data 4096 août 25 08:01 .
drwxr-xr-x 12 www-data www-data 4096 août 25 08:00 ..
-rw-r--r-- 1 www-data www-data 1287 août 25 08:01 ca.cert.der
-rw-r--r-- 1 www-data www-data 1797 août 25 08:01 ca.cert.pem
-rw-r--r-- 1 www-data www-data 35147 août 25 08:00 gpl-3.0.txt
-rw-r--r-- 1 www-data www-data 89 août 25 08:00 hostimport.csv
-rw-r--r-- 1 www-data www-data 4493 août 25 08:00 index.php
drwxr-xr-x 2 www-data www-data 4096 août 25 08:01 ssl
In /var/www/html/fog/management/other/ :
drwxr-xr-x 3 www-data www-data 4096 août 25 08:01 .
drwxr-xr-x 12 www-data www-data 4096 août 25 08:00 ..
-rw-r--r-- 1 www-data www-data 1287 août 25 08:01 ca.cert.der
-rw-r--r-- 1 www-data www-data 1797 août 25 08:01 ca.cert.pem
-rw-r--r-- 1 www-data www-data 35147 août 25 08:00 gpl-3.0.txt
-rw-r--r-- 1 www-data www-data 89 août 25 08:00 hostimport.csv
-rw-r--r-- 1 www-data www-data 4493 août 25 08:00 index.php
drwxr-xr-x 2 www-data www-data 4096 août 25 08:01 ssl
Ok
This morning, I reinstall fog with 6C 6K parameters and thse file where created in “/var/www/fog/management/other/”
-rw-r--r-- 1 www-data www-data 1287 août 25 08:01 ca.cert.der
-rw-r--r-- 1 www-data www-data 1797 août 25 08:01 ca.cert.pem
-rw-r--r-- 1 www-data www-data 35147 août 25 08:00 gpl-3.0.txt
-rw-r--r-- 1 www-data www-data 89 août 25 08:00 hostimport.csv
-rw-r--r-- 1 www-data www-data 4493 août 25 08:00 index.php
drwxr-xr-x 2 www-data www-data 4096 août 25 08:01 ssl
and in ssl folder, I’ve got
-rw-r--r-- 1 www-data www-data 1679 août 25 08:01 srvpublic.crt
With 0.3 client all is ok, with 0.9.4 client all is ok in log for printers or snapin, communication seems good with server, but certificate error…
I test with removing new client and installing the old one, and everything works fine (hostname changer + AD joining).
Certificate problem between fog client and fog server…
I’m sorry, but has somenone a solution ?
I’ve 300 computers to fog before wednesday, i began to stress a little ^^
Thanks a lot
Thanks
Since I restored my VM, I suppose AD joining will be ok, but the problem is certificate error, hostname changer didn’t work. do you know how to fix it ?
For information, I install the lastest svn with -C -K argument, after that I downloaded the new client and install it on 2 clients, but always error “Invalid host certificate”
And now with my own computer (win 10), I’ve got this
24/08/2015 13:09 RegistryHandler 64 bit registry detected
24/08/2015 13:09 Middleware::Communication URL: http://192.168.10.60/fog/management/other/ca.cert.der
24/08/2015 13:43 Bus Became bus server
24/08/2015 13:43 Bus {
"channel": "Status",
"data": "{\r\n \"action\": \"load\"\r\n}"
}
24/08/2015 13:43 Bus Emmiting message on channel: Status
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
24/08/2015 13:43 Client-Info Version: 0.9.4
24/08/2015 13:43 Middleware::Communication URL: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt
24/08/2015 13:43 Middleware::Communication ERROR: Could not download file
24/08/2015 13:43 Middleware::Communication ERROR: Impossible de se connecter au serveur distant
24/08/2015 13:43 Middleware::Authentication ERROR: Could not authenticate
24/08/2015 13:43 Middleware::Authentication ERROR: Le fichier spécifié est introuvable.
24/08/2015 13:43 Bus Registering ParseBus in channel Power
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
24/08/2015 13:43 Client-Info Version: 0.9.4
24/08/2015 13:43 HostnameChanger Running...
24/08/2015 13:43 Middleware::Communication URL: http://192.168.10.60/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=74:27:EA:6C:AA:0D|02:50:F2:00:00:01||00:00:00:00:00:00:00:E0&newService=1
24/08/2015 13:43 Middleware::Communication Response: Success
24/08/2015 13:43 Middleware::Communication URL: http://192.168.10.60/fog/service/hostname.php?moduleid=hostnamechanger&mac=74:27:EA:6C:AA:0D|02:50:F2:00:00:01||00:00:00:00:00:00:00:E0&newService=1
24/08/2015 13:43 Middleware::Communication Unknown Response:
------------------------------------------------------------------------------
@Tom-Elliott I have tons of error in my apache2 error.log, all due to fog
for example :
[Mon Aug 24 08:31:14.683337 2015] [:error] [pid 30298] [client 192.168.8.77:49463] PHP Warning: mysqli::reap_async_query(): MySQL server has gone away in /var/www/html/fog/lib/db/MySQL.class.php on line 76
[Mon Aug 24 08:31:14.683376 2015] [:error] [pid 30308] [client 192.168.8.79:49467] PHP Warning: mysqli::reap_async_query(): Error reading result set's header in /var/www/html/fog/lib/db/MySQL.class.php on line 76
[Mon Aug 24 08:31:14.683389 2015] [:error] [pid 30298] [client 192.168.8.77:49463] PHP Warning: mysqli::reap_async_query(): Error reading result set's header in /var/www/html/fog/lib/db/MySQL.class.php on line 76
[Mon Aug 24 08:31:14.699162 2015] [:error] [pid 30308] [client 192.168.8.79:49467] PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 37
[Mon Aug 24 08:31:14.699273 2015] [:error] [pid 30308] [client 192.168.8.79:49467] PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
[Mon Aug 24 08:31:14.699360 2015] [:error] [pid 30308] [client 192.168.8.79:49467] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63
[Mon Aug 24 08:31:14.706534 2015] [:error] [pid 30308] [client 192.168.8.79:49467] PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 37
[Mon Aug 24 08:31:14.706628 2015] [:error] [pid 30308] [client 192.168.8.79:49467] PHP Warning: mysqli::mysqli(): (HY000/2002): Connection refused in /var/www/html/fog/lib/db/MySQL.class.php on line 39
[Mon Aug 24 08:31:14.706696 2015] [:error] [pid 30308] [client 192.168.8.79:49467] PHP Warning: mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 63
[Mon Aug 24 08:52:00.327952 2015] [:error] [pid 8707] [client 192.168.10.100:57295] PHP Fatal error: Call to a member function get() on null in /var/www/html/fog/lib/pages/DashboardPage.class.php on line 118, referer: http://192.168.10.60/fog/management/index.php?node=client
[Mon Aug 24 12:12:31.750576 2015] [:error] [pid 5159] [client 192.168.10.100:52084] PHP Warning: mcrypt_encrypt(): Key of size 0 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /var/www/html/fog/lib/fog/FOGBase.class.php on line 225
24/08/2015 11:47 RegistryHandler ERROR: Could not retrieve Software\Wow6432Node\FOG\Server
24/08/2015 11:47 RegistryHandler ERROR: Null key
24/08/2015 11:47 RegistryHandler 32 bit registry detected
24/08/2015 11:47 Middleware::Communication URL: http://192.168.10.60/fog/management/other/ca.cert.der
24/08/2015 11:50 Bus Became bus server
24/08/2015 11:50 Bus {
"channel": "Status",
"data": "{\r\n \"action\": \"load\"\r\n}"
}
24/08/2015 11:50 Bus Emmiting message on channel: Status
------------------------------------------------------------------------------
--------------------------------Authentication--------------------------------
------------------------------------------------------------------------------
24/08/2015 11:50 Client-Info Version: 0.9.4
24/08/2015 11:50 Middleware::Communication URL: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt
24/08/2015 11:52 Data::RSA CA cert found
24/08/2015 11:52 Middleware::Authentication Cert OK
24/08/2015 11:52 Middleware::Communication POST URL: http://192.168.10.60/fog/management/index.php?sub=authorize
24/08/2015 11:52 Middleware::Communication Response: Invalid host certificate
24/08/2015 11:52 Bus Registering ParseBus in channel Power
Ok, after restoring my fog VM, I’ve launch isntallation script with -C and -K parameters
After that, I desinstall and reinstalled fog client on two computers, and I’ve got he message
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
24/08/2015 08:42 Client-Info Version: 0.9.4
24/08/2015 08:42 HostnameChanger Running...
24/08/2015 08:42 Middleware::Communication URL: http://192.168.10.60/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:1C:C0:3A:70:E4||00:00:00:00:00:00:00:E0&newService=1
24/08/2015 08:42 Middleware::Communication Response: Success
24/08/2015 08:42 Middleware::Communication URL: http://192.168.10.60/fog/service/hostname.php?moduleid=hostnamechanger&mac=00:1C:C0:3A:70:E4||00:00:00:00:00:00:00:E0&newService=1
24/08/2015 08:42 Middleware::Communication Response: Invalid host certificate
24/08/2015 08:42 Middleware::Communication URL: http://192.168.10.60/fog/management/other/ssl/srvpublic.crt
24/08/2015 08:42 Data::RSA CA cert found
24/08/2015 08:42 Middleware::Authentication Cert OK
24/08/2015 08:42 Middleware::Communication POST URL: http://192.168.10.60/fog/management/index.php?sub=authorize
24/08/2015 08:42 Middleware::Communication Response: Invalid host certificate
------------------------------------------------------------------------------```
Hi
In the second post I’ve just paste lines about section “hostname changer” from fog file in one host.
I have a lot of other problems since thursday (fog began to download images on hosts and the hosts reboot after few percent or I have no access to web console durnng downloading hosts…), so I’ve just restored an okd backup, I’ll make new test on monday.
Thanks you two for answers, I nunderstood better new client / AD joining !
Here are my log for hostname changer and AD joining problems (after sysprep)
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
21/08/2015 09:40 Client-Info Version: 0.9.4
21/08/2015 09:40 HostnameChanger Running...
21/08/2015 09:40 Middleware::Communication URL: http://192.168.10.60/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:1C:C0:42:9F:00|&newService=1
21/08/2015 09:40 Middleware::Communication Response: Success
21/08/2015 09:40 Middleware::Communication URL: http://192.168.10.60/fog/service/hostname.php?moduleid=hostnamechanger&mac=00:1C:C0:42:9F:00|&newService=1
21/08/2015 09:40 Middleware::Communication Response: Success
21/08/2015 09:40 HostnameChanger Checking Hostname
21/08/2015 09:40 HostnameChanger Renaming host to S081PROF2
21/08/2015 09:40 HostnameChanger Unregistering computer
21/08/2015 09:40 HostnameChanger Removing host from active directory
21/08/2015 09:40 HostnameChanger The machine is not currently joined to a domain, code = 2692
21/08/2015 09:40 HostnameChanger Updating registry
21/08/2015 09:40 RegistryHandler ERROR: Could not set SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerNameComputerName
21/08/2015 09:40 RegistryHandler ERROR: Impossible de créer une sous-clé stable sous une clé parente volatile.
21/08/2015 09:40 Service ERROR: Erreur critique ```
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
21/08/2015 09:41 Client-Info Version: 0.9.4
21/08/2015 09:41 HostnameChanger Running...
21/08/2015 09:41 Middleware::Communication URL: http://192.168.10.60/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:1C:C0:42:9F:00||00:00:00:00:00:00:00:E0&newService=1
21/08/2015 09:41 Middleware::Communication Response: Success
21/08/2015 09:41 Middleware::Communication URL: http://192.168.10.60/fog/service/hostname.php?moduleid=hostnamechanger&mac=00:1C:C0:42:9F:00||00:00:00:00:00:00:00:E0&newService=1
21/08/2015 09:41 Middleware::Communication Response: Success
21/08/2015 09:41 HostnameChanger Checking Hostname
21/08/2015 09:41 HostnameChanger Renaming host to S081PROF2
21/08/2015 09:41 HostnameChanger Unregistering computer
21/08/2015 09:41 HostnameChanger Removing host from active directory
21/08/2015 09:41 HostnameChanger The machine is not currently joined to a domain, code = 2692
21/08/2015 09:41 HostnameChanger Updating registry
21/08/2015 09:41 RegistryHandler ERROR: Could not set SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerNameComputerName
21/08/2015 09:41 RegistryHandler ERROR: Impossible de créer une sous-clé stable sous une clé parente volatile.
21/08/2015 09:41 Power Creating shutdown request
21/08/2015 09:41 Power Parameters: /r /c "FOG needs to rename your computer" /t 0
21/08/2015 09:41 HostnameChanger Registering host with active directory
21/08/2015 09:41 HostnameChanger Success, code = 0
21/08/2015 09:41 Power Creating shutdown request
21/08/2015 09:41 Power Parameters: /r /c "Host joined to Active Directory, restart required" /t 0
21/08/2015 09:41 HostnameChanger Activing host with product key
------------------------------------------------------------------------------
--------------------------------HostnameChanger-------------------------------
------------------------------------------------------------------------------
21/08/2015 09:43 Client-Info Version: 0.9.4
21/08/2015 09:43 HostnameChanger Running...
21/08/2015 09:43 Middleware::Communication URL: http://192.168.10.60/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:1C:C0:42:9F:00||00:00:00:00:00:00:00:E0&newService=1
21/08/2015 09:43 Middleware::Communication Response: Success
21/08/2015 09:43 Middleware::Communication URL: http://192.168.10.60/fog/service/hostname.php?moduleid=hostnamechanger&mac=00:1C:C0:42:9F:00||00:00:00:00:00:00:00:E0&newService=1
21/08/2015 09:43 Middleware::Communication Response: Success
21/08/2015 09:43 HostnameChanger Checking Hostname
21/08/2015 09:43 HostnameChanger Renaming host to S081PROF2
21/08/2015 09:43 HostnameChanger Unregistering computer
21/08/2015 09:43 HostnameChanger Removing host from active directory
21/08/2015 09:43 HostnameChanger Success, code = 0
21/08/2015 09:43 Power Creating shutdown command in 60 seconds
21/08/2015 09:43 Bus {
"channel": "Power",
"data": "{\r\n \"action\": \"request\",\r\n \"period\": 60,\r\n \"options\": 2,\r\n \"command\": \"/r /c \\\"Host left active directory, restart needed\\\" /t 0\",\r\n \"message\": \"This computer needs to perform maintance.\"\r\n}"
}
21/08/2015 09:43 Bus Emmiting message on channel: Power
21/08/2015 09:43 HostnameChanger Updating registry
21/08/2015 09:43 RegistryHandler ERROR: Could not set SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerNameComputerName
21/08/2015 09:43 RegistryHandler ERROR: Impossible de créer une sous-clé stable sous une clé parente volatile.
21/08/2015 09:43 Power Power task already in-progress
------------------------------------------------------------------------------
21/08/2015 09:43 Service Power operation being requested, checking back in 30 seconds
21/08/2015 09:43 Bus Registering ParseBus in channel Power
21/08/2015 09:43 Bus Became bus client
21/08/2015 09:43 Bus Registering OnNotification in channel Notification
21/08/2015 09:43 Bus Registering OnUpdate in channel Update
21/08/2015 09:44 Service Power operation being requested, checking back in 30 seconds