tickets #37099
closedmirrorbrain@pontifex2 - asn_get_routeviewsConfigParser.NoSectionError: No section: 'general'
100%
Description
Downloading http://mirrorbrain.org/routeviews/oix-full-snapshot-latest.dat.bz2
Traceback (most recent call last):
File "/usr/bin/asn_import", line 23, in
config = mb.conf.Config(instance = mirrorbrain_instance)
File "/usr/lib64/python2.7/site-packages/mb/conf.py", line 47, in init
self.general = dict(cp.items('general'))
File "/usr/lib64/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'general'
Seems to have started some time around 22 March.
Updated by pjessen almost 6 years ago
- Status changed from New to In Progress
- Assignee set to pjessen
The problem is that userid "mirrorbrain" is not permitted to read /etc/mirrorbrain.conf and therefore cannot parse the contents.
pontifex2 (download.o.o):~ # l /etc/mirrorbrain.conf
-rw-r-----+ 1 root stage 2490 Jan 12 17:52 /etc/mirrorbrain.conf
I guess adding 'mirrorbrain' to group 'stage' will suffice. Currently 'mirrorbrain' has group 'vnstat', some network traffic monitor ??
Updated by pjessen almost 6 years ago
Next problem:
Downloading http://mirrorbrain.org/routeviews/oix-full-snapshot-latest.dat.bz2
Traceback (most recent call last):
File "/usr/bin/asn_import", line 23, in
config = mb.conf.Config(instance = mirrorbrain_instance)
File "/usr/lib64/python2.7/site-packages/mb/conf.py", line 58, in init
% self.instance)
KeyError: "Config error: 'main' is not listed in instances"
Updated by pjessen almost 6 years ago
- Due date changed from 2018-07-02 to 2018-08-03
Updated by pjessen over 5 years ago
/etc/mirrorbrain.conf has a list of instances:
[general]
instances = mirrordb1, mirrordb2, postgresql
mirrordb1 and mirrordb2 look the same to me. It seems a reasonable guess that the correct instance name to use is 'mirrordb1'.
Updated by pjessen almost 5 years ago
- Due date changed from 2018-08-03 to 2019-06-01
Updated by lrupp over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Hi there - and a Happy and Healthy 2022!
I'm currently closing old tickets which did not see much change.
If the main concern still exists and should be handled, please re-open by just replying to this Email.
Thanks in advance,
Lars