search cancel

The automic-connector will not start after a reinstall - automic-connector.service: main process exited, code=exited, status=1/FAILURE

book

Article ID: 253248

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

After reinstalling the automic-connector the service will not start and the log file connector-framwork.log is not updating.

-bash-4.2$ dzdo systemctl status automic-connector
* automic-connector.service - Automic-Connector
   Loaded: loaded (/etc/systemd/system/automic-connector.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2022-10-31 11:32:40 EDT; 38s ago
  Process: 18285 ExecStart=/bin/bash -c java -jar /opt/automic-connector/automic-connector.jar (code=exited, status=1/FAILURE)
 Main PID: 18285 (code=exited, status=1/FAILURE)

Oct 31 11:32:40 dc04dlvorc302 Automic-Connector[18285]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5...r!/:5.3.13]
Oct 31 11:32:40 dc04dlvorc302 Automic-Connector[18285]: at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spri...r!/:5.3.13]
Oct 31 11:32:40 dc04dlvorc302 Automic-Connector[18285]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory....r!/:5.3.13]
Oct 31 11:32:40 dc04dlvorc302 Automic-Connector[18285]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.ja...r!/:5.3.13]
Oct 31 11:32:40 dc04dlvorc302 Automic-Connector[18285]: at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887)...r!/:5.3.13]
Oct 31 11:32:40 dc04dlvorc302 Automic-Connector[18285]: at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[sp...r!/:5.3.13]
Oct 31 11:32:40 dc04dlvorc302 Automic-Connector[18285]: ... 27 more
Oct 31 11:32:40 dc04dlvorc302 systemd[1]: automic-connector.service: main process exited, code=exited, status=1/FAILURE
Oct 31 11:32:40 dc04dlvorc302 systemd[1]: Unit automic-connector.service entered failed state.
Oct 31 11:32:40 dc04dlvorc302 systemd[1]: automic-connector.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Environment

Release : Automic Connector 2.1.3

Resolution

When checking the log directory you may see an existing /var/log/connector-framework/connector-framework.log file owned by root from a previous installation attempt.

 

Delete all /var/log/connector-framework/connector-framework.log files and reinstall the automic-connector service.

 

sudo rm -rf /var/log/connector-framework/connector-framework*

 

Steps to uninstall the automic-connector can be found here.

Steps for installing the 2.1.3/3.0.0 can be found here.

Additional Information

Note the log file location may vary depending on the version of the automic-connector you are running, this document is specific to 2.1.3.

For 3.0.0 the log files will be written to /var/log/connector-framework/messages.