[Server-devel] the "first user is admin" moodle policy

Joshua N Pritikin jpritikin at pobox.com
Sun Jul 26 12:38:37 EDT 2009


On Sun, Jul 26, 2009 at 03:49:56PM +0200, Martin Langhoff wrote:
> On Sun, Jul 26, 2009 at 1:37 PM, Joshua N Pritikin<jpritikin at pobox.com> wrote:
> > How do I further debug this?
> 
> On the client side:
> 
>  - find the cookies.sqlite file (which will be in one of the
> 'isolation' dirs rainbow makes). Open it with sqlite3 and you should
> find it has 1 table, and that table has a some cookies for the FQDN of
> the XS, one of them is very obviously the authentication one, and
> should have the SN of the XO.

I don't see a serial number (SHF80803DBC) here. I see:

MOODLEID_ %25ED%25C3%251CC%25B7d

> On the XS side.
> 
>  - there is a script -- I think /home/idmgr/list_registrations -- that
> will show you who's registered successfully

[root at schoolserver idmgr]# ./list_registration 
Listing students from  /home/idmgr/identity.db
Parikrama 28	SHF80803DBC	

>  - /var/log/moodle/cron.php should show interesting output (like the
> creation of the acct in Moodle, but that happens right after
> registration so you may have lost that). Any errors there may be
> interesting.

I suspect that I lost the log for my initial registration. As an 
experiment, I registered another XO laptop:

[root at schoolserver idmgr]# ./list_registration 
Listing students from  /home/idmgr/identity.db
Parikrama 28	SHF80803DBC	
Parikrama 22	SHF80803F68	

The next cron run did not show anything interesting (as far as I can 
tell):

 == Running cron - Sun Jul 26 22:05:01 IST 2009 ==
Server Time: Sun, 26 Jul 2009 22:05:02 +0530

Starting activity modules
Processing module function assignment_cron ...done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
done.
Finished activity modules
Starting blocks
Processing cron function for search....Global searching is not enabled. Nothing performed by search.
done.
Finished blocks
Starting admin reports
Finished admin reports
Updating languages cache
Removing expired enrolments ...none found
Starting main gradebook job ...
done.
Running backups if required...
    Checking backup status...INACTIVE
Backup tasks finished.
Running auth crons if required...
Running cron for auth/olpcxs...
Cron script completed correctly
Execution took 2.412476 seconds

The MOODLEID_ for the 2nd laptop (on the client side) looked much the 
same: %25ED%25C3%251CC%25B7d

>  - /var/log/httpd/error_log -- any errors there may be interesting...

No errors of interest here.


More information about the Server-devel mailing list