public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* fetchmail pops up console windows
@ 2008-02-22 14:38 Dr. Volker Zell
  2008-02-22 15:03 ` Corinna Vinschen
  2009-01-13  7:36 ` Gary Johnson
  0 siblings, 2 replies; 17+ messages in thread
From: Dr. Volker Zell @ 2008-02-22 14:38 UTC (permalink / raw)
  To: Cygwin List

Hi

This still bugs me. fetchmail pops up console windows when delivering
mails to procmail.
It doesn't matter if I run fetchmail directly from the commandline (in
my case in a rxvt window under X) or as a service.

I build a debug version of fetchmail. But when running it under the
insight debugger the problem vanishes. 

Any hint what could cause this popup windows is appreciated. I'm running
under XP SP2 with the latest packages installed.

Ciao
  Volker

PS: I tried to send this mail with cygcheck output attached, but somehow
it does not arrive. So this time without.

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2008-02-22 14:38 fetchmail pops up console windows Dr. Volker Zell
@ 2008-02-22 15:03 ` Corinna Vinschen
  2008-02-22 18:03   ` Christopher Faylor
  2009-01-13  7:36 ` Gary Johnson
  1 sibling, 1 reply; 17+ messages in thread
From: Corinna Vinschen @ 2008-02-22 15:03 UTC (permalink / raw)
  To: cygwin

On Feb 22 13:50, Dr. Volker Zell wrote:
> Hi
> 
> This still bugs me. fetchmail pops up console windows when delivering
> mails to procmail.
> It doesn't matter if I run fetchmail directly from the commandline (in
> my case in a rxvt window under X) or as a service.
> 
> I build a debug version of fetchmail. But when running it under the
> insight debugger the problem vanishes. 

Add a sleep(60) early in the main function, rebuild, start fetchmail,
then attach gdb to the running process from another console window,
using the pid of fetchmail as second parameter.  Then set a breakpoint
to the next line after the sleep and continue.  This decouples the
console handling of fetchmail from the console handling of gdb.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2008-02-22 15:03 ` Corinna Vinschen
@ 2008-02-22 18:03   ` Christopher Faylor
  0 siblings, 0 replies; 17+ messages in thread
From: Christopher Faylor @ 2008-02-22 18:03 UTC (permalink / raw)
  To: cygwin

On Fri, Feb 22, 2008 at 02:04:15PM +0100, Corinna Vinschen wrote:
>On Feb 22 13:50, Dr. Volker Zell wrote:
>>This still bugs me.  fetchmail pops up console windows when delivering
>>mails to procmail.  It doesn't matter if I run fetchmail directly from
>>the commandline (in my case in a rxvt window under X) or as a service.
>>
>>I build a debug version of fetchmail.  But when running it under the
>>insight debugger the problem vanishes.
>
>Add a sleep(60) early in the main function, rebuild, start fetchmail,
>then attach gdb to the running process from another console window,
>using the pid of fetchmail as second parameter.  Then set a breakpoint
>to the next line after the sleep and continue.  This decouples the
>console handling of fetchmail from the console handling of gdb.

Or build cygwin1.dll with --enable-debugging and set the "CYGWIN_DEBUG"
environment variable to "fetchmail".  It should popup a window with
a gdb attached to the fetchmail.

cgf

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2008-02-22 14:38 fetchmail pops up console windows Dr. Volker Zell
  2008-02-22 15:03 ` Corinna Vinschen
@ 2009-01-13  7:36 ` Gary Johnson
  2009-01-13 15:10   ` Jason Tishler
                     ` (2 more replies)
  1 sibling, 3 replies; 17+ messages in thread
From: Gary Johnson @ 2009-01-13  7:36 UTC (permalink / raw)
  To: Cygwin List

On 2008-02-22, Dr. Volker Zell wrote:
> Hi
> 
> This still bugs me. fetchmail pops up console windows when delivering
> mails to procmail.
> It doesn't matter if I run fetchmail directly from the commandline (in
> my case in a rxvt window under X) or as a service.

> Any hint what could cause this popup windows is appreciated. I'm running
> under XP SP2 with the latest packages installed.

I'm having the same problem running fetchmail as a daemon from the
command line.  Were you able to find a solution?

Regards,
Gary



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13  7:36 ` Gary Johnson
@ 2009-01-13 15:10   ` Jason Tishler
  2009-01-13 18:25     ` Gary Johnson
  2009-01-13 17:02   ` Buchbinder, Barry (NIH/NIAID) [E]
  2009-01-13 18:45   ` Dr. Volker Zell
  2 siblings, 1 reply; 17+ messages in thread
