httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Win2k Service
Date Wed, 09 Oct 2002 04:40:56 GMT
Why make it so hard?

First, if possible, undo whatever you've done; I can't see that the
suggested method of adding the service could work, as it doesn't ever point
to the Apache binary. Then simply cd to your apache bin directory, and type
"apache -k install" which should install it as a service. (Re)run the
service monitor, and you should be able to run it from there. If it fails,
go back to the command prompt and run apache from there, and it will tell
you what's wrong.

Regards,
Robert Andersson

----- Original Message -----
From: "Mark Lenz" <MLenz@piercemfg.com>
To: <users@httpd.apache.org>
Sent: Monday, October 07, 2002 5:06 PM
Subject: Re: [users@httpd] Win2k Service


>
>
> Ok, I got the command to work.  Each parameter needed to be followed by a
> space and has to be without quotes like, DisplayName= Apache2.  Now the
> service won't start.  I'm assuming because it says that the path to
> executable is the services.exe.  Should that be different, and do I need
> any start parameters?  I can't remember the parameters that Apache 2.0.40
> had set.
> Thanks for all of your help.
>
> Mark Lenz
> (920) 832-3523
> mlenz@piercemfg.com
>
>
>   "i.t"
>   <i.t@ithum.de>          To:
>                   users@httpd.apache.org
>                           cc:
>   10/04/2002              Subject:        Re:
>   03:57 PM        [users@httpd] Win2k Service
>   Please respond
>   to users
>
>
>
>
>
>
>
> > I tried running the command and it just keeps spitting back:
> >
> > C:\DOCUME~1\T02461~1.PMI>sc create Apache2.0.43 start= "auto"
binpath="C:
> > \WINNT\system32\services.exe" DisplayName="Apache2"
> > Creates a service entry in the registry and Service Database.
> > SYNTAX:
> > sc create [service name] [binPath= ] <option1> <option2>...
> > CREATE OPTIONS:
> > NOTE: The option name includes the equal sign.
> >  type= <own|share|interact|kernel|filesys|rec|error>
> >        (default = own)
> >  start= <boot|system|auto|demand|disabled|error>
> >        (default = demand)
> >  error= <normal|severe|critical|error|ignore>
> >        (default = normal)
> >  binPath= <BinaryPathName>
> >  group= <LoadOrderGroup>
> >  tag= <yes|no>
> >  depend= <Dependencies(separated by / (forward slash))>
> >  obj= <AccountName|ObjectName>
> >        (default = LocalSystem)
> >  DisplayName= <display name>
> >  password= <password>
> >
> > I've tried to re-arrange the options, but it still doesn't like it.
This
> > is a Windows 2000 machine with Service Pack 3 installed.
>
> well :-
> there is anywhere a typo since this is a "good" reaction. The typo may
> simply
> be a space accompanying equal signs, maybe here
> start= "auto"
>        ^
> try
> start="auto"
> this utility is a bit "space-burden",
> the command must be in one line,
> and, of course, the real path to services.exe on your system must be
> correct.
>
> Don't give up too early :-
>
> i.t
> --
> . ___
> |  |  Irmund     Thum
> |  |
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
> The information contained in this electronic mail message is confidential
> information and intended only for the use of the individual or entity
named
> above, and may be privileged. If the reader of this messages is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If
> you have received this transmission in error, please contact the sender
> immediately, delete this material from your computer and destroy all
> related paper media. Please note that the documents transmitted are not
> intended to be binding until a hard copy has been manually signed by all
> parties.
> Thank you.
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message