perfsonar-user - [perfsonar-user] MaDDash script error
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Hyojoon Kim <>
- To: perfsonar-user <>
- Subject: [perfsonar-user] MaDDash script error
- Date: Wed, 7 Dec 2016 20:35:57 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:q8gUqBMplDH/wImrReAl6mtUPXoX/o7sNwtQ0KIMzox0LfX/rarrMEGX3/hxlliBBdydsKMfzbeM+P67EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6zbL9oLBi6swrdu8gYjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVRnlgzoFOTEk6mHaksx+grxGrhK9qRJxwI/Ub52aO/dlZKzRYdYaSHBdUspNVSFMBJ63YYsVD+oGOOZVt4vzplsJrRu8AgmsA+XvwSJNiH/32K0xzuMsEQPB3AwnGdIOs2/ZrM3vNKcTV+C60LfHzSnEb/NQwzvy9pXHcg04rPyKQLl+ctLRxFEyGw/bjVics5HpMy6L2ugXrmSX8eltWfixh2I6qwx9uiWjy8gwhoXTm44YyUzI+T9nzIorKtC0UlB3bNC5HJdIqi2XNo97Ttk8T2xotys20L0LtYSmcCUFypkqwQPUZeadfIiS+B3jUf6cITdmi3Jhf7Kynwy88VKhyu36Ssa7zkpKri1DktXWuX4D2RLc5tCGSvt74EihxS6C2x3N5uxHO0w4iLfXJ4A7zrItiJYesl7PEjHrlEj2lKOWc18r+ums6+TpeLXmoZqcOpd2igH5NaQunM+/DP8gMggUXmib//iz26P//U3+RrVGlOM5nbTEsJzCP8QUura5AxNJ0oYk8xu/Fymp0M4WnXkcK1JFfgiIj5LwN1HTO/D3E+2/jk+okDdq3PDGIqbhDovXInjClrfhYahy61RayAUt0dBT+YhYBa8cL/LuCQfNs4nAAwU3KAuyyvyiFc5wzMtKQW+VDLSeNqrI9EKT6/gHIu+QaZUTtSqnbfUp+qi9o2U+nAo9bK6r2pwRIFO5G7wyIUKeZ3nEms0AF2wHog04CuHmlQvRAnZoe3+uUvdktXkAA4W8ANKbSw==
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
|
- [perfsonar-user] MaDDash script error, Hyojoon Kim, 12/07/2016
- Re: [perfsonar-user] MaDDash script error, Andrew Lake, 12/07/2016
- Re: [perfsonar-user] MaDDash script error, Hyojoon Kim, 12/07/2016
- Re: [perfsonar-user] MaDDash script error, Hyojoon Kim, 12/07/2016
- Re: [perfsonar-user] MaDDash script error, Andrew Lake, 12/07/2016
- Re: [perfsonar-user] MaDDash script error, Hyojoon Kim, 12/07/2016
- Re: [perfsonar-user] MaDDash script error, Hyojoon Kim, 12/07/2016
- Re: [perfsonar-user] MaDDash script error, Andrew Lake, 12/07/2016
Archive powered by MHonArc 2.6.19.