From: Jason Tishler @ 2009-01-13 15:10 UTC (permalink / raw)
  To: Cygwin List

Gary,

On Mon, Jan 12, 2009 at 11:23:08PM -0800, Gary Johnson wrote:
> On 2008-02-22, Dr. Volker Zell wrote:
> > This still bugs me. fetchmail pops up console windows when
> > delivering mails to procmail.  It doesn't matter if I run fetchmail
> > directly from the commandline (in my case in a rxvt window under X)
> > or as a service.
> 
> > Any hint what could cause this popup windows is appreciated. I'm
> > running under XP SP2 with the latest packages installed.
> 
> I'm having the same problem running fetchmail as a daemon from the
> command line.  Were you able to find a solution?

FWIW, I don't have this problem when running fetchmail as a service.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* RE: fetchmail pops up console windows
  2009-01-13  7:36 ` Gary Johnson
  2009-01-13 15:10   ` Jason Tishler
@ 2009-01-13 17:02   ` Buchbinder, Barry (NIH/NIAID) [E]
  2009-01-13 18:45   ` Dr. Volker Zell
  2 siblings, 0 replies; 17+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2009-01-13 17:02 UTC (permalink / raw)
  To: Cygwin List, 'Gary Johnson'

Gary Johnson wrote on Tuesday, January 13, 2009 2:23 AM:
> On 2008-02-22, Dr. Volker Zell wrote:
>> This still bugs me. fetchmail pops up console windows when
>> delivering mails to procmail. It doesn't matter if I run fetchmail
>> directly from the commandline (in my case in a rxvt window under X)
>> or as a service.
>
>> Any hint what could cause this popup windows is appreciated. I'm
>> running under XP SP2 with the latest packages installed.
>
> I'm having the same problem running fetchmail as a daemon from the
> command line.  Were you able to find a solution?

If Dr. Zell cannot solve this problem, I doubt that anything I might
say would be of any use, especially since I have never been faced
with this problem.  But here goes.

Does `cygstart run fetchmail' do what you want?  (See `man run'.)

(Note that run has a `-wait' option.  This might be useful to the
person [in another recent thread] who wanted cygstart to have a
`--wait' option.)

Again, I apologize if this was so much wasted bandwidth.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13 15:10   ` Jason Tishler
@ 2009-01-13 18:25     ` Gary Johnson
  2009-01-13 19:51       ` Jason Tishler
  0 siblings, 1 reply; 17+ messages in thread
From: Gary Johnson @ 2009-01-13 18:25 UTC (permalink / raw)
  To: Cygwin List

On 2009-01-13, Jason Tishler wrote:
> Gary,
> 
> On Mon, Jan 12, 2009 at 11:23:08PM -0800, Gary Johnson wrote:
> > On 2008-02-22, Dr. Volker Zell wrote:
> > > This still bugs me. fetchmail pops up console windows when
> > > delivering mails to procmail.  It doesn't matter if I run fetchmail
> > > directly from the commandline (in my case in a rxvt window under X)
> > > or as a service.
> > 
> > > Any hint what could cause this popup windows is appreciated. I'm
> > > running under XP SP2 with the latest packages installed.
> > 
> > I'm having the same problem running fetchmail as a daemon from the
> > command line.  Were you able to find a solution?
> 
> FWIW, I don't have this problem when running fetchmail as a service.

I saw that in an earlier post and tried to follow the instructions
in /usr/share/doc/Cygwin/fetchmail-6.3.9.README, but I get this
result:

    $ cygrunsrv --install fetchmail --path /usr/bin/fetchmail --env HOME="$HOME" --user "$USERDOMAIN\\$USERNAME" '-w ' --args '--daemon 300 --nodetach' --shutdown

    $ cygrunsrv -S fetchmail
    cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
    The service did not start due to a logon failure.

I have both cron and sshd running as services, so that much works,
but they may be running as the system user (whatever it's called).
I don't know how to diagnose this sort of failure.

Regards,
Gary



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13  7:36 ` Gary Johnson
  2009-01-13 15:10   ` Jason Tishler
  2009-01-13 17:02   ` Buchbinder, Barry (NIH/NIAID) [E]
@ 2009-01-13 18:45   ` Dr. Volker Zell
  2009-01-14  0:49     ` Gary Johnson
  2 siblings, 1 reply; 17+ messages in thread
From: Dr. Volker Zell @ 2009-01-13 18:45 UTC (permalink / raw)
  To: Cygwin List

>>>>> Gary Johnson writes:

    > On 2008-02-22, Dr. Volker Zell wrote:
    >> Hi
    >> 
    >> This still bugs me. fetchmail pops up console windows when delivering
    >> mails to procmail.
    >> It doesn't matter if I run fetchmail directly from the commandline (in
    >> my case in a rxvt window under X) or as a service.

    >> Any hint what could cause this popup windows is appreciated. I'm running
    >> under XP SP2 with the latest packages installed.

    > I'm having the same problem running fetchmail as a daemon from the
    > command line.  Were you able to find a solution?

