services missing .ini file

18 views
Skip to first unread message

BrianO

unread,
Nov 17, 2011, 7:35:27 PM11/17/11
to arsenalsuite
Hi

I'm jumping in here at the end of what others have started and getting
our blurdb going.


running on linux centos
arsenal installed with rpms
postgres db working fine
able to submit jobs fine

trying to get manager and reclaimer and the other services going, but
getting errors.

i didn't understand what to do here in the instructions:


deploy the libraries, binaries, and config files. We use a central
directory on shared storage. Every release is versioned, so w do I do
thatmultiple versions can be in production or testing at once. See
bash/drd-release.sh for an example of this.

how do i deploy these if used the rpms?


here are the errors I'm getting when trying to start the sercvices.


root@blurdb /]# cd Local//scripts/
[root@blurdb scripts]# python reclaim_tasks.py
Could not find /etc/reclaim_tasks.ini
Traceback (most recent call last):
 File "reclaim_tasks.py", line 23, in <module>
   config().readFromFile( "/etc/db.ini", False )
AttributeError: 'NoneType' object has no attribute 'readFromFile'
[root@blurdb scripts]# python manager.py
Could not find /etc/manager.ini
Traceback (most recent call last):
 File "manager.py", line 23, in <module>
   config().readFromFile( "/etc/db.ini", False )
AttributeError: 'NoneType' object has no attribute 'readFromFile'
[root@blurdb scripts]#

thanks. Any help much appreciated.&
brian

BrianO

unread,
Nov 18, 2011, 10:47:33 AM11/18/11
to arsenalsuite
so I guess my question is where in the install processes do the files
like /etc/manage.ini and /etc/reclaim_tasks.ini get created or
installed if Arsenal is installed only using the rpms?

if I have to create them cool, can someone post their manage.ini and
reclaim_tasks_ini and all the other service .ini files? reaper,
Verifier?

Thanks again for the help!
Much Appreciated!
BrianO

Matthew Newell

unread,
Nov 18, 2011, 12:32:00 PM11/18/11
to arsena...@googlegroups.com, br1...@gmail.com
I'm not familiar with the rpm side of arsenalsuite, but there are
templates for the ini files in python/scriptsini/. You can just
start with the one called manager.ini as it doesn't have as much
unneeded stuff in it.

You'll want to fill in everything under [Database] except Driver and
Timeout, everything under [Email], and the log file location for each
script.

I'm also going to take a look at the code because the error you got
shouldn't happen even if the ini file is missing.

Matt

Message has been deleted

BrianO

unread,
Nov 18, 2011, 5:43:06 PM11/18/11
to arsenalsuite
hi Matt

I couldn't find pythonini.
So I copied my db.ini as manager.ini

now I'm getting error about blurqt loader in the manager.py


> [root@blurdb bin]# python manager.py
> Fri Nov 18 14:26:14 2011:23881 :Traceback (most recent call last):
> Fri Nov 18 14:26:14 2011:23881 :  File "manager.py", line 30, in <module>
> Fri Nov 18 14:26:14 2011:23881 :    blurqt_loader()
> Fri Nov 18 14:26:14 2011:23881 :NameError: name 'blurqt_loader' is not defined

Matthew Newell

unread,
Nov 18, 2011, 7:03:11 PM11/18/11
to arsena...@googlegroups.com
That doesn't look like the manager from the tip of the default branch
of the arsenalsuite repo.

Matt

BrianO

unread,
Nov 21, 2011, 8:41:15 AM11/21/11
to arsenalsuite
I guess my python2.5 can't find the blurqt_loader()

Where is blurqt_loader() defined?
Maybe I force python2.5 to look there for it.
Brian

Matthew Newell

unread,
Nov 21, 2011, 1:44:07 PM11/21/11
to arsena...@googlegroups.com
There is no blurqt_loader function in arsenal suite. The function is
now called classes_loader() as you can see at line 63
http://code.google.com/p/arsenalsuite/source/browse/python/scripts/manager.py

I suspect you are trying to run an old manager from a checkout of
blur's repository, or maybe a really old one from arsenal.

Matt

Reply all
Reply to author
Forward
0 new messages