delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/28/19:25:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040828184523.038ca8b0@pop.prospeed.net>
X-Sender:
Date: Sat, 28 Aug 2004 19:24:50 -0400
To: "Povolotsky, Alexander" <Alexander DOT Povolotsky AT marconi DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: RE: cygwin nfs server
Cc: "'Hugh Sparks'" <hugh AT csparks DOT com>, "'Robb, Sam'" <sam DOT robb AT timesys DOT com>
In-Reply-To: <313680C9A886D511A06000204840E1CF08F43161@whq-msgusr-02.pit .comms.marconi.com>
References: <313680C9A886D511A06000204840E1CF08F43161 AT whq-msgusr-02 DOT pit DOT comms DOT marconi DOT com>
Mime-Version: 1.0

At 01:55 PM 8/28/2004, you wrote:
>>But it's apparently not in your path for some reason.
>>Add it to the Windows system environment variables and see if that clears
>up >your problem.  
>I added /usr/sbin to the path in my .bashrc (per above suggestion from Larry
>Hall)

Actually, that was not what I was suggesting at all.  Rather I was 
suggesting that you add the Windows version of '/usr/bin' to your 
system wide PATH setting in Windows.  The error you were getting 
suggests that cygwin1.dll cannot be found for some reason and this
would ensure that the path is not the problem (of course if the path
is not the problem, I'm not sure what is).  Adding '/usr/sbin' or '/usr/bin'
to your shell's path isn't going to help you very much I expect.


>$ set 
>...
>PATH='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/d/Software/Activ
>eTcl/bin:/cygdrive/c/Orant/bin:/cygdrive/c/Ora8/bin:/cygdrive/c/Program
>Files/Oracle/jre/1.1.7/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:
>/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/d/Software:/cygdrive/c/Program
>Files/PC-Doctor for Windows/services:/cygdrive/z/program
>files/rksupport:/cygdrive/d/Software/cvsnt:/
>cygdrive/c/SFU/common/:.:/usr/sbin'


Yeah but like I said, this is less interesting because this is the path 
in your current shell, which isn't going to be the same path as the service
sees.
 

>but I found "Readme" for NFS server and tried to do it "by the book" from
>the Cygwin shell ...
>
>$ cygrunsrv.exe -I "portmap" -p /usr/sbin/portmap -a -F
>cygrunsrv: Error installing a service: OpenService:  Win32 error 1073:
>The specified service already exists.


That just means that it's been installed already.


>However (as I have stated several times already)
>the Cygwin portmap service is not listed ...


OK.  So what does the following command show you?

"ls -l /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services | egrep '(nfs|portmap|mount)'"

And these:

cygrunsrv -Q mountd
cygrunsrv -Q nfsd
cygrunsrv -Q portmap


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019