Fog Client Not Communicating with Server
I am trying to stand up a fog server for my organization. I have managed to install the server on an Ubuntu VM and it is communicating with the client machine. When i download the smart installer directly from the server and run it i receive the following log entries:
“Process ERROR:Unable to run process
Process ERROR: ApplicationName = ‘chkconfig’, CommandLine= ‘FOGService off’, CurrentDirectory=’ ', Native Error= Cannot find specified file.”
The client is not showing up in the fog server as a host. Client system is running kali rolling. How can i correct this issue and enroll the client?
This time client logs are showing no errors, but the host is not showing up in the server.
What do you mean by this??
@Sebastian-Roth I was root for install. Tried again with a fresh vm and same issue. This time client logs are showing no errors, but the host is not showing up in the server.
The pid is 900 for the client.
That is strange. If you can get a pid for the systemd process then the installer should never even try to run the
chkconfigcommand! (see code here - line 63ff)
Did you run SmartInstaller as root?
I will procure the new client.
https://github.com/FOGProject/fog-client/releases - Though the issue you brought up will most probably occur even if you use 0.11.17 I would think.
@Sebastian-Roth Thank you for your help. The pid is 900 for the client. I will procure the new client.
@Penguinsec Sounds a bit like our client is not able to detect systemd on Kali Linux 19.4. Can you please run the following command on a terminal/console on your Kali client system and post output here:
Beside this issue we found a problem with mono certificate store some time ago. This fix is not in the 0.11.16 fog client version which comes with FOG 1.5.7. So after we have sorted the chkconfig issue you might want to/need to use a newer version of the fog-client anyway - just as a side note.
@Sebastian-Roth I am using FOG 1.5.7 running on Ubuntu 19.10. The client is running on Kali Linux version 19.4.
@Penguinsec Which Linux OS and version do you run on your client? Which version of FOG do you use?