Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: jaearick@colby.edu (Jeff A. Earickson)
Subject: Re: Problem with CDS
Date: 1996/12/20	[thread overview]
Message-ID: <59e68m$hdj@host-04.colby.edu> (raw)
In-Reply-To: 32B5A423.55E1@uswest.com


   If I understand your problem, you do a dceping -C on your machine
and it says that it can't find the cds server, and it asks you for the
server name.  You type it in and dceping then works fine.

   This is a minor problem but has nothing to do with the actual
operation of DCE.  What happens is that dceping stores the name of the 
CDS server in a file in /tmp (it should be semi-obvious).  If your root
cron script cleans old files out of /tmp, then the file gets wiped and 
dceping looses its mind.  But in reality your DCE cell is fine.  
(If dceval fails its tests, then I worry.)

   I got badly burned by this mis-feature when I put dceping -C into a
cron script.  Dceping went looking for input from stdin, which was not 
to be had from my cron script, so it send the script into an endless
query loop that burned mucho CPU time and brought the system to its
knees.  Of course the cron script kicked off at 2 AM...

Jeffrey L. DeMent (jdement@uswest.com) wrote:
> I'm having a problem with my DCE client (HP-uX 9.04/DCE 1.2.1) "losing"
> track of CDS (running on a HP-UX 10.10/DCE 1.4.1) across a WAN.

> Symtoms are something like this:

>   1. Stop then start client and server daemons and everything is fine.
>   2. After a period of time (around 8 hours but I'm not sure) the
>      client (using 'dceping') can no longer locate CDS.

> A couple of related facts:

>   1. During the dce_config to initially install, the script did prompt
>      for the location of CDS because it correctly determined CDS was
>      not on the LAN.  dce_config informed me it would use the info for
>      a 'cdscp define cached server' command.
>   2. Even during those times when 'dceping' fails (i.e. my client has
>      lost track of CDS server), a 'cdscp show cached server machinename'
>      seems to work properly on the client.
>   3. On my client on a reboot I do the following in /etc/rc:
>         - first, /etc/rc.dce
>         - second cdscp define cached server machinename

> I'm getting confused.  On the server side, when CDS comes up it get
> a port assigned.  Will it keep it indefinitely in the port mapper data
> base ?  Is there some piece of information that becomes stale in the
> client ?  Any help would be much appreciated !

> -- 
> Jeff
> _____________________________________________________________________

>  Jeffrey L. DeMent                                  _._._._._._._
>  U S WEST Information Technologies                 (_|_|_|_|_|_|_)
>  20 East Thomas Road, Room 2419                     ` \` | | '/ '
>  Phoenix, Arizona  85012                             ` \`| |'/ '
>                                                       ` \| |/ '
>  Phone: (602) 630-0442                                 ` \0/ '
>  Fax:   (602) 630-0006                                  `~#~'
>                                                           ^
>  Internet: jdement@uswest.com                            / \
> _____________________________________________________________________

--
** Jeff A. Earickson, Ph.D                         PHONE: 207-872-3659
** Senior UNIX Sysadmin, Information Technology    EMAIL: jaearick@colby.edu
** Colby College, 4214 Mayflower Hill,               FAX: 207-872-3555
** Waterville ME, 04901-8842
----------------------------------------------------------------------------
Those "eight tiny reindeer" left holes in my roof last year...
----------------------------------------------------------------------------



      parent reply	other threads:[~1996-12-20  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-16  5:00 Problem with CDS Jeffrey L. DeMent
1996-12-19  5:00 ` Roger Zee
1996-12-20  5:00 ` Jeff A. Earickson [this message]
read-only archive

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