登录超时查错
默认情况下,SUSE Multi-Linux Manager Web UI 要求用户在 30 分钟后重新登录。根据您的环境,可能需要调整登录超时值。
To adjust the value, you need to make the change in both rhn.conf and web.xml. Ensure you set the value in seconds in /etc/rhn/rhn.conf, and in minutes in web.xml. The two values must equal the same amount of time.
For example, to change the timeout value to one hour, set the value in rhn.conf to 3600 seconds, and the value in web.xml to 60 minutes.
过程:调整 Web UI 登录超时值
-
在容器主机上,在服务器容器内打开命令行:
mgrctl term-
Open
/etc/rhn/rhn.confand add or edit this line to include the new timeout value in seconds:web.session_database_lifetime = <以秒为单位的超时值>
-
保存并关闭该文件。
-
Open
/etc/tomcat/web.xmland add or edit this line to include the new timeout value in minutes:<session-timeout>Timeout_Value_in_Minutes</session-timeout> -
保存并关闭该文件。
-
-
在容器主机上,重启服务器以强制应用新配置:
systemctl restart uyuni-server.service