Re: Informix On-Line error: "not trusted by server"
Posted in 1996
Hi Yudong,
In reply to Yudong Sun's email about Informix On-Line error: "not truste, on
16 Aug 96
> Whatever I do, I get the following error:
>
> 00:44:43 listener-thread: err = -956: Client host or user> (informix@torserv2.econnect.ca) is not trusted by the server.
>
Apologies in advance for the length of this reply.
This error message is usually due to the missing hostname in
/etc/hosts.equiv or $HOME/.rhosts file or non existence of these files.
These files are used by the "r" commands (rlogin, rcp etc.) to establish user
equivalence.I do not know the procedure if you are using DNS on the servers.
But if you are using /etc/hosts as the means of recognising the servers on
network, then anyone of the following should work.
a) Create a /etc/hosts.equiv on the server, on which you want to do backup,
with entry of the informix host. This will have systemwide effect of setting
user equivalence.
b) Create $HOME/.rhosts only for the user e.g. informix.
E.g. If infserver1 is the Informix server whose data you want to backup
and server1 is the server where actual backup would be run, then on server1.
if using option a) /etc/hosts.equiv will have following entry.
infserver
if using option b) then informix user's ( on server1) $HOME/.rhosts would
contain following entry.
infserver.
Things to keep in mind.
a) /etc/hosts.equiv is potential security hazard.
b) User Informix should exist on both the servers, though on server1 (as per
above example), need not have Informix software installed. Just the user is
enough.
Warnings. : The above may not work if you are using DNS. I believe the
procedure is different.
Also, in future do specify the hardware platform, O/S, and Informix versions.
It will help much more in solving such problems. The above illustration is true
for HP E series machines running HP/UX 9.04 and Informix 5.
Hope this helps,
Ravi...
<Snip>
--
Ravi Joseph Pinto, Email : ravi@IN.DHL.COM
Consultant, Astra Infotech, Phone : 91-22-8503984
Bombay, India extn. 1531
Standard disclaimers apply.