CA Directory DXagent is not starting
search cancel

CA Directory DXagent is not starting

book

Article ID: 372963

calendar_today

Updated On:

Products

CA Directory

Issue/Introduction

The Dxagent is not getting started on upgrading the CA directory from 14.1sp3 to 14.1 sp5 with the below error.

OSError: [Errno 97] Address family not supported by protocol

[cherrypy.error] [ERROR] [12/Jul/2024:19:12:16] ENGINE Shutting down due to error in start listener:

Environment

CA Directory 14.1 sp5 

Cause

The issue usually happens as an IPv6 address is requested and the system isn't configured for that. So, the problem isn't with the software but rather with the OS and network configuration

Resolution

Steps to verify:

1. Make sure the os hostname is resolvable. e.g. ping Server hostname . If not, add the entry to your /etc/host file. 
2. Check if ipv6 is disabled. If we are using a RHEL8, the file location should be in /etc/sysctl.conf. We may need to enable it and retry if it's disabled.

Also, one more thing to try is to update your DX_HOME/dxserver/dxagent/dxagent_config.py file and add the below

DXAGENT_HOST='<your_ip>' 

And then restart the dxagent. 

This will tell the DXagent to bind to the IPv4 address. You can use 0.0.0.0 to bind to all IPs or 127.0.0.1 to local only, depending on the need.