perfsonar-user - Re: [perfsonar-user] MaDDash script error
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Andrew Lake <>
- To: Hyojoon Kim <>
- Cc: perfsonar-user <>
- Subject: Re: [perfsonar-user] MaDDash script error
- Date: Wed, 7 Dec 2016 15:58:35 -0500
- Ironport-phdr: 9a23:b4SdVRYaO2cjPj/58f9byzv/LSx+4OfEezUN459isYplN5qZocW6bnLW6fgltlLVR4KTs6sC0LuN9f26EjJdqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsrQjdqMYajIpiJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lKBUoByhqRJxwIDafZ+bO+Zlc6zHYd8XX3BMUtpNWyFDBI63cosBD/AGPeZdt4Twu10OogakBQayCuLk1zlGiWX13aIkzu8sFhvJ3Ao9ENMOq3nbss71OL0UUe+r0KnF1DPOZO5V1zfl8IXEbw4trPKWUb9+a8bcxlQjGxnEg1iTsYDpIS+Z2+AXv2WY7+dsT/yjh3Mlpg1rvzSiwsMhh4/UjYwP0F/E7z92wIMtKN24VkF7ZdmkHYNety6EOYZ6WMciTHpsuCogxb0GvoC7cDALyJQh2RHfd+SKf5WW7h/gTuqcLy10iX14dL6lhhu/8lCsyujmWcm11FZKoDBFkt7Jtn0VzRPT7NWIS/tm80i/wjaDzQbT5f9YIUwsj6rUN4YhwqIslpoUqUnDBjH5mF/4jK+NcUUk/PKn6/7+brX7vZ+TKZV0hxr6MqQvgcy/Hf84PhYUU2ia/+S8yKPs/Vf/QLpUkv06jLPVv47HKsQG9eaFBFp1w4Eh7BG5RxSn1ZxMn34AKlFtYAiGiYPkJ1bIZv30EKHsrU6rlWJCwfzcM6KpJpzOIzCXmbHtbJ5w8AhaxRZlnoMX3I5dFrxUeKG7YUT2rtGNVhI=
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
- [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.