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: Andrew Lake <>
  • To: Zhi-Wei Lu <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] RE: perfsonar configuration error
  • Date: Tue, 11 Sep 2018 13:59:31 -0400
  • Ironport-phdr: 9a23:p2YtaxJOzxDHmC8s/tmcpTZWNBhigK39O0sv0rFitYgXKvz4rarrMEGX3/hxlliBBdydt6obzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlKiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSgFOT438G/ZhM9tgqxFvB2svAZwz5LObYyPKPZyYqHQcNUHTmRBRMZRUClBD5ugYosJEuUBJ/hXrofgrFUItxS+BhejD/7oxzBSgH/5wK073v8/HgHdxgAgGcwBsGjNodjzKawcX+e1zKzSwjXCafNbwTb96I7Uch8/u/GMW6x/cdbPxUU1CQzKk0iQpZTlPzOJyuQNq3WU4Pd6Wu2xjm4nrAdxojm0xsc2l4nJgJgaykvZ9SVi3ok1P8e3SFZhbtG4EJtfqTuVN5NsTcw+Q2Fnpjw2yr0BuZ+1ZCQKx5UnxwLfa/yaaIeI/wnjW/iLIThkg3Jlfq6/iAi08Ui80OHzSs600FNMoyFYkdfMrmgA2wHN5sWEUPdw8F2t1DmS2wzJ6OxIPFg4mbTHJ5Ml2LI9lZoevV7dEiPrm0j6lq2belsi9+O18eroeK/mqYWZN4JsigHxLKAumsunDOQ2LAcDUHKX+eCn273n50H5T7JKjuMunqnYtpDVO9gbq7akDwNL0Ysv8RiyAy2p3dgFh3UKLk9JdAqCj4fzOlHOJP74De24g1SpiDpk3fbGMaDhA5jWMHfDi63tfbBj5E5A0AYz18xQ54pICrEdJ/L+Qlfxu8LCDh83KAy0xODnB89n1o8HRGKPGbGWMLnJvF+M5+IvOPWMZJQLtDrnKvgl4eLugmEjmV8bY6apwYUbZGqmEft7PkXKKUfqmcoLRGcWohIlHqutjFyZTSUVZnCuUrg66y1hTo+qEMDYV4W1ifua3Si9GZNYIXhLEF6XFnHhbcCZQPoWOx+UOdJrxzwYSaC6Gchm0RC1qBS8jbthMufO/CAE79Tu2MUy/PzWjRh17j17CcOT3SaVQnt6hWQOTiVzwbtyux9AzEye2/14n+BADo4UoPdISRshc5/a0+FgDd3uAETMcsrOG2qhF+emAHQOQ9N558JGN1RiH8iKkxvP1jSrGPkYm6HdV7Iu9aeJ9n79Pctig1LP16Rp21AgTtpnOHbggKNjoVuAT7XVmlmUwv75PZ8X2zTAoT+O

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