You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rick Wong <rw...@opsware.com> on 2005/07/01 03:36:13 UTC
[users@httpd] Starting apache in non-daemon mode
Hi,
When I start apache 2.0 in Linux, it starts itself in daemon mode with
PPID=1, and having its own unix session ID and program group ID.
Is it possible to configure apache to run in a non-daemon mode, and not
to start a new unix session?
Thanks,
--
Rick
---------------------------------------------------------------------
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
Re: [users@httpd] Starting apache in non-daemon mode
Posted by Rick Wong <rw...@opsware.com>.
doh! thanks!
André Malo wrote:
>* Rick Wong wrote:
>
>
>
>>This helps very much. That's exactly what I need. By the way, the -X
>>is not documented. Where would I find a list of undocumented switches
>>in case there are other options I need?
>>
>>
>
>Well, uhm, ... http://httpd.apache.org/docs-2.0/programs/httpd.html
>
>or `man 8 httpd` ;-)
>
>nd
>
>
---------------------------------------------------------------------
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
Re: [users@httpd] Starting apache in non-daemon mode
Posted by Rick Wong <rw...@opsware.com>.
Ah ha!
./httpd -DNO_DETACH -DFOREGROUND
Can't use -X because it implies -DONE_PROCESS which is bad for me.
Thanks for the lead!
--
Rick
André Malo wrote:
>* Rick Wong wrote:
>
>
>
>>This helps very much. That's exactly what I need. By the way, the -X
>>is not documented. Where would I find a list of undocumented switches
>>in case there are other options I need?
>>
>>
>
>Well, uhm, ... http://httpd.apache.org/docs-2.0/programs/httpd.html
>
>or `man 8 httpd` ;-)
>
>nd
>
>
---------------------------------------------------------------------
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
Re: [users@httpd] Starting apache in non-daemon mode
Posted by André Malo <nd...@perlig.de>.
* Rick Wong wrote:
> This helps very much. That's exactly what I need. By the way, the -X
> is not documented. Where would I find a list of undocumented switches
> in case there are other options I need?
Well, uhm, ... http://httpd.apache.org/docs-2.0/programs/httpd.html
or `man 8 httpd` ;-)
nd
--
Wenn nur Ingenieure mit Diplom programmieren würden, hätten wir
wahrscheinlich weniger schlechte Software.
Wir hätten allerdings auch weniger gute Software.
-- Felix von Leitner in dasr
---------------------------------------------------------------------
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
Re: [users@httpd] Starting apache in non-daemon mode
Posted by Rick Wong <rw...@opsware.com>.
This helps very much. That's exactly what I need. By the way, the -X
is not documented. Where would I find a list of undocumented switches
in case there are other options I need?
Thanks,
--
Rick
André Malo wrote:
>* Rick Wong wrote:
>
>
>
>>When I start apache 2.0 in Linux, it starts itself in daemon mode with
>>PPID=1, and having its own unix session ID and program group ID.
>>
>>Is it possible to configure apache to run in a non-daemon mode, and not
>>to start a new unix session?
>>
>>
>
>There's the -X command line option, which turns on single process mode. I'm
>not sure if that is what you want though ;)
>
>nd
>
>
---------------------------------------------------------------------
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
Re: [users@httpd] Starting apache in non-daemon mode
Posted by André Malo <nd...@perlig.de>.
* Rick Wong wrote:
> When I start apache 2.0 in Linux, it starts itself in daemon mode with
> PPID=1, and having its own unix session ID and program group ID.
>
> Is it possible to configure apache to run in a non-daemon mode, and not
> to start a new unix session?
There's the -X command line option, which turns on single process mode. I'm
not sure if that is what you want though ;)
nd
--
"Solides und umfangreiches Buch"
-- aus einer Rezension
<http://pub.perlig.de/books.html#apache2>
---------------------------------------------------------------------
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