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

[LDM #OPN-107414]: LDM 6.9 confusing cwd/pwd



Daryl,

> I am finding the cwd to be /home/ldm/var/ . That is where pqact in looking
> for config files and where it defaults to writing data / looking for
> scripts when relative paths are used in pqact.conf files.

Yes, the current working directory for the pqact(1) process is the parent 
directory of the "data" subdirectory. Before LDM 6.9, the parent directory was 
the home directory. In 6.9, the parent directory is "var".

You've identified a bug. Let me see if I can fix it.

> Sorry, won't be able to get you logged in...
> 
> $ ldmadmin config
> 
> hostname:              iemvs100.local
> os:                    Linux
> release:               2.6.32-71.14.1.el6.x86_64
> ldmhome:               /home/ldm
> LDM version:           6.9.5
> PATH:
> /home/ldm/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ldm/bin
> 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:         /home/ldm/var/queues/ldm.pq
> queue size:            200M bytes
> queue slots:           default
> reconcilliation mode:  increase queue
> pqsurf(1) path:        /home/ldm/var/queues/pqsurf.pq
> pqsurf(1) size:        2M
> IP address:            0.0.0.0
> port:                  388
> PID file:              /home/ldm/ldmd.pid
> Lock file:             /home/ldm/.ldmadmin.lck
> maximum clients:       256
> maximum latency:       3600
> time offset:           3600
> log file:              /home/ldm/var/logs/ldmd.log
> numlogs:               7
> log_rotate:            1
> netstat:               /bin/netstat -A inet -t -n
> top:                   /usr/bin/top -b -n 1
> metrics file:          /home/ldm/var/logs/metrics.txt
> metrics files:         /home/ldm/var/logs/metrics.txt*
> num_metrics:           4
> check time:            1
> delete info files:     0
> ntpdate(1):            /usr/sbin/ntpdate
> ntpdate(1) timeout:    5
> time servers:          ntp.ucsd.edu ntp1.cs.wisc.edu ntppub.tamu.edu
> otc1.psu.edu timeserver.unidata.ucar.edu
> time-offset limit:     10
> 
> 
> $ regutil
> /delete-info-files : 0
> /hostname : iemvs100.local
> /insertion-check-interval : 300
> /reconciliation-mode : increase queue
> /check-time/enabled : 1
> /check-time/limit : 10
> /check-time/warn-if-disabled : 1
> /check-time/ntpdate/command : /usr/sbin/ntpdate
> /check-time/ntpdate/servers : ntp.ucsd.edu ntp1.cs.wisc.edu
> ntppub.tamu.edu otc1.psu.edu timeserver.unidata.ucar.edu
> /check-time/ntpdate/timeout : 5
> /metrics/count : 4
> /metrics/file : /home/ldm/var/logs/metrics.txt
> /metrics/files : /home/ldm/var/logs/metrics.txt*
> /metrics/netstat-command : /bin/netstat -A inet -t -n
> /metrics/top-command : /usr/bin/top -b -n 1
> /log/count : 7
> /log/file : /home/ldm/var/logs/ldmd.log
> /log/rotate : 1
> /pqsurf/config-path : /home/ldm/etc/pqsurf.conf
> /pqsurf/datadir-path : /home/ldm/var/data
> /scour/config-path : /home/ldm/etc/scour.conf
> /surf-queue/path : /home/ldm/var/queues/pqsurf.pq
> /surf-queue/size : 2M
> /server/config-path : /home/ldm/etc/ldmd.conf
> /server/ip-addr : 0.0.0.0
> /server/max-clients : 256
> /server/max-latency : 3600
> /server/port : 388
> /server/time-offset : 3600
> /queue/path : /home/ldm/var/queues/ldm.pq
> /queue/size : 200M
> /queue/slots : default
> /pqact/config-path : /home/ldm/etc/pqact.conf
> /pqact/datadir-path : /home/ldm/var/data
> 
> 
> thanks,
> daryl

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OPN-107414
Department: Support LDM
Priority: Normal
Status: Closed