Fog 0.33b Snappin deployment
-
There is a way to kill them, just your icon’s not showing.
-
[quote=“Tom Elliott, post: 22256, member: 7271”]There is a way to kill them, just your icon’s not showing.[/quote]
mysql
truncate activeTasks; -
ok all is good! it imaged fine, I am waiting to see if the snapin loads or not.
-
snapin is not loading…
Here is a snippet from the log.
[CODE]1/30/2014 3:41 PM FOG::ClientUpdater Checking Status : UserTracker.dll
1/30/2014 3:41 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 3:41 PM FOG::ClientUpdater Checking Status : config.ini
1/30/2014 3:41 PM FOG::ClientUpdater Zero byte response returned
1/30/2014 3:41 PM FOG::ClientUpdater The remote server returned an error: (500) Internal Server Error.
1/30/2014 3:41 PM FOG::ClientUpdater at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at FOG.SnapinClient.getAllPublishedModules()
at FOG.SnapinClient.startUpdate()
1/30/2014 3:41 PM FOG::ClientUpdater Client update will be applied during next service startup.
1/30/2014 3:41 PM FOG::ClientUpdater Client update process complete, exiting…
1/30/2014 3:42 PM FOG::SnapinClient Attempting to connect to fog server…
1/30/2014 3:42 PM FOG::SnapinClient Module is active…
1/30/2014 3:42 PM FOG::SnapinClient No Tasks found for: 00:25:64:BD:7D:1A[/CODE] -
Permissions issue in apache?
-
That’s because it’s looking for a snapin task from the tasks page, I’ll take a look though, give me a minute or two.
-
r1165 being released to address this.
It’s good to know the validation stuff was working though, even if it was “too” much.
-
R1165
should I kill the pre-existing snapin task and start a new task?[CODE]1/30/2014 4:48 PM FOG::PrinterManager Waiting for tray to load…
1/30/2014 4:48 PM FOG::UserTracker Record processed by server!
1/30/2014 4:52 PM FOG::SnapinClient Attempting to connect to fog server…
1/30/2014 4:52 PM FOG::SnapinClient Module is active…
1/30/2014 4:52 PM FOG::SnapinClient The remote server returned an error: (500) Internal Server Error.
1/30/2014 4:52 PM FOG::SnapinClient at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at FOG.SnapinClient.startWatching()
[/CODE] -
Yeah,
I’m starting to think it’s returning the error because it can’t find the address, like you have a different /var/www/fog dir (maybe /var/www/html/fog?) -
[PHP]root@10Fogserver:/var/www/fog# ls
av client commons favicon.ico index.php lib management mobile public service status wol
[/PHP][PHP]
drwxr-xr-x 12 www-data www-data 4.0K Jan 30 16:50 .
drwxr-xr-x 3 root root 4.0K Jan 30 16:50 …
drwxr-xr-x 2 www-data root 4.0K Jan 30 16:50 av
drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 client
drwxr-xr-x 4 www-data www-data 4.0K Jan 30 16:50 commons
-rw-r–r-- 1 www-data www-data 1.4K Jan 30 16:50 favicon.ico
-rw-r–r-- 1 www-data www-data 53 Jan 30 16:50 index.php
drwxr-xr-x 7 www-data www-data 4.0K Jan 30 16:50 lib
drwxr-xr-x 15 www-data www-data 4.0K Jan 30 16:50 management
drwxr-xr-x 6 www-data www-data 4.0K Jan 30 16:50 mobile
drwxr-xr-x 4 www-data www-data 4.0K Jan 30 16:50 public
drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 service
drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 status
drwxr-xr-x 3 www-data www-data 4.0K Jan 30 16:50 wol
root@10Fogserver:/var/www/fog#[/PHP]
-
Can you look at the access logs for “snapins.checkin.php”?
-
[CODE]root@10Fogserver:/var/log/apache2# cat access.log |grep snapins.checkin.php
10.10.140.57 - - [30/Jan/2014:16:34:06 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
192.168.10.123 - - [30/Jan/2014:16:37:27 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
192.168.10.112 - - [30/Jan/2014:16:38:08 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
192.168.10.122 - - [30/Jan/2014:16:39:02 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
10.10.140.57 - - [30/Jan/2014:16:39:13 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
192.168.10.123 - - [30/Jan/2014:16:42:34 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
192.168.10.112 - - [30/Jan/2014:16:43:15 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
192.168.10.122 - - [30/Jan/2014:16:44:09 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
10.10.140.57 - - [30/Jan/2014:16:44:20 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
192.168.10.123 - - [30/Jan/2014:16:47:41 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 200 279 “-” “-”
192.168.10.112 - - [30/Jan/2014:16:48:22 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
192.168.10.122 - - [30/Jan/2014:16:49:16 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 200 279 “-” “-”
10.10.140.57 - - [30/Jan/2014:16:49:27 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
192.168.10.123 - - [30/Jan/2014:16:52:48 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
192.168.10.112 - - [30/Jan/2014:16:53:29 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
192.168.10.122 - - [30/Jan/2014:16:54:23 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 500 313 “-” “-”
10.10.140.57 - - [30/Jan/2014:16:54:34 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
192.168.10.123 - - [30/Jan/2014:16:57:55 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
192.168.10.112 - - [30/Jan/2014:16:58:36 -0500] “GET /fog/service/snapins.checkin.php?mac=1C:C1:DE:66:B7:F6 HTTP/1.1” 200 279 “-” “-”
192.168.10.122 - - [30/Jan/2014:16:59:30 -0500] “GET /fog/service/snapins.checkin.php?mac=D4:85:64:04:37:99 HTTP/1.1” 500 313 “-” “-”
10.10.140.57 - - [30/Jan/2014:16:59:41 -0500] “GET /fog/service/snapins.checkin.php?mac=00:0F:FE:CE:98:02 HTTP/1.1” 200 279 “-” “-”
192.168.10.123 - - [30/Jan/2014:17:03:02 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
root@10Fogserver:/var/log/apache2#[/CODE]192.168.10.123 - - [30/Jan/2014:17:03:02 -0500] “GET /fog/service/snapins.checkin.php?mac=00:25:64:BD:7D:1A HTTP/1.1” 500 313 “-” “-”
this is my host. -
What’s the error logs say?
-
[PHP][Thu Jan 30 16:52:48 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 16:54:23 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 16:57:55 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 16:59:30 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 17:03:02 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 17:04:38 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 17:08:09 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 17:09:45 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 17:13:16 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 17:14:52 2014] [error] [client 192.168.10.122] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[Thu Jan 30 17:18:23 2014] [error] [client 192.168.10.123] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/service/snapins.checkin.php on line 15
[/PHP] -
It’s as I suspected.
I had the checks for the task happening. Because the way your snapins are being deployed, the Task Variable wasn’t setup.
So the “get() on a non-object” is absolutely true. Already have a fix, and sending down the pipelines.
-
[quote=“Tom Elliott, post: 22280, member: 7271”]It’s as I suspected.
I had the checks for the task happening. Because the way your snapins are being deployed, the Task Variable wasn’t setup.
So the “get() on a non-object” is absolutely true. Already have a fix, and sending down the pipelines.[/quote]
nice!I cant believe I haven’t obtained the status of Beta Tester yet!
I saw one for posting over 30 messages lol
-
r1167 released, hopefully addresses this issue now!
-
I don’t know that these forums have status’ like that.
I obtained Developer because I was requested to be one. Otherwise, with over 500 messages, I was still “Member”
-
I was just kidding…
-
I can request if we have a “Beta Tester” Status field!