Re: Re: [cygrunsrv] problem starting exim as service

2007-03-13 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Tue, 13 Mar 2007, Karl M wrote: > > From: "Wynfield Henman" Subject: Re: Re: [cygrunsrv] problem starting exim > > as service > > Date: Tue, 13 Mar 2007 14:31:41 +0900 > > > > [snip] > > I believe that it should

Re: Re: [cygrunsrv] problem starting exim as service

2007-03-13 Thread Igor Peshansky
Ugh, ... Reformatted. On Tue, 13 Mar 2007, Wynfield Henman wrote: > On 3/12/07, Peatey <[EMAIL PROTECTED]> wrote: . Thanks. > > [snip] > > Peaty, > I had the same problem. And I agree that cygrunsrv should tell us

Re: [cygrunsrv] problem starting exim as service

2007-03-13 Thread Larry Hall (Cygwin)
Karl M wrote: Hi All... Cygrunsrv needs the process to stay attached so it can keep track of it for you. Services are managed differently on Windows than on *ix. Exim has command line options to allow this (-bdf instead of -bd). I've never used exim, but looked in the FAQ. And indeed the '

Re: [cygrunsrv] problem starting exim as service

2007-03-13 Thread Larry Hall (Cygwin)
Wynfield Henman wrote: Peaty, I had the same problem. And I agree that cygrunsrv should tell us correctly whether or not exim is running. In fact exim does get set to run as a daemon on boot up. Peaty didn't mention anything about cygrunsrv showing or not showing whether 'exim' is running.

Re: Re: [cygrunsrv] problem starting exim as service

2007-03-13 Thread Karl M
exim from detaching, you can create a wrapper script around exim that does not detach. This can be as simple or fancy (keep track of the pid for signalling) as you like. ...Karl From: "Wynfield Henman" Subject: Re: Re: [cygrunsrv] problem starting exim as service Date: Tue, 13 Mar

Re: Re: [cygrunsrv] problem starting exim as service

2007-03-12 Thread Wynfield Henman
Peaty, I had the same problem. And I agree that cygrunsrv should tell us correctly whether or not exim is running. In fact exim does get set to run as a daemon on boot up. cygrunsrv -L (or whatever the list) processes option will not show you this. I believe that it should show this process a

Re: Re: [cygrunsrv] problem starting exim as service

2007-03-11 Thread Peatey
Success! your showing me about cygcheck solved it. Now I'm moving on to configuring /etc/exim.conf, but I thought I'd document for a future neophyte with the same problem. The issue was with cyglber-2-3-0.dll and cygldap-2-3-0.dll not being installed automatically with 'exim-4.66-1' package in s

Re: [cygrunsrv] problem starting exim as service

2007-03-11 Thread René Berber
Peatey wrote: [snip] > The description for Event ID ( 0 ) in Source ( exim ) cannot be found. > The local computer may not have the necessary registry information or > message DLL files to display messages from a remote computer. You may > be able to use the /AUXSOURCE= flag to retrieve this descri

Re: Re: [cygrunsrv] problem starting exim as service

2007-03-11 Thread Peatey
Thanks for the reply René. I didn't know pigtail.net was so notorious, now I know to rely on the official mailing list first (although i dunno what i would have done differently if i didn't visit pigtail.net, as all i did was use setup.exe and then exim-config). As you can see below, I'm still u

Re: [cygrunsrv] problem starting exim as service

2007-03-11 Thread René Berber
Peatey wrote: > I'm having a frustrating time trying to get exim (current, 4.66-1) to > start as service. I'd appreciate any help to get exim to work as > sendmail so I can get crontab started with MAILTO=. > > I was broadly following the steps outlined at > http://pigtail.net/LRP/exim/exim-cygw

Re: [cygrunsrv] problem starting exim as service

2007-03-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Peatey on 3/11/2007 12:09 PM: > I'm having a frustrating time trying to get exim (current, 4.66-1) to > start as service. I'd appreciate any help to get exim to work as > sendmail so I can get crontab started with MAILTO=. > > I was broa

[cygrunsrv] problem starting exim as service

2007-03-11 Thread Peatey
I'm having a frustrating time trying to get exim (current, 4.66-1) to start as service. I'd appreciate any help to get exim to work as sendmail so I can get crontab started with MAILTO=. I was broadly following the steps outlined at http://pigtail.net/LRP/exim/exim-cygwin.html until the failure

Re: cygrunsrv problem

2007-02-04 Thread Wynfield Henman
Brian, thanks for the informative explanation about cygrunsrv and demon processes. On 2/2/07, Brian Dessent <[EMAIL PROTECTED]> wrote: Wynfield Henman wrote: > The "cygrunsrv -Q " definitely is buggy to me. > When I started up my system "privoxy" is indeed up and running as it should be. > >

Re: cygrunsrv problem

2007-02-01 Thread Brian Dessent
Wynfield Henman wrote: > The "cygrunsrv -Q " definitely is buggy to me. > When I started up my system "privoxy" is indeed up and running as it should > be. > > But, when I do a cygrunsrv -Q it shows that the service is stopped, > yet it isn't. There's no bug here, just some misunderstanding o

cygrunsrv problem

2007-02-01 Thread Wynfield Henman
I am writing to report a bug in "cygrunsrv" cygrunsrv successfully installed my privoxy daemon service to be ran on each power up / restart. I was happy to find out.. But, before when I was trying to start it and query its status I could not or at least appeared that I couldn't. The "cygrunsrv

Re: 1.5.19: cygrunsrv problem running Apache under user nobody

2006-03-25 Thread Gerry Reno
The solution was to install the httpd service with the following args: $ cygrunsrv -I httpd -u nobody -p /usr/sbin/httpd -a -F -d "CYGWIN httpd" -e "CYGWIN=server" --shutdown $ net start httpd The CYGWIN httpd service is starting. The CYGWIN httpd service was started successfully. Gerry Reno ma

