Re: [Server-devel] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 10:20 AM, Daniel Bennett dant...@gmail.com wrote:
 Verified
 Verified:  postmaster (pid 2904 2903 2902 2901 2899 2804) is running...
 Verified: just these (4 rows)
 Verified: It continues for 406 rows

All perfect then!

 Given that I'm getting all the same outputs you have included in your email,
 do you think that my hunch from last night (below) might be correct?  If so,
 where do I go next?

To celebrate!
 - Your moodle-instupg.log file now will have new stuff, showing that
Moodle connected to Postgres and created all the relevant tables...
 - Moodle should be working now! :-)

If Moodle is not working now, post the moodle-instupg.log again, and
the verbose log of starting moodle (same procedure as yesterday).

If it is all working now, the missing step was just

   chkconfig --add pgsql-xs

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] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-18 Thread Daniel Bennett
Booyahkhshaa!

You're the man, Martin.

Hopefully I'm out of your hair for a while now.

Da Godiya!

-D

P.S.  if i first opened the website (http://schoolserver.lccnjimeta.org)
from a non-xo laptop, but didn't log in, the first XO will still get
semi-admin privileges, right?


On Fri, Sep 18, 2009 at 9:50 AM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Fri, Sep 18, 2009 at 10:41 AM, Daniel Bennett dant...@gmail.com
 wrote:
  Unfortunately,
 
  Moodle is not working now.

 Bizarre! Can you try...

   # this will clear out the moodle database
   sudo -u postgres dropdb moodle-xs

   # clear out the install log
   rm /var/log/moodle-instupg.log

 and then retry the

/etc/init.d/moodle stop
   (bash -x /etc/init.d/moodle start 21) | tee moodleinit.log

 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] Attempting to re-install jabber component of XS without re-installing the entire server

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 10:59 AM, Daniel Bennett dant...@gmail.com wrote:
 Booyahkhshaa!

Good to hear it worked! Strange that the DB would have been in a stage
where Moodle cannot get it going, and does not give a meaningful
error.

 P.S.  if i first opened the website (http://schoolserver.lccnjimeta.org)
 from a non-xo laptop, but didn't log in, the first XO will still get
 semi-admin privileges, right?

No problem there.



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] xs-activation update, and antitheft howto

2009-09-18 Thread Martin Langhoff
In the last few weeks I wrote up several procedures related to
activation and antitheft tools in Spanish. I now had a chance to write
it up in the wiki

   http://wiki.laptop.org/go/Antitheft_HowTo

Together with the writeup, there is a small update to xs-activation so
recommended:

   yum --enablerepo=olpcxs-testing install xs-activation

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] XS Wiki pages - thanks, some tidyups

2009-09-18 Thread Martin Langhoff
On Fri, Sep 18, 2009 at 6:22 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 There is a note now inviting people to mention on server-devel about
 their edits. I don't want to stop anyone from editing -- a brief note

An alternative here would be to have something like the
'CategoryWatch' extension publishing an rss feed. The My Watchlist
facility doesn't have a usable rss feed unfortunately.

Maybe a mediawiki wiz can help.

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] DNS/dhcp question

2009-09-18 Thread Gerald Ardito
Martin,

Thanks.

I am using version 0.6d5. And I followed the standard installation
procedures.
Our tech guy set up a VLAN which includes the APs, which point to the XS
(my box) as the DHCP server.

I didn't get to try the ping command you suggested. I will do so on Monday.

Is there anything else I can do?

Thanks.
Gerald


On Fri, Sep 18, 2009 at 4:23 AM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Fri, Sep 18, 2009 at 2:55 AM, Gerald Ardito gerald.ard...@gmail.com
 wrote:
  I have the XS server up and running on a Dell.

 Good!

  - What version of the XS?

  - Did you follow the standard installation procedures?

  - What happens if you do ...?
   ping -c1 `hostname -f`

  Eth0 is connected to the internet.

 good

  Eth1 is connected to the AP for the XOs. Or, more accurate, the AP for
 the
  XOs points to eth1. (I hope this is correct).

 The AP has to be running as an AP, _not_ as a router (so it does not
 need to point anywhere). Just connect the AP to eth1

  I have two problems:
  1) When I connected to the AP from the XOs, no IP address is generated.

 Probably the AP is trying to act as a router instead of as an AP. Make
 sure you disable all routing features.

  2) We are going to use a hosted XS off site, and I want to configure my
 box
  (which is the dhcp server) to point to it.

 What is my box? The XS _must_ be the local dhcp server. The XS must
 be local, not remote. There must be no box between the XS and the
 XOs.

 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