CLX archive - 1998: Watchdog problem: /bin/su!

Watchdog problem: /bin/su!

CLX-User DL6RAI (gyd.bauulgvncr@kerailya.tunkki.fi)
Sun, 29 Mar 1998 17:14:48 +0200 (MEST)


Dear John,

> Hello Ben,
> please take a look at the folowing message its from the clx_watchdog
> I hope its help you to give me a suggestion abt my problem here
> Best 73 de sv1aaw
> I see the clx 304 on the Ians machine running very nice work Thanks
> ---------- Forwarded message ----------
> Date: Sat, 28 Mar 1998 23:00:06 +0200
> From: ylyrat@ncb.ie
> To: xfocv.qzqvvxh@islbc.co.uk
> Subject: cron: /usr/local/clx/tools/clx_watchdog
>
> Reading /usr/local/clx/config/clx_par.
> Clx going down...
>
>
> Error executing con_ctl -s
> Is your PATH variable set correctly?
> Killing any hanging CLX processes.
> Clearing RPC ports.
> Clearing shared memories.
> Reading /usr/local/clx/config/clx_par.
> Decoding callsignsh: clx_ctl: command not found
> .....

Yes I understand now. The problem is with your /bin/su command - it does not
work as expected. When you're doing a

# su - clx_us -c "clx -s"

as root, the "clx -s" command should run in the environment of the
clx_us, including setting all variables from the ~/.profile. In your
case it does not, because it does not find the clx programs. This
is what the clx_watchdog basically does and this is what happens to it.

I see no other way than either patching your /bin/su or installing a
new Linux distribution. This problem has been reported before by SM6MNH
and some others.

73 Ben, DL6RAI

-- 
[] clx - PacketCluster Software for Linux
[] c/o Bernhard ("Ben") Buettner, DL6RAI
[] Internet: rnwvt.ltim@cilys.com
[] Packet: DL6RAI @ DB0AAB.#BAY.DEU.EU