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

[Support #WSU-931209]: LDM 6.9.7 registry build error



Kevin,

> Typing that command yields the dreaded SegFault . . .
> 
> Note I built this with Sun Studio 11 compiler . . .

> I then tried unlimiting stacksize, and now I see a regpar.tab and a
> .libs directory in the regutil directory, and the registry.xml in the
> /etc directory.  Maybe that is the trick . . . I will try rebuilding
> from scratch now, with an unlmited stacksize.

> It gets a little further, but still segfaults (make.out attached):

Did you execute the command "make distclean" before executing the configure(1) 
script?

The file "make.out" contained this:

...
make[3]: Entering directory `/home/ldmnldn/ldm-6.9.7/src/regutil'
test -z "/home/ldmnldn/ldm-6.9.7/bin" || .././install-sh -c -d 
"/home/ldmnldn/ldm-6.9.7/bin"
  /bin/bash ../libtool   --mode=install .././install-sh -c regutil 
'/home/ldmnldn/ldm-6.9.7/bin'
.././install-sh -c .libs/regutil /home/ldmnldn/ldm-6.9.7/bin/regutil
sed -e 's;@''LDMHOME@;/home/ldmnldn;g' \
    -e 's;@''LOGS_DIR@;/home/ldmnldn/var/logs;g' \
    -e 's;@''QUEUE_DIR@;/home/ldmnldn/var/queues;g' \
    -e 's;@''DATA_DIR@;/home/ldmnldn;g' \
    -e 's;@''HOSTNAME@;striker2;g' \
    -e 's;@''NTPDATE@;/usr/sbin/ntpdate;g' \
    -e 's;@''LOG_FILE@;/home/ldmnldn/var/logs/ldmd.log;g' \
    -e 's;@''METRICS_FILE@;/home/ldmnldn/var/logs/metrics.txt;g' \
    -e 's;@''NETSTAT@;/usr/bin/netstat -f inet -P tcp -n;g' \
    -e 's;@''TOP@;/apps/sparc/bin/top -b -n 1;g' \
    -e 's;@''ETC_DIR@;/home/ldmnldn/etc;g' \
    ./regpar.tab.in >regpar.tab.tmp
mv regpar.tab.tmp regpar.tab
/apps/sparc/bin/perl ./installRegistry regpar.tab ./regutil \
    /home/ldmnldn/etc/ldmadmin-pl.conf /home/ldmnldn/etc
    delete_info_files -> /delete-info-files : 0
    hostname -> /hostname : striker2.atmos.albany.edu
    insertion_check_period -> /insertion-check-interval : 300
    (nil) -> /reconciliation-mode : increase queue
    check_time -> /check-time/enabled : 1
    check_time_limit -> /check-time/limit : 10
    warn_if_check_time_disabled -> /check-time/warn-if-disabled : 1
    ntpdate -> /check-time/ntpdate/command : /usr/sbin/ntpdate
    time_servers -> /check-time/ntpdate/servers : ntp.ucsd.edu ntp1.cs.wisc.edu 
ntppub.tamu.edu otc1.psu.edu timeserver.unidata.ucar.edu
    ntpdate_timeout -> /check-time/ntpdate/timeout : 5
    numlogs -> /log/count : 7
    (nil) -> /log/file : /home/ldmnldn/var/logs/ldmd.log
    log_rotate -> /log/rotate : 1
    num_metrics -> /metrics/count : 4
    metrics_file -> /metrics/file : /home/ldmnldn/runtime/logs/metrics.txt
    metrics_files -> /metrics/files : /home/ldmnldn/logs/metrics.txt*
    netstat -> /metrics/netstat-command : /usr/bin/netstat -f inet -P tcp -n
    top -> /metrics/top-command : /apps/sparc/bin/top -b -n 1
    pqact_conf -> /pqact/config-path : /home/ldmnldn/runtime/etc/pqact.conf
    (nil) -> /pqact/datadir-path : /home/ldmnldn
    (nil) -> /pqsurf/config-path : /home/ldmnldn/etc/pqsurf.conf
    (nil) -> /pqsurf/datadir-path : /home/ldmnldn
    (nil) -> /queue/path : /home/ldmnldn/var/queues/ldm.pq
    pq_size -> Segmentation Fault

Please set the shell variable $default to the value of the "$pq_size" variable 
in the file "/home/ldmnldn/etc/ldmadmin-pl.conf. Then drop into the directory 
"/home/ldmnldn/ldm-6.9.7/regutil" and send me the output from the command

    ./regutil -d /home/ldmnldn/etc -s $default /queue/size

Also, please send me the output from the command "ulimit -a" (or whatever the 
equivalent command for your user shell is).

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: WSU-931209
Department: Support LDM
Priority: Normal
Status: Closed