Re: [Server-devel] Problema con Squid en XS sobre Vmware
Gracias! Saludos, Alexis El 21 de diciembre de 2009 18:04, Martin Langhoff escribió: > Hemos tenido un problema recientemente con VMWare y Postgres que > tampoco arranca. La solucion es -- durante la instalación -- > configurar /library para que sea una partición normal, evitnado usar > "LVM". > > Busca en el archivo de la lista para más detalles... > > > m > > 2009/12/21 Alexis Pardo : > > Estimados colaborades: > > > > Espero se encuentren bien. Les escribo para comentarles el inconveniente > que > > tengo y ver si alguno de ustedes puede ayudarme. > > > > Como saben, a la fecha hay disponibles 6 imágenes del schoolserver en > > http://xs-dev.laptop.org/xs/other/ > > > > 1) OLPC School Server-0.7-i386.iso24-Oct-2009 03:07 545M > > 2) OLPC-School-Server-0.6d5-i386.iso 28-Aug-2009 18:06 549M > > 3) OLPC-School-Server-0.6d4-i386.iso 10-Aug-2009 17:39 549M > > 4) OLPC-School-Server-0.6d3-i386.iso 26-Jul-2009 16:30 549M > > 5) OLPC-School-Server-0.6d2-i386.iso 03-Jun-2009 03:15 549M > > 6) OLPC-School-Server-0.6d-i386.iso 18-May-2009 15:22 549M > > > > He probado cada una de ellas sobre un ambiente virtualizado. Para ello, > hago > > uso de Vmware Workstation. Mis pruebas no han sido exitosas debido a que > no > > logro "encender" el squid a través del script TURN_SQUID_ON > > > > Mi servidor virtual tiene 2 tarjetas de red, eth0 y eth1. La tarjeta de > red > > eth0 está configurada en modo "bridge" y la eth1 en modo "host only". > Está > > última no tiene comunicación con el exterior. > > > > wan (eth0) <--- SERVER ---> lan (eth1) --> Estaciones que simulan ser XOs > > > > Sigo en orden los pasos para configurar el schoolserver, sin embargo, > cuando > > llego al paso de ejecutar el script TURN_SQUID_ON, obtengo el error que > > muestra la imagen adjunta: > > > > http://img41.imageshack.us/img41/8370/xsv620091221144548.png > > > > Initializing https proxy context init_cache_dir /var/spool/squid... > Starting > > squid: .. [FAILED] > > > > Por lo tanto, el squid no logra iniciar. > > > > De acuerdo con su experiencia, ¿a qué podría deberse esto? Estoy > convencido > > de que estoy haciendo todo bien hasta el momento. > > > > Apreciaré sus comentarios. > > > > > > > > Saludos, > > > > Alexis > > > > ___ > > Server-devel mailing list > > Server-devel@lists.laptop.org > > http://lists.laptop.org/listinfo/server-devel > > > > > > > > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Pushing Activities to XOs
Martin, Okay. Thanks. Gerald On Mon, Dec 21, 2009 at 7:27 PM, Martin Langhoff wrote: > On Sun, Dec 20, 2009 at 1:52 PM, Gerald Ardito > wrote: > > I have about 140 XOs connecting to a XS server (version .6). > > Can I "push" activities to the laptops? > > Yes but... > > - it is only easy if you prepared things on your base image for the > XOs beforehand > > - it doesn't 'push' the activities, but a visit to control panel -> > software update will trigger the update > > On the XS, this is handled by xs-activity-server -- documented in > /usr/share/doc/xs-activity-server/README. The XOs need to know to look > to the XS, this is controlled by a little config file documented in > the wikipage of the software updater. > > My recommendation for something effective: put the .xo files on the > XS, link to them with large icons on the Moodle homepage. Our > experience with Uy is that kids learn how to install/upgrade > activities easily... and find it addictive. Only a disk-full will stop > them ;-) > > [ The OS/UI design way back then was to make updating the OS > controllable centrally, and to leave activity upgrades as a > user-driven action. I mention this to explain the hysterical raisins, > no justification or judgement on the topic... ] > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Admin User
On Mon, Dec 21, 2009 at 9:31 AM, David Leeming wrote: > If the admin XO becomes unavailable or needs to be reflashed how does one > access the Moodle admin and make a new XO (or the original one reflashed) > the admin one? - If the original one is reflashed, it'll be an admin again :-) - For a school with more than one teacher, grant the 'course creator' right to all the teachers, or all the senior teachers. Course creators can assign other course creators. - If all the course-creator-blessed XOs disappear or are replaced, yes, you're in a pickle and you'll need root on the server to enable the true moodle admin and use it to bless another user. Maybe I can write a commandline script that does that. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Pushing Activities to XOs
On Sun, Dec 20, 2009 at 1:52 PM, Gerald Ardito wrote: > I have about 140 XOs connecting to a XS server (version .6). > Can I "push" activities to the laptops? Yes but... - it is only easy if you prepared things on your base image for the XOs beforehand - it doesn't 'push' the activities, but a visit to control panel -> software update will trigger the update On the XS, this is handled by xs-activity-server -- documented in /usr/share/doc/xs-activity-server/README. The XOs need to know to look to the XS, this is controlled by a little config file documented in the wikipage of the software updater. My recommendation for something effective: put the .xo files on the XS, link to them with large icons on the Moodle homepage. Our experience with Uy is that kids learn how to install/upgrade activities easily... and find it addictive. Only a disk-full will stop them ;-) [ The OS/UI design way back then was to make updating the OS controllable centrally, and to leave activity upgrades as a user-driven action. I mention this to explain the hysterical raisins, no justification or judgement on the topic... ] m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Problema con Squid en XS sobre Vmware
Hemos tenido un problema recientemente con VMWare y Postgres que tampoco arranca. La solucion es -- durante la instalación -- configurar /library para que sea una partición normal, evitnado usar "LVM". Busca en el archivo de la lista para más detalles... m 2009/12/21 Alexis Pardo : > Estimados colaborades: > > Espero se encuentren bien. Les escribo para comentarles el inconveniente que > tengo y ver si alguno de ustedes puede ayudarme. > > Como saben, a la fecha hay disponibles 6 imágenes del schoolserver en > http://xs-dev.laptop.org/xs/other/ > > 1) OLPC School Server-0.7-i386.iso 24-Oct-2009 03:07 545M > 2) OLPC-School-Server-0.6d5-i386.iso 28-Aug-2009 18:06 549M > 3) OLPC-School-Server-0.6d4-i386.iso 10-Aug-2009 17:39 549M > 4) OLPC-School-Server-0.6d3-i386.iso 26-Jul-2009 16:30 549M > 5) OLPC-School-Server-0.6d2-i386.iso 03-Jun-2009 03:15 549M > 6) OLPC-School-Server-0.6d-i386.iso 18-May-2009 15:22 549M > > He probado cada una de ellas sobre un ambiente virtualizado. Para ello, hago > uso de Vmware Workstation. Mis pruebas no han sido exitosas debido a que no > logro "encender" el squid a través del script TURN_SQUID_ON > > Mi servidor virtual tiene 2 tarjetas de red, eth0 y eth1. La tarjeta de red > eth0 está configurada en modo "bridge" y la eth1 en modo "host only". Está > última no tiene comunicación con el exterior. > > wan (eth0) <--- SERVER ---> lan (eth1) --> Estaciones que simulan ser XOs > > Sigo en orden los pasos para configurar el schoolserver, sin embargo, cuando > llego al paso de ejecutar el script TURN_SQUID_ON, obtengo el error que > muestra la imagen adjunta: > > http://img41.imageshack.us/img41/8370/xsv620091221144548.png > > Initializing https proxy context init_cache_dir /var/spool/squid... Starting > squid: .. [FAILED] > > Por lo tanto, el squid no logra iniciar. > > De acuerdo con su experiencia, ¿a qué podría deberse esto? Estoy convencido > de que estoy haciendo todo bien hasta el momento. > > Apreciaré sus comentarios. > > > > Saludos, > > Alexis > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Ejabberd CPU/RAM Spike -> Crashes
On Mon, Dec 21, 2009 at 4:18 PM, crodas wrote: > According to the ticket the solution is a locking file which prevent the > re-execution. Well, I've wrote a dumb script awhile ago that might help, > it's not innovating, but it might help: Thanks! The lock I coded is using a moodle-specific bit of code, so it's in PHP, using moodle internal calls, and it uses PostgreSQL's atomicity to achieve it in a non-racey way. This has the advantage of locking a smaller bit of code -- not the whole 'cron' run. BTW, the lock script you're using is a bit racey (things could definitely happen after the if [ -f $LOCK ]). If you want to do this safely in shell scripting, using dotlockfile which is widely available, even in oldish Linuxes. Recent Linuxes all include /usr/bin/flock which is also sanely atomic, so that's what we use on the XS for this task... cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Problema con Squid en XS sobre Vmware
The result is the same with this http://xs-dev.laptop.org/xs/OLPC-School-Server-0.6-i386.iso. A friend told me I have to work with real environments (real machines). I have a question: what is the problem with virtual environments? Is there a problem with some xs images and virtual machines? Thanks a lot Saludos, Alexis El 21 de diciembre de 2009 16:10, Reuben K. Caron escribió: > Alexis, > > This is the version you should be testing with: > > http://xs-dev.laptop.org/xs/OLPC-School-Server-0.6-i386.iso > > Regards, > > Reuben > > On Dec 21, 2009, at 3:53 PM, Alexis Pardo wrote: > > Estimados colaborades: > > Espero se encuentren bien. Les escribo para comentarles el inconveniente > que tengo y ver si alguno de ustedes puede ayudarme. > > Como saben, a la fecha hay disponibles 6 imágenes del schoolserver en > http://xs-dev.laptop.org/xs/other/ > > 1) OLPC School Server-0.7-i386.iso24-Oct-2009 03:07 545M > 2) OLPC-School-Server-0.6d5-i386.iso 28-Aug-2009 18:06 549M > 3) OLPC-School-Server-0.6d4-i386.iso 10-Aug-2009 17:39 549M > 4) OLPC-School-Server-0.6d3-i386.iso 26-Jul-2009 16:30 549M > 5) OLPC-School-Server-0.6d2-i386.iso 03-Jun-2009 03:15 549M > 6) OLPC-School-Server-0.6d-i386.iso 18-May-2009 15:22 549M > > He probado cada una de ellas sobre un ambiente virtualizado. Para ello, > hago uso de Vmware Workstation. Mis pruebas no han sido exitosas *debido a > que no logro "encender" el squid a través del script TURN_SQUID_ON* > > Mi servidor virtual tiene 2 tarjetas de red, eth0 y eth1. La tarjeta de red > eth0 está configurada en modo "bridge" y la eth1 en modo "host only". Está > última no tiene comunicación con el exterior. > > wan (eth0) <--- SERVER ---> lan (eth1) --> Estaciones que simulan ser XOs > > Sigo en orden los pasos para configurar el schoolserver, sin embargo, > cuando llego al paso de ejecutar el script TURN_SQUID_ON, obtengo el error > que muestra la imagen adjunta: > > http://img41.imageshack.us/img41/8370/xsv620091221144548.png > > *Initializing https proxy context init_cache_dir /var/spool/squid... > Starting squid: .. [FAILED]* > > Por lo tanto, el squid no logra iniciar. > > De acuerdo con su experiencia, ¿a qué podría deberse esto? Estoy convencido > de que estoy haciendo todo bien hasta el momento. > > Apreciaré sus comentarios. > > > > Saludos, > > Alexis > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Problema con Squid en XS sobre Vmware
Thanks Reuben, I'm downloading it Saludos, Alexis El 21 de diciembre de 2009 16:10, Reuben K. Caron escribió: > Alexis, > > This is the version you should be testing with: > > http://xs-dev.laptop.org/xs/OLPC-School-Server-0.6-i386.iso > > Regards, > > Reuben > > On Dec 21, 2009, at 3:53 PM, Alexis Pardo wrote: > > Estimados colaborades: > > Espero se encuentren bien. Les escribo para comentarles el inconveniente > que tengo y ver si alguno de ustedes puede ayudarme. > > Como saben, a la fecha hay disponibles 6 imágenes del schoolserver en > http://xs-dev.laptop.org/xs/other/ > > 1) OLPC School Server-0.7-i386.iso24-Oct-2009 03:07 545M > 2) OLPC-School-Server-0.6d5-i386.iso 28-Aug-2009 18:06 549M > 3) OLPC-School-Server-0.6d4-i386.iso 10-Aug-2009 17:39 549M > 4) OLPC-School-Server-0.6d3-i386.iso 26-Jul-2009 16:30 549M > 5) OLPC-School-Server-0.6d2-i386.iso 03-Jun-2009 03:15 549M > 6) OLPC-School-Server-0.6d-i386.iso 18-May-2009 15:22 549M > > He probado cada una de ellas sobre un ambiente virtualizado. Para ello, > hago uso de Vmware Workstation. Mis pruebas no han sido exitosas *debido a > que no logro "encender" el squid a través del script TURN_SQUID_ON* > > Mi servidor virtual tiene 2 tarjetas de red, eth0 y eth1. La tarjeta de red > eth0 está configurada en modo "bridge" y la eth1 en modo "host only". Está > última no tiene comunicación con el exterior. > > wan (eth0) <--- SERVER ---> lan (eth1) --> Estaciones que simulan ser XOs > > Sigo en orden los pasos para configurar el schoolserver, sin embargo, > cuando llego al paso de ejecutar el script TURN_SQUID_ON, obtengo el error > que muestra la imagen adjunta: > > http://img41.imageshack.us/img41/8370/xsv620091221144548.png > > *Initializing https proxy context init_cache_dir /var/spool/squid... > Starting squid: .. [FAILED]* > > Por lo tanto, el squid no logra iniciar. > > De acuerdo con su experiencia, ¿a qué podría deberse esto? Estoy convencido > de que estoy haciendo todo bien hasta el momento. > > Apreciaré sus comentarios. > > > > Saludos, > > Alexis > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Problema con Squid en XS sobre Vmware
Alexis, This is the version you should be testing with: http://xs-dev.laptop.org/xs/OLPC-School-Server-0.6-i386.iso Regards, Reuben On Dec 21, 2009, at 3:53 PM, Alexis Pardo wrote: Estimados colaborades: Espero se encuentren bien. Les escribo para comentarles el inconveniente que tengo y ver si alguno de ustedes puede ayudarme. Como saben, a la fecha hay disponibles 6 imágenes del schoolserver en http://xs-dev.laptop.org/xs/other/ 1) OLPC School Server-0.7-i386.iso24-Oct-2009 03:07 545M 2) OLPC-School-Server-0.6d5-i386.iso 28-Aug-2009 18:06 549M 3) OLPC-School-Server-0.6d4-i386.iso 10-Aug-2009 17:39 549M 4) OLPC-School-Server-0.6d3-i386.iso 26-Jul-2009 16:30 549M 5) OLPC-School-Server-0.6d2-i386.iso 03-Jun-2009 03:15 549M 6) OLPC-School-Server-0.6d-i386.iso 18-May-2009 15:22 549M He probado cada una de ellas sobre un ambiente virtualizado. Para ello, hago uso de Vmware Workstation. Mis pruebas no han sido exitosas debido a que no logro "encender" el squid a través del script TURN_SQUID_ON Mi servidor virtual tiene 2 tarjetas de red, eth0 y eth1. La tarjeta de red eth0 está configurada en modo "bridge" y la eth1 en modo "host only". Está última no tiene comunicación con el exterior. wan (eth0) <--- SERVER ---> lan (eth1) --> Estaciones que simulan ser XOs Sigo en orden los pasos para configurar el schoolserver, sin embargo, cuando llego al paso de ejecutar el script TURN_SQUID_ON, obtengo el error que muestra la imagen adjunta: http://img41.imageshack.us/img41/8370/xsv620091221144548.png Initializing https proxy context init_cache_dir /var/spool/squid... Starting squid: .. [FAILED] Por lo tanto, el squid no logra iniciar. De acuerdo con su experiencia, ¿a qué podría deberse esto? Estoy convencido de que estoy haciendo todo bien hasta el momento. Apreciaré sus comentarios. Saludos, Alexis ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Problema con Squid en XS sobre Vmware
Estimados colaborades: Espero se encuentren bien. Les escribo para comentarles el inconveniente que tengo y ver si alguno de ustedes puede ayudarme. Como saben, a la fecha hay disponibles 6 imágenes del schoolserver en http://xs-dev.laptop.org/xs/other/ 1) OLPC School Server-0.7-i386.iso24-Oct-2009 03:07 545M 2) OLPC-School-Server-0.6d5-i386.iso 28-Aug-2009 18:06 549M 3) OLPC-School-Server-0.6d4-i386.iso 10-Aug-2009 17:39 549M 4) OLPC-School-Server-0.6d3-i386.iso 26-Jul-2009 16:30 549M 5) OLPC-School-Server-0.6d2-i386.iso 03-Jun-2009 03:15 549M 6) OLPC-School-Server-0.6d-i386.iso 18-May-2009 15:22 549M He probado cada una de ellas sobre un ambiente virtualizado. Para ello, hago uso de Vmware Workstation. Mis pruebas no han sido exitosas *debido a que no logro "encender" el squid a través del script TURN_SQUID_ON* Mi servidor virtual tiene 2 tarjetas de red, eth0 y eth1. La tarjeta de red eth0 está configurada en modo "bridge" y la eth1 en modo "host only". Está última no tiene comunicación con el exterior. wan (eth0) <--- SERVER ---> lan (eth1) --> Estaciones que simulan ser XOs Sigo en orden los pasos para configurar el schoolserver, sin embargo, cuando llego al paso de ejecutar el script TURN_SQUID_ON, obtengo el error que muestra la imagen adjunta: http://img41.imageshack.us/img41/8370/xsv620091221144548.png *Initializing https proxy context init_cache_dir /var/spool/squid... Starting squid: .. [FAILED]* Por lo tanto, el squid no logra iniciar. De acuerdo con su experiencia, ¿a qué podría deberse esto? Estoy convencido de que estoy haciendo todo bien hasta el momento. Apreciaré sus comentarios. Saludos, Alexis ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Ejabberd CPU/RAM Spike -> Crashes
Hello, According to the ticket the solution is a locking file which prevent the re-execution. Well, I've wrote a dumb script awhile ago that might help, it's not innovating, but it might help: #!/bin/bash LOCK=/tmp/erlang.lock CMD=$1 if [ -f $LOCK ] then PID=`cat $LOCK` UP=`ps $PID | wc -l` if [ $UP -gt 1 ] then exit; fi fi echo $$ > $LOCK $CMD If it worth add to the repository, please let me know and I will submit a patch. Cheers, On Mon, 21 Dec 2009 15:36:50 +0100, Martin Langhoff wrote: > On Mon, Dec 21, 2009 at 3:32 PM, Martin Langhoff > wrote: >> I've added a big lock around the process, so from now on Moodle >> processes won't overlap in this sync. This means that your server is >> now running a lightly patched Moodle -- I will release this as a new >> rpm soon. > > Filed as http://dev.laptop.org/ticket/9922 - > > cheers, > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Ejabberd CPU/RAM Spike -> Crashes
Ok then. Thanks a lot for the assistance. Things seem to be back to normal. I will look closer tomorrow when the kids are here. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Ejabberd CPU/RAM Spike -> Crashes
On Mon, Dec 21, 2009 at 3:32 PM, Martin Langhoff wrote: > I've added a big lock around the process, so from now on Moodle > processes won't overlap in this sync. This means that your server is > now running a lightly patched Moodle -- I will release this as a new > rpm soon. Filed as http://dev.laptop.org/ticket/9922 - cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Ejabberd CPU/RAM Spike -> Crashes
On Mon, Dec 21, 2009 at 3:14 PM, Martin Langhoff wrote: > Now it's up on a pristine state, and I am monitoring it... Ok - the problem seems related to Moodle's control of ejabberd presence service. The sync between Moodle and ejabberd data (in mnesia) was taking too long, and a second Moodle sync process would start... and then a 3rd... and then... This led to errors that should be benign (an error reported in the logs, but not leading to a functional problem) -- because ejabberd's internals are all about supporting things that happen concurrently. But! something inside ejabberd isn't liking the concurrency. I've added a big lock around the process, so from now on Moodle processes won't overlap in this sync. This means that your server is now running a lightly patched Moodle -- I will release this as a new rpm soon. According to ps_mem.py, beam started at 14MB and now grown to 16MB, this is with no users connected. In normal operation (once users connect), I would expect it to grow to ~40MB. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Ejabberd CPU/RAM Spike -> Crashes
On Sun, Dec 20, 2009 at 12:57 PM, Martin Langhoff wrote: > Yep, I am interested in getting to the bottom of this. I think I have an initial assessment of the situation. Clearly, the mnesia DB got corrupted somehow. Because of that... - the init script did cannot stop ejabberd normally... - killall -9 beam kills the beam processes, which get restarted right away (such is the magic of erlang's engine "failsafe design") by epmd... - Moodle's cronjob talks to ejabberd every 5 minutes. When ejabberd is broken, you get a pileup of php scripts trying to run ejabberdctl again and again. so your attempts to follow my instructions (stop ejabberd, remove corrupt DB, start it again) didn't succeed. Now it's up on a pristine state, and I am monitoring it... m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Fwd: PDF resources in Moodle
Let's keep it on-list... -- Forwarded message -- From: Martin Langhoff Date: Mon, Dec 21, 2009 at 2:42 PM Subject: Re: [Server-devel] PDF resources in Moodle To: David Leeming On Mon, Dec 21, 2009 at 4:30 AM, David Leeming wrote: > Yes, it is reproducible. I am using 802/Q2E41 and Browse-98.xo and the XS is > the current latest version stable build. Thanks. Orange flag right there: Browse-98.xo? Get Browse-102.xo from http://wiki.laptop.org/go/Activities/ (and I think that will fix your B4s that don't auto-authenticate ;-) So - upgrade Browse, retest! - are you using Squid? If yes, switch it off, retest...? - other websites serving PDFs -- test one from http://wiki.laptop.org/go/Category:PDF > Where do I register bugs, sorry I should know that. Let me know and I will > do it if you confirm you can replicate. http://dev.laptop.org/ get an account there. It's a rite of passage ;-) If you want to draw more attention to the usability issues for future releases of Sugar, also get an account on http://dev.sugarlabs.org/ and file a bug there. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Managing global site resources when using segregated groups
On Sun, Dec 20, 2009 at 11:40 PM, David Leeming wrote: > That was very helpful, Martin. I will try the global glossary. I also noted > that if users are added as guests only, then they can see the resources but > are not connected by the presence service. A less elegant way to do it > perhaps. Yes, guest access is a possible approach. But truly global resources are in their "right place" at the site course... and that is supported by ancillary mechanisms within Moodle (ie: glossary autolinking ;-) ) > On the B4s below, well I have two C1s and 2 B4s and they were all updated > with exactly the same flashdrive (build 802 and same activity bundle). So > they should behave identically apart from hardware issues. But the issue > below remains, any other clues I can look for? Ok, that's very weird. Tell me, are they registered ok? Check that... - the XO does not list 'register' in the menu - the XS lists the XO when you run /home/idmgr/list_registrations - in Moodle, the 'course admin' user can see the relevant user account under admin -> users -> browse To be frank, I initially doubt it's a hw/sw problem because the authentication depends on Browse.xo reading serial number / uuid of the machine. If the sn/uuid are not readable (due to bad hardware, or bad OFW), then the registration would fail as well. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Admin User
Martin, If the admin XO becomes unavailable or needs to be reflashed how does one access the Moodle admin and make a new XO (or the original one reflashed) the admin one? David Leeming Solomon Islands Rural Link Leeming International Consulting P.O. Box 652, Honiara, Solomon Islands, South Pacific Tel: +677 747-6396 (m) +677 24419(h) http://www.leeming-consulting.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel