We saw this message at boot, not sure if it's relevant:<br>AICCU is not configured go to /etc/aiccu<br><br>pssql now starts on boot, but we are still getting the same results when accessing:<br><a href="http://172.18.0.1/(moodle/)">http://172.18.0.1/(moodle/)</a><br>
<br>The result is a page stating:<br>Moodle is disabled at the moment.<br><br>We have rebooted more than once at this point.<br><br>We've been digging around (but not changing) /etc/httpd/conf/httpd.conf and /etc/httpd/conf/httpd-xs.conf<br>
<br>and they both point to a document root of /var/www/html<br><br>Does this have anything to do with our problem? I don't really know what I'm doing...<br><br>So, in a nutshell, pssql is running at startup, but we still can't access moodle through the web interface.<br>
<br>Any ideas?<br><br>Thanks yet again,<br>-Dan (and Michael Ishaku)<br><br><div class="gmail_quote">On Thu, Sep 17, 2009 at 12:54 PM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, Sep 17, 2009 at 12:37 PM, Daniel Bennett <<a href="mailto:dantana@gmail.com">dantana@gmail.com</a>> wrote:<br>
>> rpm -V kernel<br>
<div class="im">> dan: I got no news, so I guess it worked<br>
<br>
</div>Good!<br>
<div class="im"><br>
> dan: I ran:<br>
> ejabberdctl connected-users<br>
> It returns long output like (the random string here is made up by me):<br>
> <a href="http://34209381afaa07fa9dfsaf@schoolserver.lccnjimeta.org/Telepathy" target="_blank">34209381afaa07fa9dfsaf@schoolserver.lccnjimeta.org/Telepathy</a><br>
<br>
</div>That all sounds right. Some more useful commands<br>
<br>
# will show 'Online' exists<br>
$ejabberdctl srg-list-groups `hostname -f`<br>
Online<br>
# show the settings of the Online Shared Roster Group -<br>
$ ejabberdctl srg-get-info 'Online' `hostname -f`<br>
name: "Online"<br>
displayed_groups: ["Online"]<br>
description: "Created_by_ejabberd_init"<br>
online_users: true<br>
members:<br>
<div class="im"><br>
<br>
> So I definitely buy that some automagic is going on here.<br>
<br>
</div>Hey -- did you ever doubt it? :-)<br>
<div class="im"><br>
> Is there perhaps<br>
> documentation I can view that explains to me how to create different groups<br>
> for different classes and generally manage things without the now obsolete<br>
> web interface?<br>
> (real world example: I would like to put all of my 5th graders in a group<br>
> together, my 2nd graders in another, etc) I might even want to change these<br>
> on a regular basis.<br>
><br>
> Is this all done through moodle perhaps? Is there documentation I should be<br>
> using for that? If you could send me a link it would be much appreciated.<br>
<br>
</div>Yes, you can segregate what XOs see in the neighbourhood view by<br>
moodle course membership. This is mainly useful when you have schools<br>
with more than ~50 XOs.<br>
<br>
Quick howto:<br>
<br>
1 - Make sure you are using a recent Browse.xo (101 at least, I think)<br>
<br>
2 - The first XO to register (reboot) and visit moodle successfully<br>
gets some extra rights (is an 'admin' of sorts). So get an XO reg'd<br>
and visiting Moodle -- it will auto-authenticate into Moodle. Should<br>
see a 'site administration' block on the left.<br>
<br>
3 - Create some courses (Site Administration->courses->Add/edit->Add<br>
new), assign teachers and students. In the long and confusing "new<br>
course" form, all you need to set is Full Name and Short Name. Please<br>
ignore every other option.<br>
<br>
Note: when it comes to enrolling, setup some courses for XOs you have<br>
registered already -- this is mainly to have something to work with!<br>
You can add more courses & enrolments later.<br>
<br>
Might help: <a href="http://docs.moodle.org/en/Enrolment#Manual_enrolment" target="_blank">http://docs.moodle.org/en/Enrolment#Manual_enrolment</a><br>
<br>
4 - In 'Site Administration', go to Courses->Presence Service, and set<br>
presencebycourse to Yes.<br>
<br>
5 - Within 10 minutes, issuing the same ejabberdctl queries as above<br>
should show that Online has been replaced by several SRGs -- one per<br>
course. Asking for the 'info' of those, will show you their<br>
membership.<br>
<br>
6 - When you make the switch from one mode to the other on the XS<br>
side, the situation will be confusing for the XOs, so they might need<br>
to re-associate to the Access Point (so they re-query their group<br>
membership) before they see the changes.<br>
<br>
Note: All changes to the course membership take 5~10 minutes to appear<br>
in ejabberd on the XOs, and some changes may also need an XO to<br>
reassociate to the AP. Emphasis on 'some' :-)<br>
<div class="im"><br>
> Dan: service pgsql-xs supports chkconfig, but is not reerenced in any<br>
> runlevel (run 'chkconfig --add pgsql-xs')<br>
><br>
> Should I run this as it says?<br>
<br>
</div>Yes! and then restart the server. Both pgsql-xs and moodle will start<br>
up. On this first startup, moodle will perform its setup (so it'll<br>
take a tad longer). You can see the log of the install in<br>
/var/log/moodle/instupg.log<br>
<div class="im"><br>
> klogctl during boot returns 'invalid argument'<br>
<br>
</div>dunno<br>
<div class="im"><br>
> mshbonds and wmeshs do not seem to be present<br>
<br>
</div>normal.<br>
<div class="im"><br>
> could not connect to server postgres as well.<br>
<br>
</div>not normal but you'll have it fixed for the next reboot :-)<br>
<div><div></div><div class="h5"><br>
<br>
<br>
m<br>
--<br>
<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
<a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
- ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br>
- <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
</div></div></blockquote></div><br>