Re: cygrunsrv and apache

2003-01-16 Thread Max Bowsher
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

Re: cygrunsrv and apache

2003-01-16 Thread Elfyn McBratney
> 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

Re: cygrunsrv and apache

2003-01-16 Thread Max Bowsher
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

Re: cygrunsrv and apache

2003-01-16 Thread Igor Pechtchanski
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

Re: cygrunsrv and apache

2003-01-16 Thread Elfyn McBratney
> 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

Re: cygrunsrv and apache

2003-01-16 Thread Max Bowsher
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

Re: cygrunsrv and apache

2003-01-16 Thread Elfyn McBratney
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

Re: cygrunsrv and apache

2003-01-16 Thread Igor Pechtchanski
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

Re: cygrunsrv and apache - success

2003-01-16 Thread Jonathan Albrecht
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

Re: cygrunsrv and apache

2003-01-16 Thread Stipe Tolj
> 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

Re: cygrunsrv and apache

2003-01-16 Thread Corinna Vinschen
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

Re: cygrunsrv and apache

2003-01-16 Thread Stipe Tolj
> 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

Re: cygrunsrv and apache

2003-01-16 Thread Corinna Vinschen
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:[

Re: cygrunsrv and apache

2003-01-16 Thread Stipe Tolj
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

Re: cygrunsrv and apache

2003-01-16 Thread Elfyn McBratney
> 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

Re: cygrunsrv and apache

2003-01-16 Thread Jim Drash
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.

Re: cygrunsrv and apache

2003-01-16 Thread Corinna Vinschen
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

Re: cygrunsrv and apache

2003-01-16 Thread Stipe Tolj
> 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

Re: cygrunsrv and apache

2003-01-16 Thread Stipe Tolj
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

Re: cygrunsrv and apache

2003-01-15 Thread David Means
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

Re: cygrunsrv and apache

2003-01-15 Thread Elfyn McBratney
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

Re: cygrunsrv and apache

2003-01-15 Thread Stipe Tolj
> 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:

Re: cygrunsrv and apache

2003-01-15 Thread Stipe Tolj
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

Re: cygrunsrv and apache

2003-01-15 Thread Elfyn McBratney
> > 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

cygrunsrv and apache

2003-01-15 Thread Jonathan Albrecht
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 "CYGWIN=ntsec nosmbntsec binmode tty"