bacci
(usa Debian)
Enviado em 27/04/2008 - 14:03h
Eu instalei o postgres8.3.1 no Ubuntu8.04, mas não consigo iniciá-lo na linha de comando. Aparece a seguinte mensagem:
LOG: database system is ready to accept
Depois não faze mais nada.
Copie o prompt todo, conforme mostrado abaixo:
postgres@marcio-laptop:/usr/local/pgsql$ cd bin/
postgres@marcio-laptop:/usr/local/pgsql/bin$ ./initdb -D /usr/local/pgsql/data/
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale pt_BR.UTF-8.
The default database encoding has accordingly been set to UTF8.
The default text search configuration will be set to "portuguese".
fixing permissions on existing directory /usr/local/pgsql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers/max_fsm_pages ... 24MB/153600
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.
Success. You can now start the database server using:
./postgres -D /usr/local/pgsql/data
or
./pg_ctl -D /usr/local/pgsql/data -l logfile start
postgres@marcio-laptop:/usr/local/pgsql/bin$
postgres@marcio-laptop:/usr/local/pgsql/bin$ ./postgres -D /usr/local/pgsql/data/
LOG: database system was shut down at 2008-04-27 13:43:08 BRT
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
Alguém pode me ajudar?