pgsql-listen-exchange setup issues

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

pgsql-listen-exchange setup issues

ppafford
This post was updated on .
Using the 0.2.0 version of https://github.com/aweber/pgsql-listen-exchange

Running: RabbitMQ 3.3.5, Erlang R14B04

I've tried each way to configure the plugin with no luck, what am I doing wrong?

1 - rabbitmq config :: /etc/rabbitmq/rabbitmq.config

[
  {pgsql_listen_exchange,
    [
      {host: "**********"},
      {port: 5432},
      {dbname: "postgres"},
      {user: "**********"},
      {password: "**********"}
    ]
  }
].

error log :: /var/log/rabbitmq/startup_err

Crash dump was written to: erl_crash.dump
could not start kernel pid (application_controller) (error in config file "/etc/rabbitmq/rabbitmq.config" (1): bad term)

2 - rabbitmq exchange :: no connection shown but the exchange looks to be configured

3 - rabbitmq policy ::


Validation failed [{<<"pgsql-listen-host">>,<<"**********">>}, {<<"pgsql-listen-port">>,5432}, {<<"pgsql-listen-dbname">>,<<"postgres">>}, {<<"pgsql-listen-user">>,<<"**********">>}, {<<"pgsql-listen-password">>,<<"**********">>}] are not recognised policy settings

Validation failed [{<<"x-host">>,<<"**********">>}, {<<"x-port">>,5432}, {<<"x-dbname">>,<<"postgres">>}, {<<"x-user">>,<<"**********">>}, {<<"x-password">>,<<"**********">>}] are not recognised policy settings

Validation failed [{<<"host">>,<<"**********">>}, {<<"port">>,5432}, {<<"dbname">>,<<"postgres">>}, {<<"user">>,<<"**********">>}, {<<"password">>,<<"**********">>}] are not recognised policy settings

4 - It's enabled with the plugin command

rabbitmq-plugins list
[sudo] password for ppafford:
[e] amqp_client                       3.3.5
[ ] cowboy                            0.5.0-rmq3.3.5-git4b93c2d
[ ] eldap                             3.3.5-gite309de4
[e] epgsql                            1.4.1-rmq3.3.x-0.2.0-git3318bd5
[e] mochiweb                          2.7.0-rmq3.3.5-git680dba8
[E] pgsql_listen_exchange             3.3.x-0.2.0
[ ] rabbitmq_amqp1_0                  3.3.5
[ ] rabbitmq_auth_backend_ldap        3.3.5
[ ] rabbitmq_auth_mechanism_ssl       3.3.5
[ ] rabbitmq_consistent_hash_exchange 3.3.5
[ ] rabbitmq_federation               3.3.5
[ ] rabbitmq_federation_management    3.3.5
[E] rabbitmq_management               3.3.5
[e] rabbitmq_management_agent         3.3.5
[ ] rabbitmq_management_visualiser    3.3.5
[ ] rabbitmq_mqtt                     3.3.5
[ ] rabbitmq_shovel                   3.3.5
[ ] rabbitmq_shovel_management        3.3.5
[ ] rabbitmq_stomp                    3.3.5
[ ] rabbitmq_test                     3.3.5
[ ] rabbitmq_tracing                  3.3.5
[e] rabbitmq_web_dispatch             3.3.5
[ ] rabbitmq_web_stomp                3.3.5
[ ] rabbitmq_web_stomp_examples       3.3.5
[ ] sockjs                            0.3.4-rmq3.3.5-git3132eb9
[e] webmachine                        1.10.3-rmq3.3.5-gite9359c7

UPDATED With Solution:

https://www.erlang-solutions.com/downloads/download-erlang-otp

Erlang needs to be at least R16 or greater
Loading...