Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Hyojoon Kim <>
- To: Andrew Lake <>
- Cc: perfsonar-user <>
- Subject: Re: [perfsonar-user] MaDDash script error
- Date: Wed, 7 Dec 2016 21:13:36 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:6mXmVhXpCE62ORRUnkneZankb+vV8LGtZVwlr6E/grcLSJyIuqrYbBSPt8tkgFKBZ4jH8fUM07OQ6PG7HzFaqsje+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG4oAnLtsQan4RuJ6czxxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuBKvqQJizY7Ibo+bN/R+caHcfdwGSmVMRdxeWzBEAo6mc4cDE+gMMOBFpIf9vVsOqh6+CBGuCuLvzT9IhHj23ao80+88FA/G3QkgFM8JvXTWq9X1M6ESUeOuwanQ1zXDbvVW1ivj54jUdRAhp+uAUqxtfsrM0EQiER7OgFuXqYzgJTyV1+INvnCF4Op7T+6vjXAoqx13rzOyxckskpHEip8Lxl3H7yl13Zs5KcOiREJmf9KpE4Fcuz+HO4Z2Ws8uXm5ltDogxrEbupO3YDIGxIo5yxPQcfCLbYaF7g/7WOqMIDp1gGhpdKy/ihu960StyvfwWtS73VtIqCdOj8PCuWoX1xPJ78iKUvt98Vml2TaIzw3d8PtEIUEylaXHNZEh3rkwlpwJvUrMECH5ll36jK6Qdko65uil8/nrbqvlq5OGKoN4lx/yPr4zlsChAuk0KBYCU3Wb9Oik0b3s50z5QLFEjv0slanZtYjXJcYcpq6+BQ9V0Z0u6w6lDzen1tQXgWcILE5CeBKBlYTmJUzBIO3gAfeln1usiCtrx+zBPrD5GpXCMGLDkLn6fbZ67U5T0hAzwclC55JPFL4BOun+WkvwtNzDEh85KBK4z/zmCNV7yoMRR3iPAqmHP6POr1OE/PwgLPSRZNxdhDGoAv4p/fPxxVswmlJVKaCv0Yo/ZWv+GPl6dRa3e33p1/cQFmUNuQx2b+3vwAmAVjlVZF6qRaM67TwnD4TgAIveENP+yIed1Tu2S8UFLltNDUqBRC/l
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.