jharting / openshift-rabbitmq-cluster

Deploys a RabbitMQ cluster in OpenShift
39 stars 52 forks source link

can't cd to /var/log/rabbitmq #5

Open gil0109 opened 5 years ago

gil0109 commented 5 years ago

When starting up, I see the following errors: /usr/lib/rabbitmq/bin/rabbitmq-plugins: 86: cd: can't cd to /var/log/rabbitmq /usr/lib/rabbitmq/bin/rabbitmq-server: 86: cd: can't cd to /var/log/rabbitmq 2018-11-14 03:13:32.860 [error] <0.98.0> Failed to open crash log file /var/log/rabbitmq/log/crash.log with error: permission denied

And running any command also shows the following error: $ rabbitmqctl list_queues /usr/lib/rabbitmq/bin/rabbitmqctl: 86: cd: can't cd to /var/log/rabbitmq Timeout: 60.0 seconds ... Listing queues for vhost / ...

Most of the Errors are removed if we add an environment variable: RABBITMQ_LOG_BASE = -