Hello,
That still does not work, here is the file that I modified and the LOG file when it tries to integrate the computer Actire Directory.
There always comes aps, the computer reboots again.
Meci advance.
Cordially.
#!/bin/bash
eval `/usr/libexec/path_helper -s`
▒~@~K
function startDaemon() {
/opt/fog-service/control.sh start
tail -f /dev/null &
wait $!
}
▒~@~K
▒~@~K
function killDaemon() {
/opt/fog-service/control.sh stop
exit 0
}
▒~@~K
trap killDaemon SIGTERM
trap killDaemon SIGKill
▒~@~K
startDaemon;
------------------------------------------------------------------------------^M
--------------------------------HostnameChanger-------------------------------^M
------------------------------------------------------------------------------^M
07/06/2016 09:52 Client-Info Client Version: 0.10.6^M
07/06/2016 09:52 Client-Info Client OS: Mac^M
07/06/2016 09:52 Client-Info Server Version: 7937^M
07/06/2016 09:52 Middleware::Response Success^M
07/06/2016 09:52 HostnameChanger Checking Hostname^M
07/06/2016 09:52 HostnameChanger Hostname is correct^M
07/06/2016 09:52 Power Creating shutdown command in 60 seconds^M
07/06/2016 09:52 Bus {
"self": true,
"channel": "Power",
"data": "{\n \"action\": \"request\",\n \"period\": 60,\n \"options\": 2,\n \"command\": \"-r +0 \\\"Host joined to Active Directory, restart required\\\"\",\n \"message\": \"This computer needs to perform maintenance.\"\n}"
}^M
07/06/2016 09:52 Bus Emmiting message on channel: Power^M
------------------------------------------------------------------------------^M
^M
07/06/2016 09:52 Service Power operation being requested, checking back in 30 seconds^M
07/06/2016 09:53 Service Power operation being requested, checking back in 30 seconds^M
07/06/2016 09:53 Power Creating shutdown request^M
07/06/2016 09:53 Power Parameters: -r +0 "Host joined to Active Directory, restart required"^M
07/06/2016 09:53 Bus {
"self": true,
"channel": "Power",
"data": "{\n \"action\": \"shuttingdown\"\n}"
}^M
07/06/2016 09:53 Bus Emmiting message on channel: Power^M
07/06/2016 09:53 Service Power operation being requested, checking back in 30 seconds^M
07/06/2016 09:53 Controller Stop^M
07/06/2016 09:53 Service Stop requested^M
07/06/2016 09:53 Bus {
"self": true,
"channel": "Status",
"data": "{\n \"action\": \"unload\"\n}"
}^M
07/06/2016 09:53 Bus Emmiting message on channel: Status^M
07/06/2016 09:55 Main Overriding exception handling^M
07/06/2016 09:55 Main Bootstrapping Zazzles^M
07/06/2016 09:55 Controller Initialize^M
07/06/2016 09:55 Entry Creating obj^M
07/06/2016 09:55 Controller Start^M
^M
07/06/2016 09:55 Service Starting service^M
07/06/2016 09:55 Bus Became bus server^M
07/06/2016 09:55 Bus {
"self": true,
"channel": "Status",
"data": "{\n \"action\": \"load\"\n}"
}^M
07/06/2016 09:55 Bus Emmiting message on channel: Status^M
^M
------------------------------------------------------------------------------^M
--------------------------------Authentication--------------------------------^M
------------------------------------------------------------------------------^M
07/06/2016 09:55 Client-Info Version: 0.10.6^M
07/06/2016 09:55 Client-Info OS: Mac^M
07/06/2016 09:55 Middleware::Authentication Waiting for authentication timeout to pass^M
07/06/2016 09:55 Middleware::Communication Download: http://@IP/fog/management/other/ssl/srvpublic.crt^M
07/06/2016 09:55 Middleware::Communication ERROR: Could not download file^M
07/06/2016 09:55 Middleware::Communication ERROR: Error: ConnectFailure (Network is unreachable)^M
07/06/2016 09:55 Middleware::Authentication ERROR: Could not authenticate^M
07/06/2016 09:55 Middleware::Authentication ERROR: Could not find file "/opt/fog-service/tmp/public.cer".^M
^M
------------------------------------------------------------------------------^M
--------------------------------Authentication--------------------------------^M
------------------------------------------------------------------------------^M
07/06/2016 09:55 Client-Info Version: 0.10.6^M
07/06/2016 09:55 Client-Info OS: Mac^M
07/06/2016 09:55 Middleware::Authentication Waiting for authentication timeout to pass^M
07/06/2016 09:56 Controller Stop^M
07/06/2016 09:56 Service Stop requested^M
07/06/2016 09:56 Middleware::Authentication ERROR: Could not authenticate^M
07/06/2016 09:56 Middleware::Authentication ERROR: ^M
07/06/2016 09:56 Bus {
"self": true,
"channel": "Status",
"data": "{\n \"action\": \"unload\"\n}"