Thread:

From
"phinsxiii@knology.net"
Date:
Dear Sirs:

I followed the directions to the "t" as stated @:

http://www.postgresql.org/docs/faqs/text/FAQ_MSWIN

I can not get postgresql to work with cygwin and generate the following
errors:

$ /usr/sbin/cygserver &
[1] 1396


$ cygserver: Initialization complete.  Waiting for requests.
initdb -D /usr/local/gsql/data -W -E LATIN1
The files belonging to this database system will be owned by
user "sarmstrong".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/gsql/data... ok
creating directory /usr/local/gsql/data/base... ok
creating directory /usr/local/gsql/data/global... ok
creating directory /usr/local/gsql/data/pg_xlog... ok
creating directory /usr/local/gsql/data/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 /usr/local/gsql/data/base/1... Signal 12

initdb: failed
initdb: removing data directory "/usr/local/gsql/data"


$ postmaster -D /usr/local/pgsql/data
postmaster: could not find the database system
Expected to find it in the directory "/usr/local/pgsql/data",
but could not open file "/usr/local/pgsql/data/global/pg_control": No such
file
or directory

I am trying to get this to run on Windows.  Please help.

Thanks:)

SA



"I can do everything on my Mac I used to do on my PC, plus a whole lot
more!"
-- Me


Re:

From
Mike G
Date:
Is cygserver in your path?  What env show?

MikeOn Fri, Aug 06, 2004 at 05:42:48PM -0000, phinsxiii@knology.net wrote:
> Dear Sirs:
>
> I followed the directions to the "t" as stated @:
>
> http://www.postgresql.org/docs/faqs/text/FAQ_MSWIN
>
> I can not get postgresql to work with cygwin and generate the following
> errors:
>
> $ /usr/sbin/cygserver &
> [1] 1396
>
>
> $ cygserver: Initialization complete.  Waiting for requests.
> initdb -D /usr/local/gsql/data -W -E LATIN1
> The files belonging to this database system will be owned by
> user "sarmstrong".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> creating directory /usr/local/gsql/data... ok
> creating directory /usr/local/gsql/data/base... ok
> creating directory /usr/local/gsql/data/global... ok
> creating directory /usr/local/gsql/data/pg_xlog... ok
> creating directory /usr/local/gsql/data/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 /usr/local/gsql/data/base/1... Signal 12
>
> initdb: failed
> initdb: removing data directory "/usr/local/gsql/data"
>
>
> $ postmaster -D /usr/local/pgsql/data
> postmaster: could not find the database system
> Expected to find it in the directory "/usr/local/pgsql/data",
> but could not open file "/usr/local/pgsql/data/global/pg_control": No such
> file
> or directory
>
> I am trying to get this to run on Windows.  Please help.
>
> Thanks:)
>
> SA
>
>
>
> "I can do everything on my Mac I used to do on my PC, plus a whole lot
> more!"
> -- Me
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings