This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fetchmail as a service


I followed the instructions given recently in this forum on how to install
fetchmail as a service (fetchmail is running fine in the background):

* Jason Tishler <jason@tishler.net> [010925 03:26]:
> 
> 
> 2. I needed to (re)define the HOME variable when I installed fetchmail
> as a service:
> 
> cygrunsrv --install fetchmail --path /usr/local/bin/fetchmail --args
"--daemon 300 --nodetach" --env HOME=/home/my_account --termsig TERM --user
'my_user'
--shutdown
> 

When I do this, fetchmail appears fine in the service list (I'm on NT) but if
I want to start the service I get the following message:

Could not start the fetchmail service on \\machine_name. 
Error 2140: An internal Windows NT error occurred. 

I have assigned my account all the user rights to run inetd, for instance. 

Attached is the output of cygcheck...
Thanks for any clue,


-- 
Walter Garcia-Fontes
mailto: wgarcia@upf.es - http://puna.upf.es
Departament d'Economia i Empresa (http://www.econ.upf.es)
Universitat Pompeu Fabra
Ramon Trias Fargas 25-27, 08005 Barcelona, Spain
Tel. +34 93 542 2722 - Fax. +34 93 542 1746


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Oct  5 11:52:52 2001

WinNT Ver 4.0 build 1381 Service Pack 4

Path:	/usr/local/bin
	/usr/bin
	/bin
	/usr/X11r6/bin
	/usr/local/netpbm/bin//cygdrive/c/WINDOWS/system32
	/cygdrive/c/WINDOWS
	/cygdrive/c/NTRESKIT
	/cygdrive/c/NTRESKIT/Perl
	/usr/bin
	/cygdrive/c/WINDOWS/system32/nls
	/cygdrive/c/WINDOWS/system32/nls/English
	W
	.
	Z
	.
	.

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `binmode tty ntsec'
HOME = `/cygdrive/c/users/wgarcia'
USER = `wgarcia'
PWD = `/cygdrive/c/users/wgarcia'
MAKE_MODE = `unix'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS    4000Mb  65% CP CS UN PA FC     
d:  hd  NTFS   17359Mb  23% CP CS UN PA FC     
e:  hd  NTFS   13515Mb  51% CP CS UN PA FC     
h:  net NWFS   12303Mb  51% CP          FC     VOL1
i:  net NWFS   166115Mb   3% CP                 VOL1
j:  net NWFS    5000Mb  27% CP                 CDROM1
m:  net NWFS    3486Mb  65% CP          FC     GPEM
o:  cd           N/A    N/A                    
p:  cd           N/A    N/A                    
q:  cd           N/A    N/A                    
w:  net NWFS     200Mb  51% CP          FC     W95
x:  net NWFS     200Mb  51% CP          FC     W95
y:  net NWFS     200Mb  51% CP          FC     W95
z:  net NWFS   12303Mb  51% CP          FC     VOL1

D:\cygwin\bin  /usr/bin  system  binmode
D:\cygwin\lib  /usr/lib  system  binmode
D:\cygwin  /        system  binmode
c:    /cygdrive/c  user    binmode,noumount
d:    /cygdrive/d  user    binmode,noumount
e:    /cygdrive/e  user    binmode,noumount
h:    /cygdrive/h  user    binmode,noumount
i:    /cygdrive/i  user    binmode,noumount
j:    /cygdrive/j  user    binmode,noumount
m:    /cygdrive/m  user    binmode,noumount
w:    /cygdrive/w  user    binmode,noumount
x:    /cygdrive/x  user    binmode,noumount
y:    /cygdrive/y  user    binmode,noumount
z:    /cygdrive/z  user    binmode,noumount

Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: c:\NTRESKIT\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: c:\NTRESKIT\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\sh.exe

   56k 2000/12/03 D:\cygwin\bin\cygbz21.0.dll
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll
   18k 2000/10/23 D:\cygwin\bin\cyggdbm.dll
   17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll
   21k 2001/06/28 D:\cygwin\bin\cyghistory5.dll
   21k 2001/06/20 D:\cygwin\bin\cygintl.dll
   81k 2001/04/28 D:\cygwin\bin\cygitcl30.dll
   35k 2001/04/28 D:\cygwin\bin\cygitk30.dll
   45k 2001/07/04 D:\cygwin\bin\cygjbig1.dll
  119k 2001/06/06 D:\cygwin\bin\cygjpeg6b.dll
   26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll
  156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll
  226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll
   15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll
  163k 2001/05/06 D:\cygwin\bin\cygpng2.dll
  108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll
  135k 2001/06/28 D:\cygwin\bin\cygreadline5.dll
  390k 2001/04/28 D:\cygwin\bin\cygtcl80.dll
    5k 2001/04/28 D:\cygwin\bin\cygtclpip80.dll
   10k 2001/04/28 D:\cygwin\bin\cygtclreg80.dll
  245k 2001/06/12 D:\cygwin\bin\cygtiff3.dll
  623k 2001/04/28 D:\cygwin\bin\cygtk80.dll
   41k 2001/07/04 D:\cygwin\bin\cygXpm-noX4.dll
   45k 2001/07/04 D:\cygwin\bin\cygXpm-X4.dll
   49k 2001/02/03 D:\cygwin\bin\cygz.dll
  701k 2001/09/13 D:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 3
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 46
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix: 
        build date: Wed Sep 12 23:54:31 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]