Re: initdb...
От | Daniel Secomb |
---|---|
Тема | Re: initdb... |
Дата | |
Msg-id | MCBBIFBENOMGNJNDAAJBGEHHCHAA.dan@ds-d.com обсуждение исходный текст |
Список | pgsql-cygwin |
AHA!! I now understand. So is "pgini" the script you type when you do a clean install or what you type in first thing after you open the Cygwin shell at the start of each working day? Because I opened the Cygwin shell and just typed in the "db-start" script, thinking that I wouldn't have to retype in the "pgini" script since I already typed that in when I first installed Cygwin & PostgreSQL. And this is what I typed in (and what happened afterward): export CYGWIN=server PATH=/usr/bin:/usr/sbin:$PATH export PATH echo echo "cygserver starting..." cygserver & ps -f echo echo "PostgreSQL starting..." postmaster -i -D /var/postgresql/data & (After I typed in that last line I got this response:) [2] 466483 $ FATAL: shmat(id=65536) failed: Invalid argument Any ideas why it did that? (Just in case you weren't aware, I'm using Windows 98SE, PostgreSQL 7.4.3.1 and Cygwin 1.5.10-3) I really, REALLY appreciate your help Hans!!!!!!!! God bless! Dan -----Original Message----- From: zuhans@iname.com [mailto:zuhans@iname.com] Sent: Saturday, July 31, 2004 3:11 AM To: Daniel Secomb Subject: initdb... hi dan, what i forgot to say: if you really type in one command after the other (so as to learn what's going on), then - instead of typing in "./db-stop" - you have to type in all commands from my "db-stop"-script-lines. but then the "kill..."-line won't work! instead just type in "ps -f", then you get the list of all processes running at the moment, remember the process-number of cygserver (very left coloumn of ps - output) and then type in: "kill <process-number>" (e.g. kill 3024). this makes a shutdown of cygserver. hope that helps! hans
В списке pgsql-cygwin по дате отправления: