After upgrade it is not possible to log into the web interface

This document (000020989) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager Server 4.2
SUSE Manager Server 4.3

Situation

After upgrading the server from 4.2.x to 4.3.x the following error messages are logged when attempting to log into the web user interface;

In "/var/log/rhn/rhn_web_ui.log":
 
2023-02-27 10:23:44,356 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-3] WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 0, SQLState: 42P01
2023-02-27 10:23:44,357 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-3] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - ERROR: relation "hibernate_sequence" does not exist Position: 17
2023-02-27 10:23:44,357 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-3] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back org.hibernate.exception.SQLGrammarException: could not extract ResultSet

In "/var/lib/pgsql/data/log/postgresql-<date>_*.log":
 
2023-02-27 10:23:00.082 CET susemanager susemanager [13423]STATEMENT: select 'c3p0 ping' from dual
2023-02-27 10:23:00.106 CET susemanager susemanager [13151]ERROR: relation "hibernate_sequence" does not exist at character 17
2023-02-27 10:23:00.106 CET susemanager susemanager [13151]STATEMENT: select nextval ('hibernate_sequence')
2023-02-27 10:23:00.107 CET susemanager susemanager [13151]ERROR: current transaction is aborted, commands ignored until end of transaction block
2023-02-27 10:23:00.107 CET susemanager susemanager [13151]STATEMENT: select 'c3p0 ping' from dual

Resolution

Run "zypper patch" or "zypper up" to make sure all available updates are installed.

Cause

After the upgrade there is a version mismatch between some of the "spacewalk-java*" packages, for example:
 
spacewalk-java-lib
spacewalk-java-postgresql
spacewalk-java
spacewalk-java-config

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020989
  • Creation Date: 02-Mar-2023
  • Modified Date:02-Mar-2023
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center