|
Posted by Gooshi on January 5, 2005, 11:56 pm
If you were Registered and logged in, you could reply and use other advanced thread options
Unable to retrieve message crf7tn$ch9$1@cauldron.broomstick.com
>> Arthur Hagen wrote:
>>
>> Make sure that the cygwin service is set up with the zonealarm
>> service as a dependency. Else they might be started in the "wrong"
>> order. See the -y option to cygrunsrv.
>
-> How do you do this - cannot see anything on this in the user guide
or
-> faq.
>See /usr/share/doc/Cygwin/cygrunsrv.README
>Or run "cygrunsrv --help".
>Note that the -y argument has to be the real service name, and not
the
>executable name or service description. Double-click the entry for
the
>service in the windows Services manager, and the Service name will be
listed
>there (above the Display name and Description).
>Regards,
>--
>*Art
Read the docs but I still cant get this working.
First off I dont see zonealarm as a service but I do see the service
"TrueVector Internet Monitor" ie
C:\WINDOWS\system32\ZoneLabs\vsmon.exe -service and I see the process
zclient.exe. So I assume TrueVector is the zonealarm service.
cygrunsrv.README has :
-------------------------------
-y, --dep <svc_name2>
Optional name of service that must be started before this
new service. The --dep option may be given up to 16 times, listing
another dependent service each time. Try to avoid dependency loops:
that is, if svc_A depends on svc_B, but svc_B depends on svc_A...
-------------------------------
I tried to add to the service "CYGWIN sshd" a dependency but could not
see how to do this. You cannot amend the 'Path to executable' - I
noticed that zonealarm service has a parameter ie
C:\WINDOWS\system32\ZoneLabs\vsmon.exe -service. But I can stop the
service and add 'Start parameters' so I added: -y vsmon.exe. But
noticed that the Apply button is not enabled and once the service is
started these parameters are removed.
So I then tried amending my shortcut in startup from
C:\cygwin\bin\cygrunsrv.exe --start sshd
to
C:\cygwin\bin\cygrunsrv.exe --start sshd -y vsmon.exe
but then the service no longer will start!
Also tried variations on this:
C:\cygwin\bin\cygrunsrv.exe --start sshd -y
C:\WINDOWS\system32\ZoneLabs\vsmon.exe
C:\cygwin\bin\cygrunsrv.exe --start sshd -y
"C:\WINDOWS\system32\ZoneLabs\vsmon.exe"
C:\cygwin\bin\cygrunsrv.exe --start sshd "-y
C:\WINDOWS\system32\ZoneLabs\vsmon.exe"
C:\cygwin\bin\cygrunsrv.exe --start sshd "-y TrueVector Internet
Monitor"
but none of these seem to work. Also tried replacing -y with --dep
|