Smarts NCM: Tomcat server returns "Permission denied" error on service restart
search cancel

Smarts NCM: Tomcat server returns "Permission denied" error on service restart

book

Article ID: 303486

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




Tomcat server in Smarts Network Configuration Manager (Smarts NCM) returns "Permission denied" error on service restart
Receive the following error in Smarts NCM environment after stopping and restarting Tomcat server:

Starting tomcat: bash: /usr/tomcat/apache-tomcat-6.0.35/.bash_profile: Permission denied
[FAILED]



Initial start of Tomcat server in Smarts NCM is successful but restart fails

Environment

VMware Smart Assurance - NCM

Cause

Tomcat was not removed before installing Smarts NCM. In this condition, Tomcat permissions for Smarts NCM will not set be set properly.

Resolution

If you encounter this issue, run the following commands:

chown tomcat:tomcat /usr/tomcat/apache-tomcat-6.0.35/.bash_profile

service tomcat restart