[Systems] mirrorbrain.sugarlabs.org
Peter Pöml
poeml at cmdline.net
Wed Sep 30 15:16:42 EDT 2009
Hi!
Am 30.09.2009 um 19:43 schrieb David Farning:
> I got a chance to work on mirrorbrain again this morning:
> 1. Made a few minor changes to http://mirrorbrain.org/docs/installation/debian/
Saw them!
> 2. There is still a problem with /etc/postgresql/8.3/main/pg_hba.conf
> . When I add 'local mirrorbrain mirrorbrain 127.0.0.1/32 md5' . I get
> 'psql: FATAL: Ident authentication failed for user "mirrorbrain"'
> when running 'psql -U mirrorbrain -f sql/initialdata-postgresql.sql
> mirrorbrain'
I see. What works is this:
su - mirrorbrain
psql -U mirrorbrain ...
> 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
> http://download2.sugarlabs.org
> /usr/lib/python2.6/dist-packages/sqlobject/converters.py:165:
> DeprecationWarning: the sets module is deprecated
> from sets import Set, ImmutableSet
By the way, the depracation warning is in sqlobject module and is
issued when Python 2.6 is used, which is the default Python on Ubuntu
9.04. We might get rid of it by filing a bug for the python-sqlobject
package, or by using Python 2.5 instead.
> 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],
> stdout=PIPE).communicate()[0]
> 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#
The 'geoiplookup' tool is not found, I think. It is probably not
installed. It comes with the geoip-bin package. If you switch to my
packages, you'll have it, they have a dependency on it.
> 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*
Yes - but it's a different tool.
> 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.
I'm curious :-)
Peter
More information about the Systems
mailing list