"Brian Tehan" (via perfsonar-user Mailing List)
2021-04-14 21:19:31 UTC
Bringing this back up to the top in the hope that someone has seen a similar issue and knows of a fix.
Thanks.
Brian Tehan
Network Engineer | University of Nebraska ITS
Eppley Administration Building
6001 Dodge St EAB009F, Omaha, NE 68182-0051
402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>
From: Brian Tehan
Sent: Tuesday, March 23, 2021 2:04 PM
To: perfsonar-***@internet2.edu
Subject: PWA RPM setup issue
Hello,
I've installed PWA using RPM<https://docs.perfsonar.net/pwa_install_rpm.html> on a CentOS 7 machine that already has PerfSONAR setup and working on it. I'm going through the PWA guide and when I get to User Management<https://docs.perfsonar.net/pwa_user_management.html#listing-accounts> the pwa_auth command throws an error:
[***@nn-lnk-perfsonar ~]$ pwa_auth listuser
/etc/perfsonar/psconfig-web/auth/index.js:103
exports.x509 = {
^
SyntaxError: Unexpected token .
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/auth/bin/auth.js:9:14)
Also, when I go to https://<hostname>/pwa/api/pwa/health<https://%3chostname%3e/pwa/api/pwa/health> I get the following error:
{"status":"failed","msg":"no hosts!","cache":{"hosts":0,"update_time":1616523927478}}
I feel like I'm missing something, could someone point me in the right direction, please?
Thanks.
Brian Tehan
Network Engineer | University of Nebraska ITS
Eppley Administration Building
6001 Dodge St EAB009F, Omaha, NE 68182-0051
402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>
Thanks.
Brian Tehan
Network Engineer | University of Nebraska ITS
Eppley Administration Building
6001 Dodge St EAB009F, Omaha, NE 68182-0051
402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>
From: Brian Tehan
Sent: Tuesday, March 23, 2021 2:04 PM
To: perfsonar-***@internet2.edu
Subject: PWA RPM setup issue
Hello,
I've installed PWA using RPM<https://docs.perfsonar.net/pwa_install_rpm.html> on a CentOS 7 machine that already has PerfSONAR setup and working on it. I'm going through the PWA guide and when I get to User Management<https://docs.perfsonar.net/pwa_user_management.html#listing-accounts> the pwa_auth command throws an error:
[***@nn-lnk-perfsonar ~]$ pwa_auth listuser
/etc/perfsonar/psconfig-web/auth/index.js:103
exports.x509 = {
^
SyntaxError: Unexpected token .
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/perfsonar/psconfig-web-admin/auth/bin/auth.js:9:14)
Also, when I go to https://<hostname>/pwa/api/pwa/health<https://%3chostname%3e/pwa/api/pwa/health> I get the following error:
{"status":"failed","msg":"no hosts!","cache":{"hosts":0,"update_time":1616523927478}}
I feel like I'm missing something, could someone point me in the right direction, please?
Thanks.
Brian Tehan
Network Engineer | University of Nebraska ITS
Eppley Administration Building
6001 Dodge St EAB009F, Omaha, NE 68182-0051
402.554.6428 | ***@nebraska.edu<mailto:***@nebraska.edu>