Difference between revisions of "Pg ctl"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
* <code>[[/usr/lib/postgresql/]]10/bin/[[pg_ctl]] -D /var/lib/postgresql/10/main -l logfile start</code>
 
* <code>[[/usr/lib/postgresql/]]10/bin/[[pg_ctl]] -D /var/lib/postgresql/10/main -l logfile start</code>
  
pg_ctl -D /usr/local/var/[[postgres start]]
+
<code>pg_ctl -D /usr/local/var/[[postgres start]]</code>
  
[[pg_ctl --help]]
+
<code>[[pg_ctl --help]]</code>
[[pg_ctl status]]
 
  
 +
<code>[[pg_ctl status]]</code>
  
Feb 11 11:24:33 ip-10-12-1-79 postgresql@14-main[9806]: pg_ctl: directory "/data" [[is not a database cluster directory]]
 
  
[[systemctl start]]
+
<code>Feb 11 11:24:33 ip-10-12-1-79 postgresql@14-main[9806]: pg_ctl: directory "/data" [[is not a database cluster directory]]</code>
  
 
== See also ==
 
== See also ==
 +
* <code>[[systemctl start]]</code>
 +
 +
== See also ==
 +
* {{pg_ctl}}
 
* {{pg}}
 
* {{pg}}
  
 
[[Category:PostgreSQL]]
 
[[Category:PostgreSQL]]

Latest revision as of 08:18, 9 January 2024

pg_ctl -D /usr/local/var/postgres start

pg_ctl --help

pg_ctl status


Feb 11 11:24:33 ip-10-12-1-79 postgresql@14-main[9806]: pg_ctl: directory "/data" is not a database cluster directory

See also[edit]

See also[edit]

Advertising: