Re: Creating Log file - run in background.
От | Chris |
---|---|
Тема | Re: Creating Log file - run in background. |
Дата | |
Msg-id | 4.3.2.7.2.20001214080608.00b84390@203.25.173.1 обсуждение исходный текст |
Ответ на | Re: Creating Log file - run in background. (Sterling <smullett@omeninc.com>) |
Ответы |
Re: Creating Log file - run in background.
|
Список | pgsql-novice |
Hi, >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? /usr/local/pgsql/bin/postmaster -D > >/usr/local/pgsql/data </dev/null >>server.log 2>>1 These are the paths to the programs.. It just doesn't know where to put the log. Depending on where you run it from, it will try to write the log file to that directory. eg. If it's being run from a startup script (eg /etc/rc.d/* <- depending on version/distribution) it will try to write to /etc/rc.d/*.. which it's not allowed to do. >Should the command look like this than: >nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data/server.log & That should work, yep. HTH, ------------------------ Chris Smith http://www.squiz.net
В списке pgsql-novice по дате отправления: