简体   繁体   English

Glassfish的远程管理员不起作用

[英]Remote admin of glassfish does not work

I have a server on remote where i am logged by ssh. 我在ssh登录的远程服务器上。 I have unzip it the glassfish v 3.1.2 and follow the steps http://bbissett.blogspot.com.es/2012/01/asadmin-with-remote-glassfish.html until the part where enters in the link of admin(port 4848) There I am redirect by the browser to the web where the login loader (ip-glassfish-installed:4848) starts spinning and nothing happens. 我已经将glassfish v 3.1.2解压缩,并按照以下步骤进行操作: http://bbissett.blogspot.com.es/2012/01/asadmin-with-remote-glassfish.html,直到在admin()链接中输入的部分端口4848),浏览器将我重定向到Web,登录加载程序(ip-glassfish-installed:4848)开始旋转,但没有任何反应。

The log I got in the server is "User [] from host localhost does not have administration access|#]" But I have changed the admin password and login with it. 我在服务器中获得的日志是“来自主机localhost的用户[]没有管理访问权限|#]”,但是我已更改了管理员密码并使用该密码登录。 So I dont understand in first instance why I got the user empty. 所以我一开始不明白为什么我让用户空了。 Also, although I think is not related, says that the certificate has expired. 另外,尽管我认为没有关系,但说证书已经过期。

The problem is that the user I logged in the remote machine by ssh did not have the right permission to execute the domain, even after doing "sudo su". 问题是,即使执行“ sudo su”,我通过ssh登录到远程计算机的用户也没有执行域的正确权限。 If I enter in the remote machine with the root user everything works fine, or using "sudo su -" after login with the normal user. 如果我以root用户身份进入远程计算机,则一切正常,或者以普通用户身份登录后使用“ sudo su-”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM