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

[LDM #UGW-684103]: LDM Server Not Starting



Warren,

> Here is the terminal output:
> 
> cd ~ldm
> ls -l
> 
>     total 20
>     lrwxrwxrwx 1 ldm ldm   11 Jun  5 08:32 bin -> runtime/bin
>     drwxr-xr-x 2 ldm ldm 4096 Jun  4 12:09 Desktop
>     drwxrwxr-x 3 ldm ldm 4096 Jun  6 16:41 etc
>     lrwxrwxrwx 1 ldm ldm   15 Jun  5 08:32 include -> runtime/include
>     drwxrwxr-x 7 ldm ldm 4096 Jun  5 08:32 ldm-6.11.7
>     -rw-rw-r-- 1 ldm ldm    0 Jun  6 10:50 ldmd.output
>     lrwxrwxrwx 1 ldm ldm   11 Jun  5 08:32 lib -> runtime/lib
>     drwxr-xr-x 2 ldm ldm 4096 Jun  4 12:09 Public
>     lrwxrwxrwx 1 ldm ldm   10 Jun  5 17:16 runtime -> ldm-6.11.7
>     lrwxrwxrwx 1 ldm ldm   13 Jun  5 08:32 share -> runtime/share
>     lrwxrwxrwx 1 ldm ldm   11 Jun  5 08:32 src -> runtime/src
>     drwxrwxr-x 5 ldm ldm 4096 Jun  5 08:32 var

The contents of the LDM user's home directory look OK.

> ls -lR var
>     var:
>     total 12
>     drwxrwxr-x 3 ldm ldm 4096 Jun  6 10:47 data
>     drwxrwxr-x 2 ldm ldm 4096 Jun  6 12:26 logs
>     drwxrwxr-x 2 ldm ldm 4096 Jun  6 08:30 queues
> 
>     var/data:
>     total 4
>     drwxrwxr-x 3 ldm ldm 4096 Jun  6 10:47 data

Shoot! I forgot about the "data/" directory.

> var/logs:
> total 32
> -rw-rw-r-- 1 ldm ldm     0 Jun  5 16:54 ldmd.log
> -rw-rw-r-- 1 ldm ldm 27002 Jun  6 17:00 metrics.txt

The zero size of the LDM logfile is consistent with the inability of the LDM to 
log.

> var/queues:
> total 193252
> -rw-rw-r-- 1 ldm ldm 514121728 Jun  6 16:41 ldm.pq

The LDM product-queue look OK.

> bin/ldmadmin config
> hostname:              pat-mcen_112_21.uncc.edu
> os:                    Linux
> release:               3.8.0-41-generic
> ldmhome:               /home/ldm
> LDM version:           6.11.7
> PATH:                  
> /home/ldm/ldm-6.11.7/bin:/home/ldm/decoders:/home/ldm/util:/home/ldm/bin:/home/ldm/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

You should remove the "/home/ldm/ldm-6.11.7/bin" component from the PATH 
environment variable because all LDM utilities should be located through the 
"/home/ldm/bin" component, instead.

> 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:            500M bytes
> queue slots:           default
> reconciliation mode:   do nothing
> pqsurf(1) path:        /home/ldm/var/queues/pqsurf.pq
> pqsurf(1) size:        2M
> IP address:            152.15.112.21
> 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/local/bin/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

The output of "ldmadmin config" looks OK.

I don't know why your LDM isn't logging or why ldmadmin(1) doesn't see it start.

Please see about allowing me to log onto the system as the LDM user.

> Warren Pettee
> Undergraduate - Meteorology
> Department of Geography and Earth Sciences
> University of North Carolina at Charlotte
> 9201 University City Blvd, Charlotte, NC 28223
> address@hidden | 336.257.9239

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: UGW-684103
Department: Support LDM
Priority: Normal
Status: Closed