Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Markus Hoenicka MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15206.55250.466000.438600@gargle.gargle.HOWL> Date: Tue, 31 Jul 2001 16:07:46 +0000 To: cygwin AT cygwin DOT com Subject: Re: cygipc works only for administrator? (2nd attempt) In-Reply-To: <20010731101127.A31934@ontosys.com> References: <15205 DOT 58625 DOT 483000 DOT 92379 AT gargle DOT gargle DOT HOWL> <20010731101127 DOT A31934 AT ontosys DOT com> X-Mailer: VM 6.94 under Emacs 20.6.1 fred AT ontosys DOT com writes: > In the past I've seen symptoms similar to what you report, but they > went away and I'm not sure which of the many changes I made to my > system made the difference. This may be superstition, but one thing > that seemed to help at least once was to clean up the temp files used > by cygipc: > > + stop the Cygwin ipc-daemon service and (before that) any services > that depend on it. > + remove all the /tmp/MultiFile* and /tmp/cygipc* files. > + start up the services again. > After my second post I spent another night fiddling with this stuff and I arrived basically at the same conclusion. Running ipctest h from different accounts *will* result in a misleading error message unless you remove previously created files in /tmp. E.g. I first ran ipctest h as user postgres (the account cygipc runs with) without problems, then as a regular user. The second time it failed. Removing the stuff in /tmp makes it work again. I attribute this to my complete ignorance how ipctest works. Removing the stuff in /tmp coincidentally cured the postgres problem as well as you already had found out. I still cannot connect as a regular user but this appears to be a postgres permission problem, no shared memory problem (so this will appear in a separate thread on this mailing list unless I can figure it out tonight...). Thanks Fred and Chuck for your input Markus -- Markus Hoenicka, PhD UT Houston Medical School Dept. of Integrative Biology and Pharmacology 6431 Fannin MSB4.114 Houston, TX 77030 (713) 500-6313, -7477 (713) 500-7444 (fax) Markus DOT Hoenicka AT uth DOT tmc DOT edu http://ourworld.compuserve.com/homepages/hoenicka_markus/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/