Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <313680C9A886D511A06000204840E1CF08F43162@whq-msgusr-02.pit.comms.marconi.com> From: "Povolotsky, Alexander" To: "'Cygwin List'" Cc: "'Hugh Sparks'" , "'Robb, Sam'" , "'bertrand DOT marquis AT sysgo DOT com'" , "'boxforsr'" , "'arnette AT freemail DOT hu'" Subject: "cygrunsrv -Q portmap" says: Service portmap exists ... Type: K ernel Driver Date: Sun, 29 Aug 2004 09:27:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" $ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services | e grep '(nfs|portmap|mount)' dr-xr-x--- 3 Administ SYSTEM 0 Aug 29 08:55 mountd dr-xr-x--- 3 Administ SYSTEM 0 Aug 29 08:55 nfsd $ cygrunsrv -Q mountd Service mountd exists Type : Own Process Current State : Running Controls Accepted : Accept Stop $ cygrunsrv -Q nfsd Service nfsd exists Type : Own Process Current State : Running Controls Accepted : Accept Stop $ cygrunsrv -Q portmap Service portmap exists !!!!!!!!!!!!!! ??????????? Type : Kernel Driver !!!!!!!!!!!!!! ?????????????????? Current State : Running Controls Accepted : Accept Stop Perhaps Windows XP has it as a driver by default ? Or is it because (just recalled - sorry for not mentioning it before - I really have have forgotten about it) I have Microsoft's "Windows services for Unix ver. 3.5" being installed ? Thanks, Alex -----Original Message----- From: Larry Hall [mailto:lh-no-personal-replies-please AT cygwin DOT com] Sent: Saturday, August 28, 2004 7:25 PM To: Povolotsky, Alexander; 'cygwin AT cygwin DOT com' Cc: 'Hugh Sparks'; 'Robb, Sam' Subject: RE: cygwin nfs server 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/Acti v >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/