Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

FATAL: could not load library "/usr/local/pgsql/lib/multimaster.so" #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dexalex84 opened this issue May 1, 2017 · 0 comments
Open

Comments

@dexalex84
Copy link

dexalex84 commented May 1, 2017

Hello

Tried to start postgres service on CentOS 7 and got an error:

FATAL:  could not load library "/usr/local/pgsql/lib/multimaster.so": /usr/local/pgsql/lib/multimaster.so: undefined symbol: IndexRelationGetNumberOfKeyAttributes
LOG:  database system is shut down

All build/installation from source was done with no errors.

Made changes in postgresql.conf and pg_hba.conf:

parts of postgresql.conf:

max_wal_senders = 10  # at least the number of nodes 
max_replication_slots = 10  # at least the number of nodes 
max_connections = 100                   
max_prepared_transactions = 300 
wal_level = logical  
shared_preload_libraries = multimaster
multimaster.max_nodes = 3
multimaster.node_id = 1
multimaster.conn_strings = 'dbname=mydb host=192.168.56.141,dbname=mydb host=192.168.56.142,dbname=mydb host=192.168.56.143'

*1) mydb i did not create yet
*2) other host are were not created yet

parts of pg_hba.conf

local replication postgres trust
host replication postgres 127.0.0.1/32 trust
host replication postgres ::1/128 trust

Installed on new empty dist of CentOS 7 on VirtualBox WM(Host Win10)
CentOS Linux release 7.3.1611 (Core)

  • if i comment these lines - i can start without errors:
#multimaster.max_nodes = 3
#multimaster.node_id = 1
#multimaster.conn_strings

What can it be? I think it's problem with path/filename '/usr/local/pgsql/lib/multimaster.so' - it was not found.
But how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant