Re: [ADMIN] Starting postmaster as a service (newbie)

2003-06-15 Thread eladio rodriguez
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [ADMIN] Starting postmaster as a service (newbie) Date: Thu, 5 Jun 2003 10:12:25 -0400 Hi, I have got a peculiar problem with my postmaster.I have installed cyg-ipc and postmaster as services on Windows 2000. But when I restart the s

Re: [ADMIN] Starting postmaster as a service (newbie)

2003-06-08 Thread Andrew Sullivan
On Thu, Jun 05, 2003 at 10:12:25AM -0400, Vinay wrote: > figured that it is because I have to do the init db everytime this I don't know anything about the Cyg Win installation, but you _don't_ need to do initdb every time: that creates a new data area. A Andrew Sullivan

[ADMIN] Starting postmaster as a service (newbie)

2003-06-06 Thread Vinay
Hi,    I have got a peculiar problem with my postmaster.I have installed cyg-ipc and postmaster as services on Windows 2000. But when I restart the system , the postmaster doesn't start.I figured that it is because I have to do the init db everytime this happens. But I have to empty the data

Re: [ADMIN] Starting postmaster with the option -i

2001-09-03 Thread Gary Stainburn
Thanks for the information, I've now put back /etc/rc.d/init.d/postgresql and updated postgresql.conf. Gary On Friday 31 August 2001 7:59 pm, Lamar Owen wrote: > On Friday 31 August 2001 09:50, Gary Stainburn wrote: > > The postmaster is probably being started using pg_ctl in > > /etc/init.d/po

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Lamar Owen
On Friday 31 August 2001 09:55, speedboy wrote: > [root@b] : cat /etc/rc.d/init.d/postgresql > su - postgres -c 'exec /usr/local/pgsql/bin/pg_ctl -o -i -D > That help? :) While this _does_ work, why not use postgresql.conf for its proper purpose? The RPM initscript, for security reasons, does

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Lamar Owen
On Friday 31 August 2001 09:50, Gary Stainburn wrote: > The postmaster is probably being started using pg_ctl in > /etc/init.d/postgresql. > Add -o -i to the line, which tells pg_ctl to send the '-i' switch to the > back-end. PLEASE don't edit /etc/rc.d/init.d/postgresql. Edit /var/llib/pgsql/

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Shaun Thomas
On 31 Aug 2001, Raquel Vieira wrote: > Does anyone know how can I start postmaster (at the startup of the > computer) with the option -i? The file that is starting postgres is one of these: /etc/rc.d/init.d/postgresql /etc/rc.d/init.d/postgres /etc/rc.d/init.d/postgresd The last one is the mos

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Stephan Szabo
On 31 Aug 2001, Raquel Vieira wrote: > I'm using Postgres 7.1.2 and I need to use TCP/IP connections, so I > want to start Postmaster with the option -i. > The Postmaster is starting allone at the startup of the computer, but > it initiates by itself, I can't start it with that option. I have to

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Nick Fankhauser
Raquel- I believe that by v7.1, this could be placed in the postgresql.conf file. (Found in /etc/postgresql on our Debian Linux box.) the line to add is: tcpip_socket = 1 check out this page for details: http://www.postgresql.org/idocs/index.php?runtime-config.html It's probably not starting

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Lamar Owen
On Friday 31 August 2001 04:38, Raquel Vieira wrote: > Does anyone know how can I start postmaster (at the startup of the > computer) with the option -i? If this is an RPM installation (which is what it sounds like), edit the file /var/lib/pgsql/data/postgresql.conf and set the 'tcpip_socket' co

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread speedboy
[root@b] : cat /etc/rc.d/init.d/postgresql #!/bin/sh #[ -x /tmp/.s.PGSQL.* ] && rm -f /tmp/.s.PGSQL.* case "$1" in 'start') su - postgres -c 'exec /usr/local/pgsql/bin/pg_ctl -o -i -D /home/postgres/data start >> /usr/local/pgsql/errlog 2>&1 &' ;; 'stop') su - postgres -c 'exec /usr/loc

Re: [ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Gary Stainburn
Hi Raquel, The postmaster is probably being started using pg_ctl in /etc/init.d/postgresql. Add -o -i to the line, which tells pg_ctl to send the '-i' switch to the back-end. Gary On Friday 31 August 2001 9:38 am, Raquel Vieira wrote: > I'm using Postgres 7.1.2 and I need to use TCP/IP con

[ADMIN] Starting postmaster with the option -i

2001-08-31 Thread Raquel Vieira
I'm using Postgres 7.1.2 and I need to use TCP/IP connections, so I want to start Postmaster with the option -i. The Postmaster is starting allone at the startup of the computer, but it initiates by itself, I can't start it with that option. I have to stop it and start it again with the option by

Re: [ADMIN] Starting postmaster problem

2000-11-03 Thread Nataraj
run "su - postgres" Then it will export the env variables (which you set in the .bash_profile file). If you do "su postgres" it may not export. Raj Bogdan Paduraru wrote: > Hello, > I installed Postgresql 7.0.2 on a Redhat Linux 6.1 and I want now to run > it, but it seems I have a problem. > I

Re: [ADMIN] Starting postmaster problem

2000-11-01 Thread Oliver Elphick
Bogdan Paduraru wrote: >Hello, >I installed Postgresql 7.0.2 on a Redhat Linux 6.1 and I want now to run >it, but it seems I have a problem. >I connected as root on my server. >After that I do : >$ su postgres >$nohup /usr/local/pgsql/data \ >server.log 2>>1 & >After the second com

[ADMIN] Starting postmaster problem

2000-11-01 Thread Bogdan Paduraru
Hello, I installed Postgresql 7.0.2 on a Redhat Linux 6.1 and I want now to run it, but it seems I have a problem. I connected as root on my server. After that I do : $ su postgres $nohup /usr/local/pgsql/data \ >server.log 2>>1 & After the second command I get bash : server.log: Permission denied

[ADMIN] starting postmaster

1999-06-30 Thread JT Kirkpatrick
i am trying to debug a locking problem in our database. i currently am starting postgres using this: '/usr/bin/postmaster -B 256 -S -D /ssms -i' i am trying to start it with the debugging option, -d 9, following the advise of a friend. but i can't get it to start. i have tried: '/usr/bin/p

Re: [ADMIN] Starting postmaster with -i

1999-01-28 Thread Jeremiah Davis
man pg_hba.conf pg_hba.conf is used for access control, it should be located in your $PGDATA directory. On Thu, 28 Jan 1999, Gerald Brandt wrote: > Hi there, > > I start my postmaster with the -i option to start with tcp connectivity. > > I want to be able to limit who can access my postgres

[ADMIN] Starting postmaster with -i

1999-01-28 Thread Gerald Brandt
Hi there, I start my postmaster with the -i option to start with tcp connectivity. I want to be able to limit who can access my postgres database, and in theory, I don't need any connectivity outside of the localhost. But, without the -i, I can't use pgaccess, or the C library. How can I limit