This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygserver service won't start
On Sep 10 09:47, Alder wrote:
> Corinna,
>
> I don't know if this is relevant, but I have to add the "/bin" directory
> to the cygrunsrv command line in the /bin/cygserver-config file in order
> to avoid Windows failing to find the 'cygwin1.dll". So, the line I have is:
>
> if ! cygrunsrv -I cygserver -d "CYGWIN cygserver" \
> -p /usr/sbin/cygserver -f "Shared memory manager" \
> -2 /var/log/cygserver.err -e PATH="/bin:$PATH"
Did you know that cygrunsrv adds /bin to $PATH by itself before trying
to run the inferior process for the very reason to find cygwin1.dll?
Adding it explicitely is really unnecessary. Just to be sure, I tried
it again on my machine and it works fine.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/