Latest Development FOG
-
Thanks Tom that did take care of the issue. But now another odd issue has popped up. I’ve been able to add hosts to FOG without any issue. But now when I create a host I’m unable to find it in FOG at all. Listing all hosts does not show the host I created. If I look in the data base I see the host I created and that it is correctly tied to the MAC address for it. All of the settings in the database are correct with how my other hosts are but it won’t show in FOG. I’m not sure if these apache errors would reference it but these are the latest ones that I have.
[SIZE=13px][COLOR=#555555]PHP Fatal error: require_once(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Wed Mar 25 12:30:09.649651 2015] [core:notice] [pid 11801] AH00051: child pid 14725 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Mar 25 12:30:09.649678 2015] [core:notice] [pid 11801] AH00051: child pid 14727 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Mar 25 12:33:32.725696 2015] [core:notice] [pid 11801] AH00051: child pid 16641 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Mar 25 12:38:01.991290 2015] [:error] [pid 18225] [client 172.52.8.27:49931] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 17, referer: [url]http://172.28.2.21/fog/management/index.php?node=host&sub=add[/url]
[Wed Mar 25 12:38:01.991382 2015] [:error] [pid 18225] [client 172.52.8.27:49931] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 17, referer: [url]http://172.28.2.21/fog/management/index.php?node=host&sub=add[/url]
[Wed Mar 25 12:38:01.991405 2015] [:error] [pid 18225] [client 172.52.8.27:49931] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/MACAddress.class.php on line 17, referer: [url]http://172.28.2.21/fog/management/index.php?node=host&sub=add[/url][/COLOR][/SIZE] -
3155 maybe fixes the error’s being reported. As to why they don’t appear in your host list I haven’t a clue. I’m not able to replicate that part of it.
-
That didn’t help unfortunately. I’m trying to give the host the name laptop test and then input a valid mac address. It does create the host, but if I navigate away from the host I’m unable to find it again from searching or looking at the entire host list.
Update: For some reason this only happening for a single laptop so I wonder if it just doesn’t like the mac address or something. This is isn’t a huge as an issue as I thought ti was.
-
I found another issue. I’m currently on SVN 3160 and I am unable to update MAC addresses for hosts. When ever I hit the update button it always reverts back to the previous MAC address. I have to go into the data manually and change the MAC address.
-
3162 Should address this, hopefully.
-
On svn 3162 I’m getting messages from machines with the new fog client that fog user service has stopped responding. The service will not allow itself to turn back on. This was working fine until this latest update.
-
anything in the c:\fog.log or c:\user<loggedinuser>\fog_user.log?
-
At the bottom of my log I have a ‘CommunicationHandler Error: The remote server returned an error: (404) NOT FOUND’. It looks like the AM Update helper killed the service to update the msi file but failed to start the services properly. The very last line states: AM Update Helper Starting Service… and then nothing.
-
If you restart the system, does it start operating properly?
-
No. After I restart I get the same message that the FOGUserService has stopped working. Windows will not start the service no matter what I try. Nothing further gets updated in my FOG log.
-
Here is what my apache error log states:
[SIZE=13px][COLOR=#555555]PHP Fatal error: require_once(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Thu Mar 26 09:19:18.242587 2015] [:error] [pid 4402] [client 172.28.21.104:49210] PHP Warning: require_once(…/commons/base.inc.php): failed to open stream: No such file or directory in /var/www/fog/service/servicemodule-active.php on line 2
[Thu Mar 26 09:19:18.242601 2015] [:error] [pid 4402] [client 172.28.21.104:49210] PHP Fatal error: require_once(): Failed opening required ‘…/commons/base.inc.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/fog/service/servicemodule-active.php on line 2
[Thu Mar 26 09:19:18.538766 2015] [core:notice] [pid 28619] AH00051: child pid 4535 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Mar 26 09:19:43.585457 2015] [core:notice] [pid 28619] AH00051: child pid 4557 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Thu Mar 26 09:24:28.378500 2015] [core:notice] [pid 28619] AH00051: child pid 5262 exit signal Segmentation fault (11), possible coredump in /etc/apache2[/COLOR][/SIZE] -
I think I found the reason, or at least part of the reason for this. When I go to download the new client msi file from the fog webpage I get a ‘This Webpage cannot be found’ error from the web browser.
-
Check to see if the file is actually located @ URL <ipofserver>/fog/client/FOGService.msi
Then check Terminal:/var/www/fog/client/ to see if FOGService.msi exists
Edit: Check your install log. There is an entry specifically for the new client. If it failed then it will not be on your machine and the link will not work.
-
I get a not found when looking at <ipofserver>/fog/client/FOGService.msi and when I look in the client folder I only see FOGCrypt.zip FOGPrep.zip and FOGService.zip. No msi files are stored there.
-
Check your install log. There is an entry specifically for the new client. If it failed then it will not be on your machine and the link will not work.
[S]There was an error with r3162’s location of the file. A bit of a mistype.[/S] Tom should be correcting it now. BUT if you wish to force download it please use.
[CODE]sudo wget -O /var/www/fog/client/FOGService.msi https://github.com/FOGProject/fog-client/releases/download/0.7.2/FOGService.msi
[/CODE]OR
Download from [url]http://github.com/FOGProject/fog-client/releases[/url]
[COLOR=#ff0000]Edit:[/COLOR]
[COLOR=#ff0000]We were using curl method to download from github and some versions of ubuntu don’t install that package by default. This package has been added to the install script (r3163) and downloads of the new client will now work.[/COLOR][SIZE=4][COLOR=#339966]HAPPY BETA TESTING!!![/COLOR][/SIZE]
-
Moving to problems
-
Please post a thread in the Fog Problems section and we would be happy to help.
-
Tom,
I’m noticing on the latest build on 3180 that when you open list all hosts it takes forever to ping. Basically the GUI lags out and you cant do anything. Looking at your past comments on revisions, I saw you were addressing this. Not sure if you were still aware that its still an issue.
RZ
-
Tom,
Installing latest SVN and getting PHP Warning on the install couldn’t fetch mysqli in /var/www/fog/lib/db/MYSQL.class.php on line 90 and 120.
-
This isn’t necessarily an issue. If the messages are occurring during the update (and you have a browser open with fog trying to request information, when the services are restarted you will see these messages.