Re: 1.5.19: cygrunsrv problem running Apache under user nobody

2006-03-25 Thread Larry Hall (Cygwin)
Gerry Reno wrote: Today I tried starting httpd with cygrunsrv with similar results: $ cygrunsrv -S httpd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. [EMAIL PROTECTED] ~/docs $ ps -efl UID PIDPPID TTY STIME COMMA

Re: 1.5.19: cygrunsrv problem running Apache under user nobody

2006-03-24 Thread Gerry Reno
Today I tried starting httpd with cygrunsrv with similar results: $ cygrunsrv -S httpd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. [EMAIL PROTECTED] ~/docs $ ps -efl UID PIDPPID TTY STIME COMMAND greno3404

1.5.19: cygrunsrv problem running Apache under user nobody

2006-03-24 Thread Gerry Reno
I am able to add the user 'nobody' and assign it to group 'Users' and then set local policy in windows so that 'nobody' can 'logon as a service'. I was expecting that I could define a service to start Apache and then use 'net start/stop' to control it. Well, I can define the service with cygrunsr

Re: cygrunsrv problem

2005-02-06 Thread Krzysztof Duleba
Jeremy Deither wrote: > When trying to install DynDNS Updater as a service, I keep getting error > messages such as "Given path doesn't point to a valid executable." My > question is how should I format the --path string to recognize C:\Program > Files\DynDNS Updater\DynDNS.exe? I have tried " U

Re: cygrunsrv problem

2005-02-05 Thread Corinna Vinschen
On Feb 3 11:56, Jeremy Deither wrote: > When trying to install DynDNS Updater as a service, I keep getting error > messages such as "Given path doesn't point to a valid executable." My > question is how should I format the --path string to recognize C:\Program > Files\DynDNS Updater\DynDNS.exe

cygrunsrv problem

2005-02-03 Thread Jeremy Deither
When trying to install DynDNS Updater as a service, I keep getting error messages such as "Given path doesn't point to a valid executable." My question is how should I format the --path string to recognize C:\Program Files\DynDNS Updater\DynDNS.exe? I have tried "" as well as several variants

Solved! Re: Cygrunsrv problem starting service created with --user

2002-12-26 Thread Michael Bourgon
I finally found the problem with not being able to start my service (kept getting: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started.). WRONG: cygrunsrv --install rsync_daemon --user 'mynetwork\theusername' --path /usr/bin/rsync -a "--daem

Re: Cygrunsrv problem starting service created with --user

2002-12-23 Thread Terry
, which I found easy enough. Doh! ~ Terry 757 581-5981 AIM/Yahoo: lv2bounce - Original Message - From: "Igor Pechtchanski" <[EMAIL PROTECTED]> To: "Terry" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 23, 2002 11:30 AM Subject:

Re: Cygrunsrv problem starting service created with --user

2002-12-23 Thread Igor Pechtchanski
PROTECTED]> > Sent: Monday, December 23, 2002 10:59 AM > Subject: Re: Cygrunsrv problem starting service created with --user > > > > I am doing something similar and have been following this thread because I > > have run into the same problem... > > > > my qu

Re: Cygrunsrv problem starting service created with --user

2002-12-23 Thread Terry
nevermind, found it... ~ Terry 757 581-5981 AIM/Yahoo: lv2bounce - Original Message - From: "Terry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 23, 2002 10:59 AM Subject: Re: Cygrunsrv problem starting service created with --user > I a

Re: Cygrunsrv problem starting service created with --user

2002-12-23 Thread Terry
?? ~ Terry 757 581-5981 AIM/Yahoo: lv2bounce - Original Message - From: "Michael Bourgon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 4:40 PM Subject: Re: Cygrunsrv problem starting service created with --user > > --- "P

Re: Cygrunsrv problem starting service created with --user

2002-12-19 Thread Michael Bourgon
--- "Pierre A. Humblet" wrote: >Did you give the Logon as service privilege, as per the cygrunsrv README? I just checked, and it's had it the whole time. Good idea, though. Any other suggestions, anyone? Thanks. Michael __ Do you Yahoo!? Yah

Re: Cygrunsrv problem starting service created with --user

2002-12-18 Thread Pierre A. Humblet
On Wed, Dec 18, 2002 at 01:14:02PM -0800, Michael Bourgon wrote: > Howdy. I checked the archives, but didn't see > anything that would shed light on the situation. Did you give the Logon as service privilege, as per the cygrunsrv README? -u, --user Optional user name to start service as. Def

Re: Cygrunsrv problem starting service created with --user

2002-12-18 Thread Michael Bourgon
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > This may be a shell quoting issue. Try putting the > --user parameter in > single quotes (leaving the backslashes around). Igor, thanks for the suggestion. I just got through trying it. Unfortunately, that doesn't seem to be it. Single quote

Re: Cygrunsrv problem starting service created with --user

2002-12-18 Thread Igor Pechtchanski
On Wed, 18 Dec 2002, Michael Bourgon wrote: > Howdy. I checked the archives, but didn't see > anything that would shed light on the situation. > > I have a fresh Cygwin install, along with Rsync, on a > Win2k box. I would like to set up rsync as a daemon. > The rsync daemon currently works - I c

Cygrunsrv problem starting service created with --user

2002-12-18 Thread Michael Bourgon
Howdy. I checked the archives, but didn't see anything that would shed light on the situation. I have a fresh Cygwin install, along with Rsync, on a Win2k box. I would like to set up rsync as a daemon. The rsync daemon currently works - I can start up cygwin, type "rsync --daemon --no-detach" a