Hi,

Yes, it sounds as a real bug. It seems that the launch_all.sh miss a cd
$DIR.

Can you modify shinken/bin/launc_all.sh ?

shinken@node1:~$ cat shinken/bin/launch_all.sh
#!/bin/bash

DIR=$(cd $(dirname "$0"); pwd)
echo "Going to dir" $DIR

cd $DIR

Just add the cd $DIR.

You can also launch the _debug.sh version, this one seems to have the cd
$DIR in it.

Thanks for the bug report, I commit the fix.


Jean



On Thu, Mar 17, 2011 at 4:27 PM, Julien Toscano <julien.tosc...@gmail.com>wrote:

> Hi all,
>
> I try to deploy version 0.5.5 from Shinken website and when I try to launch
> all, I've got these error messages :
>
> shinken@jtoscano-laptop:~$ /usr/local/shinken-0.5.5/bin/launch_all.sh
> /usr/local/shinken-0.5.5/bin
> Launching Scheduler (that is only in charge of the scheduling)
> Traceback (most recent call last):
>   File "/usr/local/shinken-0.5.5/bin/../bin/shinken-scheduler", line 92, in
> <module>
>     imp.load_module('shinken', *imp.find_module('shinken', [".", ".."]))
> ImportError: No module named shinken
> Launching Poller (that launches the checks)
> Traceback (most recent call last):
>   File "/usr/local/shinken-0.5.5/bin/../bin/shinken-poller", line 47, in
> <module>
>     imp.load_module('shinken', *imp.find_module('shinken', [".", ".."]))
> ImportError: No module named shinken
> Launching Reactionner (that sends the notifications)
> Traceback (most recent call last):
>   File "/usr/local/shinken-0.5.5/bin/../bin/shinken-reactionner", line 49,
> in <module>
>     imp.load_module('shinken', *imp.find_module('shinken', [".", ".."]))
> ImportError: No module named shinken
> Launching Broker (that exports all data)
> Traceback (most recent call last):
>   File "/usr/local/shinken-0.5.5/bin/../bin/shinken-broker", line 47, in
> <module>
>     imp.load_module('shinken', *imp.find_module('shinken', [".", ".."]))
> ImportError: No module named shinken
> Launching Receiver (that manage passive data)
> Traceback (most recent call last):
>   File "/usr/local/shinken-0.5.5/bin/../bin/shinken-receiver", line 47, in
> <module>
>     imp.load_module('shinken', *imp.find_module('shinken', [".", ".."]))
> ImportError: No module named shinken
> Launching Arbiter (that reads the configuration and dispatches it)
> Traceback (most recent call last):
>   File "/usr/local/shinken-0.5.5/bin/../bin/shinken-arbiter", line 63, in
> <module>
>     imp.load_module('shinken', *imp.find_module('shinken', [".", ".."]))
> ImportError: No module named shinken
>
> Version 0.5 works fine on my laptop.
>
> Thanks,
> Julien
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to