This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygserver service won't start


Hi,

I've just reinstalled Cygwin on W2K SP4 over the Internet using Setup.exe version 2.427 (cygcheck attached). I ran Setup from a Windows Administrator account. The system itself is not a domain member; it's simply a workgroup member on a home-based LAN.

Prior to logging in I set the system-wide environment variable CYGWIN=server in Windows. When I did log in I did so with the Bash shell from the default shortcut. One of the first things I did was create my /etc/group and /etc/passwd files with these commands:

$ mkgroup -l -u > /etc/group
$ mkpasswd -l -g > /etc/passwd

I then ran the 'cygserver-config' script OOTB and selected to install it as a service. This step seemed successful as the Windows Event Viewer lists it as 'CYGWIN cygserver' and describes it as 'Cygwin shared memory manager'. This description, however, is suspiciously like the one I concocted for cygserver during my previous installation of Cygwin, even though I deleted all temp folders and the Cygnus Solutions keys from the registry before reinstalling. Is it the default description, or did Cygwin not get completely uninstalled? FWIW, I was unable to get the cygserver (or postgresql) running as a service under that previous installation, hence the reinstall attempt.

The Windows Event Viewer console Application Log reports that cygserver starts and is awaiting requests, but a split second later the Service Control Manager reports in the System Log that cygserver terminates unexpectedly. The /var/log/cygserver.log file is empty, so I'm clueless as to what might have caused this problem. I can only guess that file permissions are not what they should be.

If someone could suggest what I might try to get this working, I'd appreciate it. Thanks.

Alder



Cygwin Configuration Diagnostics
Current System Time: Wed Sep 08 22:10:24 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:	d:\cygwin\usr\local\bin
	d:\cygwin\bin
	d:\cygwin\bin
	d:\cygwin\usr\X11R6\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	c:\Program Files\ATI Technologies\ATI Control Panel
	d:\Program Files\Common Files\GTK\2.0\bin
	d:\Program Files\PuTTY

Output from d:\cygwin\bin\id.exe (nontsec)
UID: 500(Manager) GID: 544(Administrators)
544(Administrators)

Output from d:\cygwin\bin\id.exe (ntsec)
UID: 500(Manager) GID: 544(Administrators)
513(None)                   
544(Administrators)         545(Users)
1004(NetMeeting RDS Users)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

CYGWIN = `server'
HOME = `d:\cygwin\home\Manager'
MAKE_MODE = `unix'
PWD = `/home/Manager'
USER = `Manager'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Administrator\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `KIRALY'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Administrator'
HOSTNAME = `kiraly'
INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
LOGONSERVER = `\\KIRALY'
MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PRINTER = `Canon BJC-3000 (BJRSTR)'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 5, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0605'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
USERDOMAIN = `KIRALY'
USERNAME = `Manager'
USERPROFILE = `C:\Documents and Settings\Administrator'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `d:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `d:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `d:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  NTFS    4118Mb  61% CP CS UN PA FC     
d:  hd  NTFS   19069Mb  24% CP CS UN PA FC     DATA_1
e:  hd  NTFS    2014Mb  19% CP CS UN PA FC     SCSI_DISK
f:  hd  NTFS   19069Mb  11% CP CS UN PA FC     DATA_2
g:  hd  NTFS   19069Mb   4% CP CS UN PA FC     DATA_3
h:  hd  NTFS   19108Mb  10% CP CS UN PA FC     DATA_4
i:  cd           N/A    N/A                    
z:  net NTFS    2007Mb  18% CP CS    PA        USER-HOME

d:\cygwin      /          system  binmode
d:\cygwin/bin  /usr/bin   system  binmode
d:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: d:\cygwin\bin\awk.exe
Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: d:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: d:\cygwin\bin\grep.exe
Not Found: ld
Found: d:\cygwin\bin\ls.exe
Not Found: make
Found: d:\cygwin\bin\mv.exe
Found: d:\cygwin\bin\rm.exe
Found: d:\cygwin\bin\sed.exe
Found: d:\cygwin\bin\sh.exe
Found: d:\cygwin\bin\tar.exe

   61k 2003/08/09 d:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2003/8/8 23:35
    7k 2003/10/19 d:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
  841k 2004/03/17 d:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2004/3/17 14:58
   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/24 22:28
   35k 2002/01/09 d:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/8 22:03
   48k 2003/08/09 d:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 2:25
   28k 2003/07/20 d:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 0:58
   30k 2003/08/11 d:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/10 19:12
   19k 2003/03/22 d:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 19:05
   15k 2003/07/20 d:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 1:00
   15k 2003/08/11 d:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 19:13
  107k 2004/07/06 d:\cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 10:56
   17k 2004/07/06 d:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextpo-0.dll" v0.0 ts=2004/7/6 10:56
  190k 2004/07/06 d:\cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 10:56
   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/6 20:34
   29k 2003/08/10 d:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/10 16:16
  991k 2004/07/06 d:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2004/7/6 11:10
   22k 2001/12/13 d:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 1:28
   37k 2003/08/10 d:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 14:50
   54k 2004/07/06 d:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2004/7/6 10:51
   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/24 22:27
   20k 2002/01/09 d:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/8 22:03
   29k 2003/08/09 d:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 2:25
  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/24 22:29
  175k 2002/01/09 d:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/8 22:03
  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/24 22:17
  202k 2002/01/09 d:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/8 22:03
  224k 2003/08/09 d:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 2:24
   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/24 22:27
   12k 2002/01/09 d:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/8 22:03
   19k 2003/08/09 d:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 2:24
   62k 2003/12/11 d:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/12/11 9:01
   63k 2003/04/11 d:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 1:31
    9k 2003/12/11 d:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/12/11 9:01
   61k 2003/04/11 d:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 1:31
   22k 2002/06/09 d:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
  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/6 20:34
  148k 2003/08/10 d:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/10 16:16
  171k 2004/03/17 d:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2004/3/17 14:58
   61k 2003/12/04 d:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2003/12/3 19:03
 1111k 2004/09/05 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2004/9/4 20:17
    Cygwin DLL version info:
        DLL version: 1.5.11
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 116
        Shared data: 4
        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: Sat Sep 4 23:17:09 EDT 2004
        Shared id: cygwin1S4


Cygwin Package Information
Last downloaded files to: F:\Software\Desktop\Cygwin
Last downloaded files from: http://planetmirror.com/pub/sourceware/cygwin

Package              Version            
_update-info-dir     00227-1            
ash                  20040127-1         
base-files           3.0-3              
base-passwd          2.0-1              
bash                 2.05b-16           
bzip2                1.0.2-5            
clear                1.0-1              
crypt                1.1-1              
cygrunsrv            1.0-1              
cygutils             1.2.5-1            
cygwin               1.5.11-1           
cygwin-doc           1.3-7              
diffutils            2.8.7-1            
editrights           1.01-1             
fileutils            4.1-2              
findutils            4.1.7-4            
gawk                 3.1.4-3            
gdbm                 1.8.3-7            
grep                 2.5-1              
groff                1.18.1-2           
gzip                 1.3.5-1            
less                 381-1              
libbz2_1             1.0.2-5            
libgdbm              1.8.0-5            
libgdbm-devel        1.8.3-7            
libgdbm3             1.8.3-3            
libgdbm4             1.8.3-7            
libgettextpo0        0.14.1-1           
libiconv2            1.9.2-1            
libintl1             0.10.40-1          
libintl2             0.12.1-3           
libintl3             0.14.1-1           
libncurses5          5.2-1              
libncurses6          5.2-8              
libncurses7          5.3-4              
libpcre              4.1-1              
libpcre0             4.5-1              
libpopt0             1.6.4-4            
libreadline4         4.1-2              
libreadline5         4.3-5              
login                1.9-7              
lynx                 2.8.4-8            
man                  1.5k-3             
mktemp               1.5-3              
ncurses              5.3-4              
openssl              0.9.7d-1           
pine                 4.58-1             
readline             4.3-5              
sed                  4.1.2-1            
sh-utils             2.0.15-4           
tar                  1.13.25-5          
termcap              20021106-2         
terminfo             5.3_20030726-1     
texinfo              4.2-4              
textutils            2.0.21-1           
which                1.5-2              
zlib                 1.2.1-1            
Use -h to see help about each section

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]