Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: where can I find documentation on the "runservice" |
|
Author |
|
DocDJ
Joined: 11 Oct 2009 Posts: 18
|
Posted: Wed 12 Feb '14 15:22 Post subject: where can I find documentation on the "runservice" |
|
|
My Windows 7 installation of Apache 2.4.3 (x64) has this line:
http.exe -k runservice
I can't find any documentation on this option. All I can find about starting the server looks like:
http.exe -k start
If "-k runservice" is incorrect (The server actually does start, but gives a message that disappears too quickly to be copied or read), how do I replace it with "-k start"? |
|
Back to top |
|
jimski
Joined: 18 Jan 2014 Posts: 196 Location: USSA
|
Posted: Thu 13 Feb '14 14:27 Post subject: Re: where can I find documentation on the "runservice& |
|
|
DocDJ wrote: | I can't find any documentation on this option.
|
What do you mean you can't find anything?
There are 46,000 entries on this subject:
https://www.google.com/search?q=%22-k+runservice%22&btnG=Search&hl=en&biw=&bih=&gbv=1
Also, did you use msi installer or did you unzip apache manually?
Where does your apache have the line that you are referring to?
What is the problem that you are having other than not being able to see a message? |
|
Back to top |
|
Anaksunaman
Joined: 19 Dec 2013 Posts: 54
|
Posted: Sat 15 Feb '14 10:53 Post subject: where can I find documentation on the "runservice" |
|
|
If you are having trouble reading the message, it might be helpful to open an command window and attempt to start the service manually.
1.) Open a command window. On Windows 7, to avoid issues, you may wish to open an administrator authorized window by going to Start Menu -> Search, typing "cmd.exe" (without quotes) then press and hold ctrl + shift and, while continuing to hold this combination, press Enter. A Windows UAC (User Account Control) window should pop up. Click yes to authorize the administrator command window.
2.) Using standard DOS commands, navigate to the directory where your executables live (most likely the bin directory of your installation), which holds the httpd.exe binary. Execute Code: | httpd.exe -k runservice | manually. See the results.
In any case, you should check your error.log for your installation as well (usually under the "logs" directory of your installation). This is a plain text file, so it should easily be readable with notepad.
As a side note, if the server starts, there may be little to worry about. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sun 16 Feb '14 16:58 Post subject: |
|
|
if you installed apache as service via httpd -k install then you can start if with httpd -k start and stop with httpd -k stop.
the runservice is internaly use, don't bother with it.
if you do not install apache as a service then jsut double click on the httpd.exe |
|
Back to top |
|
|
|
|
|
|