Re: Creating Log file - run in background.
От | Sterling |
---|---|
Тема | Re: Creating Log file - run in background. |
Дата | |
Msg-id | 3A37B1D7.F030AF92@omeninc.com обсуждение исходный текст |
Ответ на | Re: Creating Log file - run in background. (Chris <csmith@squiz.net>) |
Ответы |
Re: Creating Log file - run in background.
|
Список | pgsql-novice |
H- I don't understand. Isn't that what that command is doing? It contains the server.log path, except for all that <dev/null> stuff. What is that for? Should the command look like this than: nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data/server.log & Could you please clarify? Thanks. -Sterling Chris wrote: > Hi, > > Try putting the full path to server.log instead. So, > /usr/local/pgsql/data/server.log > > Without this, it tries to write the log to the current directory. > > HTH, > Regards, > > >[postgres@XXXX src]$ bash: server.log: Permission denied > > > >[1]+ Exit 1 nohup /usr/local/pgsql/bin/postmaster -D > >/usr/local/pgsql/data </dev/null >>server.log 2>>1 > >[postgres@XXXX src]$ > > > >Here is the params on the file. > >-rw-rw-r-- 1 postgres postgres 0 Dec 12 19:07 > >/usr/local/pgsql/data/server.log > > ------------------------ > Chris Smith > http://www.squiz.net
В списке pgsql-novice по дате отправления: