Re: Trailing commandline arguments not allowed.

2004-03-22 Thread George Hester
oops

George Hester
__
"Larry Hall"  wrote in message news:[EMAIL PROTECTED]
> Who's this Ivan you keep mentioning.  I can't find an "Ivan" responding
> to this thread at all.  Do you mean Igor?
> 
> Larry
> 
> 
> At 08:54 PM 3/22/2004, you wrote:
> >Well all I know is I have had to put in a completely new Cygwin.
> >After that Apache is working again.
> >Needless to say I will not try running again as a service until
> >I can find a foolproof way of installing it.  One that works and allows Apache
> >to keep working.  Thanks Ivan.  I'll just use it the way it is for now.
> >
> >-- 
> >George Hester
> >__
> >"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> >> On Mon, 22 Mar 2004, George Hester wrote:
> >> 
> >> > http.log
> >> >
> >> > fopen: Permission denied
> >> > httpd: could not open error log file /var/log/apache/error_log.
> >> > fopen: Permission denied
> >> > httpd: could not open error log file /var/log/apache/error_log.
> >> > fopen: Permission denied
> >> > httpd: could not open error log file /var/log/apache/error_log.
> >> >
> >> >
> >> > Apachehttpd.log
> >> > fopen: Permission denied
> >> > httpd: could not open error log file /var/log/apache/error_log.
> >> >
> >> > Apache.log
> >> > fopen: Permission denied
> >> > httpd: could not open error log file /var/log/apache/error_log.
> >> > fopen: Permission denied
> >> > httpd: could not open error log file /var/log/apache/error_log.
> >> >
> >> > Looks to me the change I made resulted in the loss of permissions.  I
> >> > have uninstalled and reinstalled and uninstalled and reinstalled and
> >> > Apache.  Still broke.
> >> 
> >> Right -- these files aren't created as part of the Apache install.  Did
> >> you try "chmod a+rw /var/log/apache/*"?
> >> 
> >> I suspect that what happened was: the files got created when you ran httpd
> >> from the command line (with your userid as the owner); then, when you
> >> installed it as a service, the logs didn't get re-created, and SYSTEM
> >> couldn't write to them...
> >> Igor
> >> -- 
> >> http://cs.nyu.edu/~pechtcha/
> >>   |\  _,,,---,,_ [EMAIL PROTECTED]
> >> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
> >>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> >> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> >> 
> >> "I have since come to realize that being between your mentor and his route
> >> to the bathroom is a major career booster."  -- Patrick Naughton
> >>
> >
> >
> >--
> >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/
> 
>


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



Re: Trailing commandline arguments not allowed.

2004-03-22 Thread Larry Hall
Who's this Ivan you keep mentioning.  I can't find an "Ivan" responding
to this thread at all.  Do you mean Igor?

Larry


At 08:54 PM 3/22/2004, you wrote:
>Well all I know is I have had to put in a completely new Cygwin.
>After that Apache is working again.
>Needless to say I will not try running again as a service until
>I can find a foolproof way of installing it.  One that works and allows Apache
>to keep working.  Thanks Ivan.  I'll just use it the way it is for now.
>
>-- 
>George Hester
>__
>"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>> On Mon, 22 Mar 2004, George Hester wrote:
>> 
>> > http.log
>> >
>> > fopen: Permission denied
>> > httpd: could not open error log file /var/log/apache/error_log.
>> > fopen: Permission denied
>> > httpd: could not open error log file /var/log/apache/error_log.
>> > fopen: Permission denied
>> > httpd: could not open error log file /var/log/apache/error_log.
>> >
>> >
>> > Apachehttpd.log
>> > fopen: Permission denied
>> > httpd: could not open error log file /var/log/apache/error_log.
>> >
>> > Apache.log
>> > fopen: Permission denied
>> > httpd: could not open error log file /var/log/apache/error_log.
>> > fopen: Permission denied
>> > httpd: could not open error log file /var/log/apache/error_log.
>> >
>> > Looks to me the change I made resulted in the loss of permissions.  I
>> > have uninstalled and reinstalled and uninstalled and reinstalled and
>> > Apache.  Still broke.
>> 
>> Right -- these files aren't created as part of the Apache install.  Did
>> you try "chmod a+rw /var/log/apache/*"?
>> 
>> I suspect that what happened was: the files got created when you ran httpd
>> from the command line (with your userid as the owner); then, when you
>> installed it as a service, the logs didn't get re-created, and SYSTEM
>> couldn't write to them...
>> Igor
>> -- 
>> http://cs.nyu.edu/~pechtcha/
>>   |\  _,,,---,,_ [EMAIL PROTECTED]
>> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
>> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>> 
>> "I have since come to realize that being between your mentor and his route
>> to the bathroom is a major career booster."  -- Patrick Naughton
>>
>
>
>--
>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/


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



Re: Trailing commandline arguments not allowed.

2004-03-22 Thread George Hester
Well all I know is I have had to put in a completely new Cygwin.
After that Apache is working again.
Needless to say I will not try running again as a service until
I can find a foolproof way of installing it.  One that works and allows Apache
to keep working.  Thanks Ivan.  I'll just use it the way it is for now.

-- 
George Hester
__
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Mon, 22 Mar 2004, George Hester wrote:
> 
> > http.log
> >
> > fopen: Permission denied
> > httpd: could not open error log file /var/log/apache/error_log.
> > fopen: Permission denied
> > httpd: could not open error log file /var/log/apache/error_log.
> > fopen: Permission denied
> > httpd: could not open error log file /var/log/apache/error_log.
> >
> >
> > Apachehttpd.log
> > fopen: Permission denied
> > httpd: could not open error log file /var/log/apache/error_log.
> >
> > Apache.log
> > fopen: Permission denied
> > httpd: could not open error log file /var/log/apache/error_log.
> > fopen: Permission denied
> > httpd: could not open error log file /var/log/apache/error_log.
> >
> > Looks to me the change I made resulted in the loss of permissions.  I
> > have uninstalled and reinstalled and uninstalled and reinstalled and
> > Apache.  Still broke.
> 
> Right -- these files aren't created as part of the Apache install.  Did
> you try "chmod a+rw /var/log/apache/*"?
> 
> I suspect that what happened was: the files got created when you ran httpd
> from the command line (with your userid as the owner); then, when you
> installed it as a service, the logs didn't get re-created, and SYSTEM
> couldn't write to them...
> Igor
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-22 Thread Igor Pechtchanski
On Mon, 22 Mar 2004, George Hester wrote:

> http.log
>
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
>
>
> Apachehttpd.log
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
>
> Apache.log
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
> fopen: Permission denied
> httpd: could not open error log file /var/log/apache/error_log.
>
> Looks to me the change I made resulted in the loss of permissions.  I
> have uninstalled and reinstalled and uninstalled and reinstalled and
> Apache.  Still broke.

Right -- these files aren't created as part of the Apache install.  Did
you try "chmod a+rw /var/log/apache/*"?

I suspect that what happened was: the files got created when you ran httpd
from the command line (with your userid as the owner); then, when you
installed it as a service, the logs didn't get re-created, and SYSTEM
couldn't write to them...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread George Hester
http.log

fopen: Permission denied
httpd: could not open error log file /var/log/apache/error_log.
fopen: Permission denied
httpd: could not open error log file /var/log/apache/error_log.
fopen: Permission denied
httpd: could not open error log file /var/log/apache/error_log.


Apachehttpd.log
fopen: Permission denied
httpd: could not open error log file /var/log/apache/error_log.

Apache.log
fopen: Permission denied
httpd: could not open error log file /var/log/apache/error_log.
fopen: Permission denied
httpd: could not open error log file /var/log/apache/error_log.

Looks to me the change I made resulted in the loss of permissions.  I have uninstalled 
and reinstalled and uninstalled and reinstalled and Apache.  Still broke.

-- 
George Hester
__
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> George,
> 
> Use a little judgement.  For example, I run httpd as "nobody" (a new user
> I created for just that purpose).  I also used the "-t manual" cygrunsrv
> parameter, which means I have to start httpd manually (which suits me
> fine).  You can use "-t auto" instead if you want the service to be
> started at boot (when, in fact, something like "cygrunsrv -S" does
> happen).  The reason you need "cygrunsrv -S" in the instructions is that
> simply adding the service, even with "-t auto", won't start it in the
> current session.
> 
> As for your apache not working, see if there are any messages in
> /var/log/httpd.log, /var/log/apache/error_log, and the Windows Event log.
> It's likely either a permissions problem, or a problem with httpd.conf
> syntax.
> 
> As a datapoint, try removing the service and starting httpd from the
> command line with the exact same flags as cygrunsrv starts it with (i.e.,
> "-F").  This will at least eliminate httpd.conf syntax (if the service
> starts correctly).  For a more definite experiment, try running it from a
> system-owned shell.
> Igor
> 
> On Sun, 21 Mar 2004, George Hester wrote:
> 
> > Yes I do.
> >
> > So I followed the directions.  It said "you must run httpd as root initially."
> >   To do this make a change so that I have, " User Guest."
> >  Of course no one in their right mind enables the Guest account
> > but I went ahead and left my Guest account alone
> > (the directions did not say to enable that account) and made the entry directed.
> >
> > Then the directions say, "To install and start the HTTP daemon as Windows service 
> > use
> > this command:
> >
> >   $ cygrunsrv -I httpd -d "CYGWIN httpd (apache)" -p /usr/sbin/httpd.exe -a "-F"
> >   $ cygrunsrv -S httpd "
> >
> > So I went ahead and did that.  The Service is now in my Services applet set to 
> > start automatically at boot.
> >   This looks alittle suspicious to me since the $cygrunsrv -S httpd will NOT occur 
> > at boot
> > but hey I'm just following the directions.
> >
> > I rebooted and the Apache server was not working.  I had to fire up Cygwin off my 
> > desktop into
> >  the bash shell and
> > $/usr/sbin/apachectl start to get the server running.
> >
> > Again this is not the normal way of a service at boot.  It doesn't work.
> >
> > Any other suggestions to get the Apache server to start as a service in the normal 
> > way?
> >
> >
> > George Hester
> > __
> > Igor Pechtchanski wrote:
> >
> > > George,
> > >
> > > I'm sure you have a /usr/share/doc/Cygwin directory on your system.  Look
> > > for the file named apache-1.3.29-1.README in that directory.  Judging by
> > > your reply, you looked in /usr/share/doc, not in /usr/share/doc/Cygwin.
> > > Igor
> > >
> > > On Sun, 21 Mar 2004, George Hester wrote:
> > >
> > > > I don't have a folder by that name.  I have folder called
> > > > apache-1.3.29-eapib and that's it.  The puny Readme in that said nothing
> > > > about running Apache as a service.  Thanks anyway.
> > > >
> > > > George Hester
> > > > __
> > > > Igor Pechtchanski wrote:
> > > >
> > > > > George,
> > > > >
> > > > > Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> > > > > official documentation for apache on Cygwin.  Any other occurrences of
> > > > > "Cygwin" in the Apache documentation should be considered incidental, and
> > > > > are subsumed by that README.
> > > > > Igor
> > > > >
> > > > > On Sun, 21 Mar 2004, George Hester wrote:
> > > > >
> > > > > > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > > > > > will only upset you.
> > > > > >
> > > > > > I got the service to exist in the Services applet with:
> > > > > >
> > > > > > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> > > > > >
> > > > > > but it does not behave as a normal service.  A normal service set to
> > > > > > auto
> 
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''

Re: Trailing commandline arguments not allowed.

2004-03-21 Thread George Hester
$cygrunsrv -R httpd
cygrunsrv: Error removing a service: OpenService: Win32 error 1060:
The specified service does not exist as an installed service

Removing the service is not the issue.  I have done that.  What I would like to do is 
remove everything and anything that has anything to do with Apache in Cygwin.  Can 
this be done?

Actually I think we can just forget this Ivan.  I have wasted Cygwin's ability to use 
and start the Apache server.  I don't feel like fighting with it anymore.  The 
directions all they resulted in was a perfectly fine running Apache server turning 
into wasted space in the Cygwin folder.  Now I just want all of it out.

-- 
George Hester
__
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Sun, 21 Mar 2004, George Hester wrote:
> 
> > Crap it is broke for good.  Is there some way I can remove EVERYTHING
> > that has ANYTHIKNG to do with Apache in Cygwin?  The uninstall does NOT
> > remove EVERYTHING.  I'd like to remove anything and everything of Apache
> > in Cygwin.  Can this be done?
> >
> >  There are no errors.  It looiks to me the executable shuts down as soon
> > as it starts.
> 
> "cygrunsrv -R httpd"
> Igor
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread Igor Pechtchanski
On Sun, 21 Mar 2004, George Hester wrote:

> Crap it is broke for good.  Is there some way I can remove EVERYTHING
> that has ANYTHIKNG to do with Apache in Cygwin?  The uninstall does NOT
> remove EVERYTHING.  I'd like to remove anything and everything of Apache
> in Cygwin.  Can this be done?
>
>  There are no errors.  It looiks to me the executable shuts down as soon
> as it starts.

"cygrunsrv -R httpd"
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread Igor Pechtchanski
George,

Use a little judgement.  For example, I run httpd as "nobody" (a new user
I created for just that purpose).  I also used the "-t manual" cygrunsrv
parameter, which means I have to start httpd manually (which suits me
fine).  You can use "-t auto" instead if you want the service to be
started at boot (when, in fact, something like "cygrunsrv -S" does
happen).  The reason you need "cygrunsrv -S" in the instructions is that
simply adding the service, even with "-t auto", won't start it in the
current session.

As for your apache not working, see if there are any messages in
/var/log/httpd.log, /var/log/apache/error_log, and the Windows Event log.
It's likely either a permissions problem, or a problem with httpd.conf
syntax.

As a datapoint, try removing the service and starting httpd from the
command line with the exact same flags as cygrunsrv starts it with (i.e.,
"-F").  This will at least eliminate httpd.conf syntax (if the service
starts correctly).  For a more definite experiment, try running it from a
system-owned shell.
Igor

On Sun, 21 Mar 2004, George Hester wrote:

> Yes I do.
>
> So I followed the directions.  It said "you must run httpd as root initially."
>   To do this make a change so that I have, " User Guest."
>  Of course no one in their right mind enables the Guest account
> but I went ahead and left my Guest account alone
> (the directions did not say to enable that account) and made the entry directed.
>
> Then the directions say, "To install and start the HTTP daemon as Windows service use
> this command:
>
>   $ cygrunsrv -I httpd -d "CYGWIN httpd (apache)" -p /usr/sbin/httpd.exe -a "-F"
>   $ cygrunsrv -S httpd "
>
> So I went ahead and did that.  The Service is now in my Services applet set to start 
> automatically at boot.
>   This looks alittle suspicious to me since the $cygrunsrv -S httpd will NOT occur 
> at boot
> but hey I'm just following the directions.
>
> I rebooted and the Apache server was not working.  I had to fire up Cygwin off my 
> desktop into
>  the bash shell and
> $/usr/sbin/apachectl start to get the server running.
>
> Again this is not the normal way of a service at boot.  It doesn't work.
>
> Any other suggestions to get the Apache server to start as a service in the normal 
> way?
>
>
> George Hester
> __
> Igor Pechtchanski wrote:
>
> > George,
> >
> > I'm sure you have a /usr/share/doc/Cygwin directory on your system.  Look
> > for the file named apache-1.3.29-1.README in that directory.  Judging by
> > your reply, you looked in /usr/share/doc, not in /usr/share/doc/Cygwin.
> > Igor
> >
> > On Sun, 21 Mar 2004, George Hester wrote:
> >
> > > I don't have a folder by that name.  I have folder called
> > > apache-1.3.29-eapib and that's it.  The puny Readme in that said nothing
> > > about running Apache as a service.  Thanks anyway.
> > >
> > > George Hester
> > > __
> > > Igor Pechtchanski wrote:
> > >
> > > > George,
> > > >
> > > > Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> > > > official documentation for apache on Cygwin.  Any other occurrences of
> > > > "Cygwin" in the Apache documentation should be considered incidental, and
> > > > are subsumed by that README.
> > > > Igor
> > > >
> > > > On Sun, 21 Mar 2004, George Hester wrote:
> > > >
> > > > > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > > > > will only upset you.
> > > > >
> > > > > I got the service to exist in the Services applet with:
> > > > >
> > > > > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> > > > >
> > > > > but it does not behave as a normal service.  A normal service set to
> > > > > auto

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread George Hester
Crap it is broke for good.  Is there some way I can remove EVERYTHING that has 
ANYTHIKNG to do with Apache in Cygwin?  The uninstall does NOT remove EVERYTHING.  I'd 
like to remove anything and everything of Apache in Cygwin.  Can this be done?

 There are no errors.  It looiks to me the executable shuts down as soon as it starts.

