Re: prelude-correlator on Cent OS 5.4 start up error

Paul Robert Marino <[email protected]> Wed, 5 May 2010 18:06:22 -0400
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
Thanks again ScottO

That worked perfectly and it wasn't as pain full as i thought. I found
a yum repo that had python 2.6 rpms that install in a different
location so you can have both versions installed at the same time.
for other RHEL/CentOS users the repo is here http://iuscommunity.org/packages/
Note for any one else who wants to try it I also had to re build a
second copy of the python bindings against the python 2.6 install





On Tue, May 4, 2010 at 8:43 PM, ScottO <[email protected]> wrote:
> Hey Paul,
>
> I'm pretty sure that is the exact error I ran into.  Yoann mentioned in IRC
> that a particular version of Python was required for at least a portion of
> the new correlator ( I believe python 2.6).  I installed the latest 2.6.x in
> parallel and re-installed correlator against that and had no further issues
> when running it under that version.
>
> Hope that helps,
>
> Scott
>
> On Tue, May 4, 2010 at 7:29 PM, Paul Robert Marino <[email protected]>
> wrote:
>>
>> hey every one
>>
>> Im trying to start the prelude correlator 1.0 on CentOS 5.4 and I ran
>> into an error which I have included below.
>> It seems to be complaining about the logging library but Im not sure
>> has any one else run into this or have any ideas on how to correct it?
>>
>>
>> "
>> [root@pmarino-1 ~]# prelude-correlator
>> Traceback (most recent call last):
>>  File "/usr/bin/prelude-correlator", line 7, in ?
>>    sys.exit(
>>  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/main.py",
>> line 134, in main
>>    env = Env(options)
>>  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/main.py",
>> line 38, in __init__
>>    self.pluginmanager = pluginmanager.PluginManager(self)
>>  File
>> "/usr/lib/python2.4/site-packages/PreludeCorrelator/pluginmanager.py",
>> line 84, in __init__
>>    env.logger.warning("[%s]: exception occurred while loading: %s" %
>> (pname, e))
>>  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/log.py",
>> line 85, in warning
>>    self._log(self._logger.warning, log, extra = { "pid": os.getpid() })
>>  File "/usr/lib/python2.4/site-packages/PreludeCorrelator/log.py",
>> line 74, in _log
>>    log_func(log, extra=extra)
>>  File "/usr/lib64/python2.4/logging/__init__.py", line 983, in warning
>>    apply(self._log, (WARNING, msg, args), kwargs)
>> TypeError: _log() got an unexpected keyword argument 'extra'
>> "
>>
>>
>> Thanks
>> _______________________________________________
>> Prelude-user site list
>> [email protected]
>> http://lists.prelude-technologies.com/mailman/listinfo/prelude-user
>
>
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user