How do I install a Kace agent on a Mac? I get the following message when it fails...
[06/21/12 10:26:35 AM] Begin provisioning... [06/21/12 10:26:35 AM] Executing Unix platform provisioning. [06/21/12 10:26:35 AM] Probing tcp ports for accessibility. [06/21/12 10:26:35 AM] Port 22 [ssh] open. STEP 1: CONNECT TCP/SSH - SUCCESSFUL [06/21/12 10:26:35 AM] Failed to retrieve a valid system name using uname. Troubleshooting...
[06/21/12 10:26:36 AM] End provisioning run.Attempting "which uname" "which uname" did not return anything. Attempting "uname -a" "uname -a" did not return anything. Attempting "which bash" "which bash" did not return anything. Attempting "echo $SHELL" "echo $SHELL" did not return anything. |
||
-
I have the same issue, i have configured the remote login part, and i'm now stuck at this same point, is anyone able to help? - chris.poston 11 years ago
Answers (2)
I have not worked with the Mac deployments yet, but this looks like one of two issues. Often on Unix / Linux (I believe Macs are a close relative with BSD), you need root permissions to use some of the commands. Did you enter a user with root privileges? You can check whether you can run these commands manually on the system, and whether they return appropriate data. What the log is saying is that when trying to get the name of the machine via which uname and uname -a, both methods failed. Similarly, it looked for shell information, and could not find it.
We push the agent to Macs here, but have never run into this. How are you installing the agent?
Comments:
-
You are getting this error because it is having trouble identifying the host name on your network. Are the Macs part of your domain and is SSH enabled (system preferences>sharing>check remote login). You might have to manually set the host name prior to provisioning. http://decoding.wordpress.com/2009/04/06/how-to-edit-the-hosts-file-in-mac-os-x-leopard/ - brian_klocek 12 years ago