On Fri, Feb 29, 2008 at 11:52 AM, Schmidt, Florian
<[EMAIL PROTECTED]> wrote:
> Hello list,
>
>  I still have problem with my heartbeat-config
>
>  I want heartbeat to start AFD. I checked the RA for LSB-compatibility
>  and think that it's right now.
>
>  The log file says, that the bash does not find the command afd.

Looks like afd is not in the PATH of root ... have you tried to use
'su - ...' instead of 'su ..' in your script? ... and 'set -x' is your
friend ;-)

Regards,
Andreas
>
>
>  crmd[2725]: 2008/02/29_11:32:00 info: do_lrm_rsc_op: Performing
>  op=AFD_start_0 key=5:1:71d7b119-77c3-4e6b-9ac6-6acf20d8cf61)
>  lrmd[2722]: 2008/02/29_11:32:01 info: rsc:AFD: start
>  lrmd[2785]: 2008/02/29_11:32:01 WARN: For LSB init script, no additional
>  parameters are needed.
>  lrmd[2722]: 2008/02/29_11:32:01 info: RA output: (AFD:start:stdout)
>  Starting AFD for afdha :
>  lrmd[2722]: 2008/02/29_11:32:01 info: RA output: (AFD:start:stderr)
>  bash: afd: command not found
>
>  tengine[2773]: 2008/02/29_11:32:01 info: extract_event: Aborting on
>  transient_attributes changes for 44425bd9-2cba-4d6a-ac62-82a8bb81a23d
>  lrmd[2722]: 2008/02/29_11:32:01 info: RA output: (AFD:start:stdout)
>  Failed
>
>  tengine[2773]: 2008/02/29_11:32:01 info: update_abort_priority: Abort
>  priority upgraded to 1000000
>  crmd[2725]: 2008/02/29_11:32:01 ERROR: process_lrm_event: LRM operation
>  AFD_start_0 (call=3, rc=1) Error unknown error
>  tengine[2773]: 2008/02/29_11:32:01 info: update_abort_priority: Abort
>  action 0 superceeded by 2
>  tengine[2773]: 2008/02/29_11:32:01 WARN: status_from_rc: Action start on
>  noderz failed (target: <null> vs. rc: 1): Error
>  tengine[2773]: 2008/02/29_11:32:01 WARN: update_failcount: Updating
>  failcount for AFD on 91d062c3-ad0a-4c24-b759-acada7f19101 after failed
>  start: rc=1
>
>  There is an extra user for AFD, called afdha. The afdha-script is
>  attached.
>
>  Switching to to afdha via su afdha I can start AFD, so I don't
>  understand, where's the problem. (
>
>  A little help would be great.
>
>  Thanks
>  Florian
>
>
> _______________________________________________
>  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

Reply via email to