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

    Posts made by george1421

    • RE: SVN 5221 failing to install on FOG server using proxy server

      For clarity my bashrc file now has these settings in it because my fog installs are behind a proxy server. If your FOG server has internet access then these settings are not required.

      export http_proxy=http://<proxy_server_ip>:<proxy_server_port>
      export https_proxy=http://<proxy_server_ip>:<proxy_server_port>
      export ftp_proxy=http://<proxy_server_ip>:<proxy_server_port>
      export no_proxy="localhost"
      
      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 5221 failing to install on FOG server using proxy server

      Well I found a work around, but its not very elegant.

      If I update my bashrc file to export this env variable.

      export no_proxy="localhost"
      

      … and then change the wget command in the installfog.sh script from $ipaddress to locahost the backup script works as intended.

       wget --no-check-certificate -O $backupPath/fogDBbackups/fog_sql_${version}_$(date +"%Y%m%d_%I%M%S").sql "http://localhost/$webroot/management/export.php?type=sqldump"
      
      
      posted in FOG Problems
      george1421G
      george1421
    • SVN 5221 failing to install on FOG server using proxy server

      The 5221 trunk is failing to install on a centos 6.7 box. It worked for 5201 (I think)

      * Setting up SSL FOG Server...................................OK
       * Restarting Apache2 for fog vhost............................OK
       * Changing permissions on apache log files....................OK
       * Backing up database.........................................Failed!
      

      Digging into the install script code a bit, the issue is the sql backup script, wget and my FOG systems being behind a proxy server.

      The issue is the wget command that calls the sql dump page. With my fog servers behind a proxy server, to make the install script work I had to add the proxy settings to /etc/wgetrc file as well as the bash environment variables. I guess that wget is not smart enough to know that the ip address for the fog server is local and tries to access the poxy server for the page and gets a failed connection refused. Even tweaking the IP address in the command to 127.0.0.1 gives the same results. I need to have the proxy settings in place for wget or the rest of the install script will fail.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Multiple TFTP servers multi subnet fog 1.2.0

      The FOGImageReplicator is run as a service not a cron job. Look in the /etc/init.d directory for the service descriptor. (next is going to be a rhel based command) Run the chkconfig FOGImageReplicator --list to show you if the image replicator service is set to auto start. Under debian based systems chkconfig may not be installed by default.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Windows7 restarts at bootup when it reaches classpnp.sys after being imaged with FOG

      I guess I have to just throw this out since you are starting with a new deployment.

      Is there any thought of changing your OS from Ubuntu to Centos? In my test environment I’ve spun up about 10 - Centos 6.7 systems with FOG in the last 2 weeks and deployed all of the trunk images without any deployment issues. In monitoring this forum for the last few weeks the majority of the install issues appear to be with the Debian based systems. I’m not saying that one OS is better than the other, but if the goal is to test FOG, then switch OS for the test and work out the kinks with the specific OS deployment later.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Upload image to FOG not working

      Another quick command you can run from a linux command shell would be

      showmount -e localhost
      

      That should show you the nfs shares currently enabled. If the /images share is available, then check into directory file ownership and permissions.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Trunk Update Failing

      for clarity I found those commands in <fog_trunk>/lib/common/functions.sh In case you want to update your way to an answer.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Trunk Update Failing

      I’m just pecking in the dark here. But looking at the installer script (actually a called subfunction). This is what is going on in that area.

       add-apt-repository -y ppa:ondrej/php5-5.6 
       if [ "$?" != 0 ]; then
          apt-get update
          apt-get -yq install python-software-properties
          add-apt-repository -y ppa:ondrej/php5-5.6
      fi
      

      I might suggest that you try the apt commands one at a time and see what fails. Again I’m just guessing here, these commands will not do anything destructive.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Trunk Update Failing

      I guess I’m going to have to defer to one of the developers on this one. It almost sounds like there is a bad setting in the .fogsettings file because its trying to use a resource that it doesn’t have access to.

      Was this a fully functional FOG server at any time?

      posted in FOG Problems
      george1421G
      george1421
    • RE: Trunk Update Failing

      Interesting, (just questioning). You say you have direct internet access yet svn did not work?
      SVN should work right out of the box without any changes, if you had a proxy server between your FOG server and the internet then you need to make a few adjustments. Something is up here. The first thing that the update does is tries (at this point) is to talk to your distribution repository server(s).

      posted in FOG Problems
      george1421G
      george1421
    • RE: Trunk Update Failing

      Sorry for the 20 questions,

      What OS and version is this on?
      Can you try to use subversion to checkout the current trunk?

      It sounds like the installer script can’t reach the correct repositories. Have you don’t a OS update apt-get/yum ??

      posted in FOG Problems
      george1421G
      george1421
    • RE: Trunk Update Failing

      Just for clarity how do you have internet access on this box? Does it have direct internet access or is this box sitting behind a proxy server of some sort?

      posted in FOG Problems
      george1421G
      george1421
    • RE: Active Directory & Specific OU

      If I understand what you are saying then, in the fog settings I would set the OU to your computer’s OU, then when you setup the host change it to the proper location for that host. You can do it one by one in each host’s active directory settings, or via applying the setting to a group of computers all at once. (as you noted the group does not retain the new setting but all hosts that are members of that group have the new setting applied)

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 5195 not booting correctly via ipxe

      I guess I’ll have to defer to the developers on this one, sorry. This is a bit beyond what I know.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Active Directory & Specific OU

      I would suggest that you get one working. Once you have one working then you can use the update group function to change all the rest to the correct OU, and finally update the defaults in the fog settings so any new systems will have the right settings.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 5195 not booting correctly via ipxe

      Ok so they are not installed in the path I posted? You can pick them up from the sourceforge site or just rerun the installer again.

      posted in FOG Problems
      george1421G
      george1421
    • RE: SVN 5195 not booting correctly via ipxe

      I have two questions for you:

      1. Do you have the kernel’s installed in the right path?
      2. Is this the first time you upgraded from 1.2.0 to a SVN trunk release?

      The reason why I ask, I had an issue where the fog server was behind a proxy server and I applied the svn trunk update almost everything installed fine except the new fog client wouldn’t download and I couldn’t pxe boot because the boot images were missing. I found the issue that the svn installer uses curl to get the fog client and boot image files but since curl didn’t know about the proxy server settings it would just fail to get them. I had to set the environment variables to point to the proxy server then everything worked OK.

      (edit) The boot files need to be in this path: /var/www/html/fog/service/ipxe and the file names are bzImage and init.xz. If they are missing FOG will display the boot menu but if you select anything the target computer will just restart (/edit)

      posted in FOG Problems
      george1421G
      george1421
    • RE: Active Directory & Specific OU

      I can tell you yes, the format needs to be in ldap format and it appears you have the right format as long as the maintenance OU exists under your main OU (like Computers do) then it should place it in the right spot. I can say from one of my installs I have (ou=Desktops,ou=Computers,ou=NYC,ou=US,dc=domain,dc=local)

      Since your target computer is ending up in the Computers OU you must have the right information to join the computer to the domain so the FogCrypt part is right too.

      When you make a change to the group… everything disappears. That one got me too. FOG applies the information to the host based on the group but the group doesn’t keep the settings. It would be logical for the group to retain this setting but it doesn’t, it is just used to apply the values to the host. I would go into the target host you are interested in and check the AD settings there. Make sure the proper OU settings are there, then redeploy the host again.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Images not being Deployed

      I guess I should clarify. We use MDT to create our reference image on a VM with a 40GB disk. During the MDT deploy task we apply all of the windows updates. If we are making a fat image then we install the additional software at that time (using a fat image task sequence in MDT). When we have the image the way we want it, then we sysprep it and capture the image. At this capture point we still only have a 40GB disk. So we deploy that 40GB disk to the target computer and then once on the target computer we extend the disk with diskpart.

      We do it this way because we rebuild the golden image each quarter. If you have everything setup to create your reference image automatically, the actual hands on time is very small. What takes the most time from start to finish is windows updates. So far with the WIndows 7 updates it takes overnight to apply them all (~14 hrs).

      While I got a bit off point, the key is to deploy a smaller image to your client computers than their smallest disk size then extend their logical disk to the physical size during the cleanup process.

      posted in FOG Problems
      george1421G
      george1421
    • RE: Images not being Deployed

      @jquilli1 said:

      I was told to use “Multiple Partition Image - Single Disk (Non-resizable)” if I’m capturing an image that’s Windows 7 or above. Have I been mistaken this whole time?

      While I quickly scanned this thread, I didn’t see what client OS you are deploying. I can say that we deploy “Multiple Partition Image - Single Disk (Non-resizable)” to all of our Win7 and Win8.x (and soon Win10) systems (MBR only). The one thing that we DO is create our reference image on a VM with a small hard drive (40GB) that way we are sure it will deploy correctly to any hardware we might have in the future. 40GB is sufficient for windows+updates+core applications. When we deploy that 40GB image to a computer with a 128GB (or larger) drive, initially the logical hard drive will be 40GB. In the SetupComplete.cmd file we launch a command script to window’s diskpart.exe utility to extend the logical drive to the size of the physical disk. While we haven’t had to do that with linux there are commands to do that too.

      To date we’ve deployed several hundred systems using this method, with FOG and a few other deployment tools.

      posted in FOG Problems
      george1421G
      george1421
    • 1
    • 2
    • 760
    • 761
    • 762
    • 763
    • 764
    • 765
    • 766
    • 762 / 766