• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Raff
    3. Posts
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 115
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: WOL and Task doesn't work

      Some things to check:

      1. Check WOL is enabled in BIOS
      2. Check WOL is enabled for the network card in windows.

      If the computer is Windows 8. WOL from S4 or S5 is unsupported, see [url]http://support.microsoft.com/kb/2776718[/url]

      posted in FOG Problems
      R
      Raff
    • RE: Hostname CHanger not working since moving to 1.0.1

      It could be your using a different pass key for FOG-Crypt. If you are, then you need to recompile HostnameChange.dll in the client.

      [url]http://www.fogproject.org/wiki/index.php/Managing_FOG#Encrypting_Your_Password[/url]

      posted in FOG Problems
      R
      Raff
    • RE: Downgrade

      More to it than that if he wants to keep his data. He must have a copy of 0.32 fog database, and restore it.

      posted in FOG Problems
      R
      Raff
    • RE: Latest FOG 1.0.0

      Blank page when listing all hosts or all images appears to be memory_limit in php.ini, raising it from Default 128M to 256M solved problem.

      posted in General
      R
      Raff
    • RE: Latest FOG 1.0.0

      Just tried upgrading again, this time from 0.32 to 1.01. We Get an error on Database Schema Updater. Also when we try to list all hosts or all images returns a blank page. A search for a single host or image it returns data.

      [ATTACH=full]771[/ATTACH]

      [url=“/_imported_xf_attachments/0/771_fogerror.jpg?:”]fogerror.jpg[/url]

      posted in General
      R
      Raff
    • RE: Latest FOG 0.33b

      Just an update on the above issues.

      Seems to happen if Images table Field imageNFSGroupID is set to a storage Node that no longer exists.

      Also we had a issue when listing all hosts. If the host table field hostImage has a value of -1 we get an error, may also error for the value 0.

      posted in General
      R
      Raff
    • RE: Latest FOG 0.33b

      Just attempted an upgrade from fog 0.32 to fog-rc. Followed the instructions on wiki [url]http://fogproject.org/wiki/index.php?title=Upgrade_to_0.33[/url]

      Ran into an issue when updating the schema see image below. When trying to list all images to modify the OS, we get another error as in the other image below.
      [ATTACH=full]696[/ATTACH]
      [ATTACH=full]697[/ATTACH]

      We have 5400 Hosts in our database.

      [url=“/_imported_xf_attachments/0/696_1.jpg?:”]1.jpg[/url][url=“/_imported_xf_attachments/0/697_2.jpg?:”]2.jpg[/url]

      posted in General
      R
      Raff
    • RE: Latest FOG 0.33b

      Why not try a unicast first?

      posted in General
      R
      Raff
    • RE: Call to undefined method Group::addMember

      Thanks Ricthy that worked. Much appreciated.

      posted in Bug Reports
      R
      Raff
    • RE: Call to undefined method Group::addMember

      Done that Tom, Same issue.

      After doing Ritchy’s changes, line 221 still has:-
      $group->addMember( $host );

      posted in Bug Reports
      R
      Raff
    • RE: Call to undefined method Group::addMember

      Ritchy thanks for that, but still no luck.

      [B]Fatal error[/B]: Call to undefined method Group::addMember() in [B]/var/www/fog/management/lib/FOGCore.class.php[/B] on line [B]221[/B]

      With your changes line 210 is now 221 but still has same error

      Line 137 to 224 below:-

      [CODE] else if ( $group != null )
      {
      //add copy from below
      $task = new ScheduledTask( $host, $group, $timer, $ar[“stTaskType”], $ar[“stID”] );
      $task->setShutdownAfterTask( $ar[“stShutDown”] == 1 );
      $task->setOther1( $ar[“stOther1”] );
      $task->setOther2( $ar[“stOther2”] );
      $task->setOther3( $ar[“stOther3”] );
      $task->setOther4( $ar[“stOther4”] );
      $task->setOther5( $ar[“stOther5”] );
      $arTasks[] = $task;
      // start Comment
      /*if ( $group->getCount() > 0 )
      {
      $arRm = array();
      $hosts = $group->getMembers();
      for( $i = 0; $i < count($hosts); $i++ )
      {
      if ( $hosts[$i] != null )
      {
      $h = $hosts[$i];
      if ( ! ($h->isReadyToImage() && $h->getImage()->getStorageGroup()->getID() == $groupid ) )
      {
      $arRm[] = $h;
      }
      }
      }

                                  //echo ( "Before: " . $group->getCount() );
                                  for( $i = 0; $i < count($arRm); $i++ )
                                  {
                                      $group->removeMember( $arRm[$i] );
                                  }
                                  //echo ( "After: " . $group->getCount() );
                                 
                                  $task = new ScheduledTask( $host, $group, $timer, $ar["stTaskType"], $ar["stID"] );
                                  $task->setShutdownAfterTask( $ar["stShutDown"] == 1 );
                                  $task->setOther1( $ar["stOther1"] );
                                  $task->setOther2( $ar["stOther2"] );
                                  $task->setOther3( $ar["stOther3"] );
                                  $task->setOther4( $ar["stOther4"] );
                                  $task->setOther5( $ar["stOther5"] );
                                  $arTasks[] = $task;                               
                              }*/
                              //end comment
                          }
                      }               
                  }
              }
      
             
          }
          return $arTasks;
      }
      
      function getGroupById( $id )
      {
          if ( $this->db != null && is_numeric( $id ) && $id >= 0 )
          {
              $sql = "SELECT
                      groupID,
                      groupName,
                      groupDesc,
                      gmHostID as hostid
                  FROM
                      groups
                      inner join groupMembers on ( groups.groupID = groupMembers.gmGroupID )
                  WHERE
                      groupID = $id";       
              $res = mysql_query( $sql, $this->db ) or die( mysql_error() );       
      
              $group = null;
              while( $ar = mysql_fetch_array( $res ) )
              {
                  if ( $group == null )
                  {
                      $group = new Group($ar["groupID"], $ar["groupName"], $ar["groupDesc"] );
                  }
                 
                  $hid = $ar["hostid"];
                  if ( $hid !== null && is_numeric( $hid ) )
                  {
                      $host = $this->getHostById( $hid );
                      if ( $host != null )
                          $group->addMember( $host );
                  }
              }       
              return $group;    [/CODE]
      
      posted in Bug Reports
      R
      Raff
    • RE: Minor change great improvment (multicast i love you)

      ghedo, I got this running, but I have gone with pigz rather than gzip for the uncompressing. I have not modified the buffer though.

      posted in General
      R
      Raff
    • RE: Call to undefined method Group::addMember

      Thanks for looking into this Tom.
      Tried your suggestion but it didn’t work.

      posted in Bug Reports
      R
      Raff
    • RE: Latest FOG 0.33b

      On versions before 0.32 you had to run FOGprep before running sysprep on vista and windows 7. Not needed on version 0.32.

      We still run version 0.29 of init.gz so we still run FOGprep.

      posted in General
      R
      Raff
    • RE: Minor change great improvment (multicast i love you)

      ghedo

      I tried this today and it doesn’t work. Can you upload files /bin/fog and MulticastTask.class.php ?

      posted in General
      R
      Raff
    • RE: Minor change great improvment (multicast i love you)

      Another member once did a guide on how to do the same thing with pigz rather than gzip to take advantages of multicore processors, I think that thread is on the old forums. We were getting mixed results when tried it. What happens if one of the clients is slower at decompressing than others in the group?

      Might try it again on 0.32, last time we tried it was on 0.28.

      posted in General
      R
      Raff
    • RE: How can i update kernel

      Rename the existing [FONT=Courier New]bzImage and keep it safe. Rename Kernel-3.8.8.core to bzImage and copy it to [B]/tftpboot/fog/kernel/[/B][/FONT]

      posted in FOG Problems
      R
      Raff
    • RE: Partition outside of disk and Invalid partition table

      Download gparted live cd. Resize the partition. Then upload again.

      posted in FOG Problems
      R
      Raff
    • RE: FOG server on multiple IPs on multiple VLANs

      You need to get your network admin to setup the network to allow multicasting across subnets see example here:-
      [url]http://www.fogproject.org/wiki/index.php/Cisco_Multi_Cast[/url]

      posted in Linux Problems
      R
      Raff
    • RE: New Developer

      Hi Tom,

      Thanks for contributing your time to this project, it is very much appreciated. We need more people like you with development skills to step forward and contribute. I hope it does not interfere too much with your home life.

      We are a large university and we use it to deploy images to around 4000 computers. It’s being used by many other large organisations too. On a visit to CISCO UK headquarters last year, I noticed an engineer using FOG to deploy images to computers in their training rooms.

      Raff

      posted in Feature Request
      R
      Raff
    • 1 / 1