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 mgrctl term before running steps inside the server container.

Procedure: Adjusting the Web UI Login Timeout Value
  1. Stop services:

    mgradm stop
  2. 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>
  3. Save and close the file.

  4. 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>
  5. Save and close the file.

  6. Restart services:

    mgradm start