Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] MaDDash script error

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] MaDDash script error


Chronological Thread 
  • From: Andrew Lake <>
  • To: Hyojoon Kim <>
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] MaDDash script error
  • Date: Wed, 7 Dec 2016 16:44:49 -0500
  • Ironport-phdr: 9a23:KZ5mcBaPCAo57EqcZ4HjHmv/LSx+4OfEezUN459isYplN5qZoM2ybnLW6fgltlLVR4KTs6sC0LuN9f26EjNYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsrQjdqMYajIl+Jq0s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lKBUoByhqRJxwIDafZ+bO+Zlc6zHYd8XX3BMUtpNWyFDBI63cosBD/AGPeZdt4Twu10OogakBQayCuLk1zlGiWX13aIkzu8sFhvJ3Ao9ENMOq3nbss71OL0UUe+r0KnF1DPOZO5Y1zf67YjHaBEhofeUUL1uasrd008vGB3ZjliWtIfrPCuV2/wQv2SF7OdsT+yih3Qopg1suDSixNoghpHXio4Jzl3I7yZ0zYYvKdGmVUJ2b8SoHZlMuyycKoB4WNktQ3tytyY/0rAGuYC0fCwNyJk/yR7QdfOKf5KM4h34UOadOzh4hHV7eL6nhhay91avyvHkW8WpzlpHrTBJn9fWun0CyhDf8MqKRuZl8kekwzmP1gTT6u9eIUAzkKrWM4QuwrgtmZsTqknMADT2lF/wjKCIakUo4vKo5Pj/YrX6up+cMJd5ihngPaQ0lMy/GuM4Mg4UUGiB4Oi8yabj8lPjQLhRiv02k7LZsIzBJcgFvKK5AglV0po95BalCTepzsgYkWcdIF1bZR2HktuhB1abAOH/D/C4hRyPkTIjk/LBObviKo3XL37Inavme/Bw51MKmyQpytUKzpRYELweaNb6WUK54NXeAg4RPhfyxev7XoYunrgCUH6CV/fKeJjZtkWFs7oi

Perfect, thanks.

Andy

On Dec 7, 2016 4:14 PM, "Hyojoon Kim" <> wrote:
Hello, 

So doing that works. Thanks! 

I also made restart_services to 0. I also followed the 3 steps here:

Regards,
Joon 

On Dec 7, 2016, at 4:02 PM, Hyojoon Kim <> wrote:

Hi Andy, 

If I do that, should I do this?
http://software.es.net/maddash/mesh_config.html#non-perfsonar-toolkit-nodes

-Joon

On Dec 7, 2016, at 3:58 PM, Andrew Lake <> wrote:

Hi,

In /etc/perfsonar/meshconfig-guiagent.conf set use_toolkit to 0 and then run the script again. That will cutout the config daemon which is likely blocking things things and not really necessary. 

Hope that helps!
Andy

On Dec 7, 2016 3:36 PM, "Hyojoon Kim" <> wrote:
Hello, 

Running the "/usr/lib/perfsonar/bin/generate_gui_configuration” script is spitting out an error as below. Is there a way to fix this and successfully update maddash.yaml? 

[root@perfsonar-ma-2 cron.d]# /usr/lib/perfsonar/bin/generate_gui_configuration 

2016/12/07 15:08:40 (27242) ERROR> ConfigClient.pm:97 perfSONAR_PS::NPToolkit::ConfigManager::ConfigClient::saveFile - Problem writing file /etc/maddash/maddash-server/maddash.yaml: Code execution error: Method writeFile returned error: Access denied at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/NPToolkit/ConfigManager/ConfigDaemon.pm line 151.
2016/12/07 15:08:40 (27242) ERROR> GUIAgent.pm:330 perfSONAR_PS::MeshConfig::GUIAgent::__write_file - Problem writing to /etc/maddash/maddash-server/maddash.yaml: Couldn't save /etc/maddash/maddash-server/maddash.yamlvia toolkit daemon at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/GUIAgent.pm line 319.
2016/12/07 15:08:40 (27242) ERROR> GUIAgent.pm:246 perfSONAR_PS::MeshConfig::GUIAgent::__configure_guis - Problem writing maddash.yaml: Problem writing to /etc/maddash/maddash-server/maddash.yaml: Couldn't save /etc/maddash/maddash-server/maddash.yamlvia toolkit daemon at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/GUIAgent.pm line 319.
[root@perfsonar-ma-2 cron.d]#

I tried to run as perfsonar or maddash user, but it seems not to work: 
[root@perfsonar-ma-2 hyojoonk]# su - maddash -c "/usr/lib/perfsonar/bin/generate_gui_configuration"
This account is currently not available.
[root@perfsonar-ma-2 hyojoonk]# su - perfsonar -c "/usr/lib/perfsonar/bin/generate_gui_configuration" 
This account is currently not available.
[root@perfsonar-ma-2 hyojoonk]# 

Further investigation revealed that the cron job for creating the “/etc/maddash/maddash.yaml” using our "mesh.json" file (/etc/cron.d/perfsonar-meshconfig-guiagent), which runs daily at 2am, was failing all along with the same error. I’m not sure since when. 

Some additional information: 
  - We have the perfsonar toolkit installed on this MaDDash node. Thus, I have following options as 1 in “/etc/perfsonar/meshconfig-guiagent.conf": "use_toolkit 1”, "restart_services 1”. And I want to keep it that way. 
  - “/etc/maddash/maddash.yaml” has the following permission property (disregard the modification date. That was done manually by me, not by any script).
-rw-r--r-- 1 maddash maddash 42290 Dec  7 15:15 maddash.yaml
  - perfsonar version is: v3.5.1.7 (RPM version: 3.5.1.7-1)
  - MaDDash version:  v1.4-1.el6 


Thanks, 
Joon 







Archive powered by MHonArc 2.6.19.

Top of Page