Rabbitmq Will Not Start with Message: "no such file or directory","asn1.app"
search cancel

Rabbitmq Will Not Start with Message: "no such file or directory","asn1.app"

book

Article ID: 290969

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

Rabbitmq service does not start when running 'service cb-enterprise start' command.  

  • Following message reported in /var/log/cb/rabbitmq/[email protected]’ file: 
    Error description: 
    {error,{"no such file or directory","asn1.app"}} 
    
    Stack trace: 
    [{app_utils,load_applications,2,[{file,"src/app_utils.erl"},{line,106}]}, 
    {app_utils,load_applications,1,[{file,"src/app_utils.erl"},{line,39}]}, 
    {rabbit,start_apps,2,[{file,"src/rabbit.erl"},{line,482}]}, 
    {rabbit,broker_start,0,[{file,"src/rabbit.erl"},{line,302}]}, 
    {rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,424}]}, 
    {rabbit_clusterer_utils,'-spawn_starter/1-fun-0-',1, 
    [{file,"src/rabbit_clusterer_utils.erl"}, 
    {line,54}]}]

Environment

  • Carbon Black EDR: All Versions. 

Cause

Erlang directory is corrupt.

Resolution

Reinstall Erlang package with following steps:

  1. Stop the EDR services: How to Start, Stop and Restart EDR Application Services
  2. Reinstall Erlang package:
    yum reinstall erlang
  3. Start EDR services: How to Start, Stop and Restart EDR Application Services