Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] RE: perfsonar configuration error

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] RE: perfsonar configuration error


Chronological Thread 
  • From: Zhi-Wei Lu <>
  • To: Andrew Lake <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] RE: perfsonar configuration error
  • Date: Tue, 11 Sep 2018 18:17:24 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:TFPyjxWxv7ZAq5rP9ic33jX4CObV8LGtZVwlr6E/grcLSJyIuqrYZReBuqdThVPEFb/W9+hDw7KP9fy4BipYud6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9uLhi6txndutULioZ+N6g9zQfErGFVcOpM32NoIlyTnxf45siu+ZNo7jpdtfE8+cNeSKv2Z6s3Q6BWAzQgKGA1+dbktQLfQguV53sTSXsZnxxVCAXY9h76X5Pxsizntuph3SSRIMP7QawoVTmk8qxmTgLjhiUaOD4j6GzZitJ+gr9HoByvpBJ/zYzbYICJO/VxZa7SZ88WSXZbU8pNSyBMAIWxZJYPAeobOuZYqpHwqFgOrRu/HAWjBP3gyj5VjXHwwK0xzuMsEADI3QwkAtIDq2nUo8noO6gIT+C1zbLIwS/dYPxLxDfw8Y7FeQ0vr/GLWLJ/a8vRyU83GgPEiFWQtZLqPymT1usTr2iX8fBsWvyyhG46sw1xoiSvxts0iobUm40a0E7L9SB+wIYzJN24U1R7YcOiEJRKrCGaKpB2Td04Q25yoCY10KEJuZ6lcycQ0JQo3QLQa/yZfISS4hLjU+iQLS93hHJkZLK/hwuy/lO9yu3nSMa0ykpFri1DktnQqH8N0QDT5tKbRft6+0etwTGP1x3P6uFAJkA0kqnbJ4Q9zb43k5oet1nIECzumEjug6Kaal8o9vW05+nleLnrpIKQO5V0hwz+K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picvwg40RPWtITGOi1SjpApJQbaRufIENTH2jONCz2s4j1sz2Q3AN8lmlChtGw8KvdReIJ33FlQxLnQVywzS8nDegiTl9kjUntK2aiT7Rx/nKaRELM3BKXy9vgUq/aYU=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Thank you, Andy!

 

   The following are not in the current configdaemon.conf file, over written by the migrate script?

 

<file "/var/lib/perfsonar/toolkit/gui-tasks.conf">

            read    1

            write   1

    </file>

     <file "/etc/perfsonar/psconfig/pscheduler.d/toolkit-webui.json">

            read    1

            write   1

    </file>

 

After I restarted the perfsonar-configdaemon service, I was able to save the config.

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 

From: Andrew Lake <>
Sent: Tuesday, September 11, 2018 11:00 AM
To: Zhi-Wei Lu <>
Cc:
Subject: Re: [perfsonar-user] RE: perfsonar configuration error

 

Hi,

 

It gets read from the file /etc/perfsonar/toolkit/configdaemon.conf which should look like this: https://raw.githubusercontent.com/perfsonar/toolkit/master/etc/configdaemon.conf

 

If it differs you can try dropping the file I linked in place and changing the owner to perfsonar.

 

Thanks,

Andy

 

On Tue, Sep 11, 2018 at 12:47 PM, Zhi-Wei Lu <> wrote:

The code that trigs the error message is

 

    unless ($self->{ACCESS_CONTROL}->{file}->{$filename}->{write}) {

        $self->{LOGGER}->error("Couldn't write file $filename: write permission denied");

        die("Access denied");

    }

in the file “/usr/lib/perfsonar/lib/perfSONAR_PS/NPToolkit/ConfigManager/ConfigDaemon.pm”

 

I authenticated as the perfsonar web admin user.  The file is owned by user “perfsonar:perfsonar” while the httpd daemon is run as user “apache:apache”.  How does apache user modify the configuration file in web_admin?

I was able to configure tests on a server yesterday, it fails today.  How does the “ACCESS_CONTROL” work?

 

Thank you.

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 

From: <> On Behalf Of Zhi-Wei Lu
Sent: Monday, September 10, 2018 12:29 PM
To:
Subject: [perfsonar-user] perfsonar configuration error

 

Hi all,

 

I try to configure perfsonar using the web gui, I had problem saving the config.

 

Error: Couldn’t save configuration file.  The configdaemon.log has the following:

2018/09/10 12:20:33 (2043) ERROR> ConfigDaemon.pm:152 perfSONAR_PS::NPToolkit::ConfigManager::ConfigDaemon::writeFile - Couldn't write file /var/lib/perfsonar/toolkit/gui-tasks.conf: unknown file

 

This file exists and is owned by the user “perfsonar”, perfsonar admin user.

 

The host is running CentOS 7 with perfsonar 4.1.1

 

Thank you.

 

Zhi-Wei Lu

IET-CR-Network Operations Center

University of California, Davis

(530) 752-0155

 


--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user

 




Archive powered by MHonArc 2.6.19.

Top of Page