* Installing Apache as a new Service = Win32 error 1062
@ 2004-02-20 11:39 florent.lothon
2004-02-20 12:38 ` Steven Hartland
2004-02-20 15:42 ` Larry Hall
0 siblings, 2 replies; 3+ messages in thread
From: florent.lothon @ 2004-02-20 11:39 UTC (permalink / raw)
To: cygwin
Hello,
I think this doc isn't enough to succesfully install Apache as service for new
users of cygwin as me :
Installing Apache as a new Service
Use the following statement to install httpd.exe as a new service:
$ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
[-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
Where -a is used to pass command line arguments (such as -DFOO defines) to
httpd.exe, and -e is used to pass environment variables. If necessary you may
use the -t options to set the autostart configuration for the service. If you
want the new service to run under a different userid, you will have to supply
the -u and -w options.
When i start apache as this : /usr/sbin/httpd.exe
apache is running ok
but when i install it as service with : cygrunsrv -I apache -p
/usr/sbin/httpd.exe
and i try to start the service with :
$ cygrunsrv -S apache
i get :
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
Le service n'a pas été démarré.
I think there is other thing to do but what ?
Florent
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Installing Apache as a new Service = Win32 error 1062
2004-02-20 11:39 Installing Apache as a new Service = Win32 error 1062 florent.lothon
@ 2004-02-20 12:38 ` Steven Hartland
2004-02-20 15:42 ` Larry Hall
1 sibling, 0 replies; 3+ messages in thread
From: Steven Hartland @ 2004-02-20 12:38 UTC (permalink / raw)
To: florent.lothon, cygwin
Check the apache log file. may well give u an error about setting
UID if so ensure the config has the correct User / Group directives
in it.
Steve / K
----- Original Message -----
From: <florent.lothon@free.fr>
To: <cygwin@cygwin.com>
Sent: 20 February 2004 11:26
Subject: Installing Apache as a new Service = Win32 error 1062
> Hello,
>
> I think this doc isn't enough to succesfully install Apache as service for new
> users of cygwin as me :
>
> Installing Apache as a new Service
> Use the following statement to install httpd.exe as a new service:
>
> $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
> [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
> Where -a is used to pass command line arguments (such as -DFOO defines) to
> httpd.exe, and -e is used to pass environment variables. If necessary you may
> use the -t options to set the autostart configuration for the service. If you
> want the new service to run under a different userid, you will have to supply
> the -u and -w options.
>
> When i start apache as this : /usr/sbin/httpd.exe
> apache is running ok
>
> but when i install it as service with : cygrunsrv -I apache -p
> /usr/sbin/httpd.exe
> and i try to start the service with :
> $ cygrunsrv -S apache
> i get :
> cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
> Le service n'a pas été démarré.
>
> I think there is other thing to do but what ?
>
> Florent
>
> --
> 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/
>
================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster@multiplay.co.uk.
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Installing Apache as a new Service = Win32 error 1062
2004-02-20 11:39 Installing Apache as a new Service = Win32 error 1062 florent.lothon
2004-02-20 12:38 ` Steven Hartland
@ 2004-02-20 15:42 ` Larry Hall
1 sibling, 0 replies; 3+ messages in thread
From: Larry Hall @ 2004-02-20 15:42 UTC (permalink / raw)
To: florent.lothon, cygwin
At 06:26 AM 2/20/2004, florent.lothon@free.fr you wrote:
>Hello,
>
>I think this doc isn't enough to succesfully install Apache as service for new
>users of cygwin as me :
>
>Installing Apache as a new Service
>Use the following statement to install httpd.exe as a new service:
>
> $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
> [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
>Where -a is used to pass command line arguments (such as -DFOO defines) to
>httpd.exe, and -e is used to pass environment variables. If necessary you may
>use the -t options to set the autostart configuration for the service. If you
>want the new service to run under a different userid, you will have to supply
>the -u and -w options.
>
>When i start apache as this : /usr/sbin/httpd.exe
>apache is running ok
>
>but when i install it as service with : cygrunsrv -I apache -p
>/usr/sbin/httpd.exe
>and i try to start the service with :
>$ cygrunsrv -S apache
>i get :
>cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
>Le service n'a pas été démarré.
>
>I think there is other thing to do but what ?
As with all problem reports to the list, you should start here:
>Problem reports: http://cygwin.com/problems.html
Following this helps us here on the list refine the infinite realm of
possible suggestions down to a reasonable set of possible solutions or
follow-up questions. I think everyone on this list will agree that there's
too much traffic here to support email exchanges with infinite content. ;-)
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-20 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-20 11:39 Installing Apache as a new Service = Win32 error 1062 florent.lothon
2004-02-20 12:38 ` Steven Hartland
2004-02-20 15:42 ` Larry Hall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).