delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/30/00:06:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Mailer: emacs 20.7.1 (via feedmail 8 Q);
VM 6.92 under Emacs 20.7.1
From: "Markus Hoenicka" <hoenicka_markus AT compuserve DOT com>
MIME-Version: 1.0
Message-ID: <15204.30755.269000.347878@gargle.gargle.HOWL>
Date: Sun, 29 Jul 2001 22:54:59 +0200
To: cygwin AT cygwin DOT com
Subject: cygipc works only for administrator?

Hi,

I've been trying to run postgresql as a daemon, but I failed so far
due to a problem with shared memory. I've set up the latest cygipc
release on an NT4 box with a fairly recent (~2 weeks) Cygwin
installation according to the cygipc README. I run cygipc as a daemon
under the local system account. This works well and ipctest g|h|s
works if run as an administrator. If I try the same from any other
account, ipctest h will fail. I tried this from my postgres account
which has all the user rights that postgresql needs to run as a daemon
(it fails all the same from any regular user account). The test output
reads:

postgres AT WUTZ ~
$ ipctest g
Test v0.03
PRIVATE msgqueue 0 created

postgres AT WUTZ ~
$ ipctest s
Test v0.03
semaphore 1 created

postgres AT WUTZ ~
$ ipctest h
Test v0.03
Unable to create shared memory segment
shmget : Not enough memory
shmat return code= -1
nok
shmat failed, errno= 22

postgres AT WUTZ ~
$

Apparently some additional access rights are necessary which on my box
only the administrator account has. The cygcheck output is appended
below. Any help is appreciated.

Markus

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Sun Jul 29 20:58:26 2001

WinNT Ver 4.0 build 1381 Service Pack 3

Path:	/usr/local/bin
	/usr/bin
	/bin
	/cygdrive/d/WINNT/system32
	/cygdrive/d/WINNT
	/cygdrive/d/win32app/emacsen/bin
	/cygdrive/d/win32app/emacs207/bin
	/cygdrive/d/win32app/Ghostgum/gsview
	/cygdrive/d/win32app/texmf/miktex/bin
	/usr/bin
	/cygdrive/d/win32app/gs/gs7.00/bin
	/usr/bin
	/usr/local/bin
	~/bin

SysDir: D:\WINNT\System32
WinDir: D:\WINNT

PWD = `/home/markus'
CYGWIN = `ntsec binmode'
USER = `markus'
MAKE_MODE = `UNIX'
HOME = `/home/markus'

NUMBER_OF_PROCESSORS = `1'
PROMPT = `$P$G'
LOGONSERVER = `\\WUTZ'
OS2LIBPATH = `D:\WINNT\system32\os2\dll;'
COMSPEC = `D:\WINNT\system32\cmd.exe'
SYSTEMDRIVE = `D:'
HOSTNAME = `WUTZ'
PROCESSOR_REVISION = `0304'
!D: = `D:\cygwin\bin'
PATHEXT = `.COM;.EXE;.BAT;.CMD'
COMPUTERNAME = `WUTZ'
SGMLROOT = `d:\cygwin\usr\local\lib\sgml'
WINDIR = `D:\WINNT'
USERPROFILE = `D:\WINNT\Profiles\markus'
MANPATH = `/usr/man:/usr/local/man'
PS1 = `]0;\w
\u@\h \w
$ '
MACHTYPE = `i686-pc-cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 3 Stepping 4, GenuineIntel'
OS = `Windows_NT'
OLDPWD = `/home/markus'
PROCESSOR_ARCHITECTURE = `x86'
TEMP = `/cygdrive/d/TEMP'
PROCESSOR_LEVEL = `6'
SYSTEMROOT = `D:\WINNT'
REFDBLIB = `/usr/local/share/refdb'
HOMEDRIVE = `d:'
SGML_CATALOG_FILES = `./catalog:/usr/local/lib/sgml/dtd/docbook41/docbook.cat:/usr/local/lib/sgml/dtd/docbook31/docbook.cat:/usr/local/lib/sgml/dtd/catalog:/usr/local/lib/sgml/stylesheets/docbook/catalog:/usr/local/lib/sgml/dtd/refdb/catalog'
SHLVL = `1'
HOMEPATH = `\users\markus'
USERDOMAIN = `WUTZ'
USERNAME = `markus'
SHELL = `/bin/bash'
HOSTTYPE = `i686'
OSTYPE = `cygwin'
TERM = `cygwin'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  FAT      337Mb   1% CP    UN           FAT
d:  hd  NTFS    4000Mb  76% CP CS UN PA FC     NTFS0
e:  fd           N/A    N/A                    
f:  hd  NTFS    3914Mb  52% CP CS UN PA FC     home
g:  cd  CDFS       8Mb 100%    CS              KODAKCD
h:  net NTFS     871Mb  66% CP CS    PA        markus

D:\cygwin\bin  /usr/bin  system  binmode
D:\cygwin\lib  /usr/lib  system  binmode
D:\cygwin  /        system  binmode
f:\home  /home    system  binmode
c:    /cygdrive/c  user    textmode,noumount
d:    /cygdrive/d  user    textmode,noumount
f:    /cygdrive/f  user    textmode,noumount
g:    /cygdrive/g  user    textmode,noumount
h:    /cygdrive/h  user    textmode,noumount

Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\sh.exe

   56k 2000/12/03 D:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2000/11/20 23:53
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 5:28
   18k 2000/10/23 D:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2000/10/23 2:26
   17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 4:34
   21k 2001/06/28 D:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2001/6/28 2:27
   21k 2001/06/20 D:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 17:09
   81k 2000/12/05 D:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/11/26 1:43
   35k 2000/12/05 D:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/11/26 1:43
   45k 2001/07/04 D:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2001/7/4 3:25
  119k 2001/06/06 D:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2001/6/6 4:27
   73k 2001/05/22 D:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2001/5/22 23:39
   26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 5:27
  156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 5:29
  226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 5:17
   15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 5:27
  163k 2001/05/06 D:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2001/5/6 4:05
  108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 4:34
  135k 2001/06/28 D:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2001/6/28 2:27
  390k 2000/12/05 D:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/11/26 1:39
    5k 2000/12/05 D:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/12/05 D:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/11/26 1:39
  245k 2001/06/12 D:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2001/6/12 17:25
  623k 2000/12/05 D:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/11/26 1:43
   41k 2001/07/04 D:\cygwin\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-noX4.dll" v0.0 ts=2001/7/4 1:21
   45k 2001/07/04 D:\cygwin\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-X4.dll" v0.0 ts=2000/11/20 2:45
   49k 2001/02/03 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2001/2/3 20:35
  678k 2001/05/21 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2001/5/21 3:28
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 2
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 39
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix: 
        build date: Sun May 20 23:28:17 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section

-- 
Markus Hoenicka
hoenicka_markus AT compuserve DOT com
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019