Project

General

Profile

Actions

tickets #37099

closed

mirrorbrain@pontifex2 - asn_get_routeviewsConfigParser.NoSectionError: No section: 'general'

Added by pjessen almost 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Mirrors
Target version:
-
Start date:
2018-06-12
Due date:
2019-06-01
% Done:

100%

Estimated time:

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.

Actions #1

Updated by pjessen almost 6 years ago

  • Private changed from Yes to No
Actions #2

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 ??

Actions #3

Updated by pjessen almost 6 years ago

  • Due date set to 2018-07-02
Actions #4

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"

Actions #5

Updated by pjessen almost 6 years ago

  • Due date changed from 2018-07-02 to 2018-08-03
Actions #6

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'.

Actions #7

Updated by pjessen almost 5 years ago

  • Due date changed from 2018-08-03 to 2019-06-01
Actions #8

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

Actions

Also available in: Atom PDF