Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

?? Documentation Error: Stopping Apache on Win 2K ??

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Setting up virtual hosts on Apache  
Author Message
tlapaso

External


Since: Mar 29, 2004
Posts: 3



(Msg. 1) Posted: Mon Mar 29, 2004 11:39 pm
Post subject: ?? Documentation Error: Stopping Apache on Win 2K ??
Archived from groups: alt>apache>configuration (more info?)

Hi All,

I have Apache installed and running on Win 2K. It is *NOT*, I
repeat *NOT* running as a service but rather as a console
application.

In the documentation, it says the following about shutting down
Apache when it is running as a console application:

"You can tell a running Apache to stop by
opening another console window and entering:

apache -k shutdown

This should be preferred over pressing
Control-C because this lets Apache end
any current operations and clean up gracefully."

Well, that's great...but when I attempt to use "shutdown" I get
this error message:

[Mon Mar 29 20:18:21 2004] [error] (OS 2)The system
cannot find the file specified. : No installed service
named "Apache2".


It looks like the shutdown command only works if Apache is
running as a Windows service, contrary to what the documentation
says. In fact, if I run Apache as a service then the "shutdown"
command does in fact work as described.

It is a bit confusing, isn't it? Earlier in the documentation it
says, "If you don't have Apache installed as a service, the
window will remain visible until you stop Apache by pressing
Control-C in the console window where Apache is running in." But
the above quote indicates it's better to use "shutdown" than
Control-C...

I know it's a minor issue but what there you have it...

 >> Stay informed about: ?? Documentation Error: Stopping Apache on Win 2K ?? 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Tue Mar 30, 2004 11:45 pm
Post subject: Re: ?? Documentation Error: Stopping Apache on Win 2K ?? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Tony LaPaso" <tlapaso DeleteThis @comcast.net> schreef in bericht
news:--KdnRiEdaI6QPXdRVn-uw@comcast.com...
 > I have Apache installed and running on Win 2K. It is *NOT*, I
 > repeat *NOT* running as a service but rather as a console
 > application.
While reading the documentation you apparently missed
"Running Apache as a Service" apache -k install
<a style='text-decoration: underline;' href="file:///C:/Apache2/manual/platform/windows.html#winsvc" target="_blank">file:///C:/Apache2/manual/platform/windows.html#winsvc</a>

thus making
 > [Mon Mar 29 20:18:21 2004] [error] (OS 2)The system
 > cannot find the file specified. : No installed service
 > named "Apache2".
obviously yours.

 > It is a bit confusing, isn't it?
I'm *NOT* confused at all ... it's running all century here.

 > Earlier in the documentation it
 > says, "If you don't have Apache installed as a service, the
 > window will remain visible until you stop Apache by pressing
 > Control-C in the console window where Apache is running in." But
 > the above quote indicates it's better to use "shutdown" than
 > Control-C...
Either Apache runs as a service and is stop-able -by 'net stop apache2' too
or it is a forground tasks to the user allowing Ctrl+C to terminate.

 > I know it's a minor issue but what there you have it...
I repeat, it is *NOT* an issue at all, Apache(2) is running as service for
over half a decade here.

HansH
--
Using adrinaline for ink, I cann't write when angry<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: ?? Documentation Error: Stopping Apache on Win 2K ?? 
Back to top
Login to vote
tlapaso

External


Since: Mar 29, 2004
Posts: 3



(Msg. 3) Posted: Tue Mar 30, 2004 11:46 pm
Post subject: Re: ?? Documentation Error: Stopping Apache on Win 2K ?? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

And apparently *YOU* did not read that it's not necessary to run
Apache as a service on a Windows. This is the link you provided
me. Maybe you should read it.

<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/platform/windows.html#wincons" target="_blank">http://httpd.apache.org/docs-2.0/platform/windows.html#wincons</a>

You obviously had no understanding of what I was even asking.



"HansH" <hans.TakeThisOut@niet.op.het.net> wrote in message
news:c4cf98$jqs$1@news.cistron.nl...
 > "Tony LaPaso" <tlapaso.TakeThisOut@comcast.net> schreef in bericht
 > news:--KdnRiEdaI6QPXdRVn-uw@comcast.com...
  > > I have Apache installed and running on Win 2K. It is *NOT*, I
  > > repeat *NOT* running as a service but rather as a console
  > > application.
 > While reading the documentation you apparently missed
 > "Running Apache as a Service" apache -k install
