Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Error - /etc/init.d/ls_registration_daemon start

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Error - /etc/init.d/ls_registration_daemon start


Chronological Thread 
  • From: Andrew Lake <>
  • To: Justin Ettore <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Error - /etc/init.d/ls_registration_daemon start
  • Date: Thu, 15 Jan 2015 09:22:08 -0500

Hi Justin,

That line should be harmless. Glad it's working again.

Thanks,
Andy


On Jan 14, 2015, at 11:08 AM, Justin Ettore <> wrote:

Thanks Andrew,  That worked.  Any concern with the output in Red below.  Also can I set a secondary interface for services?


ettorej@perf-brb etc]$ sudo /etc/init.d/ls_registration_daemon start
/opt/perfsonar_ps/ls_registration_daemon/bin/daemon.pl --config=/opt/perfsonar_ps/ls_registration_daemon/etc/ls_registration_daemon.conf --pidfile=/var/run/ls_registration_daemon.pid --logger=/opt/perfsonar_ps/ls_registration_daemon/etc/ls_registration_daemon-logger.conf --user=perfsonar --group=perfsonar
Use of uninitialized value in concatenation (.) or string at /opt/perfsonar_ps/ls_registration_daemon/bin/../lib/perfSONAR_PS/LSRegistrationDaemon/Host.pm line 334.
/etc/init.d/ls_registration_daemon start: LS Registration Daemon started


Thanks
Justin Ettore
Network Engineering – ISC
University of Pennsylvania 

From: Andrew Lake <>
Date: Wednesday, January 14, 2015 at 10:11 AM
To: Microsoft Office User <>
Cc: "" <>
Subject: Re: [perfsonar-user] Error - /etc/init.d/ls_registration_daemon start

Hi Justin,

Sorry for the delay. I believe all you need to do is uncomment "autodiscover_addresses 1" and change "primary_address p1p1" to "primary_interface p1p1". That will tell it to automatically discover the addresses on interface p1p1. Below is what this would look like:

country   US
longitude   -75.19821
external_address_if_name p1p1
<service_template>
    <local_latency_service>
       autodiscover_addresses   1
        primary_interface         p1p1
    </local_latency_service>
    <local_bandwidth_service>
        autodiscover_addresses   1
        primary_interface         p1p1
    </local_bandwidth_service>
    <local_web_service>
        autodiscover_addresses   1
        primary_interface         p1p1
    </local_web_service>
</service_template>
region   PA
zip_code   19104
<administrator>
    email  
    name   John W. O'Brien
</administrator>
city   Philadelphia
<site host>
    autodiscover   1
#   autodiscover_interfaces   1
    primary_interface       p1p1
    <service>
        inherits   local_latency_service
        type   ping
    </service>
    <service>
        inherits   local_latency_service
        type   traceroute
    </service>
    <service>
        inherits   local_latency_service
        type   owamp
    </service>
    <service>
        inherits   local_bandwidth_service
        type   bwctl
    </service>
    <service>
        inherits   local_bandwidth_service
        type   ndt
    </service>
    <service>
        inherits   local_bandwidth_service
        type   npad
    </service>
    <service>
        url_path   /esmond/perfsonar/archive
        autodiscover_tests   1
        inherits   local_web_service
        http_port   80
        type   ma
        service_version   esmond-1.0
        https_port   443
    </service>
    <service>
        url_path   /services/MP/BWCTL
        inherits   local_web_service
        http_port   80
        type   mp_bwctl
        service_version   oppd-3.4
        https_port   443
    </service>
    <service>
        url_path   /services/MP/OWAMP
        inherits   local_web_service
        http_port   80
        type   mp_owamp
        service_version   oppd-3.4
        https_port   443
    </service>
    is_local   1
</site>
latitude   39.95298
allow_internal_addresses   0
check_interval   3600
site_project   Internet2
site_project   UPenn
site_name   University of Pennsylvania





On Jan 9, 2015, at 11:31 AM, Justin Ettore <> wrote:



Getting the following error - start: LS Registration Daemon could not be started

Excerpts from the ls_registration_daemon.log

2015/01/08 16:06:00 (5221) ERROR> ICMP_Service.pm:47 perfSONAR_PS::LSRegistrationDaemon::Services::ICMP_Service::init - No address available for service
2015/01/08 16:06:00 (5221) ERROR> Host.pm:300 perfSONAR_PS::LSRegistrationDaemon::Host::init_subordinates - Error: Couldn't initialize service type: Ping Responder
2015/01/08 16:06:00 (5221) ERROR> daemon.pl:318 main::init_site - Error: Couldn't initialize host watcher

I’m thinking it’s related to changes in ls_registration_daemon.conf.  Im trying to not use interface em1 for anything except host management.  


ls_registration_daemon.conf
country   US
longitude   -75.19821
external_address_if_name p1p1
<service_template>
    <local_latency_service>
#       autodiscover_addresses   1
        primary_address         p1p1
    </local_latency_service>
    <local_bandwidth_service>
#       autodiscover_addresses   1
        primary_address         p1p1
    </local_bandwidth_service>
    <local_web_service>
#       autodiscover_addresses   1
        primary_address         p1p1
    </local_web_service>
</service_template>
region   PA
zip_code   19104
<administrator>
    email  
    name   John W. O'Brien
</administrator>
city   Philadelphia
<site host>
    autodiscover   1
#   autodiscover_interfaces   1
    primary_interface       p1p1
    <service>
        inherits   local_latency_service
        type   ping
    </service>
    <service>
        inherits   local_latency_service
        type   traceroute
    </service>
    <service>
        inherits   local_latency_service
        type   owamp
    </service>
    <service>
        inherits   local_bandwidth_service
        type   bwctl
    </service>
    <service>
        inherits   local_bandwidth_service
        type   ndt
    </service>
    <service>
        inherits   local_bandwidth_service
        type   npad
    </service>
    <service>
        url_path   /esmond/perfsonar/archive
        autodiscover_tests   1
        inherits   local_web_service
        http_port   80
        type   ma
        service_version   esmond-1.0
        https_port   443
    </service>
    <service>
        url_path   /services/MP/BWCTL
        inherits   local_web_service
        http_port   80
        type   mp_bwctl
        service_version   oppd-3.4
        https_port   443
    </service>
    <service>
        url_path   /services/MP/OWAMP
        inherits   local_web_service
        http_port   80
        type   mp_owamp
        service_version   oppd-3.4
        https_port   443
    </service>
    is_local   1
</site>
latitude   39.95298
allow_internal_addresses   0
check_interval   3600
site_project   Internet2
site_project   UPenn
site_name   University of Pennsylvania




Thanks
Justin Ettore
ISC/SEO

"Common sense is my cause" - Jose






Archive powered by MHonArc 2.6.16.

Top of Page