Difference between revisions of "PostgreSQL data directory"

From wikieduonline
Jump to navigation Jump to search
(Created page with " Feb 15 11:12:24 ip-10-12-1-184 postgresql@14-main[10891]: Error: Data directory /data must not be owned by root {{postgreSQL.conf}}")
 
Line 1: Line 1:
  
 +
 +
sed -i s"/\/var\/lib\/postgresql\/14\/main"/"\/data"/ /etc/postgresql/*/main/[[postgresql.conf]]
  
 
  Feb 15 11:12:24 ip-10-12-1-184 postgresql@14-main[10891]: Error: Data directory /data [[must not be owned by root]]
 
  Feb 15 11:12:24 ip-10-12-1-184 postgresql@14-main[10891]: Error: Data directory /data [[must not be owned by root]]

Revision as of 11:15, 15 February 2023


sed -i s"/\/var\/lib\/postgresql\/14\/main"/"\/data"/ /etc/postgresql/*/main/postgresql.conf
Feb 15 11:12:24 ip-10-12-1-184 postgresql@14-main[10891]: Error: Data directory /data must not be owned by root


postgresql.conf

Advertising: