From: | Raymond O'Donnell <rod(at)iol(dot)ie> |
---|---|
To: | YuChi <tp6m4fu6250071(at)yahoo(dot)com(dot)tw> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Help, How to start the server?? |
Date: | 2013-05-24 14:09:37 |
Message-ID: | 519F74A1.4010302@iol.ie |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 24/05/2013 08:35, YuChi wrote:
> i use postgresql-9.2.4 install on ubuntu11.04(natty)
> and i use the command:
>
> *postgres(at)ubuntu:/$ postgres -D /usr/local/pgsql/data*
>
> or use
>
> *postgres(at)ubuntu:/$ /usr/local/pgsql/bin/postmaster -D
> /usr/local/pgsql/data*
>
> to start the server
> but it's stopping at the message:
>
> *LOG: database system was shut down at 2013-05-24 15:07:34 CST
> LOG: database system is ready to accept connections
> LOG: autovacuum launcher started*
>
> for a long time
> it seems never continue again
> and i don't know how to do next...
> can anyone tell me is there anything wrong? or how to do next?
It's just waiting for connections. Try opening a different console
window, and connect to it from there:
psql -U <my user> <database name>
However, you probably want it to run as a daemon; I don't know about
Ubuntu, but on debian it's set up for you already, if you install using
apt-get:
/etc/init.d/postgresql start
In fact, it's probably already running after being installed:
ps ax | grep postgres
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Angelico | 2013-05-24 14:27:48 | Re: Success stories of PostgreSQL implementations in different companies |
Previous Message | Adrian Klaver | 2013-05-24 14:07:51 | Re: Help, How to start the server?? |