hi all,
my system is:
windows nt
cygipc-1.09-2
cygwin-1.1.7-1
and the binary version of postgresql 7.0 for nt
when i try to start postmaster i get the following output:
$ ./postmaster -d 5
FindExec: found "/usr/pgsql/bin/./postgres" using argv[0]
binding ShmemCreate(key=52e2c1, size=1115136)
DEBUG: Data Base System is starting up at Sat Mar 3 20:23:08 2001
DEBUG: Data Base System was shut down at Sat Mar 3 20:17:00 2001
DEBUG: Data Base System is in production state at Sat Mar 3 20:23:08 2001
proc_exit(0)
shmem_exit(0)
exit(0)
/usr/pgsql/bin/./postmaster: reaping dead processes...
this looks like there is something going wrong....!? but the postmaster
process is running!
(if i do netstat -a the port 5432 is in use)
next i try to create a database and i get the following error:
$ ./createdb testdb
psql: connectDBStart() -- connect() failed: No such file or directory
Is the postmaster running at 'localhost'
and accepting connections on Unix socket '5432'?
createdb: database creation failed
has this error anything to do with the (possible) error when starting
postmaster?
if not, what is the reason for the 'connect failed' ???
if yes... how can i fix it?
thanks for help,
christian thrum
ps: if i try to stop the postmaster, i get:
pmdie 2
Fast Shutdown request at Sat Mar 3 20:35:05 2001
DEBUG: Data Base System shutting down at Sat Mar 3 20:35:05 2001
DEBUG: Data Base System shut down at Sat Mar 3 20:35:05 2001
proc_exit(0)
shmem_exit(0)
exit(0)
/usr/pgsql/bin/./postmaster: reaping dead processes...
proc_exit(0)
shmem_exit(0)
NOTICE: IpcMemoryDetach: shmdt(0x???????): Invalid argument
NOTICE: IpcMemoryDetach: shmdt(0x???????): Invalid argument
NOTICE: IpcMemoryDetach: shmdt(0x???????): Invalid argument
exit(0)
again, is this normal or has anything to do with my problem ???