Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20031204203621.88254.qmail@web41501.mail.yahoo.com> Date: Thu, 4 Dec 2003 12:36:21 -0800 (PST) From: Sheela Rayala Subject: InitDB with Postgresql after logging in as different user with ssh To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Installed Cygwin on a Win2k machine. After pouring thru the existing archives about logging in as a seperate database user before initializing postgresql, created a user called postgres, ran the sshd configuration script (selected no when asked "should privilege seperation be used"). then gave the command ssh -l , localhost and started it as a service. Then gave the command "initdb -D /usr/share/postgresql/data". It started off creating the directories in data and then came up with / Creating template1 database in /usr/share/postgresql/data/base/1/... FATAL:could not create shared memory segment: Function not implemented Detail: Failed system call was shmget(key=1, size=1081344, 03600) initdb: Failed How do I recover from this and start initdb? Thanks for the help, Sheela __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/