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

Re: 20051210: Another request for LDM 6.4.5



Hi Gilbert,

> To: General Support <address@hidden>
> From: Gilbert Sebenste <address@hidden>
> Subject: Another request for LDM 6.4.5
> Organization: NIU
> Keywords: 200512101847.jBAIlK7s025891 LDM feature request

The above message contained the following:

> Another request for an addition to 6.4.5. This one is to cover a mistake 
> when I remake the queues, but forget to make pqsurf.conf:
> 
> Dec 10 18:39:21 weather3 pqsurf[11759] ERROR: pq_open failed: 
> /home/ldm/data/pqsurf.pq: No such file or direct
> ory
> Dec 10 18:39:21 weather3 weather2[11767] NOTE: Upstream LDM-6 on 
> weather2.admin.niu.edu is willing to be a pri
> mary feeder
> Dec 10 18:39:21 weather3 flood[11766] NOTE: Upstream LDM-6 on 
> flood.atmos.uiuc.edu is willing to be an alterna
> te feeder
> Dec 10 18:39:22 weather3 weather2[11769] NOTE: Upstream LDM-6 on 
> weather2.admin.niu.edu is willing to be a pri
> mary feeder
> Dec 10 18:39:22 weather3 pqsurf[11759] NOTE: Exiting
> Dec 10 18:39:22 weather3 rtstats[11760] NOTE: Exiting
> Dec 10 18:39:22 weather3 weather2[11765] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 flood-1[11763] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 flood[11766] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 128.174.80.47[11768] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 weather2[11767] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 striker2[11771] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 weather2[11769] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 flood-0[11761] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 weather2[11764] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 f5[11770] NOTE: SIGTERM
> Dec 10 18:39:22 weather3 weather2[11762] NOTE: SIGTERM
> (etc.)

> Any chance that this could be more graceful, like just shutting down 
> pqsurf, or better yet, perhaps not start the LDM at all (do a check 
> somehow to make sure both files are there first)?

I sympathize.

The problem is that there's no way for the ldmadmin(1) script to know if
the LDM server is going to start something that requires the existence
of the pqsurf(1) configuration-file.  Checking whether the $surf_path or
$surf_size variables are set won't do it because they're set by default
(though not used by default).  Consequently, most installations would
break.

This is why I always advise executing the command "ldmadmin watch" after
starting the LDM system -- so that you know that nothing untoward
happened during startup.

> *******************************************************************************
> Gilbert Sebenste                                                     ********
> (My opinions only!)                                                  ******
> Staff Meteorologist, Northern Illinois University                      ****
> E-mail: address@hidden                                  ***
> web: http://weather.admin.niu.edu                                      **
> *******************************************************************************

Regards,
Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.