Skip site navigation (1) Skip section navigation (2)

Re: Query about

From: mike g <mike(at)thegodshalls(dot)com>
To: pyntamil pillaickani <pillaickani(at)yahoo(dot)co(dot)in>
Cc: pgsql-cygwin(at)postgresql(dot)org, cygwin(at)cygwin(dot)com
Subject: Re: Query about
Date: 2004-06-20 05:35:58
Message-ID: 1087709758.25387.1.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-cygwin
If you are installing the latest versions of postgresql, 7.4.2 or 7.4.3
then you must install cygserver in addition to cygipc.  Once cygserver
is installed be sure to add cygserver to your path.

Mike
On Tue, 2004-06-15 at 05:13, pyntamil pillaickani wrote:
> hello sir,
> we r installing the cygwin in Wndows XP according to the procedure
> given in the following
> inkp://archives.postgresql.org/pgsql-cygwin/2003-07/msg00004.php.
>  
> we are comming across the problem while the command 
> $ initdb -D /usr/share/postgresql/data [14] typed .
>  
> we dont know how to solve this .
> for ur reference we are attaching the commands we have typed.
>  
> we are waiting for your reply,
>  
> thanking you,
> pillaickani
>  
> 
> Yahoo! India Matrimony: Find your partner online.
> 
> ______________________________________________________________________
> Administrator(at)rural ~
> $ # ipc-daemon --install-as-service
> 
> Administrator(at)rural ~
> $ # net user postgres $password /add /fullname:postgres
> 
> Administrator(at)rural ~
> $ # mkpasswd -l -u postgres >>/etc/passwd
> 
> Administrator(at)rural ~
> $ # cmd /c secpol.msc # [3] [4] [5] [12]
> 
> Administrator(at)rural ~
> $ # cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
> 
> Administrator(at)rural ~
> $ /usr/share/postgresql/data -i" --dep ipc-daemon --termsig INT --user
> > postgres --shutdown # [6]
> > # cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D
> bash: /usr/share/postgresql/data: No such file or directory
> 
> Administrator(at)rural ~
> $ # cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D /usr/s
> hare/postgresql/data -i" --dep ipc-daemon --termsig INT --user postgres --shutd
> own
> 
> Administrator(at)rural ~
> $ # mkdir /usr/share/postgresql/data
> 
> Administrator(at)rural ~
> $ # chown postgres /usr/share/postgresql/data # [10]
> 
> Administrator(at)rural ~
> $ # net start ipc-daemon # [7]
> 
> Administrator(at)rural ~
> $
> 
> Administrator(at)rural ~
> $ initdb -D /usr/share/postgresql/data [14]
> The files belonging to this database system will be owned by user "Administrator
> ".
> This user must also own the server process.
> 
> The database cluster will be initialized with locale C.
> 
> creating directory [14]... ok
> creating directory [14]/base... ok
> creating directory [14]/global... ok
> creating directory [14]/pg_xlog... ok
> creating directory [14]/pg_clog... ok
> selecting default max_connections... Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> 10
> selecting default shared_buffers... Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> Signal 12
> 50
> creating configuration files... ok
> creating template1 database in [14]/base/1... Signal 12
> 
> initdb: failed
> initdb: removing data directory "[14]"
> 
> ______________________________________________________________________
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to

  • Query about at 2004-06-15 10:13:07 from pyntamil pillaickani

pgsql-cygwin by date

Next:From: Windemuth AndreasDate: 2004-06-21 02:48:12
Subject: Re: Problem with initdb
Previous:From: mike gDate: 2004-06-20 04:01:58
Subject: Re: no pg_hba.conf entry for host

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group