• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. george1421
    3. Posts
    • Profile
    • Following 1
    • Followers 64
    • Topics 113
    • Posts 15,322
    • Best 2,772
    • Controversial 0
    • Groups 2

    Posts made by george1421

    • RE: [Rev 4201] blank page when trying to install/update database schema

      Just a contributor here:

      We had a similar issue here after a trunk upgrade. The OP needs to check the Apache error log in (at least in the Redhat realm) /var/log/httpd/error_log

      The OP can run the <…>/fog/management/ url to generate the blank page then immediately run this command from the linux console.

      tail /var/log/httpd/error_log

      That should show the OP the error that generated the blank page.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      My preference would be to not do something out of band if possible. It does appear that creating a fake image with its path set to /image/drivers is choking the FOG replicator because of the sub folders, so I’m going to back out that change. Because no replication is happening because of that error.

      I haven’t dug into the fog replicator code yet, but I’m wondering if rsync wouldn’t be a better method to replicate the images from the master node to the other storage nodes. Rsync would give us a few more advanced options like data compression and only syncing files that were changed than just a normal file copy.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      Its a trunk build 5040.

      Looking at the drivers folder. I have a combination of files and sub folders. Depending on how smart the replicator is it may not handle or traverse the sub folders.

      The structure of the drivers folder is such.
      /images/drivers/OptiPlex7010.zip
      /images/drivers/OptiPlex7010/audio
      /images/drivers/OptiPlex7010/audio/<many files and sub folders>
      /images/drivers/OptiPlex7010/video/<many files and sub folders>
      <…>

      I suspect that the replicator was only designed to copy the image folder and one level of files below.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      Rebooting the storage node appears to have started the replication /images/drivers but so far only the first file has replicated.

      Looking at /opt/fog/logs/fogreplicator.log on the master node I see this error.

      [10-22-15 8:19:52 pm] * shvstorage - SubProcess -> mirror: Fatal error: 500 OOPS: priv_sock_get_cmd
      [10-22-15 8:21:08 pm] * shvstorage - SubProcess -> Mirroring directory drivers' [10-22-15 8:21:08 pm] * shvstorage - SubProcess -> Making directory drivers’
      [10-22-15 8:21:08 pm] * shvstorage - SubProcess -> Transferring file `drivers/DN2820FYK.zip’

      the zip file is the only thing in /images/drivers on the storage node.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      Correction that error was on line 12 not line 1. I missed the last character when I copied the error.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      Well that was interesting. Trying to force the replication by stopping and restarting the FOGImageReplicator service on the master node restarted without issue. Stopping and starting the same service on the storage node caused an error to be thrown

      PHP Fatal error: Call to undefined method ImageReplicator::getBanner() in /opt/fog/service/FOGImageReplicator/FOGImageReplicator on line 1

      Both the master node and storage nodes are running build 5040.

      posted in FOG Problems
      george1421G
      george1421
    • RE: FOG storage node and data replication

      OK that sounds like a plan. I’ll set that up right away.

      Do you know what the replication cycle interval is or where to find the setting? Under “normal” production once a days is sufficient, but I can see during development that we might need to shorten it to just a few hours.

      posted in FOG Problems
      george1421G
      george1421
    • FOG storage node and data replication

      I’m working on a multisite proof of concept configuration. I setup a fog storage node and everything worked great. All of the images were copied over to the storage node. I currently have the target machine drivers in /images/drivers folder and this folder was not copied to the storage node, which was kind of expected since this folder is not standard to FOG. My question is how can I add this directly to the list of directories that gets replicated between the storage nodes? Or am I going about it the wrong way. I need the target machine’s drivers replicated to all storage nodes too.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 4876 kernel and init.xz missing

      The OS is Centos 6.7. But I think what was changed works across the linux distros. The wgetrc thing is specific to wget and I know I’ve made that change on FreeBSD as well as various flavors of linux. The environment settings should also be universal.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 4876 kernel and init.xz missing

      Here is an update on this issue for those that may find the same issue.

      I added the following lines to the /etc/bashrc profile script at the very bottom.

      export http_proxy=http://<proxy_ip>:<proxy_port>
      export https_proxy=http://<proxy_ip>:<proxy_port>

      saved the file then logged out and back in. After I did that the installer script downloaded the FOGService.msi file without error and the kernel and init.xz files existed when the installer was done.

      Just to restate the issue, if you have your FOG server behind a proxy server you must update the bashrc file with your proxy server settings AND wgetrc with the proxy server settings, because both commands are used to download files in FOG.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 4876 kernel and init.xz missing

      Ok looking a bit deeper into this, the link you referred to the diff file uses wget to get the kernel images and init.xz from sourceforge. Looking into the actual file commom/functions.sh it uses curl to get the files. In my install my fog server sits behind a proxy server. I’ve got the command in place in /etc/wgetrc to support proxy downloads. I’m going to have to look into what can be done for curl behind a proxy. But as a side note, I’m suspecting that’s also the reason for FOGService.msi failing to download every time during the install process.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 4876 kernel and init.xz missing

      Sorry just so I’m clear (my apologies I had several different comments in my post):

      When I run the install from the local svn location that will remove the bzImage and init.xz files. But then redownload them during the update process?

      If that is true, then something is broken. I can manually install the bzImages from inside the fog management console, but I have to get the init.xz images from sourceforge via wget. If this is SOP then I’m OK with it, but one would think the update/installer would put all of the bits in place for me.

      posted in FOG Problems
      george1421G
      george1421
    • SVN 4876 kernel and init.xz missing

      After running the update from 4866 to 4876 both the boot kernels (bzImage) and init.xz have been removed. Is this an expected behavior of the upgrade process?

      Running through the built in kernel upgrade process returned these two errors in the apache error log:
      [Wed Oct 07 07:40:46 2015] [error] [client 192.168.1.167] PHP Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /var/www/html/fog/lib/fog/FOGURLRequests.class.php on line 60, referer: http://192.168.1.53/fog/management/index.php?node=about&sub=kernel&install=1&file=aHR0cHM6Ly9mb2dwcm9qZWN0Lm9yZy9rZXJuZWxzL0tlcm5lbC5Ub21FbGxpb3R0LjQuMi4yLjMy
      [Wed Oct 07 07:41:07 2015] [error] [client 192.168.1.167] PHP Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect value given in /var/www/html/fog/lib/fog/FOGURLRequests.class.php on line 60, referer: http://192.168.1.53/fog/management/index.php?node=about&sub=kernel&install=1&file=aHR0cHM6Ly9mb2dwcm9qZWN0Lm9yZy9rZXJuZWxzL0tlcm5lbC5Ub21FbGxpb3R0LjQuMi4yLjY0

      After the kernel upgrade the init.xz file was still missing. Upon the next reboot of the client this error was thrown in the apache error log:

      [Wed Oct 07 07:43:07 2015] [error] [client 192.168.1.199] File does not exist: /var/www/html/fog/service/ipxe/init.xz

      I can fix the missing bzImage and init.xz but is this expected behavior or should the upgrade . Neither bzImage or init.xz appear in the svn trunk.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 4860 No General Info

      I can also confirm that version 4866 resolved the issue.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 4860 No General Info

      In reviewing the Apache error logs I did see this error being generated when I try to access host information.

      [Tue Oct 06 15:45:37 2015] [error] [client 192.168.1.167] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/fog/lib/pages/HostManagementPage.class.php on line 403, referer: http://192.168.1.53/fog/management/index.php?node=host&sub=list

      It only appears to be a problem with the host general pane, the other ones work as intended.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 4860 No General Info

      FWIW I’m also seeing the same thing. No host management details. I upgraded this AM from 4388 to 4850 and now 4860 today. I rolled back the VM to repeat the upgrade steps with the same results.

      Executing the sql command to disable the location plug has no impact on the host management details. I did confirm that the bit was changed to 0. I did reboot the server just to ensure the value wasn’t cached anywhere. Upon login I did notice the location icon is still visible in the console.

      In my install I only have the location and LDAP services installed.

      posted in FOG Problems
      george1421G
      george1421
    • RE: blank page on installing/updating fog schema

      I have the vm restored to the previous state and I’m able to login with version 4388 on the cloud. This vm has the access control, ldap and location plugins installed.

      On the vm that was cloned, I renamed the folders for access control and ldap then restarted the httpd service. On this vm I’m now able to reach the schema update page. After the schema update was updated the version number on the cloud is 4652.

      After I was able to login I removed the plugins access control and ldap and restarted httpd. I was able to login OK, so I added back in ldap, access control and restarted http. This time on the login page I noticed (as with version 4388) the estimated fog sites and latest version values weren’t displayed only the rotating circles. I was able to login OK. I then removed the ldap plugin again. At the login page the estimated sites just showed the rotating circles. And finally I logged in and removed the access control plugin. Now at the login page I get the values of 4199 and version 1.2.0 (?? since I though this was 1.3.0). I added back in the ldap plugin without issue.

      So you guess that it was the access control modules is spot on. I’ll wait a day or two so we can get the images deployed on the production FOG server then attempt to upgrade that one again.

      posted in FOG Problems
      george1421G
      george1421
    • RE: blank page on installing/updating fog schema

      Yes the access control plugin is installed but I haven’t used it/changed from the default settings yet.

      Is there a way to externally disable this plugin? I’m unable to get the management interface to display at all. Every time I call up the management interface it tries to access the schema update and I end up with the blank page.

      posted in FOG Problems
      george1421G
      george1421
    • RE: blank page on installing/updating fog schema

      Thank you for responding Tom. I just ran the svn update and attempted to reinstall the update. I got the same blank page for schema update and error message in the apache error log. So no luck here.

      Right now we are unable to deploy new client machines. So after cloning this vm, I’m going to roll back the image to before the attempted upgrade. I did find the issue which was the trigger that caused me to attempt the upgrade. After I get the vm restored and fix the other issue, we’re all good.

      If you want me to test anything additional I’ll keep the broken vm for a while.

      posted in FOG Problems
      george1421G
      george1421
    • RE: blank page on installing/updating fog schema

      Bump

      Any idea on how we can solve this issue? We are unable to login or even interface with the software from the FOG PXE menus since they interact with PHP. We get this error in the apache error log if we try to interact with the web interface or via the PXE menus:

      PHP Fatal error: Call to a member function get() on boolean in /var/www/html/fog/lib/plugins/accesscontrol/hooks/RemoveUpload.hook.php on line 28

      posted in FOG Problems
      george1421G
      george1421
    • 1 / 1