Re: When starting postgres, it hangs like it is still connected to stdout
В списке pgsql-general по дате отправления:
| От | Raymond O'Donnell |
|---|---|
| Тема | Re: When starting postgres, it hangs like it is still connected to stdout |
| Дата | |
| Msg-id | 52CC5C9A.9080907@iol.ie обсуждение исходный текст |
| Ответ на | When starting postgres, it hangs like it is still connected to stdout (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>) |
| Список | pgsql-general |
On 07/01/2014 19:47, Susan Cassidy wrote: > When I start postgres using postgres -D $PGDATA, it hangs, and I see > that postgres and all the other attendant processes are running, but I > never get my prompt back. > > If I hit ctl/C, postgres ends running. > > I can't seem to figure out why. You're running the postgres program directly in the foreground, rather than as a daemon. This is handy for trying things out, but you'll generally want to start and stop it using the package's control scripts. On Debian, for example: /etc/init.d/postgresql start or service postgresql start Or you can use pg_ctl: http://www.postgresql.org/docs/9.2/static/app-pg-ctl.html HTH, Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера