Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Informix On-Line error: "not trusted by server"

745 views
Skip to first unread message

Yudong Sun

unread,
Aug 16, 1996, 3:00:00 AM8/16/96
to

Whatever I do, I get the following error:

00:44:43 listener-thread: err = -956: Client host or user
(info...@torserv2.econnect.ca) is not trusted by the server.

Essentially, I want to do a logical log backup and create other
dbspaces.

The cause could be that non-exact (multiple names) machine name was
provided when installing Informix. But is there a solution
(to fake something to the Informix server) so that I can get
the job done without re-installing everything all over again?
Thanks a lot.

Yudong

Ravi Joseph Pinto

unread,
Aug 17, 1996, 3:00:00 AM8/17/96
to

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
> (info...@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 : ra...@IN.DHL.COM
Consultant, Astra Infotech, Phone : 91-22-8503984
Bombay, India extn. 1531

Standard disclaimers apply.

Bill Ennis

unread,
Aug 19, 1996, 3:00:00 AM8/19/96
to

Hi,

The 956 error usually indicates that the connecting machine is not known
as a trusted machine by the server. The quickest way to fix this is
to create an entry in a file named .rhosts file in your home directory
on the server. In this file make an entry of the following format:
connecting_machine_name username

If your creating dbspaces and backing up logical logs my guess is that
your connecting through the network even though the database is local
so your entry for the connecting_machine_name would be the same as the server.
You may want to look into a an ipc shared memory connection which is faster,
but the above should get you going for now.

-Bill

>
> Whatever I do, I get the following error:
>
> 00:44:43 listener-thread: err = -956: Client host or user
> (info...@torserv2.econnect.ca) is not trusted by the server.
>

> Essentially, I want to do a logical log backup and create other
> dbspaces.
>
> The cause could be that non-exact (multiple names) machine name was
> provided when installing Informix. But is there a solution
> (to fake something to the Informix server) so that I can get
> the job done without re-installing everything all over again?
> Thanks a lot.
>
> Yudong
>


--
Bill Ennis Voice: 312-474-7516
SSA Fax: 312-474-7460
500 W. Madison email: en...@ssax.com

0 new messages