登录超时查错
默认情况下,SUSE Manager Web UI 要求用户在 30 分钟后重新登录。根据您的环境,可能需要调整登录超时值。
要调整该值,需要同时在 rhn.conf 和 web.xml 中进行更改。确保在 /etc/rhn/rhn.conf 中设置以秒为单位的值,在 web.xml 中设置以分钟为单位的值。这两个值必须表示相同的时间。
例如,要将超时值更改为一小时,请将 rhn.conf 中的值设置为 3600 秒,将 web.xml 中的值设置为 60 分钟。
过程:调整 Web UI 登录超时值
- 
On the container host, open a command line inside the server container: mgrctl term- 
打开 /etc/rhn/rhn.conf并添加或编辑下面一行内容,以包含以秒为单位的新超时值:web.session_database_lifetime = <以秒为单位的超时值> 
- 
保存并关闭该文件。 
- 
打开 /etc/tomcat/web.xml并添加或编辑以下行,以包含以分钟为单位的新超时值:<session-timeout>Timeout_Value_in_Minutes</session-timeout>
- 
保存并关闭该文件。 
 
- 
- 
On the container host, restart the server to enforce the new configuration: systemctl restart uyuni-server.service