Web User Interface fails to load with: HTTP Status 404 – not found

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

Environment

SUSE Manager Server 4.3

Situation

After applying updates and restarting the server, attempting to open the web UI fails with the following error:
 
HTTP Status 404 - not found
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

 
In the /var/log/tomcat/catalina.out log file the following can be seen, excerpt:
 
16-May-2023 13:40:40.599 SEVERE [main] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [/etc/tomcat/Catalina/localhost]
16-May-2023 13:40:40.618 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/srv/tomcat/webapps/rhn]
16-May-2023 13:40:40.694 WARNING [main] org.apache.catalina.core.StandardContext.postWorkDirectory Failed to create work directory [/usr/share/tomcat/work/Catalina/localhost/rhn] for context [/rhn]
 ...
16-May-2023 13:40:55.027 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/rhn] startup failed due to previous errors

Resolution

Make sure the following directories under /var/cache/tomcat/ exist with the appropriate rights:
 
/var/cache/tomcat
drwxrwxr-x 3 root tomcat   23 Apr 24 10:59 Catalina
drwxrwx--- 2 root tomcat 4096 Apr 24 11:00 temp
drwxrwx--- 3 root tomcat   22 Apr 24 10:59 work

Cause

Missing directories / incorrect rights in /var/cache/tomcat

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:000021077
  • Creation Date: 19-May-2023
  • Modified Date:19-May-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