Troubleshooting Login Timeouts
By default, the SUSE Manager Web UI requires users to log in again after 30 minutes. Depending on your environment, you might want to adjust the login timeout value.
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.
Use |
-
Stop services:
mgradm stop
-
Open
/etc/rhn/rhn.conf
and add or edit this line to include the new timeout value in seconds:web.session_database_lifetime = <Timeout_Value_in_Seconds>
-
Save and close the file.
-
Open
/etc/tomcat/web.xml
and add or edit this line to include the new timeout value in minutes:<session-timeout>Timeout_Value_in_Minutes</session-timeout>
-
Save and close the file.
-
Restart services:
mgradm start