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]

Win32 Error 1062: The Service has not been started


My installation of cygwin (1.3.12) on to a Windows NT4.0 machine has failed at the final hurdle trying to start the service: -

D:\cygwin\cygwin\bin>cygrunsrv -I sshd -p /usr/sbin/sshd -e PATH="/bin:$PATH"

	D:\cygwin\cygwin\bin>cygrunsrv -S sshd
	cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
	The service has not been started.

I know this has been raised before and believe me I have searched the archives and found people have managed to solve this in different ways.
I've re-mounted all of my mounts as "system" : mount -m | sed -e 's/ -u / -s /g' -e 's/$/;/'
I've checked and changed permissions to the entire cygwin directory and cannot get the service to start.
My suspicion is something on the server rather than the cygwin installation package as this same package has been used on over 400 windows servers without this problem happening before. (maybe a security policy has been implemented on the server farm that I don't know about)
The installation appears to work on some servers and fails on a few. I've checked a working servers cygcheck output from a failed one and can't see anything obvious. Any help someone can give to point me in the right direction would be great, I've been looking at this for days.
Many Thanks
Mark Flattery


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Dec 16 14:07:01 2004

Windows NT Ver 4.0 Build 1381 Service Pack 6

Path:	C:\Program Files\IBM\MQSeries\Java\lib
	C:\WINNT\system32
	C:\WINNT
	d:\Program Files\Mts
	C:\WINNT\System32\WBEM
	C:\Program Files\IBM\MQSeries\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

Path = `C:\Program Files\IBM\MQSeries\Java\lib;C:\WINNT\system32;C:\WINNT;d:\Program Files\Mts;C:\WINNT\System32\WBEM;C:\Program Files\IBM\MQSeries\bin'

COMPUTERNAME = `APPRSLTSBDC1163'
ComSpec = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HUBCONFIG = `D:\progra~1\ait\config\hubconfig.xml'
INCLUDE = `d:\Program Files\Mts\Include'
LIB = `d:\Program Files\Mts\Lib'
LOGONSERVER = `\\APPRSLTSBDC1064'
NUMBER_OF_PROCESSORS = `4'
OS = `Windows_NT'
Os2LibPath = `C:\WINNT\system32\os2\dll;'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0202'
PROMPT = `$P$G'
SystemDrive = `C:'
SystemRoot = `C:\WINNT'
TEMP = `C:\TEMP'
TMP = `C:\TEMP'
USERDOMAIN = `LTSBDC1RES'
USERNAME = `athene'
USERPROFILE = `C:\WINNT\Profiles\athene'
windir = `C:\WINNT'

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
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
 (default) = `d:/cygwin/Cygwin'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
 (default) = `d:/cygwin/Cygwin/bin'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
 (default) = `d:/cygwin/Cygwin/lib'
 flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  NTFS    3999Mb  16% CP CS UN PA FC
d:  hd  NTFS   30731Mb  15% CP CS UN PA FC
e:  hd  NTFS   34731Mb   1% CP CS UN PA FC
z:  cd           N/A    N/A

d:/cygwin/Cygwin      /         system  binmode
d:/cygwin/Cygwin/bin  /usr/bin  system  binmode
d:/cygwin/Cygwin/lib  /usr/lib  system  binmode

Found: .\bash.exe
Found: .\cat.exe
Not Found: cpp (good!)
Found: .\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: .\ls.exe
Not Found: make
Found: .\sh.exe

 621k 2004/12/07 .\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                 "cygcrypto.dll" v0.0 ts=2002/5/17 13:24
  45k 2004/12/07 .\cygform5.dll - os=4.0 img=1.0 sys=4.0
                 "cygform5.dll" v0.0 ts=2001/4/25 6:28
  35k 2004/12/07 .\cygform6.dll - os=4.0 img=1.0 sys=4.0
                 "cygform6.dll" v0.0 ts=2002/1/9 6:03
  19k 2004/12/07 .\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                 "cyggdbm.dll" v0.0 ts=2002/2/20 3:05
  17k 2004/12/07 .\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                 "cyghistory4.dll" v0.0 ts=2001/1/7 4:34
  20k 2004/12/07 .\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                 "cyghistory5.dll" v0.0 ts=2002/1/13 1:27
  22k 2004/12/07 .\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                 "cygintl-1.dll" v0.0 ts=2001/12/13 9:28
  26k 2004/12/07 .\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                 "cygmenu5.dll" v0.0 ts=2001/4/25 6:27
  20k 2004/12/07 .\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                 "cygmenu6.dll" v0.0 ts=2002/1/9 6:03
 156k 2004/12/07 .\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses++5.dll" v0.0 ts=2001/4/25 6:29
 175k 2004/12/07 .\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses++6.dll" v0.0 ts=2002/1/9 6:03
 226k 2004/12/07 .\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses5.dll" v0.0 ts=2001/4/25 6:17
 202k 2004/12/07 .\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses6.dll" v0.0 ts=2002/1/9 6:03
  15k 2004/12/07 .\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                 "cygpanel5.dll" v0.0 ts=2001/4/25 6:27
  12k 2004/12/07 .\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                 "cygpanel6.dll" v0.0 ts=2002/1/9 6:03
  40k 2004/12/07 .\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                 "cygpcre.dll" v0.0 ts=2001/11/21 22:15
  39k 2004/12/07 .\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                 "cygpcreposix.dll" v0.0 ts=2001/11/21 22:15
 108k 2004/12/07 .\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                 "cygreadline4.dll" v0.0 ts=2001/1/7 4:34
 121k 2004/12/07 .\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                 "cygreadline5.dll" v0.0 ts=2002/1/13 1:27
 156k 2004/12/07 .\cygssl.dll - os=4.0 img=1.0 sys=4.0
                 "cygssl.dll" v0.0 ts=2002/5/17 13:24
  50k 2004/12/07 .\cygz.dll - os=4.0 img=1.0 sys=4.0
                 "cygz.dll" v0.0 ts=2002/3/12 4:38
 882k 2004/12/07 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                 "cygwin1.dll" v0.0 ts=2002/7/3 21:42
   Cygwin DLL version info:
       DLL version: 1.3.12
       DLL epoch: 19
       DLL bad signal mask: 19005
       DLL old termios: 5
       DLL malloc env: 28
       API major: 0
       API minor: 54
       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: Wed Jul 3 16:42:07 EDT 2002
       Shared id: cygwin1S3

 621k 2004/12/07 .\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                 "cygcrypto.dll" v0.0 ts=2002/5/17 13:24
  45k 2004/12/07 .\cygform5.dll - os=4.0 img=1.0 sys=4.0
                 "cygform5.dll" v0.0 ts=2001/4/25 6:28
  35k 2004/12/07 .\cygform6.dll - os=4.0 img=1.0 sys=4.0
                 "cygform6.dll" v0.0 ts=2002/1/9 6:03
  19k 2004/12/07 .\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                 "cyggdbm.dll" v0.0 ts=2002/2/20 3:05
  17k 2004/12/07 .\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                 "cyghistory4.dll" v0.0 ts=2001/1/7 4:34
  20k 2004/12/07 .\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                 "cyghistory5.dll" v0.0 ts=2002/1/13 1:27
  22k 2004/12/07 .\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                 "cygintl-1.dll" v0.0 ts=2001/12/13 9:28
  26k 2004/12/07 .\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                 "cygmenu5.dll" v0.0 ts=2001/4/25 6:27
  20k 2004/12/07 .\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                 "cygmenu6.dll" v0.0 ts=2002/1/9 6:03
 156k 2004/12/07 .\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses++5.dll" v0.0 ts=2001/4/25 6:29
 175k 2004/12/07 .\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses++6.dll" v0.0 ts=2002/1/9 6:03
 226k 2004/12/07 .\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses5.dll" v0.0 ts=2001/4/25 6:17
 202k 2004/12/07 .\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                 "cygncurses6.dll" v0.0 ts=2002/1/9 6:03
  15k 2004/12/07 .\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                 "cygpanel5.dll" v0.0 ts=2001/4/25 6:27
  12k 2004/12/07 .\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                 "cygpanel6.dll" v0.0 ts=2002/1/9 6:03
  40k 2004/12/07 .\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                 "cygpcre.dll" v0.0 ts=2001/11/21 22:15
  39k 2004/12/07 .\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                 "cygpcreposix.dll" v0.0 ts=2001/11/21 22:15
 108k 2004/12/07 .\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                 "cygreadline4.dll" v0.0 ts=2001/1/7 4:34
 121k 2004/12/07 .\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                 "cygreadline5.dll" v0.0 ts=2002/1/13 1:27
 156k 2004/12/07 .\cygssl.dll - os=4.0 img=1.0 sys=4.0
                 "cygssl.dll" v0.0 ts=2002/5/17 13:24
  50k 2004/12/07 .\cygz.dll - os=4.0 img=1.0 sys=4.0
                 "cygz.dll" v0.0 ts=2002/3/12 4:38
 882k 2004/12/07 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                 "cygwin1.dll" v0.0 ts=2002/7/3 21:42
   Cygwin DLL version info:
       DLL version: 1.3.12
       DLL epoch: 19
       DLL bad signal mask: 19005
       DLL old termios: 5
       DLL malloc env: 28
       API major: 0
       API minor: 54
       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: Wed Jul 3 16:42:07 EDT 2002
       Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: E:\scratch\Cygwin
Last downloaded files from: ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin


Package             Version
_update-info-dir    00016-1
ash                 20020131-1
bash                2.05a-3
cygrunsrv           0.95-1
cygwin              1.3.12-1
diff                1.0-1
diffutils           2.8.1-1
fileutils           4.1-1
findutils           4.1.7-4
gawk                3.0.4-1
gdbm                1.8.0-4
grep                2.5-1
gzip                1.3.3-1
libintl1            0.10.40-1
libncurses5         5.2-1
libncurses6         5.2-8
libreadline4        4.1-2
libreadline5        4.2a-1
login               1.4-3
ncurses             5.2-8
openssh             3.4p1-2
openssl             0.9.6d-1
pcre                3.7-1
readline            4.2a-1
sed                 3.02-1
sh-utils            2.0-2
tar                 1.13.19-1
termcap             20020403-1
terminfo            5.2-3
texinfo             4.2-3
textutils           2.0.21-1
which               1.5-1
zlib                1.1.4-1

Use -h to see help about each section

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



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