tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* rexecd and NIS Clash?
@ 2002-02-04 12:14 Gale, Gary (Factiva)
  0 siblings, 0 replies; only message in thread
From: Gale, Gary (Factiva) @ 2002-02-04 12:14 UTC (permalink / raw)
  To: tru64-unix-managers

Morning Tru64-ites,

We're coming across a problem with one of our applications which makes use
of the rexec() system call.

One of our processes acts as a "watchdog", starting, restarting and stopping
a series of other processes. These processes are fired up using rexec(), and
specifying that rexec should set up an auxillary channel to the created
process (ie: the err_file_desc argument to rexec() is non-null).

On our test boxes this code works perfectly but when we transfer the code
onto our integration test boxes the code hangs in rexec(). A bit of
debugging shows that rexec is waiting in accept(), presumably waiting for
the remote server to contact the client in order to set up the control
channel.

Both boxes are GS40's running 4.0f; the only difference seems to be that the
integration boxes are running NIS and the development boxes aren't.

What's stranger is that trying to rexec() an app on the test box from the
test box works and trying to rexec() an app on the test box from the
integration box works; but no attempt to rexec() an app on the integration
box, either locally, ie: both the app and watchdog on the integration box,
or remotely ie: the app on the integration box and the watchdog on the test
box, works at all.

Seeing as this "hang" is occurring, the remote client doesn't get started
up; I'm wondering whether there's some reverse lookup occuring in the remote
client which is failing due to a difference in non-NIS and NIS host
resolution.

Any ideas?

All the best

Gary

--
Gary Gale                               Mail: gary.gale@factiva.com
UK Server Group                         Phone: +44 (0) 207 542 8814
Factiva, A Dow Jones & Reuters Company  Web: www.factiva.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-04 12:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-04 12:14 rexecd and NIS Clash? Gale, Gary (Factiva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox