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

Re: 20001016: LDM problem: no log fil



On Mon, 16 Oct 2000, Unidata Support wrote:

> 
> ------- Forwarded Message
> 
> >To: address@hidden
> >From: Dave Dempsey <address@hidden>
> >Subject: LDM problem: no log file
> >Organization: UCAR/Unidata
> >Keywords: 200010161808.e9GI8f407690
> 
> I'm in the process of switching our IDD note from norte.sfsu.edu to
> enso.sfsu.edu, an UltraSPARC 10 running Solaris 2.7. I did an LDM 5.1.2
> source installation (following instructions on Unidata's WWWeb site),
> edited ldmd.conf and ldmadmin to reflect my local configuration, and
> fired it up. Result: no log file, though we get data. 
> 
> I checked the Unidata mail files for guidance and found one relevant
> exchange, which led me to check permissions on the logs directory and
> the ldmd.log file, both of which appear to be fine. I also killed and
> restarted syslogd, which did not solve the problem. I now beg for help, though
> I suppose if I had to I could try to fall back to our original configuration
> and wait until next week's Unidata LDM workshop.

Dave,

Sometimes it takes a couple attemps to get syslog to write to the ldmd.log
file.  Instead of manually starting and stopping syslog, use the LDM
command hupsyslog,

% hupsyslog

Did you configure /etc/syslog.conf for the LDM logs?  Also the white space
in the syslog.conf file are tabs not spaces.  For detail info. look at:

http://www.unidata.ucar.edu/packages/ldm/ldmPreInstallList.html#s8

Your can also test syslog with the following:

Test with the following csh script:

% foreach level (err warning notice info)
? echo $level | logger -i -t test -p local0.$level
? end

Your logfile should have some lines sort of like this:
Jul 24 02:49:28 zeppo test[26767]: err
Jul 24 02:49:28 zeppo test[26769]: warning
Jul 24 02:49:28 zeppo test[26771]: notice
Jul 24 02:49:28 zeppo test[26773]: info

For more details, look at the README in the distribution:

 ~LDHHOME/ldm-5.1.2/src/ulog/README



Robb...


> 
> Here is some information that might be relevant:
> 
>    ldm_enso% ldmadmin config
>    
>    hostname:      enso.sfsu.edu
>    ldmhome:       /usr/local/unidata/ldm
>    bin path:      /usr/local/unidata/ldm/bin
>    conf file:     /usr/local/unidata/ldm/etc/ldmd.conf
>    log file:      /usr/local/unidata/ldm/logs/ldmd.log
>    data path:     /usr/local/unidata/ldm/data
>    product queue: /usr/local/unidata/ldm/data/ldm.pq
>    queue size:    250000000 bytes
>    PID file:      /usr/local/unidata/ldm/ldmd.pid
>    LDMHOSTNAME:   enso.sfsu.edu
>    PATH:
>    /usr/local/unidata/ldm/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/ucb
>    
> :/usr/usb:/usr/etc:/etc:/sbin:/usr/sbin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:
>    
> /usr/local/unidata/ldm/bin:./:/usr/local/bin:/usr/ucb:/usr/local/wxp/bin:/h/unid
> ata/bin:/h/unidata/src/decoders/bin:/usr/local/wxp/scripts:/usr/local/ldm/script
> s:/usr/openwin/bin:/usr/openwin/bin/xview:/usr/local/vni/wave/bin:/usr/local/net
> pbm                                                                           
> 
>    ldm_enso% echo $LDMHOME
>    /usr/local/unidata/ldm
> 
>    ldm_enso% cd $LDMHOME
>    /usr/local/unidata/ldm
> 
>    ldm_enso% ls -l
>    total 28
>    lrwxrwxrwx   1 ldm      sdmgrp        11 Oct 13 16:17 bin -> runtime/bin/
>    lrwxrwxrwx   1 ldm      sdmgrp         3 Oct 14 14:04 data -> /de/
>    drwxrwxr-x   2 ldm      sdmgrp       512 Oct 15 14:37 etc/
>    lrwxrwxrwx   1 ldm      sdmgrp        15 Oct 13 16:17 include -> 
> runtime/include /
>    drwxrwxr-x   7 ldm      sdmgrp       512 Oct 14 13:47 ldm-5.1.2/
>    -rw-rw-r--   1 ldm      sdmgrp         5 Oct 16 10:30 ldmd.pid
>    lrwxrwxrwx   1 ldm      sdmgrp        11 Oct 13 16:17 lib -> runtime/lib/
>    drwxrwxr-x   2 ldm      sdmgrp      1024 Oct 16 09:58 logs/
>    lrwxrwxrwx   1 ldm      sdmgrp         9 Oct 13 16:16 runtime -> ldm-5.1.2/
> 
>    ldm_enso% ls -l logs
>    -rw-rw-r--   1 ldm      sdmgrp       889 Oct 16 05:58 2000101612.stats
>    -rw-rw-r--   1 ldm      sdmgrp       889 Oct 16 06:58 2000101613.stats
>    -rw-rw-r--   1 ldm      sdmgrp       889 Oct 16 08:15 2000101614.stats
>    -rw-rw-r--   1 ldm      sdmgrp       889 Oct 16 08:58 2000101615.stats
>    -rw-rw-r--   1 ldm      sdmgrp       889 Oct 16 09:58 2000101616.stats
>    -rw-rw-r--   1 ldm      sdmgrp       889 Oct 16 10:55 2000101617.stats
>    -rw-r--r--   1 ldm      sdmgrp      2176 Oct 15 13:33 ldmbinstats.upc
>    -rw-rw-r--   1 ldm      sdmgrp         0 Oct 14 14:02 ldmd.log
>    -rw-r--r--   1 ldm      sdmgrp      5458 Oct 15 13:00 netcheck.log    
> 
>   ldm_enso% cd ../bin
>   /usr/local/unidata/ldm/runtime/bin
> 
>    ldm_enso% lstm
>    total 7266
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 afos -> pqing*
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 ddplus -> pqing*
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 dds -> pqing*
>    -rwxrwxr-x   1 ldm      sdmgrp    117848 Oct 15 14:54 feedme*
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 feedtest -> pqing*
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 hds -> pqing*
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 hrs -> pqing*
>    -rwsrwxr-x   1 root     sdmgrp     23240 Oct 15 14:58 hupsyslog*
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 ids -> pqing*
>    -rwxrwxr-x   1 ldm      sdmgrp     24283 Oct 15 12:23 ldmadmin*
>    -rwxrwxr-x   1 ldm      sdmgrp     24204 Oct 15 15:01 ldmadmin.orig*
>    -rwxrwxr-x   1 ldm      sdmgrp     24282 Oct 15 13:44 ldmadmin_001015*
>    -rwxrwxr-x   1 ldm      sdmgrp     24283 Oct 15 12:23 ldmadmin_enso*
>    -rwxrwxr-x   1 ldm      sdmgrp     24282 Oct 15 13:44 ldmadmin_norte*
>    -rwxrwxr-x   1 ldm      sdmgrp     23617 Oct 15 14:43 ldmcheck*
>    -rwxrwxr-x   1 ldm      sdmgrp      7276 Oct 15 14:43 ldmfail*
>    -rwxrwxr-x   1 ldm      sdmgrp    113628 Oct 15 14:55 ldmping*
>    -rwxrwxr-x   1 ldm      sdmgrp      6813 Oct 15 14:43 ldmprods*
>    -rwxrwxr-x   1 ldm      sdmgrp    115216 Oct 15 14:54 ldmsend*
>    -rwxrwxr-x   1 ldm      sdmgrp      4914 Oct 15 14:43 mailpqstats*
>    -rwxrwxr-x   1 ldm      sdmgrp      9016 Oct 15 14:43 netcheck*
>    -rwxrwxr-x   1 ldm      sdmgrp       518 Oct 14 13:47 newlog*
>    -rwxrwxr-x   1 ldm      sdmgrp    115472 Oct 15 14:54 notifyme*
>    lrwxrwxrwx   1 root     other          5 Oct 15 14:58 pps -> pqing*
>    -rwxrwxr-x   1 ldm      sdmgrp    254408 Oct 15 14:54 pqact*
>    -rwxrwxr-x   1 ldm      sdmgrp    212432 Oct 15 14:54 pqbinstats*
>    -rwxrwxr-x   1 ldm      sdmgrp    200424 Oct 15 14:54 pqcat*
>    -rwxrwxr-x   1 ldm      sdmgrp    184960 Oct 15 14:54 pqcreate*
>    -rwxrwxr-x   1 ldm      sdmgrp    191820 Oct 15 14:54 pqexpire*
>    -rwxrwxr-x   1 ldm      sdmgrp    312444 Oct 15 14:54 pqing*
>    -rwxrwxr-x   1 ldm      sdmgrp    208976 Oct 15 14:54 pqinsert*
>    -rwxrwxr-x   1 ldm      sdmgrp    187592 Oct 15 14:54 pqmon*
>    -rwxrwxr-x   1 ldm      sdmgrp    231868 Oct 15 14:54 pqsend*
>    -rwxrwxr-x   1 ldm      sdmgrp    243848 Oct 15 14:54 pqsurf*
>    -rwxrwxr-x   1 ldm      sdmgrp    234592 Oct 15 14:54 pqutil*
>    -rwsrwxr-x   1 root     sdmgrp    372000 Oct 15 14:58 rpc.ldmd*
>    -rwxrwxr-x   1 ldm      sdmgrp      3430 Oct 14 13:48 scour*
>    -rwxrwxr-x   1 ldm      sdmgrp      7403 Oct 15 14:43 syscheck*        
> 
> Would anything else be of help?
> 
> -- Dave
>                          
> ****************************************************************
> *                                      |         __ __    \|/  *
> *   Dr. Dave Dempsey                   | )   ^  /|| ||\  --0-- *
> *   Dept. of Geosciences               |) ) ^  / ||_|| \  /|\  *
> *   San Francisco State University     | ) )  /  | _ |  \      *
> *   1600 Holloway Ave.                 |)   )/   || ||   \     *
> *   San Francisco, CA   94132          | )   )   ||_||    \    *
> *                                      |)  ) )   | _ |     \   *
> *   Phone:  (415) 338-7716             |  )   )  || ||      \  *
> *   FAX:    (415) 338-7705             |)   )  )~~~~~~~~~~~~~~~*
> *   Email:  address@hidden   |  )  )  )  ~  ~   ~ ~  *
> *                                      |)  )   ) )  ~   ~  ~   *
> ****************************************************************
> 
> 
> ------- End of Forwarded Message
> 
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================