Scheduled tasks not working for groups
-
I am trying to use FOG to redeploy to a group of computers nightly. I am having issues with the schedule task for a group. It says the task has been scheduled, but when I go back and view all the task, it does not show anything. Not even a tool bar on the right. Viewing the source shows this.
[code]
<li><a href=“[URL=‘http://fogproject.org/forum/view-source:http://localhost/fog/management/index.php?node=logout’]?node=logout[/URL]” title=“Logout”><img src=“[URL=‘http://fogproject.org/forum/view-source:http://localhost/fog/management/images/icon-logout.png’]images/icon-logout.png[/URL]” /></a></li></ul></div></div><!-- Content --><div id=“content”><h1>Task Management</h1><div id=“content-inner”><h2>All Scheduled Tasks</h2>[/code]
Apache errors show this.
[code]
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: uname in /var/www/fog/management/includes/processlogin.include.php on line 17, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: confirm in /var/www/fog/management/includes/tasks.include.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: noconfirm in /var/www/fog/management/includes/tasks.include.php on line 5, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Notice: Undefined index: rmid in /var/www/fog/management/includes/tasks.sched.include.php on line 24, referer: http://localhost/fog/management/index.php?node=tasks
[Wed Jan 30 23:10:04 2013] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined method Group::addMember() in /var/www/fog/management/lib/FOGCore.class.php on line 210, referer: http://localhost/fog/management/index.php?node=tasks
[/code]I have to clear out all the scheduled task out of the mysql database before the page loads properly. But the problem is back once I try to do a group schedule (cron or any other way). It works fine on a single host.
Any idea?
Thanks -
I seem to be having an issue with some of the lab Acers getting stuck in state where they will not answer to a WOL packet. So setting the scheduled task is not going to work.
Anyway I can start a UDPcast from the command line? I would like the teacher to click on an icon and then make sure all the computers are working before leaving at the end of day. I don’t really want them into the web interface tho.