Can you run it with -x and send me the screen output please?
It should be copying /var/log/syslog to the collector directory before
trying to call node_events on it.

On Fri, Jun 17, 2011 at 6:04 PM,  <alain.mou...@bull.net> wrote:
> Hi Andrew,
> ok thanks.
> So I tried it and got an error msg in the collector script around the
> node_events call :
> node_events `basename $logfile` > $EVENTS_F
> it outputs here :
> grep: syslog: No such file or directory
>
> whereas I trace the things around it :
> # Parse for events
> echo $logfile
> echo $EXTRA_LOGS
> for l in $logfile $EXTRA_LOGS; do
>    node_events `basename $logfile` > $EVENTS_F
>
> and I got lofile : /var/log/syslog
> and I got one :
> -rw-r--r-- 1 root root 10549069 Jun 17 09:40 /var/log/syslog
> and variable EXTRA_LOGS is empty
>
> So the call seems to be :
> node_events syslog > $EVENTS_F
>
> So at the end, in the whole report, I got a cluster-log.txt linked to
> syslog which does not exists
>
> I tried to modifiy substitute the line by :
> node_events /var/log/syslog > $EVENTS_F
> and it does no more display the error about grep: syslog: No such file or
> directory
>
> but I don't know if it is really the good fix (as I got in both cases an
> empty events.txt but perhaps it is a coincidence ...
>
> Any idea ?
>
> Thanks
> Alain
>
>
>
> De :    Andrew Beekhof <and...@beekhof.net>
> A :     General Linux-HA mailing list <linux-ha@lists.linux-ha.org>
> Date :  17/06/2011 09:31
> Objet : Re: [Linux-HA] crm_report versus hb_report
> Envoyé par :    linux-ha-boun...@lists.linux-ha.org
>
>
>
> On Fri, Jun 17, 2011 at 5:30 PM, Andrew Beekhof <and...@beekhof.net>
> wrote:
>> On Fri, Jun 17, 2011 at 4:47 PM,  <alain.mou...@bull.net> wrote:
>>> Hi,
>>>
>>> I just discover that on RH6 there is no more hb_report, it has been
> remove
>>> from cluster-glue rpm .
>>> Does the crm_report delivered in pacemaker rpm give the sames results
> as
>>> hb_report ?
>>
>> Yes.  It re-uses much of the same gathering code but with a slightly
>> revised design.
>
> In fact its also flag compatible with hb_report.
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to