<font color=purple> > <a style='text-decoration: underline;' href="file:///C:/Apache2/manual/platform/windows.html#winsvc</font" target="_blank">file:///C:/Apache2/manual/platform/windows.html#winsvc</font</a>>
 >
 > thus making
  > > [Mon Mar 29 20:18:21 2004] [error] (OS 2)The system
  > > cannot find the file specified. : No installed service
  > > named "Apache2".
 > obviously yours.
 >
  > > It is a bit confusing, isn't it?
 > I'm *NOT* confused at all ... it's running all century here.
 >
  > > Earlier in the documentation it
  > > says, "If you don't have Apache installed as a service, the
  > > window will remain visible until you stop Apache by pressing
  > > Control-C in the console window where Apache is running in."
But
  > > the above quote indicates it's better to use "shutdown" than
  > > Control-C...
 > Either Apache runs as a service and is stop-able -by 'net stop
apache2' too
 > or it is a forground tasks to the user allowing Ctrl+C to
terminate.
 >
  > > I know it's a minor issue but what there you have it...
 > I repeat, it is *NOT* an issue at all, Apache(2) is running as
service for
 > over half a decade here.
 >
 > HansH
 > --
 > Using adrinaline for ink, I cann't write when angry
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ?? Documentation Error: Stopping Apache on Win 2K ?? 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 4) Posted: Wed Mar 31, 2004 12:12 pm
Post subject: Re: ?? Documentation Error: Stopping Apache on Win 2K ?? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Tony LaPaso" <tlapaso.RemoveThis@comcast.net> schreef in bericht
news:p9idnZpL5dNEtvfdRVn-gg@comcast.com...
 > And apparently *YOU* did not read that it's not necessary to run
 > Apache as a service on a Windows. This is the link you provided
 > me. Maybe you should read it.
<font color=purple> > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/platform/windows.html#wincons</font" target="_blank">http://httpd.apache.org/docs-2.0/platform/windows.html#wincons</font</a>>
From the link above:
"However, if you do have Apache installed as a service, the shortcut starts
the service. If the Apache service is running already, the shortcut doesn't
do anything."

In o so many words, you cann't have it both ways!!

 > You obviously had no understanding of what I was even asking.
Well, form now let's keep it that way....

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ?? Documentation Error: Stopping Apache on Win 2K ?? 
Back to top
Login to vote
tlapaso

External


Since: Mar 29, 2004
Posts: 3



(Msg. 5) Posted: Wed Mar 31, 2004 11:52 pm
Post subject: Re: ?? Documentation Error: Stopping Apache on Win 2K ?? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

One final comment...I have the feeling based on your response (I
may be wrong) that you are not clear on the difference between a
Windows console program and a service. They are distinctly
different.



"HansH" <hans.TakeThisOut@niet.op.het.net> wrote in message
news:c4dr0o$7ve$1@news.cistron.nl...
 >
 > "Tony LaPaso" <tlapaso.TakeThisOut@comcast.net> schreef in bericht
 > news:p9idnZpL5dNEtvfdRVn-gg@comcast.com...
  > > And apparently *YOU* did not read that it's not necessary to
run
  > > Apache as a service on a Windows. This is the link you
provided
  > > me. Maybe you should read it.
  > >
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/platform/windows.html#wincons" target="_blank">http://httpd.apache.org/docs-2.0/platform/windows.html#wincons</a>
 > From the link above:
 > "However, if you do have Apache installed as a service, the
shortcut starts
 > the service. If the Apache service is running already, the
shortcut doesn't
 > do anything."
 >
 > In o so many words, you cann't have it both ways!!
 >
  > > You obviously had no understanding of what I was even asking.
 > Well, form now let's keep it that way....
 >
 > HansH
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: ?? Documentation Error: Stopping Apache on Win 2K ?? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
stopping Apache on Win98 - I've seen this question asked a couple of other times on this group but haven't seen a satisfactory answer. Apache doesn't seem to want to stop on Win 98. 'Apache -k stop' reports that it is stopping for a few moments and then reports that it couldn't..

[Newbie] Stopping hotlinking problem - I want to stop all GIF and JPG images being hotlinked off my webspace, but I do want to allow images to be shown when I am navigating from inside my own webspace at http://www.eddietalbot.pwp.blueyonder.co.uk/ However, the script seems to block images..

Stopping cgi after user stops browsing - I have some Perl/Apache/rewrite rules that allows user to download data eg www.ipo-australia.com/download/200301.zip?format=fcharts These downloads range from 100KB to serveral MB. When a user hits 'stop', the cgi still keeps runing, eventhough I can se...

Apache error - I am using Solaris8, Weblogic 7sp2 and IBM HTTPD server. Getting the following error [error] READ_TIMEOUT [os error=0, line 199 of ../nsapi/Reader.cpp]: Any help is appreciated. Thanks

Apache Error Documents - Hi, i tried to configure Apache's Error Documents... but it doesnt work... first my config... <IfModule mod_negotiation.c> <IfModule mod_include.c> Alias /error/ "C:/Programme/Apache Group/Apache2/error/" &lt;Director...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]