Postgres looging

Martin Marques martin at bugs.unl.edu.ar
Sat Sep 18 13:26:38 UTC 2004


El Sáb 18 Sep 2004 10:11, Ted Kaczmarek escribió:
> http://www.redhat.com/archives/fedora-test-list/2004-March/msg01110.html
>
> Came as a surprise to me :-)

PostgreSQL logs to syslog if configured to do so.

What Markus was trying there was to get starting errores without having to 
change the postgresql.conf file.

I would have persoanlly said this:

1) Login as postgres
2) Run "/usr/bin/initdb --pgdata=$PGDATA" (see the error messages). If 
everything is OK continue, else, correct what is wrong and go back to (2).
3) (if (2) came out OK) Run /usr/bin/pg_ctl start
4) If everything is OK 
4a) run /usr/bin/pg_ctl stop and then /etc/init.d/postgresql start
4b) if not, read the error messages and correct what is needed, then go back 
to (3).

-- 
 10:20:01 up 6 days, 38 min,  3 users,  load average: 1.25, 0.86, 0.61
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             Universidad Nacional
                  del Litoral
-----------------------------------------------------------------





More information about the fedora-list mailing list