-1

This error reflects server not yet started

Job for postgresql-15.service failed because the control process exited with error code. See "systemctl status postgresql-15.service" and "journalctl -xeu postgresql-15.service" for Details.

I'm expecting how to set up replication on two different servers s

  • It's certainly possible. You'd need to figure out *why* your service is failing. Somewhere in your logs will be substantially more detail than "process exited with error code". – ceejayoz Aug 30 '23 at 15:07
  • I was checked log files but they didn't show any error and also checked with postgresql.auto.conf the problem was starting the server – vamsi krishna yadav Aug 30 '23 at 15:15
  • Debian directory -D /var/lib/postgresql/15/main , conf file /etc/postgresql/15/main centos directory -D /var/lib/pgsql/15/data conf_file /var/lib/pgsql/15/data/pg_hba.conf – vamsi krishna yadav Aug 30 '23 at 15:18
  • You need to use the C collation, or you need to use the same version of glibc or ICU on both machines if you want to avoid data corruption. – Laurenz Albe Aug 31 '23 at 07:08

0 Answers0