Hi,
On Wed, Dec 01, 2010 at 04:09:20PM +0800, Linux Cook wrote:
> According to the logs, it is starting the service but suddenly stopped:
>
> Dec 01 16:07:36 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:37 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:38 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:39 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:40 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:41 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:42 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:43 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:44 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:45 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:46 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stdout)
> .
> Dec 01 16:07:47 dmcs1 lrmd: [2499]: WARN: nuxeoctl:start process (PID 3800)
> timed out (try 1). Killing with signal SIGTERM (15).
> Dec 01 16:07:47 dmcs1 lrmd: [2499]: info: RA output: (nuxeoctl:start:stderr)
> Terminated
>
> Dec 01 16:07:47 dmcs1 crmd: [2502]: info: process_lrm_event: LRM operation
> nuxeoctl_start_0 (call=16, rc=1, cib-update=48, confirmed=true) unknown
> error
> Dec 01 16:07:47 dmcs1 crmd: [2502]: WARN: status_from_rc: Action 50
> (nuxeoctl_start_0) on dmcs1 failed (target: 0 vs. rc: 1): Error
>
>
> I thought its the timeout issue so I adjusted but same result:
>
> primitive nuxeoctl lsb:nuxeoctl \
> op monitor interval="500" timeout="500" depth="0" \
> meta target-role="Started"
The timeout happens in the start action. You need sth like this:
primitive nuxeoctl lsb:nuxeoctl \
op monitor interval="500" timeout="500" depth="0" \
op start timeout="300s" \
op stop timeout="300s" \
meta target-role="Started"
Thanks,
Dejan
>
>
> On Wed, Dec 1, 2010 at 2:44 PM, Andrew Beekhof <[email protected]> wrote:
>
> > On Wed, Dec 1, 2010 at 5:05 AM, Linux Cook <[email protected]> wrote:
> > > Thank you for your inputs but I have my own customed init script but it
> > is
> > > using my jboss engine.
> > >
> > > If I command, /etc/init.d/<servicename> start/stop, its working.
> > >
> > > I added into my configuration like:
> > >
> > > primitive <servicename> lsb:<servicename> \
> > > op monitor interval="30" timeout="300s" depth="0" \
> > > meta target-role="Started"
> > >
> > > But It looks like its not working.
> > >
> > > Failed actions:
> > > servicename_start_0 (node=dmcs1, call=17, rc=1, status=complete):
> > > unknown error
> > > servicename_start_0 (node=dmcs2, call=13, rc=1, status=complete):
> > > unknown error
> > >
> > > Please help me on this :(
> >
> > Based on what?
> > The answer is in your logs.
> >
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems