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

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



Steven,

> I am running LDM 6.8.0 on a local machine, but my attempts to examine
> the performance metrics failed:
> 
> [ldm@ames logs]$ ldmadmin config
> 
> hostname:              ames.envsci.rutgers.edu
> os:                    Linux
> release:               2.6.9-42.0.3.ELsmp
> ldmhome:               /home/ldm
> LDM version:           6.8.0
> PATH:
> /home/ldm/bin:/home/ldm/decoders:/home/ldm/util:/home/ldm/bin:/usr/lib64/qt-3.3/bin:/usr/local/pgi/linux86-64/8.0-5/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
> bin path:              /home/ldm/bin
> etc path:              /home/ldm/etc
> log path:              /home/ldm/logs
> data path:             /media/Boone/ldm/data
> LDM conf file:         /home/ldm/etc/ldmd.conf
> pqact(1) conf file:    /home/ldm/etc/pqact.conf
> scour(1) conf file:    /home/ldm/etc/scour.conf
> product queue:         /dev/shm/ldm.pq
> queue size:            500M bytes
> queue slots:           default
> pqsurf(1) path:        /dev/shm/pqsurf.pq
> pqsurf(1) size:        2000000
> IP address:            0.0.0.0
> port:                  388
> PID file:              /home/ldm/ldmd.pid
> Lock file:             /home/ldm/.ldmadmin.lck
> ldmadmin(1) conf file: /home/ldm/etc/ldmadmin-pl.conf
> maximum clients:       256
> maximum latency:       3600
> time offset:           3600
> log file:              /home/ldm/logs/ldmd.log
> numlogs:               7
> log_rotate:            1
> netstat:               netstat -A inet -t -n
> metrics file:          /home/ldm/logs/metrics.txt
> metrics files:         /home/ldm/logs/metrics.txt*
> num_metrics:           4
> check time:            1
> delete info files:     0
> ntpdate(1):            /usr/sbin/ntpdate
> ntpdate(1) timeout:    20
> time servers:          ntp.ucsd.edu ntp1.cs.wisc.edu ntppub.tamu.edu
> otc1.psu.edu timeserver.unidata.ucar.edu
> time-offset limit:     10
> check time abort:      0
> 
> [ldm@ames logs]$ ldmadmin printmetrics
> Can't close(): status=256 at /home/ldm/bin/ldmadmin line 1241.
> [ldm@ames logs]$ ldmadmin printmetrics -q /dev/shm/ldm.pq
> Can't close(): status=256 at /home/ldm/bin/ldmadmin line 1241.
> 
> Do I have something misconfigured, or is this a bug in ldmadmin?

What version of perl(1) are you using?  Version 5.6 appears to have a bug in 
the close() function.

> Thanks,
> 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