4 Replies Latest reply on Dec 4, 2017 12:51 AM by Kobus Duminy

    Running ARS 9.0 as non-root on Linux

    Paul Storey

      Has anyone been successful in get ARS 9.0 to run under a non-root user after the installation was done under root.  Our installs were all done as root, but we need to change the startup so that everything runs under non-root.  We changed ownership of everything in /opt/bmc, /etc/arsystem and usr/java to our service account, but when we try starting AR services we get a permission error.  Here's a snippet of the error log.  Thanks!!!

       

      Wed Nov 29 15:59:44.798 2017 Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=com.bmc.arsys.server, config=spring-context/base_context.xml,spring-context/infrastructure_se ptran_context.xml,spring-context/profiles/aspectj_ctw/application_context.xml,spring-context/osgi.xml))

      • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlHelper' defined in URL [bundleentry://163.fwk1874154700/spring-context/application/sql_context.xml]: Canno t resolve reference to bean 'configurator' while setting bean property 'configurator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ar TransactionalManager' defined in URL [bundleentry://163.fwk1874154700/spring-context/application/aspects_context.xml]: Cannot resolve reference to bean 'cacheManager' while setting bean property 'c acheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in URL [bundleentry://163.fwk1874154700/spring-contex t/application/cache_context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.bmc.arsys.server.ca che.impl.ehcache.ARCacheManager]: Constructor threw exception; nested exception is FATAL (447): Message not in catalog; Message number = 447; Error while configuring cachemanager: java.io.IOExcepti on: Permission denied