Yes, cockpit error, I didn't follow the cygwin fetchmail README:

fetchmail --nodetach is your friend
          ^^^^^^^^^^
          
    > Regards,
    > Gary

Ciao
  Volker
  

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13 18:25     ` Gary Johnson
@ 2009-01-13 19:51       ` Jason Tishler
  2009-01-13 22:15         ` Gary Johnson
  0 siblings, 1 reply; 17+ messages in thread
From: Jason Tishler @ 2009-01-13 19:51 UTC (permalink / raw)
  To: Cygwin List

Gary,

On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote:
> On 2009-01-13, Jason Tishler wrote:
> > FWIW, I don't have this problem when running fetchmail as a service.
> 
> I saw that in an earlier post and tried to follow the instructions in
> /usr/share/doc/Cygwin/fetchmail-6.3.9.README, but I get this result:
> 
> [snip]
> 
>     $ cygrunsrv -S fetchmail
>     cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
>     The service did not start due to a logon failure.
> 
> I have both cron and sshd running as services, so that much works,
> but they may be running as the system user (whatever it's called).
> I don't know how to diagnose this sort of failure.

Did you heed the following from the README?

    o the $USERDOMAIN\\$USERNAME account must have the "Log on as a
      service" user right for Cygwin fetchmail to start as a NT service

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13 19:51       ` Jason Tishler
@ 2009-01-13 22:15         ` Gary Johnson
  2009-01-13 22:21           ` Larry Hall (Cygwin)
  2009-01-14 16:55           ` Jason Tishler
  0 siblings, 2 replies; 17+ messages in thread
From: Gary Johnson @ 2009-01-13 22:15 UTC (permalink / raw)
  To: Cygwin List

On 2009-01-13, Jason Tishler wrote:
> Gary,
> 
> On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote:
> > On 2009-01-13, Jason Tishler wrote:
> > > FWIW, I don't have this problem when running fetchmail as a service.
> > 
> > I saw that in an earlier post and tried to follow the instructions in
> > /usr/share/doc/Cygwin/fetchmail-6.3.9.README, but I get this result:
> > 
> > [snip]
> > 
> >     $ cygrunsrv -S fetchmail
> >     cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
> >     The service did not start due to a logon failure.
> > 
> > I have both cron and sshd running as services, so that much works,
> > but they may be running as the system user (whatever it's called).
> > I don't know how to diagnose this sort of failure.
> 
> Did you heed the following from the README?
> 
>     o the $USERDOMAIN\\$USERNAME account must have the "Log on as a
>       service" user right for Cygwin fetchmail to start as a NT service

I heeded it in the sense that I read it and understood that it might
be the problem.  I did go searching in the Control Panel for likely
utilities, but I couldn't find anything in User Accounts or anywhere
else that would let me set user rights or that even told me what
they were.  I did not search Windows Help and Support.  That sort of
cluelessness was meant to be implicit in the statement, "I don't
know how to diagnose this sort of failure," but I suppose I should
have been more clear.

So how does one set that right?

Regards,
Gary



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13 22:15         ` Gary Johnson
@ 2009-01-13 22:21           ` Larry Hall (Cygwin)
  2009-01-14  2:36             ` Gary Johnson
  2009-01-14 16:55           ` Jason Tishler
  1 sibling, 1 reply; 17+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-13 22:21 UTC (permalink / raw)
  To: Cygwin List, cygwin

Gary Johnson wrote:
> On 2009-01-13, Jason Tishler wrote:
>> Gary,
>>
>> On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote:
>>> On 2009-01-13, Jason Tishler wrote:
>>>> FWIW, I don't have this problem when running fetchmail as a service.
>>> I saw that in an earlier post and tried to follow the instructions in
>>> /usr/share/doc/Cygwin/fetchmail-6.3.9.README, but I get this result:
>>>
>>> [snip]
>>>
>>>     $ cygrunsrv -S fetchmail
>>>     cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
>>>     The service did not start due to a logon failure.
>>>
>>> I have both cron and sshd running as services, so that much works,
>>> but they may be running as the system user (whatever it's called).
>>> I don't know how to diagnose this sort of failure.
>> Did you heed the following from the README?
>>
>>     o the $USERDOMAIN\\$USERNAME account must have the "Log on as a
>>       service" user right for Cygwin fetchmail to start as a NT service
> 
> I heeded it in the sense that I read it and understood that it might
> be the problem.  I did go searching in the Control Panel for likely
> utilities, but I couldn't find anything in User Accounts or anywhere
> else that would let me set user rights or that even told me what
> they were.  I did not search Windows Help and Support.  That sort of
> cluelessness was meant to be implicit in the statement, "I don't
> know how to diagnose this sort of failure," but I suppose I should
> have been more clear.
> 
> So how does one set that right?

'/usr/share/csih/cygwin-service-installation-helper.sh' has this:

editrights -u "${user}" -t SeServiceLogonRight

Try that, substituting the appropriate user for your situation and
Windows version.

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

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13 18:45   ` Dr. Volker Zell
@ 2009-01-14  0:49     ` Gary Johnson
  2009-01-14  1:37       ` Gary Johnson
  0 siblings, 1 reply; 17+ messages in thread
From: Gary Johnson @ 2009-01-14  0:49 UTC (permalink / raw)
  To: Cygwin List

On 2009-01-13, Dr. Volker Zell wrote:
> >>>>> Gary Johnson writes:
> 
>     > On 2008-02-22, Dr. Volker Zell wrote:
>     >> Hi
>     >> 
>     >> This still bugs me. fetchmail pops up console windows when delivering
>     >> mails to procmail.
>     >> It doesn't matter if I run fetchmail directly from the commandline (in
>     >> my case in a rxvt window under X) or as a service.
> 
>     >> Any hint what could cause this popup windows is appreciated. I'm running
>     >> under XP SP2 with the latest packages installed.
> 
>     > I'm having the same problem running fetchmail as a daemon from the
>     > command line.  Were you able to find a solution?
> 
> Yes, cockpit error, I didn't follow the cygwin fetchmail README:
> 
> fetchmail --nodetach is your friend
>           ^^^^^^^^^^

Thank you!  That worked, at the expense of having to keep a terminal
open.  I then tried this,

    fetchmail --nodetach >> fetchmail.log 2>&1 &

which leaves the terminal free, doesn't have the pop-up console
windows, and can be killed with "fetchmail -q".

Regards,
Gary



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-14  0:49     ` Gary Johnson
@ 2009-01-14  1:37       ` Gary Johnson
  0 siblings, 0 replies; 17+ messages in thread
From: Gary Johnson @ 2009-01-14  1:37 UTC (permalink / raw)
  To: Cygwin List

On 2009-01-13, Dr. Volker Zell wrote:
> >>>>> Gary Johnson writes:
> 
>     > On 2008-02-22, Dr. Volker Zell wrote:
>     >> Hi
>     >> 
>     >> This still bugs me. fetchmail pops up console windows when delivering
>     >> mails to procmail.
>     >> It doesn't matter if I run fetchmail directly from the commandline (in
>     >> my case in a rxvt window under X) or as a service.
> 
>     >> Any hint what could cause this popup windows is appreciated. I'm running
>     >> under XP SP2 with the latest packages installed.
> 
>     > I'm having the same problem running fetchmail as a daemon from the
>     > command line.  Were you able to find a solution?
> 
> Yes, cockpit error, I didn't follow the cygwin fetchmail README:
> 
> fetchmail --nodetach is your friend
>           ^^^^^^^^^^

