[Systems] mirrorbrain.sugarlabs.org

David Farning dfarning at sugarlabs.org
Wed Sep 30 13:43:39 EDT 2009

I got a chance to work on mirrorbrain again this morning:
1. Made a few minor changes to http://mirrorbrain.org/docs/installation/debian/
2.  There is still a problem with /etc/postgresql/8.3/main/pg_hba.conf
. When I add 'local mirrorbrain mirrorbrain md5' . I get
'psql: FATAL:  Ident authentication failed for user "mirrorbrain"'
when running 'psql -U mirrorbrain -f sql/initialdata-postgresql.sql

3. There is still a problem add new mirrors to the data base.
root at mirrorbrain:/home/dfarning/mirrorbrain-2.10.1/mirrordoctor#
./mirrordoctor.py new download2.sugarlabs.org -H
DeprecationWarning: the sets module is deprecated
  from sets import Set, ImmutableSet
Traceback (most recent call last):
  File "./mirrordoctor.py", line 1177, in <module>
    sys.exit( mirrordoctor.main() )
  File "/usr/local/lib/python2.6/dist-packages/cmdln.py", line 257, in main
    return self.cmd(args)
  File "/usr/local/lib/python2.6/dist-packages/cmdln.py", line 280, in cmd
    retval = self.onecmd(argv)
  File "/usr/local/lib/python2.6/dist-packages/cmdln.py", line 412, in onecmd
    return self._dispatch_cmd(handler, argv)
  File "/usr/local/lib/python2.6/dist-packages/cmdln.py", line 1100,
in _dispatch_cmd
    return handler(argv[0], opts, *args)
  File "./mirrordoctor.py", line 164, in do_new
    opts.country = mb.geoip.lookup_country_code(host)
  File "/home/dfarning/mirrorbrain-2.10.1/mirrordoctor/mb/geoip.py",
line 22, in lookup_country_code
    out = Popen(['geoiplookup', '-f', database, addr],
  File "/usr/lib/python2.6/subprocess.py", line 595, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
1!root at mirrorbrain:/home/dfarning/mirrorbrain-2.10.1/mirrordoctor#

Permissions seem to be set correctly foe geoiplookup_continent
1!root at mirrorbrain:/home/dfarning/mirrorbrain-2.10.1/mirrordoctor# ls
-la /usr/bin/geo*
-rwxr-xr-x 1 root root 11263 Sep 30 12:45 /usr/bin/geoiplookup_continent*

3. Pinged bernie off list to point mirrorbrain-testing.sugarlabs.org
point to the vm hosting mirrorbrain-testing.sugarlabs.org.

4.  Peter has packaged mirrorbrain for ubuntu 9.04.  So I'll start
testing those packages.


More information about the Systems mailing list