Can you see something strange in the installation log (Click details button during installation) ?
Release announcements
- 2024-03-13 Copssh client 7.14.1
- 2024-03-13 cwRsync client 6.2.12
- 2024-03-11 Copssh server 8.5.0
- 2024-03-11 Copssh server 7.17.0
- 2024-03-11 Copssh client 7.14.0
Hi
I am trying to run under windows 2000 and when allempting to start the copSSHD service I get the error:-
cygrunsrv: Error starting a service: StartService: Win32 error 193:
%1 is not a valid Win32 application.
Any ideas?
thanks
John
There are 2 errors that I can see:-
setting permissions on C:\Program Files\copssh (run setperms.cmd)
SeTakeOwnershipPrivilege : Access is denied.
and:-
Start sshd servce
/usr/bin/cygrunsrv: Error starting a service: StartService: Win32 error 193:
%1 is not a valid Win32 application.
every thing else looks okay
Looking at the properties of the copssh directory
Administrators have full control
SvcCOPSSH has full control
users have read & execute, list folder contents and read permission
Thanks for your help
john
Try to run setperms.cmd again.
Thanks for your reply.
subinacl reports:-
SeTakeOwnershipPrivilege: Access is denied.
and
net localgroup %LISTACC_ADMGROUP% SvcCOPSSH /add
System error 1378 has occurred.
The specified account name is already a member of the local group.
thanks again
John
It seems that group Administrators does not have take ownership rights on the installation directory. I don't know why that happens. You can try to give ownership manually.
btw, what produces program listacc on your machine ?
listacc produces
SET LISTACC_ADMGROUP=Administrators
SET LISTACC_USRGROUP=Users
The copssh directory and all its sub directoris are owned by Administrators
running
subinacl /subdirectories "C:\Program Files\copssh\*" /setowner=Adminitrators
produces
SeTakeOwnershipPrivilege : Access is denied.
WARNING :Unable to set SeTakeOwnerShipPrivilege privilege. This provolege may be required.
LookupAccountName : setowner 1332 No mapping between account names and security IDs was done.
Current object C:\Program Files\copssh\* will not be processed
thanks again
John
Hi,
I have fixed it by moving the install directory to C:\copssh
I still have the SeTakeOwnershipPrivilege errors in the install log, but the sshd serive is now running and I can connect to it.
Thanks for your help
John