Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-18-2017, 09:38 PM
|
#1
|
LQ Newbie
Registered: Jan 2017
Posts: 3
Rep: 
|
error configuring the perfSONAR mesh
I have a zotac box and I am following the Instructions in here:
https://github.com/pragmagrid/perfsonar
The installation worked without any problem until I got to step 5 which is to configure the mesh client. when I run the command
$ /usr/lib/perfsonar/bin/generate_configuration
it gives an error
Quote:
2017/01/19 10:31:41 (5567) ERROR> Agent.pm:362 perfSONAR_PS::MeshConfig::Agent::__configure_host - Can't find any host blocks associated with the addresses on this machine:
|
here is a copy of the meshconfig agent file if it will help most of the lines are commented by default tho.
Quote:
cat meshconfig-agent.conf
## Use 'mesh' blocks to to specify each mesh that the agent should
## configure the host against
#<mesh>
# ## Use 'configuration_url' to specify the URL where the agent should obtain
# ## the mesh configuration from
# configuration_url https://host.domain.edu/example.json
#
# ## To ensure that the configuration is trusted, you can set the
# ## 'validate_certificate' option to 1. This will validate that the certificate
# ## is valid, and matches the hostname. If the 'validate_certificate' option is
# ## set to 1, the 'ca_certificate_file' option must be set.
# #validate_certificate 0
#
# ## The 'ca_certificate_file' specifies which CAs to use to validate the
# ## certificates.
# #ca_certificate_file /etc/pki/tls/bundle.crt # the default RedHat CAs
#
# ## The 'required' field specifies that if this mesh isn't available, or has
# ## problems, to skip making any changes to the host configuration.
# #required 1
#
# ## The 'permit_non_participation' specifies that if the host isn't
# ## included in this mesh, the agent shouldn't thrown an error.
# #permit_non_participation 1
#</mesh>
#configure_archives 1
## You can define more meshes to configure against by adding more 'mesh' blocks.
#<mesh>
# configuration_url https://host.otherdomain.edu/mesh.json
# #validate_certificate 0
# #ca_certificate_file /etc/pki/tls/bundle.crt
#</mesh>
<mesh>
configuration_url http://data.ctc.transpac.org/meshes/pragma-mesh.json
</mesh>
configure_archives 1
## You can use the 'use_regular_testing' variable to disable having the mesh
## configuration generate the regular testing # configuration so that it will
## generate the traceroute master, owmesh and # pinger landmarks files instead.
## To do this, you'll need to set the variable to 0.
# use_regular_testing 1
## Use the 'regular_testing_conf' variable to change the location of the
## regular_testing.conf file that gets generated. In a normal configuration,
## these should be left as what's included below.
# regular_testing_conf /etc/perfsonar/regulartesting.conf
## Use the traceroute_master_conf, owmesh_conf and pinger_landmarks options to
## specify the location of the files to write. In a normal configuration, these
## should be left as what's included below.
# traceroute_master_conf /opt/perfsonar_ps/traceroute_ma/etc/traceroute-master.conf
# owmesh_conf /opt/perfsonar_ps/perfsonarbuoy_ma/etc/owmesh.conf
# pinger_landmarks /opt/perfsonar_ps/PingER/etc/pinger-landmarks.xml
## You can include one or more 'address' options to specify which address
## corresponds to this host. By default, the agent will attempt to guess the
## address using the hostname of the host, as well as the hostname IPs.
#address chic-pt1.es.net
# The 'restart_services' option can be used to specify whether the services
# should be restarted after their configuration is updated. If the
# 'use_toolkit' variable below is set to 0, you will need to use the
# 'cron-restart_services' cron script included in
# /opt/perfsonar_ps/mesh_config/doc to restart the services.
restart_services 1
# The 'use_toolkit' option can be used to specify whether the agent should use
# the pS-Performance Toolkit's configuration daemon to save the configuration,
# and restart the services. If the agent is not installed on a toolkit
# instance, you will make sure that the configuration files listed above are
# all writable by user 'perfsonar'. The 'perfsonar' user cannot restart the
# services so you will need to disable 'restart_services' above, and use the
# 'cron-restart_services' cron script included in
# /opt/perfsonar_ps/mesh_config/doc to restart the services.
use_toolkit 1
# The 'send_error_emails' option can be used to tell the agent to send an email
# (via sendmail) when an error occurs. These emails will be sent to the
# applicable administrators (e.g. the local administrator(s), the mesh
# administrator(s), the site administrator(s), and/or the host
# administrator(s).
send_error_emails 1
## By default, the from address for the error emails will be
## mesh_agent@[hostname]. However, if you'd like to specify a different email
## address, you can do so here.
#email_from_address admin@host.site.edu
## One or more 'admin_email' options can be included to specify email addresses
## to send errors to. These email addresses will receive all errors (including
## parsing errors). This is in addition to the emails that will be sent to the
## various affected administrators (e.g. the mesh administrator or the site
## administrator).
#admin_email admin1@site.edu
#admin_email admin2@site.edu
## The 'skip_redundant_tests' can be used so that if the meshes end up creating
## multiple tests between hosts with the exact same test parameters, it will
## only setup the hosts to only run one test. If you enable this, you won't see
## the skipped tests in the Toolkit GUI
#skip_redundant_tests
|
I really have no idea no this pls help
|
|
|
01-19-2017, 03:23 PM
|
#2
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950
|
Sorry if this is a bit obvious, but...
Any line starting with a # is read as a comment, so you need to put your configuration parameters on a separate line. 
|
|
|
01-19-2017, 08:19 PM
|
#3
|
LQ Newbie
Registered: Jan 2017
Posts: 3
Original Poster
Rep: 
|
for more info I removed all the commented lines in the meshconfig_agent.conf and this is all that remained
|
|
|
01-19-2017, 10:06 PM
|
#4
|
LQ Newbie
Registered: Jan 2017
Posts: 3
Original Poster
Rep: 
|
for more info I removed all the commented lines in the meshconfig_agent.conf and this is all that remained
|
|
|
01-20-2017, 08:22 AM
|
#5
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950
|
I would expect the text
configuration_url
means that you just replace it with your configuration url ie
http://data.ctc.transpac.org/meshes/pragma-mesh.json
Similarly for any other entries.
I have no familiarity with this program - just following a few general principles.
|
|
|
All times are GMT -5. The time now is 10:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|