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

[LDM #QCH-285545]: Close error with ldmadmin printmetrics



Steve,

> /home/ldm/bin/pqmon does exist.
> 
> It looks like my nondefault queue location is the problem:
> [ldm@ames bin]$ pqmon -l-
> Aug 11 18:52:28 pqmon NOTE: Starting Up (22664)
> Aug 11 18:52:28 pqmon ERROR: pq_open failed: /home/ldm/data/ldm.pq: No
> such file or directory
> Aug 11 18:52:28 pqmon NOTE: Exiting
> [ldm@ames bin]$ pqmon -q /dev/shm/ldm.pq -l-
> Aug 11 18:52:56 pqmon NOTE: Starting Up (22676)
> Aug 11 18:52:56 pqmon NOTE: nprods nfree  nempty      nbytes  maxprods
> maxfree  minempty    maxext  age
> Aug 11 18:52:56 pqmon NOTE: 112118     1    9951   500002056    122069
> 2         0       760 8033
> Aug 11 18:52:56 pqmon NOTE: Exiting
> 
> Since the original problem happened even with
> ldmadmin printmetrics -q /dev/shm/ldm.pq
> it seems like the -q setting should be propagated to the pqmon
> invocation, but isn't.

Just change line 1232 in the ldmadmin(1) script from

    open(FH, "pqmon -l- 2>&1 |") or die "Can't fork(): $!";

to

    open(FH, "pqmon -l- -q $pq_path 2>&1 |") or die "Can't fork(): $!";

This fix will be in the next release.

> -- Steve
> 
> --
> Steve Decker, Assistant Professor
> Department of Environmental Sciences    Phone: (732) 932-9800 x 6203
> Rutgers University                               Fax: (732) 932-8644
> 14 College Farm Rd                  Email: address@hidden
> New Brunswick, NJ  08901-8551

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: QCH-285545
Department: Support LDM
Priority: Normal
Status: Closed