Some things to check:
- Check WOL is enabled in BIOS
- 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]
Some things to check:
If the computer is Windows 8. WOL from S4 or S5 is unsupported, see [url]http://support.microsoft.com/kb/2776718[/url]
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]
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.
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.
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]
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.
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]
Thanks Ricthy that worked. Much appreciated.
Done that Tom, Same issue.
After doing Ritchy’s changes, line 221 still has:-
$group->addMember( $host );
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]
ghedo, I got this running, but I have gone with pigz rather than gzip for the uncompressing. I have not modified the buffer though.
Thanks for looking into this Tom.
Tried your suggestion but it didn’t work.
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.
ghedo
I tried this today and it doesn’t work. Can you upload files /bin/fog and MulticastTask.class.php ?
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.
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]
Download gparted live cd. Resize the partition. Then upload again.
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]
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