[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19990707: ldmadmin script



Jim,

Thanks for the observation.  The purpose of the ldmadmin_ps was to show
the users that the ldm was really stopped. I'll change the ldmadmin script
so the ldm.pid file is deleted correctly.  If you want, delete the added
line ldmadmin_ps 

Robb...



On Wed, 7 Jul 1999, Unidata Support wrote:

> 
> ------- Forwarded Message
> 
> >To: address@hidden
> >From: Jim Cowie <address@hidden>
> >Subject: ldmadmin in 5.0.8
> >Organization: .
> >Keywords: 199907071441.IAA20878
> 
> 
> There was a change in the stop_ldm() function in the ldmadmin script
> that causes a problem when you try to do an ldmadmin stop or
> restart. This code:
> 
> # check for rogue ldm processes
>    ldmadmin_ps();
> 
> was added from the previous release. The problem is that at this 
> point in the script, the ldm proceses have been killed, so this
> function prints out an error message and exits. For "ldmadmin
> stop", the result is that the ldm pid file remains, for "ldmadmin
> restart" the pid file remains and the ldm does not get restarted.
> 
> This is on Solaris but that shouldn't really matter.
> 
> -jim
> 
> -- 
> Jim Cowie                             Software Engineer
> WITI Corporation                      address@hidden
> 3300 Mitchell Lane 
> Boulder, CO 80301                     (303) 497-8584
> 
> 
> ------- End of Forwarded Message
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================