Thank you!  That worked, at the expense of having to keep a terminal
open.  I then tried this,

    fetchmail --nodetach >> fetchmail.log 2>&1 &

which leaves the terminal free, doesn't have the pop-up console
windows, and can be killed with "fetchmail -q".

Regards,
Gary



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13 22:21           ` Larry Hall (Cygwin)
@ 2009-01-14  2:36             ` Gary Johnson
  0 siblings, 0 replies; 17+ messages in thread
From: Gary Johnson @ 2009-01-14  2:36 UTC (permalink / raw)
  To: Cygwin List

On 2009-01-13, Larry Hall (Cygwin) wrote:
> Gary Johnson wrote:
> >On 2009-01-13, Jason Tishler wrote:
> >>Gary,
> >>
> >>On Tue, Jan 13, 2009 at 09:55:36AM -0800, Gary Johnson wrote:
> >>>On 2009-01-13, Jason Tishler wrote:
> >>>>FWIW, I don't have this problem when running fetchmail as a service.
> >>>I saw that in an earlier post and tried to follow the instructions in
> >>>/usr/share/doc/Cygwin/fetchmail-6.3.9.README, but I get this result:
> >>>
> >>>[snip]
> >>>
> >>>    $ cygrunsrv -S fetchmail
> >>>    cygrunsrv: Error starting a service: StartService:  Win32 error 1069:
> >>>    The service did not start due to a logon failure.
> >>>
> >>>I have both cron and sshd running as services, so that much works,
> >>>but they may be running as the system user (whatever it's called).
> >>>I don't know how to diagnose this sort of failure.
> >>Did you heed the following from the README?
> >>
> >>    o the $USERDOMAIN\\$USERNAME account must have the "Log on as a
> >>      service" user right for Cygwin fetchmail to start as a NT service
> >
> >I heeded it in the sense that I read it and understood that it might
> >be the problem.  I did go searching in the Control Panel for likely
> >utilities, but I couldn't find anything in User Accounts or anywhere
> >else that would let me set user rights or that even told me what
> >they were.  I did not search Windows Help and Support.  That sort of
> >cluelessness was meant to be implicit in the statement, "I don't
> >know how to diagnose this sort of failure," but I suppose I should
> >have been more clear.
> >
> >So how does one set that right?
> 
> '/usr/share/csih/cygwin-service-installation-helper.sh' has this:
> 
> editrights -u "${user}" -t SeServiceLogonRight
> 
> Try that, substituting the appropriate user for your situation and
> Windows version.

I tried this:

    $ editrights -u "$USER" -l
    SeServiceLogonRight
    SeBatchLogonRight

as well as this:

    $ editrights -u "$USER" -t SeServiceLogonRight
    $ echo $?
    0

After executing those tests, I again ran the same "cygrunsrv
--install fetchmail ..." and "cygrunsrv -S fetchmail" commands and
again got the same "Win32 error 1069".

FWIW, my $USER name has a space in it, which occasionally causes
problems with some programs.  This PC was set up a number of years
ago and at the time I didn't understand the implications of giving
Windows my full name as a user name.

Also, as I wrote elsewhere in this thread, I do have a solution to
the pop-up console window problem, so while it would be nice to
have a solution to this fetchmail-as-a-service problem as well, it's
not all that important.

If desired, I can send the output of "cygcheck -srv" to the list,
but I didn't want to impose a 32K message on everyone otherwise.

Regards,
Gary



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-13 22:15         ` Gary Johnson
  2009-01-13 22:21           ` Larry Hall (Cygwin)
@ 2009-01-14 16:55           ` Jason Tishler
  2009-01-14 18:05             ` Gary Johnson
  1 sibling, 1 reply; 17+ messages in thread
From: Jason Tishler @ 2009-01-14 16:55 UTC (permalink / raw)
  To: Cygwin List

On Tue, Jan 13, 2009 at 02:04:27PM -0800, Gary Johnson wrote:
> So how does one set that right?

Besides using editrights as suggested by Larry, you can also use the
"Local Security Settings" MMC console on Windows 2000 or later:

    1. start/Programs/Administrative Tools/Local Security Policy
    2. start/Run.../secpol.msc

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-14 16:55           ` Jason Tishler
@ 2009-01-14 18:05             ` Gary Johnson
  2009-01-14 18:31               ` Jason Tishler
  0 siblings, 1 reply; 17+ messages in thread
From: Gary Johnson @ 2009-01-14 18:05 UTC (permalink / raw)
  To: Cygwin List

On 2009-01-14, Jason Tishler wrote:
> On Tue, Jan 13, 2009 at 02:04:27PM -0800, Gary Johnson wrote:
> > So how does one set that right?
> 
> Besides using editrights as suggested by Larry, you can also use the
> "Local Security Settings" MMC console on Windows 2000 or later:
> 
>     1. start/Programs/Administrative Tools/Local Security Policy
>     2. start/Run.../secpol.msc

Thanks, but I don't seem to have that on this system, Windows XP
Home Edition version 5.1 SP3.  The Run dialog reports that Windows
can't find secpol.msc; "locate secpol" doesn't return anything; I
have no "Administrative Tools" item in the Start/Programs list; the
Administrative Tools item in the Control Panel lists only

    Component Services
    Computer Management
    Data Sources (ODBC)
    Event Viewer
    Microsoft .NET Framework 1.1 Configuration
    Microsoft .NET Framework 1.1 Wizards
    Performance
    Services

After running "cygrunsrv --install fetchmail ..." again I found
fetchmail in the list of Services, but I didn't see anything in its
Properties dialog that looked like a security setting.  I tried
changing the "This account" name in the Log On tab to make sure it
was something Windows liked, but its search tool gave me the same
account name as cygrunsrv had installed.  I tried starting fetchmail
from that dialog and got the same error message as before.

Regards,
Gary



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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: fetchmail pops up console windows
  2009-01-14 18:05             ` Gary Johnson
@ 2009-01-14 18:31               ` Jason Tishler
  0 siblings, 0 replies; 17+ messages in thread
From: Jason Tishler @ 2009-01-14 18:31 UTC (permalink / raw)
  To: Cygwin List

Gary,

On Wed, Jan 14, 2009 at 09:33:31AM -0800, Gary Johnson wrote:
> On 2009-01-14, Jason Tishler wrote:
> > On Tue, Jan 13, 2009 at 02:04:27PM -0800, Gary Johnson wrote:
> > > So how does one set that right?
> > 
> > Besides using editrights as suggested by Larry, you can also use the
> > "Local Security Settings" MMC console on Windows 2000 or later:
> > 
> >     1. start/Programs/Administrative Tools/Local Security Policy
> >     2. start/Run.../secpol.msc
> 
> Thanks, but I don't seem to have that on this system, Windows XP
> Home Edition version 5.1 SP3.
> [snip]

Sorry, I forgot XP Home doesn't support the above.  IIRC, this is one of
the reasons why editrights was created.

> I tried starting fetchmail from that dialog and got the same error
> message as before.

I essentially never used a Windows Home edition before, so I don't have
any experience installing and running services on these OSes.  Maybe
someone on the list with this experience can help you?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2009-01-14 18:12 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-22 14:38 fetchmail pops up console windows Dr. Volker Zell
2008-02-22 15:03 ` Corinna Vinschen
2008-02-22 18:03   ` Christopher Faylor
2009-01-13  7:36 ` Gary Johnson
2009-01-13 15:10   ` Jason Tishler
2009-01-13 18:25     ` Gary Johnson
2009-01-13 19:51       ` Jason Tishler
2009-01-13 22:15         ` Gary Johnson
2009-01-13 22:21           ` Larry Hall (Cygwin)
2009-01-14  2:36             ` Gary Johnson
2009-01-14 16:55           ` Jason Tishler
2009-01-14 18:05             ` Gary Johnson
2009-01-14 18:31               ` Jason Tishler
2009-01-13 17:02   ` Buchbinder, Barry (NIH/NIAID) [E]
2009-01-13 18:45   ` Dr. Volker Zell
2009-01-14  0:49     ` Gary Johnson
2009-01-14  1:37       ` Gary Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).