[英]Payara Admin must be enabled to access the DAS remotely
I was facing the following error on Payara41's Admin Console: 我在Payara41的管理控制台上遇到以下错误:
So I tried to enable admin security with the following: 因此,我尝试通过以下方式启用管理员安全性:
$ ./asadmin --host localhost enable-admin-security --port 4949
But I get: 但是我得到:
Unknown error
Command enable-admin-security failed.
I've also tried without --host
and --port
options, but then: 我也尝试了不使用
--host
和--port
选项,但是然后:
Command enable-admin-security not found.
Check the entry of command name. This command may be provided by a
package that is not installed.
Command enable-admin-security failed.
Has anyone already faced this kind of problem with Payara 4.1? 有没有人遇到过Payara 4.1这样的问题?
To enable secure admin, use enable-secure-admin
command instead of enable-admin-security
as following; 要启用安全管理员,请使用
enable-secure-admin
命令而不是enable-admin-security
,如下所示;
$ ./asadmin --host localhost enable-secure-admin --port 4949
If you have not set admin password yet (in the default, admin password is not set), you need to set using 'change-admin-password' command before run 'enable-secure-admin'. 如果尚未设置管理员密码(默认情况下未设置管理员密码),则需要先使用“ change-admin-password”命令进行设置,然后再运行“ enable-secure-admin”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.