Google Groups Home
Help | Sign in
requires an event system but none has been loaded
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Lukas Rieder  
View profile
 More options Jul 21, 10:22 am
From: Lukas Rieder <l.rie...@gmail.com>
Date: Mon, 21 Jul 2008 07:22:59 -0700 (PDT)
Local: Mon, Jul 21 2008 10:22 am
Subject: requires an event system but none has been loaded
Hy,

I'm having the problem that many have these days. My Connector is
loaded into the kernel as a Module.

lsmod | grep cn
cn                     13768  0

But god.rb  still can't access it:

I [2008-07-21 16:12:07]  INFO: Using pid file directory: /var/run/god
E [2008-07-21 16:12:07] ERROR: Condition
'God::Conditions::ProcessExits' requires an event system but none has
been loaded

So I've written a nice configuration file for mysql and sshd, but I
can throw them away.

After some research on this problem, I discovered that the Connector
has to be compiled into the kernel, and I have to build a custom
kernel in order to use god.
I'd love to use god, because it's ruby style and configuration is a
ride in an amusement park.

Do I really have to switch back to monit?

Has someone found a solution to get god.rb running with the event
system?
Or has someone a good resource on how to extend (recompile) your
existing kernel and avoid crashing the machine? I've never build a
kernel on my own, so I'd rely on a good failsafe tutorial.

When the problem is solved (I document my work on this server, because
it should go production) I'd like to contribute my experienced in form
of a tutorial or something.

Thanks,

Lukas Rieder


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Murphy  
View profile
 More options Jul 21, 10:57 am
From: "Matt Murphy" <mmm...@gmail.com>
Date: Mon, 21 Jul 2008 07:57:19 -0700
Local: Mon, Jul 21 2008 10:57 am
Subject: Re: requires an event system but none has been loaded
Lukas,

I have not seen such a tutorial.  It would also be useful to have a
tutorial on how to set up god w/o requiring the event system -- the
benefits you mention don't require the cn module at all and god was
originally written to simply use polling.

However the example configs I've seen for god all use the events
syntax, and so it would seem to require a fair bit of trial and error
(or a thorough look at the source) to determine how to use simple
polling.

For now I went back to monit after running into the issue you did but
taking a look at god sans events is on my eventual to-do list.  Not
sure if anyone on the list has a polling config that they'd be willing
to pastie for us.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lukas Rieder  
View profile
 More options Jul 21, 12:22 pm
From: Lukas Rieder <l.rie...@gmail.com>
Date: Mon, 21 Jul 2008 09:22:37 -0700 (PDT)
Local: Mon, Jul 21 2008 12:22 pm
Subject: Re: requires an event system but none has been loaded
Hy,

thanks your answer.
Ok, to receive god's blessing you can configure it to use polling.
But I've learned the configuration only through the event system wich
doesn't work ;)

If someone has a working config file (based on polling, not event-
system) wich includes

* process monitoring, restarting, notifier
* service monitoring (http, ... requests)

it would be great to share it for all "non-cn kernel users" of god.rb.

Cheers,

Lukas

On 21 Jul., 16:57, "Matt Murphy" <mmm...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google