Skip to Content.
Sympa Menu

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

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] RE: perfsonar configuration error


Chronological Thread 
  • From: Zhi-Wei Lu <>
  • To: Zhi-Wei Lu <>, "" <>
  • Subject: [perfsonar-user] RE: perfsonar configuration error
  • Date: Tue, 11 Sep 2018 16:47:22 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:7yhQ0hY3gVZ+rRr+wkjOLOb/LSx+4OfEezUN459isYplN5qZpsy4bB7h7PlgxGXEQZ/co6odzbaO7Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahY75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38H/ZhNFsjKxVoxyhqR5ww4/Ib46aL/dxZL/Rcc8ASGZdQspdSSpMCZ68YYsVCOoBOP5VoIr9p1sPtBexBRejBOLywTFOm3/9wKo30uUvEAHCwQwtBM8Ov2jJo9rvKqcSUPu1wLPWwjrecvNbwDHw45XGfBAmpPGDR7NwcczJxEkvCwPFkk2QppH4MDyPyOsNtm+b7+xhVeK0kW4ntgdxrSK0xscxkYnGmJgVxUrc9Spj3Ik1JcO3R1RjYdG+DJRQtz+VO5F2QsMlTWBlvjsxxL4euZOjYiQF0ogrywPaZvCaboSE/xfuVOieLDtkmH5ofby/iAi9/ES8z+DxU8i53EhXoiZdj9XBt3QA2wbN5sWJSPZx5Fmt1SuB2gzJ9O1IPVg4laTFJJMi3rI9k58evEbfEiL5lkj7iaGWe0Uq+uS17unofLrrq5+SN4JxhAzxL7khl8qiCuoiKAcORXKU+eGk2b3j40L5RLJKg+UunKTFt57WOdkXqrekDQFNz4ov8hG/ACy439gCmnkHMU5FdwmAj4j0PVHBPer0De+lg1SrjDdk2ezJPqHgApXKKHjPirDhfath605YzwozytNf64hIBbEGJfL/Qk7xtNrGAR8lKwG43fzoBMlg2o4bRG6DH7KVPabcsVKH+u4jP+yBZIELtzvyN/Qo4vvjgH4nlVMAZaWp2IEYaHG8HvRoOUWZZn/sj88AEGYEugo+UffniECeXjFOfXmyQaM85iohBI24EIjDW5ihgKad0yejAp1WemdGB0iUEXj2bYWEVewMaCWUIsB7iDwITKWhS5Q/2hG0rwL6z7tnLvHI+i0Dq57vztl15+vPlR4s7zx0CdqS032TQ21ugGwHWiI2j+hDphlPylbG7qV5y9hFXYhB+PdUehoxOZfCzvc8BtzvDEaJNM+EUli9RdOvG3QsVd8r694If0tnHdi+1FbO0zfgS+sNmqaFH5sy+7iZwmP8Pe58zWrLzq8skwNgT8dSYz6InKl6ojrTBsv2nkTRs7viIbYD2DPl6WyPxHSPpwdVXBMmAvaNZmwWekaD9Yex3UjFVbL7Ue59YAJc1c6PLLdLYdT1jFJAAe3uI8naf3nsyjWrHRjdwLSKYcKqYGgb0CjHQGk82wEItTfjV0AlAzu55WfXDThgD1XqNlHz9fRWtXi3R1E11EeHY1Ayn7c=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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

 




Archive powered by MHonArc 2.6.19.

Top of Page