Reini is right. All that quoting and \-escaping was
due to command processing by bash.
Anyways, I tried to do the same from a cmd shell, and
got the same response.
net start |egrep -i 'rpc|regist' indicates the
following services are running:
Remote Procedure Call (RPC)
Remote Procedure Call (RPC) Locator
Then I tried the cygrunsrv route. So I first installed
the service (used the -c option to set the
change-directory). I got the following error:
cygwin-bash> cygrunsrv.exe -S colinuxarch
cygrunsrv: Error starting a service:
QueryServiceStatus: Win32 error 1062:
The service has not been started.
Fortunately cygrunsrv dumps a log file in
/var/log/colinuxarch.log. The contents of that file
Cooperative Linux Daemon, 0.6.2-pre4
Compiled on Thu Oct 7 13:35:51 2004
daemon: exit code 80008401
daemon: error - CO_RC_ERROR_ERROR, line 33, file id 0
Anyone know what that exit code means? Also on the
line CO_RC_ERROR_ERROR, which file is that line
number 33 referring to?
--- Reini Urban <rurban@...> wrote:
> Henry Nestler schrieb:
> > Reini Urban wrote:
> >> No. He is on bash, which needs either '\' quoting
> or "\\" to be
> >> correctly passed to the process.
> > But why is in BASH and not in CMD.EXE
> > Service should start from native windows command
> prompt, not from CygWin
> > with Path-Translators (simulation of mount).
> nope. this is just a simple process invocation and
> has nothing to do
> with cygwin mounts. it just passes the args to
> colinux-daemon.exe, which
> are quoted differently by various shells. cmd vs.
> bash in this case.
> the mount is only used to search the process
> colinux-daemon.exe, the
> rest is independent.
> BTW: it's no problem to register ot start any
> service from cygwin also.
> And it's no problem to use cygrunsrv instead, esp.
> for the bridge, which
> I do. cygrunsrv has some neat features (like --chdir
> <dir>, logging,
> --dep, --termsig, ...) which the current win32
> daemons don't have.
> regardless if invoked via net start <service>,
> psservice start <service>
> cygrunsrv --start <service> or directly.
> Reini Urban
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
> coLinux-users mailing list
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!