nohup $binfile $cmdline_options >> $logfile 2>> $errorlogfile &
                                ^^          ^^^

That binary is invoked from the RA, right?

Sure.

So neither stdout nor stderr should be "said" so Linux-HA should not log it. I'm just curious why it does.

Well, despite your redirections, something shows up on stdout (or
stderr). If it does, then it's logged. I really can't say why it
does show up though.

I hate to admit it, but it was an error in my RA. What else ...

The RA supports to configure $logfile and $errlogfile.
If both is set, then the syntax above is used and actually works.

If $errlogfile is not set, then both stdout and stderr go to $logfile. But apparently there was a syntax error and that was the reason for stderr showing in the logs.

Thanks though.

Regards
Dominik
_______________________________________________
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