Conjur Enterprise - No container logs in Conjur Enterprise AMI

Conjur Enterprise - No container logs in Conjur Enterprise AMI

90
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:51 PM


Symptom


In the Conjur Enterprise AMI, the docker system logs (`docker logs conjur-appliance`) do not include the logs for the Conjur Enterprise services and only contain some operating system logs.

Environment


12.0;12.1
  • Conjur Enterprise AMI for versions 12.0 through 12.2.


Cause


This is caused by a defect in the AMI for these versions, giving the Conjur Enterprise logging component insufficient permissions to write logs to Docker.

Resolution


There is a workaround for this issue. To fix the Docker logging issue for the Conjur Enterprise AMI:
  1. Connect to the Conjur Enterprise EC2 instance running the Conjur Enterprise AMI. For example, using SSH.
  2. Start a shell session in the Conjur Enterprise Docker container with the command:
    docker exec -it conjur-appliance bash
  3. Edit the file /etc/default/syslog-ng. For example, with the command:
    nano /etc/default/syslog-ng
  4. In this file, uncomment the line below by removing the # character at the beginning of the line:
    #SYSLOGNG_OPTS="--no-caps"
  5. Restart syslog-ng with the command inside the docker container:
    service syslog-ng restart

Repeat these steps for each Conjur Enterprise EC2 instance using the Conjur Enterprise AMI.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000lWpCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail