Important Update: Cohesity Products Knowledge Base Articles


All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.

The nbwmc service fails to start after upgrading NetBackup to version 10.4 on Linux

Article: 100069797
Last Published: 2025-02-04
Ratings: 1 0
Product(s): NetBackup

Problem

The NetBackup Primary server nbwmc service fails to start after an upgrade to NetBackup version 10.4. All required NetBackup services are running.
 

Error Message

/usr/openv/wmc/webserver/logs/catalina.* log reports a problem reading the operating system's /etc/resolv.conf configuration file:


07-Aug-2024 15:01:38.604 INFO [Catalina-utility-6] org.apache.catalina.core.StandardContext.checkUnusualURLPattern Suspicious URL pattern: [/bare-metal-restore/external-procedures*] in context [/netbackup], see sections 12.1 and 12.2 of the Servlet specification
07-Aug-2024 15:01:38.608 INFO [Catalina-utility-6] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
07-Aug-2024 15:02:07.696 SEVERE [Catalina-utility-6] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
        org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webSocketMessageBrokerStats'


.....<snip>.....

       Caused by: java.lang.IllegalStateException: /etc/resolv.conf could not be read
                at io.netty.resolver.dns.ResolvConf.system(ResolvConf.java:66)
                at io.netty.resolver.dns.DefaultDnsServerAddressStreamProvider.<clinit>(DefaultDnsServerAddressStreamProvider.java:57)
                ... 93 more

 

Cause

Either the /etc/resolv.conf doesn't exist or the file has incorrect permissions, rather than the default 644, which makes it inaccessible to the nbwebsvc user.
 

 

Solution

1. If permissions are incorrect, they can be fixed with the command: chmod 644 /etc/resolv.conf

2. If the file doesn't exist and DNS is not configured, create the the and add the single line below to the file, which is the default for systemd-resolved:
nameserver 127.0.0.53

In any other scenario, contact the system administrator to configure it accordingly.

In the absence of the aforementioned Catalina log error, always ensure all NetBackup services are running per the article below:

 

Was this content helpful?