On Mon, 28 Jul 2003, Linden Glen wrote:
> HI All,
>
> Having a problem installing Cron as a service. When I try to run the
> install:
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
>
> I get this in return
> bash: cygrunsrv: command not found
>
> What do I need to install so that this command is avai
I finally figured out the problem...
I ran the service a user1...so it created a file
/var/log/httpd.log under user1...
I chaged the user (from root to SYSTEM) and the new
guy can't open the file...
thanx
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> On Sat, 21 Jun 2003, Ling F. Zhang wrote:
Hi:
/var/logs/cygwin_apache.log is empty
and the event log has nothing either...
what is interesting is that search the web for this
problem yield that some peole has the problem with
sshd due a access privilege to the \cygwin,
\cygwin\var, \cygwin\var\log...but my sshd is runnin'
just fine...so t
no, /var/log/CYGWIN_apache is empty
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
> On Sat, 21 Jun 2003, Ling F. Zhang wrote:
>
> > I try to use the apache binary on cygwin, to
> install
> > it as a service I run:
> > cygrunsrv -i cygwin_apache -p /usr/sbin/apache -u
> root
> >
> > it worked la
On Sat, 21 Jun 2003, Ling F. Zhang wrote:
> I try to use the apache binary on cygwin, to install
> it as a service I run:
> cygrunsrv -i cygwin_apache -p /usr/sbin/apache -u root
>
> it worked last night...I woke up today,
> remove/reinstall the service few times, and now it
> wouldn't start...giv
Randall R Schulz wrote:
Neal,
True, that.
I found that mixing native Apache with Cygwin Perl (for CGIs) doesn't
work wellg. For reasons I never bothered to resolve, there was a very
long delay between and incoming request and getting Cygwin Perl CGI
scripts going. I was using the "cvsweb" sc
neal somos wrote:
You do realize that there is native apache implementation available
for various windows platforms. I myself am running apache on windows
while I also use cygwin when I want to. Sometimes depending on heavy
use of various text utilities and keyboard input the cygwin might
cra
Neal,
True, that.
I found that mixing native Apache with Cygwin Perl (for CGIs) doesn't
work wellg. For reasons I never bothered to resolve, there was a very
long delay between and incoming request and getting Cygwin Perl CGI
scripts going. I was using the "cvsweb" scripts that time. When I
s
You do realize that there is native apache implementation available for
various windows platforms. I myself am running apache on windows while
I also use cygwin when I want to. Sometimes depending on heavy use of
various text utilities and keyboard input the cygwin might crash. But
this has not
Malghan, Ravi wrote:
> Hi: I am trying to run Apache as a service
> cygrunsrv.exe -I "CYGWIN apache" -p /usr/sbin/httpd.exe -t manual
>
> But when I go to Services and look at the properties of this service,
> under "Path to executable" it says
> C:\cygwin\bin\cygrunsrv. Shouldn't this says
> C:\
Max you're coming to my rescue all over the place.
Thanks again.
-Val
> -Original Message-
> From: Max Bowsher [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 05, 2003 1:55 PM
> To: Val Schmidt; [EMAIL PROTECTED]
> Subject: Re: cygrunsrv documentation
>
>
Val Schmidt wrote:
> I have searched and have been unable to find any documentation what
> so ever regarding cygrunsrv.
>
> I don't want to barrage the list with questions without doing my
> homework first, so if there are man pages, HOWTOS, or any other
> documentation regarding how to manage pro
Elfyn McBratney wrote:
>> Did you try running apache from the SYSTEM command line?
>
> Yeah, same as usual... Working!?!
>
>> I don't know much about apache, but when in similar circumstances
>> with ssh, I turn debugging up to maximum, and look at
>> /var/log/.log. Apache has its own logs that it
> Did you try running apache from the SYSTEM command line?
Yeah, same as usual... Working!?!
> I don't know much about apache, but when in similar circumstances with
ssh,
> I turn debugging up to maximum, and look at /var/log/.log.
> Apache has its own logs that it might be worthwhile to look in
Elfyn McBratney wrote:
>> To do it with no extra tools, you can do run "at hh:mm /interactive
>> cmd", with hh:mm being the next minute. Then you just have to wait
>> for the Task Scheduler to give you your shell when the clock ticks
>> over.
>
> Cheers Max and Igor, neat little trick.
>
> I just t
On Thu, 16 Jan 2003, Elfyn McBratney wrote:
> Igor,
>
> > Just for kicks, did you try starting Apache from a SYSTEM-owned shell?
> > I posted instructions on how to get one to this list a couple of months
> > ago. It'd be interesting to know whether it works. Certainly would
> > eliminate some v
> To do it with no extra tools, you can do run "at hh:mm /interactive cmd",
> with hh:mm being the next minute. Then you just have to wait for the Task
> Scheduler to give you your shell when the clock ticks over.
Cheers Max and Igor, neat little trick.
I just tried starting the service as the sy
Elfyn McBratney wrote:
> Igor,
>
>> Just for kicks, did you try starting Apache from a SYSTEM-owned
>> shell?
>> I posted instructions on how to get one to this list a couple of
>> months ago. It'd be interesting to know whether it works.
>> Certainly would eliminate some variables from the equati
Igor,
> Just for kicks, did you try starting Apache from a SYSTEM-owned shell?
> I posted instructions on how to get one to this list a couple of months
> ago. It'd be interesting to know whether it works. Certainly would
> eliminate some variables from the equation (i.e., the username).
I cant
On Thu, 16 Jan 2003, Elfyn McBratney wrote:
> > you should be checking what /var/log/apache/error_log is reporting.
>
> Sorry for the late reply. The error_log contains the usual startup/shutdown
> messages and nothing serious that would indicate that apache is not
> operating correctly.
>
> > Ano
Thanks for the tip. That fixed it for me. For posterity, here is
everything that I did:
1. Create a new local user named apache. I put it in the Users group.
Add it to /etc/passwd using a command like:
> mkpasswd -l | grep apache >>/etc/passwd
The apache user was assigened to the existing None
> It's a simple getopt thingy: `--option foo' takes foo as argument if
> option expects an argument, regardless of first character of the argument.
ok, so id does pass. Thanks for pointing this out.
> > When I asked you (and others) to debug an Apache TCP connection
> > problem you were also very
On Thu, Jan 16, 2003 at 03:37:46PM +0100, Stipe Tolj wrote:
> > Just try it.
>
> Corinna,
>
> I'm as busy as you. And if I ask you kindly such a simple question,
> it's more efficient for both of us to get it answered from you then to
> make the overhead to try it on my own.
It's a simple getop
> Just try it.
Corinna,
I'm as busy as you. And if I ask you kindly such a simple question,
it's more efficient for both of us to get it answered from you then to
make the overhead to try it on my own.
When I asked you (and others) to debug an Apache TCP connection
problem you were also very pi
On Thu, Jan 16, 2003 at 03:17:40PM +0100, Stipe Tolj wrote:
> Corinna Vinschen schrieb:
> > It does.
>
> it does not pass, or it does pass?!
Just try it.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developermailto:[
Corinna Vinschen schrieb:
>
> On Thu, Jan 16, 2003 at 10:35:21AM +0100, Stipe Tolj wrote:
> > > > > cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -a -k -e
> > > > "CYGWIN=ntsec nosmbntsec binmode tty"
> >
> > I see here that you may have a problem with the way you installed it.
> > Yo
> you should be checking what /var/log/apache/error_log is reporting.
Sorry for the late reply. The error_log contains the usual startup/shutdown
messages and nothing serious that would indicate that apache is not
operating correctly.
> Another option is the module rebasing clash. But you said yo
This is been covered in many messages on the mailing list. In most cases
the problem starts with cygwin being installed for "Just Me". If you use
cygrunsrv then apache or what have you runs as SYSTEM not your account.
Make sure that the mounts for /, /usr/bin, and /usr/lib are system and
binary.
On Thu, Jan 16, 2003 at 10:35:21AM +0100, Stipe Tolj wrote:
> > > > cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -a -k -e
> > > "CYGWIN=ntsec nosmbntsec binmode tty"
>
> I see here that you may have a problem with the way you installed it.
> You should be using -a "-k" to identify th
> Does adding the --nodetach to cygrunsrv (I think that's the correct
> spelling ) help?
>
> I had a similar problem with rsyncd and adding it resolved my
> problem.
no, the -k flag tells httpd to keep attached to the shell. This is
what cygrunsrv expects.
> > > cygrunsrv -I apache -d "Cygwin a
Elfyn McBratney wrote:
>
> Stipe,
>
> I have the correct permissions (log files owned by system (the SYSTEM user)
> and even tried with the config files and modules too) and I was still
> getting error 1062. I ended up giving in to the windows version. Is there
> any way this can be degugged? If
Does adding the --nodetach to cygrunsrv (I think that's the correct spelling ) help?
I had a similar problem with rsyncd and adding it resolved my problem.
On Wed, 2003-01-15 at 18:24, Jonathan Albrecht wrote:
I've been trying to run apache as a service using cygrunsrv. I haven't
changed th
Elfyn
[EMAIL PROTECTED]
- Original Message -
From: "Stipe Tolj" <[EMAIL PROTECTED]>
To: "Jonathan Albrecht" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 11:45 PM
Subject: Re: cygrunsrv and apache
> Jonathan Albrecht s
> Perhaps the package maintainer may wish to take over here... ;-)
yep, he'd like, but he's out of time currently, sorrs ;/
Stipe
[EMAIL PROTECTED]
---
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf
Tel: +49-211-74845-0
Fax:
Jonathan Albrecht schrieb:
>
> I've been trying to run apache as a service using cygrunsrv. I haven't
> changed the httpd.conf and running /usr/sbin/httpd from the command line
> works fine. Here is what I have done:
>
> > cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -a -k -e
> "CYG
> > cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -a -k -e
> "CYGWIN=ntsec nosmbntsec binmode tty"
>
> > cygrunsrv -S apache
>
> cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
1062:
> The service has not been started.
Unless I'm unaware of changes made
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
, 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:
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
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
??
~ 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
--- "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
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
--- 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
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
"Craveiro, Marco" wrote:
>
> Don, i'm sorry about being such a pain but i have googled for a bit with no
> luck :-(
> on my status i dont get the remaining blocks, only the total capacity. i
> then did a status 3 which tells me that "reports remaining" is set to "no".
> so i'm assuming i have t
[SMTP:[EMAIL PROTECTED]]
> Sent: 29 April 2002 02:21
> To: gnuwin32
> Subject: Re: Cygrunsrv and backups
>
> "Craveiro, Marco" wrote:
> >
> > "Don Sharp" wrote:
> >
> > > > anyway, there's just one thing i dont un
"Craveiro, Marco" wrote:
>
> "Don Sharp" wrote:
>
> > > anyway, there's just one thing i dont understand on your script:
> > >
> > > mt -f /dev/nst0 tell
> > >
> > > why do you need this?
> > >
> >
> > One doesn't strictly need it. I use it to tell me how near to a full
> > tape I am usi
"Don Sharp" wrote:
> > anyway, there's just one thing i dont understand on your script:
> >
> > mt -f /dev/nst0 tell
> >
> > why do you need this?
> >
>
> One doesn't strictly need it. I use it to tell me how near to a full
> tape I am using so I reshuffle what goes on which tape when
ounts of tape
devices. For a while now they have been automatically available as
/dev/[n]st[01..] if present on the system. Look it up in the archives
around early to mid-November last year.
Cheers
Don Sharp
> cheers!
> > -Original Message-
> > From: Don Sharp [SMTP:[EMAIL PROTECTED]]
&
26, 2002 15:09
> To: gnuwin32
> Subject: Re: Cygrunsrv and backups
>
[Heribert] [snip]
> cd /dost
> tar cf /dev/nst0 *
>
[Heribert] [snip]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.
heers!
> -Original Message-
> From: Don Sharp [SMTP:[EMAIL PROTECTED]]
> Sent: 26 April 2002 06:09
> To: gnuwin32
> Subject: Re: Cygrunsrv and backups
>
> If you have experience of backing up using tar on Unix then you can do
> the same with cygwin. Tape positioning with &qu
hi all,
--Chuck wrote:
> Dunno...but you might look into rsync via ssh; both have been ported to
> cygwin and work well.
i ended up not looking into rsync because i found lots of documentation on
the web (including on the cygwin mailinglist) on how to use mt / tar. i have
compiled my findings i
If you have experience of backing up using tar on Unix then you can do
the same with cygwin. Tape positioning with "mt" on the no-rewind
editions of the tape device (e.g. /dev/nst0).
My backup script looks like
#!/usr/bin/sh
mt -f /dev/nst0 status
echo "Archive T: starting at `date`"
cd /dost
ta
Craveiro, Marco wrote:
> Huh, before I starting getting flamed, may I just add that there is plenty
> of documentation about ssh and cron on the mailing list, I just made the
> mistake of using google instead of searching the mailing list directly.
> Apologies.
actually, google does a better jo
Huh, before I starting getting flamed, may I just add that there is plenty
of documentation about ssh and cron on the mailing list, I just made the
mistake of using google instead of searching the mailing list directly.
Apologies.
I am still searching for docs on backing up, so if you got info on
On Fri, Apr 05, 2002 at 01:25:47AM -0600, Philip Flip Kromer wrote:
> I have a suggestion for cygrunsrv.
>
> When you add a Service as a user from the Windows services applet, it
> will automatically grant "Log on as Service" rights to that user.
>
> Cygrunsrv does not automagically grant right
On Sun, Feb 24, 2002 at 08:52:00AM -0800, Karl M wrote:
> Hi Corinna...
>
> Here it is again with a changelog and readme update as well.
> >
> >And I'm missing a ChangeLog entry (plain text, not a diff).
^^
Since the cvs version is not in
Hi Corinna...
Here it is again with a changelog and readme update as well.
Thanks,
...Karl
>From: Corinna Vinschen <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: cygrunsrv patch proposal
>Date: Sun, 24 Feb 2002 10:08:39 +0100
>
>On Sat, Feb 23, 2002 at 04:22:
On Sat, Feb 23, 2002 at 04:22:26PM -0800, Karl M wrote:
> Hi All...
>
> OOPS! I forgot to update the usage and error strings. You may like this
> patch file better.
>
> Thanks,
Thanks for the patch. Unfortunately it doesn't apply cleanly.
Please recreate the patch and take care that your mail
Hi All...
OOPS! I forgot to update the usage and error strings. You may like this
patch file better.
Thanks,
...Karl
>From: "Karl M" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: cygrunsrv patch proposal
>Date: Sat, 23 Feb 2002 15:57:11 -0800
>
>Hi All...
>
>The attached patch adds the
> Now anybody some hints on what might happen there ? Anything I could try to
> nail down the problem ?
Try running cygrunsrv under strace (as the service). I did this once by
hacking around the registry, it wasn't too hard, though I don't remember
exactly what I did. Remember that strace takes
89 St. Leon-Rot, Germany
> T +49/6227/7-66410
> F +49/6227/7-66301
> E [EMAIL PROTECTED]
> http://www.saphosting.com
-Original Message-
From: Hildenbrand, Patrick
Sent: Mittwoch, 13. Februar 2002 12:05
To: '[EMAIL PROTECTED]'
Subject: RE: cygrunsrv does not s
The problem is with cygrunsrv failing to initialize. Not even the first line
of code is getting executed. Searching for StartServiceCtrlDispatcherA, I
could find an other thread from last year, discussing the same problem:
http://www.cygwin.com/ml/cygwin/2001-06/msg00099.html
What I tried at the
TECTED]]
Sent: Dienstag, 12. Februar 2002 18:45
To: Hildenbrand, Patrick
Cc: '[EMAIL PROTECTED]'
Subject: Re: cygrunsrv does not start sshd in 1 out of 40 installs
> I did follow this discussion, but this one is totally unrelated as the
> startup fails every time using cygrunsrv a
> I did follow this discussion, but this one is totally unrelated as the
> startup fails every time using cygrunsrv and works ok every time using
> invoker AND because sshd even never gets started.
sshd never gets started, or never executes? IIRC "service starts" means
that it does something mag
t: Dienstag, 12. Februar 2002 17:52
To: Hildenbrand, Patrick
Cc: '[EMAIL PROTECTED]'
Subject: Re: cygrunsrv does not start sshd in 1 out of 40 installs
This could be due to service start-up delays. There was discussion on
this in last October or thereabouts: exactly what other ser
I specifically remember someone mentioning the "Browser" service
Good Luck!
On Tue, 12 Feb 2002, Lassi A. Tuura wrote:
> This could be due to service start-up delays. There was discussion on
> this in last October or thereabouts: exactly what other services sshd
> should depend on to start re
This could be due to service start-up delays. There was discussion on
this in last October or thereabouts: exactly what other services sshd
should depend on to start reliably. IIRC there were different solutions
for different conditions and no universal solution; the failures were
caused by TCP/
>From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]]
>Sent: Dienstag, 12. Februar 2002 17:13
>To: Hildenbrand, Patrick; '[EMAIL PROTECTED]'
>Subject: Re: cygrunsrv does not start sshd in 1 out of 40 installs
>
>
>At 10:45 AM 2/12/2002, Hildenbrand, Patrick
6410
> F +49/6227/7-66301
> E [EMAIL PROTECTED]
> http://www.saphosting.com
-Original Message-
From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 12. Februar 2002 17:13
To: Hildenbrand, Patrick; '[EMAIL PROTECTED]'
Subject: Re: cygrunsrv does
At 10:45 AM 2/12/2002, Hildenbrand, Patrick wrote:
>As I do not have access to the source, is there anybody, who either has
>access to the source, so we can try to find out the reason or likes to
>investigate this ?
I'm curious. Why don't you "have access to the source"? You realize that
it is
On Wed, Jan 16, 2002 at 03:10:59PM +0200, alper wrote:
> Hi,
>
> Platform is W2K, user is a member of Administrators group.
> Cron is installed as a service and started as follows:
>
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron
>
> Services applet in MMC shows cron service is
301 - 373 of 373 matches
Mail list logo