-- 
George Hester
__
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> George,
> 
> I'm sure you have a /usr/share/doc/Cygwin directory on your system.  Look
> for the file named apache-1.3.29-1.README in that directory.  Judging by
> your reply, you looked in /usr/share/doc, not in /usr/share/doc/Cygwin.
> Igor
> 
> On Sun, 21 Mar 2004, George Hester wrote:
> 
> > I don't have a folder by that name.  I have folder called
> > apache-1.3.29-eapib and that's it.  The puny Readme in that said nothing
> > about running Apache as a service.  Thanks anyway.
> >
> > George Hester
> > __
> > Igor Pechtchanski wrote:
> >
> > > George,
> > >
> > > Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> > > official documentation for apache on Cygwin.  Any other occurrences of
> > > "Cygwin" in the Apache documentation should be considered incidental, and
> > > are subsumed by that README.
> > > Igor
> > >
> > > On Sun, 21 Mar 2004, George Hester wrote:
> > >
> > > > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > > > will only upset you.
> > > >
> > > > I got the service to exist in the Services applet with:
> > > >
> > > > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> > > >
> > > > but it does not behave as a normal service.  A normal service set to
> > > > auto
> 
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread George Hester
In fact it is now broke.

-- 
George Hester
__
"Igor Pechtchanski"  wrote in message news:[EMAIL PROTECTED]
> George,
> 
> I'm sure you have a /usr/share/doc/Cygwin directory on your system.  Look
> for the file named apache-1.3.29-1.README in that directory.  Judging by
> your reply, you looked in /usr/share/doc, not in /usr/share/doc/Cygwin.
> Igor
> 
> On Sun, 21 Mar 2004, George Hester wrote:
> 
> > I don't have a folder by that name.  I have folder called
> > apache-1.3.29-eapib and that's it.  The puny Readme in that said nothing
> > about running Apache as a service.  Thanks anyway.
> >
> > George Hester
> > __
> > Igor Pechtchanski wrote:
> >
> > > George,
> > >
> > > Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> > > official documentation for apache on Cygwin.  Any other occurrences of
> > > "Cygwin" in the Apache documentation should be considered incidental, and
> > > are subsumed by that README.
> > > Igor
> > >
> > > On Sun, 21 Mar 2004, George Hester wrote:
> > >
> > > > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > > > will only upset you.
> > > >
> > > > I got the service to exist in the Services applet with:
> > > >
> > > > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> > > >
> > > > but it does not behave as a normal service.  A normal service set to
> > > > auto
> 
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread George Hester
Yes I do.

So I followed the directions.  It said "you must run httpd as root initially."
  To do this make a change so that I have, " User Guest." 
 Of course no one in their right mind enables the Guest account 
but I went ahead and left my Guest account alone 
(the directions did not say to enable that account) and made the entry directed.

Then the directions say, "To install and start the HTTP daemon as Windows service use 
this command: 
  
  $ cygrunsrv -I httpd -d "CYGWIN httpd (apache)" -p /usr/sbin/httpd.exe -a "-F" 
  $ cygrunsrv -S httpd "

So I went ahead and did that.  The Service is now in my Services applet set to start 
automatically at boot.
  This looks alittle suspicious to me since the $cygrunsrv -S httpd will NOT occur at 
boot 
but hey I'm just following the directions.

I rebooted and the Apache server was not working.  I had to fire up Cygwin off my 
desktop into
 the bash shell and
$/usr/sbin/apachectl start to get the server running.

Again this is not the normal way of a service at boot.  It doesn't work.

Any other suggestions to get the Apache server to start as a service in the normal way?


George Hester
__
"Igor Pechtchanski"  wrote in message news:[EMAIL PROTECTED]
> George,
> 
> I'm sure you have a /usr/share/doc/Cygwin directory on your system.  Look
> for the file named apache-1.3.29-1.README in that directory.  Judging by
> your reply, you looked in /usr/share/doc, not in /usr/share/doc/Cygwin.
> Igor
> 
> On Sun, 21 Mar 2004, George Hester wrote:
> 
> > I don't have a folder by that name.  I have folder called
> > apache-1.3.29-eapib and that's it.  The puny Readme in that said nothing
> > about running Apache as a service.  Thanks anyway.
> >
> > George Hester
> > __
> > Igor Pechtchanski wrote:
> >
> > > George,
> > >
> > > Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> > > official documentation for apache on Cygwin.  Any other occurrences of
> > > "Cygwin" in the Apache documentation should be considered incidental, and
> > > are subsumed by that README.
> > > Igor
> > >
> > > On Sun, 21 Mar 2004, George Hester wrote:
> > >
> > > > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > > > will only upset you.
> > > >
> > > > I got the service to exist in the Services applet with:
> > > >
> > > > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> > > >
> > > > but it does not behave as a normal service.  A normal service set to
> > > > auto
> 
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread Igor Pechtchanski
George,

I'm sure you have a /usr/share/doc/Cygwin directory on your system.  Look
for the file named apache-1.3.29-1.README in that directory.  Judging by
your reply, you looked in /usr/share/doc, not in /usr/share/doc/Cygwin.
Igor

On Sun, 21 Mar 2004, George Hester wrote:

> I don't have a folder by that name.  I have folder called
> apache-1.3.29-eapib and that's it.  The puny Readme in that said nothing
> about running Apache as a service.  Thanks anyway.
>
> George Hester
> __
> Igor Pechtchanski wrote:
>
> > George,
> >
> > Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> > official documentation for apache on Cygwin.  Any other occurrences of
> > "Cygwin" in the Apache documentation should be considered incidental, and
> > are subsumed by that README.
> > Igor
> >
> > On Sun, 21 Mar 2004, George Hester wrote:
> >
> > > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > > will only upset you.
> > >
> > > I got the service to exist in the Services applet with:
> > >
> > > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> > >
> > > but it does not behave as a normal service.  A normal service set to
> > > auto

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread George Hester
I don't have a folder by that name.  I have folder called apache-1.3.29-eapib and 
that's it.  The puny Readme in that said nothing about running Apache as a service.  
Thanks anyway.

George Hester
__
"Igor Pechtchanski"  wrote in message news:[EMAIL PROTECTED]
> George,
> 
> Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> official documentation for apache on Cygwin.  Any other occurrences of
> "Cygwin" in the Apache documentation should be considered incidental, and
> are subsumed by that README.
> Igor
> 
> On Sun, 21 Mar 2004, George Hester wrote:
> 
> > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > will only upset you.
> >
> > I got the service to exist in the Services applet with:
> >
> > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> >
> > but it does not behave as a normal service.  A normal service set to
> > auto will start with no user intervention at boot.  But that is not the
> > case here. I still have to fire up Cygwin into the bash shell from the
> > desktop.  And since I have to do that I see no real benefit in running
> > the above Apache as a service.  Should I start Cygwin as a Service also?
> >
> > George Hester
> > __
> > "Igor Pechtchanski" wrote:
> > > On Sat, 20 Mar 2004, George Hester wrote:
> > >
> > > > According to the documentation of starting the Apache web server as a
> > > > service in cygwin the generic formula is:
> > > >
> > > > $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
> > >  ^ this should be a space
> > > >   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
> > > >
> > > > So I did this in the bash shell:
> > > >
> > > > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
> > >   ^ you need a space here
> > >
> > > > Same thing with:
> > > > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto
> > >   ^ here^ and here
> > >
> > > > The result was the error I posted in the subject.  What did I do wromg?
> > >
> > > See above (you need to put a space before each -* flag).
> > > Igor
> 
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread Igor Pechtchanski
George,

Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
official documentation for apache on Cygwin.  Any other occurrences of
"Cygwin" in the Apache documentation should be considered incidental, and
are subsumed by that README.
Igor

On Sun, 21 Mar 2004, George Hester wrote:

> Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> will only upset you.
>
> I got the service to exist in the Services applet with:
>
> $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
>
> but it does not behave as a normal service.  A normal service set to
> auto will start with no user intervention at boot.  But that is not the
> case here. I still have to fire up Cygwin into the bash shell from the
> desktop.  And since I have to do that I see no real benefit in running
> the above Apache as a service.  Should I start Cygwin as a Service also?
>
> George Hester
> __
> "Igor Pechtchanski" wrote:
> > On Sat, 20 Mar 2004, George Hester wrote:
> >
> > > According to the documentation of starting the Apache web server as a
> > > service in cygwin the generic formula is:
> > >
> > > $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
> >  ^ this should be a space
> > >   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
> > >
> > > So I did this in the bash shell:
> > >
> > > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
> >   ^ you need a space here
> >
> > > Same thing with:
> > > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto
> >   ^ here^ and here
> >
> > > The result was the error I posted in the subject.  What did I do wromg?
> >
> > See above (you need to put a space before each -* flag).
> > Igor

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread Thorsten Kampe
* George Hester (2004-03-21 06:42 +0100)
> I tried $cygrunsvr -I Apache Oh forget it.  The problem was my servername.
> 
> I cannot have $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
> 
> It has to be $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto

No.
 
> It was the space in Apache 1.3

You know this ancient saying: "Spaces have to be quoted, unless
otherwise stoted"...?

Thorsten


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



Re: Trailing commandline arguments not allowed.

2004-03-21 Thread George Hester
Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It will
only upset you.

I got the service to exist in the Services applet with:

$cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto

but it does not behave as a normal service.  A normal service set to auto
will start with no user intervention at boot.  But that is not the case here.
I still have to fire up Cygwin into the bash shell from the desktop.  And since
I have to do that I see no real benefit in running the above Apache as
a service.  Should I start Cygwin as a Service also?

George Hester
__
"Igor Pechtchanski" wrote in message news:[EMAIL PROTECTED]
> On Sat, 20 Mar 2004, George Hester wrote:
> 
> > According to the documentation of starting the Apache web server as a
> > service in cygwin the generic formula is:
> >
> > $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
>  ^ this should be a space
> >   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
> >
> > So I did this in the bash shell:
> >
> > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
>   ^ you need a space here
> 
> > Same thing with:
> > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto
>   ^ here^ and here
> 
> > The result was the error I posted in the subject.  What did I do wromg?
> 
> See above (you need to put a space before each -* flag).
> Igor
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-20 Thread George Hester
I tried $cygrunsvr -I Apache Oh forget it.  The problem was my servername.

I cannot have $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto

It has to be $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto

It was the space in Apache 1.3

-- 
George Hester
__
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Sat, 20 Mar 2004, George Hester wrote:
> 
> > According to the documentation of starting the Apache web server as a
> > service in cygwin the generic formula is:
> >
> > $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
>  ^ this should be a space
> >   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
> >
> > So I did this in the bash shell:
> >
> > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
>   ^ you need a space here
> 
> > Same thing with:
> > $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto
>   ^ here^ and here
> 
> > The result was the error I posted in the subject.  What did I do wromg?
> 
> See above (you need to put a space before each -* flag).
> Igor
> -- 
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_ [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_ [EMAIL PROTECTED]
>  |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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



Re: Trailing commandline arguments not allowed.

2004-03-20 Thread Igor Pechtchanski
On Sat, 20 Mar 2004, George Hester wrote:

> According to the documentation of starting the Apache web server as a
> service in cygwin the generic formula is:
>
> $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
 ^ this should be a space
>   [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
>
> So I did this in the bash shell:
>
> $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto
  ^ you need a space here

> Same thing with:
> $cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto
  ^ here^ and here

> The result was the error I posted in the subject.  What did I do wromg?

See above (you need to put a space before each -* flag).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



Trailing commandline arguments not allowed.

2004-03-20 Thread George Hester
According to the documentation of starting the Apache web server as a service in 
cygwin the generic formula is:

$ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
  [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]

So I did this in the bash shell:

$cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe -t auto

Same thing with:
$cygrunsrv -I Apache 1.3-p /usr/sbin/httpd.exe-t auto

The result was the error I posted in the subject.  What did I do wromg?

-- 
George Hester
__


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