Hello, I hope someone can help me

I'm trying to install Shinken on a copy of Oracle Enterprise Linux 5.3, which 
is pretty much CentOS or RedHat.

I got everything installed, although I had to find work arounds for a lot of 
stuff, for some reason our Oracle partner CSI number is acting funny and 
up2date and yum don't seem to load any of the packages the quickstart mentions, 
but I worked around that.  I can provide step by step docs if it helps anyone.

I now have both python2.4 and python2.6 installed. 2.4 is the default, as 
apparently OEL/RH depends on it and doesn't like an upgrade (not sure but I've 
read this).

However, shinken won't start, and I'm getting an error that suspiciously looks 
to me to be a pyro or python version error:
[root@server-monitor-1 shinken]# /etc/init.d/shinken start
Starting scheduler:
FAILED: SyntaxError: invalid syntax (full output is in 
/tmp/bad_start_for_scheduler)
Starting poller:                                           [FAILED]
FAILED: SyntaxError: invalid syntax (full output is in 
/tmp/bad_start_for_poller)
Starting reactionner:                                      [FAILED]
FAILED: SyntaxError: invalid syntax (full output is in 
/tmp/bad_start_for_reactionner)
Starting broker:                                           [FAILED]
FAILED: SyntaxError: invalid syntax (full output is in 
/tmp/bad_start_for_broker)
Starting receiver:                                         [FAILED]
FAILED: SyntaxError: invalid syntax (full output is in 
/tmp/bad_start_for_receiver)
Starting arbiter:                                          [FAILED]
FAILED: SyntaxError: invalid syntax (full output is in 
/tmp/bad_start_for_arbiter)
[root@server-monitor-1 shinken]#                           [FAILED]

and the log file says:

Traceback (most recent call last):
  File "/usr/bin/shinken-scheduler", line 86, in ?
    from shinken.bin import VERSION
  File "/usr/lib/python2.4/site-packages/shinken/__init__.py", line 4, in ?
    import objects
  File "/usr/lib/python2.4/site-packages/shinken/objects/__init__.py", line 45, 
in ?
    from config import Config
  File "/usr/lib/python2.4/site-packages/shinken/objects/config.py", line 61, 
in ?
    from shinken.arbiterlink import ArbiterLink, ArbiterLinks
  File "/usr/lib/python2.4/site-packages/shinken/arbiterlink.py", line 25, in ?
    from shinken.satellitelink import SatelliteLink, SatelliteLinks
  File "/usr/lib/python2.4/site-packages/shinken/satellitelink.py", line 29, in 
?
    import shinken.pyro_wrapper as pyro
  File "/usr/lib/python2.4/site-packages/shinken/pyro_wrapper.py", line 33, in ?
    import Pyro.core
  File "/usr/lib/python2.4/site-packages/Pyro/core.py", line 219
    with self.synlock:
            ^
SyntaxError: invalid syntax

You'll notice it's using the default python2.4.  I'm running this as 'root' but 
I also tried with the shinken account, same results.

So ... what's the easy way to point shinken, and only shinken, to python2.6?

Any other thoughts? Is there some other reason I'm getting that error? I 
googled it but didn't get any hits.

Thank you for any help,
                 == John ==
John Gwinner | Director of Technology
DAZSI /Oracle Business Applications
310.640.1300 (office) | 310.640.9900 (fax)
880 Apollo Street - Ste. 201 | El Segundo CA 90245
[cid:image001.jpg@01CC18CE.7C1FCC10]<http://www.dazsi.com/>



                 == John ==
John Gwinner | Director of Technology
DAZSI /Oracle Business Applications
310.640.1300 (office) | 310.640.9900 (fax)
880 Apollo Street - Ste. 201 | El Segundo CA 90245
[cid:image001.jpg@01CC18CE.7C1FCC10]<http://www.dazsi.com/>

<<inline: image001.jpg>>

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to