Log collector fails to collect engine database with error "pg_dump: aborting because of server version mismatch"

Solution Verified - Updated -

Issue

  • Log collector is not collecting engine database. It's showing error below in the sos.log.
2018-07-09 23:51:15,006 INFO: [sos.sosreport:setup] executing 'sosreport --batch -o postgresql --tmp-dir=/tmp/logcollector-taj9OQ/working/log-collector-data -k postgresql.dbname=engine -k postgresql.dbhost=localhost -k postgresql.dbport=5432 -k postgresql.username=engine'
2018-07-09 23:51:15,046 ERROR: [plugin:postgresql] Unable to execute pg_dump. Error(pg_dump: server version: 9.5.9; pg_dump version: 9.2.18
pg_dump: aborting because of server version mismatch

Environment

  • Red Hat Virtualization 4.2.
  • sos-3.4-6.el7.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.