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: Hyojoon Kim <>
  • To: Andrew Lake <>
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] MaDDash script error
  • Date: Wed, 7 Dec 2016 21:02:37 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:IDqJZxLeuYmllQZ6B9mcpTZWNBhigK39O0sv0rFitYgeKvTxwZ3uMQTl6Ol3ixeRBMOAuqkC1rCd7f2ocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDSwbalyIRmoognct8kbipZ+J6gszRfEvmFGcPlMy2NyIlKTkRf85sOu85Nm7i9dpfEv+dNeXKvjZ6g3QqBWAzogM2Au+c3krgLDQheV5nsdSWoZjBxFCBXY4R7gX5fxtiz6tvdh2CSfIMb7Q6w4VSik4qx2ThLjlSUJOCMj8GzPisJ+kr9VoA6vqRJ8zY7bYoCVO+Zxca7GZ9wWWW9BU9xNWyBdAI6xaZYEAeobPeZfqonwv1kArBu5BQmuA+PvzTlIjWLz06071uQqDAbL3A4nH9IJtnTUr874NL8IUeC0yqnH0SvMb+9R2Tf78oTHbA0uoeyVUL92bMHfx04vFwbfgVWRr4zoJy2a1v8Xv2id8eVgSeSigHMkpQFpujWj29kgh4rTio4I11zI6z91zJsrKdC7UkJ3f8OoHZVIuy2HOIZ6XtkuT3xrtSom0LEKp4C3cScQxJg5yRPTduSLf5WJ7x/nTuqdPzd1iX1/dL+/nRq+7Eetx+/6W8KpylhFtDBFncPJtn0V1xzc9MyHSvxl80m7wzaP1gbT5f1aLkAokqrbLYQtzLE+mJUdqUjDHyn2l1vqjKKOa0ko5Oul5/76brn7uJOQLZJ4hh/9P6g0hMCzHOo1PhALX2eB+OS80LPj/Vf+QLVPlvA2kK7ZsJfcJcQYvaO5GxVV0ocl6xmjETimzNMYnX8dIF1bZR2HkpDlO0vSL/DgEfe/n1OsnS9zx//YJL3hDI7NLn/FkLj7Z7Zx8lNcyBEtwtBF/J9UDrABIOnvWk/qqtDUFB45Mwqow+n5EtV90J0RWX6RDqODLqzdrEKItaoTJLylYoMPtSm1D/Em6ra6hHk1iHcQZu+v0IdBO16iGfEzA1SeY33rhJ8iEGJC6gg5S+rpoEWYUDhYamq1WeQx6ixtW9HuNpvKWo342O/J5yy8BJADPm0=

Hi Andy, 

If I do that, should I do this?

-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