Re: [users@httpd] PHP-CGI with Apache-2.4.37

2019-03-08 Thread Hemant Chaudhary
it thorough terminal. Do you have any idea how to solve this? Thanks Hemant On Fri, Mar 8, 2019 at 5:48 PM Eric Covener wrote: > On Fri, Mar 8, 2019 at 6:38 AM Hemant Chaudhary > wrote: > > > > Hi All, > > > > I want to use my php scripts using mod-cgi. > > >

[users@httpd] PHP-CGI with Apache-2.4.37

2019-03-08 Thread Hemant Chaudhary
Hi All, I want to use my php scripts using mod-cgi. httpd.conf AddHandler application/x-httpd-php7 php AddHandler application/x-httpd-php7 .php and my first.php is like #!/usr/bin/php-cgi But when I am sending request from browser, my php page got displayed there instead of content of php

[users@httpd] ThreadsPerChild in apache-2.4.37

2019-01-15 Thread Hemant Chaudhary
Hi All, 1) I am using apache-2.4.37 and found that when I am setting ThreadsPerChild to 5 or 10, it is not creating that number of threads. Still it creates default threads i:e 25 in debug mode (-X) option. Whether this parameter doesn't work in debug mode or any issue in apache-2.4.37 ? 2) I am

Re: [users@httpd] Doubts in apache-2.4.37

2019-01-15 Thread Hemant Chaudhary
on which actual proxy module you are using. (There > are parameters for controlling the buffer size and when to flush) > > On Mon, Jan 14, 2019 at 9:51 AM Hemant Chaudhary < > hemantdude.chaudh...@gmail.com> wrote: > >> Hi Team, >> >> I have following doubt, pleas

[users@httpd] Doubts in apache-2.4.37

2019-01-14 Thread Hemant Chaudhary
Hi Team, I have following doubt, please help me to understand 1) I am using worker MPM and according to architecture, each child process creates one worker listener thread which has mutex and listens on the port. If I am using two ports 80 and 443 then whether each child creates two listener

Re: [users@httpd] Graceful shutdown of apache

2018-12-10 Thread Hemant Chaudhary
Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > I am using apache-2.4.29 version. > > On Nov 28, 2018 4:32 AM, "Yann Ylavic" wrote: > > Hi Hemant, > > On Mon, Nov 26, 2018 at 5:53 PM Hemant Chaudhary > wrote: > > > > I am able to stop onl

Re: [users@httpd] Graceful shutdown of apache

2018-11-27 Thread Hemant Chaudhary
I am using apache-2.4.29 version. On Nov 28, 2018 4:32 AM, "Yann Ylavic" wrote: Hi Hemant, On Mon, Nov 26, 2018 at 5:53 PM Hemant Chaudhary wrote: > > I am able to stop only by kill -9 signal. Which httpd version are you using? The latest one (2.4.37) has several improvem

Re: [users@httpd] Graceful shutdown of apache

2018-11-26 Thread Hemant Chaudhary
ot; wrote: Graceful shutdown is a WINCH signal. In -X mode you don't have a parent -> children relationship with httpd, just the worker process. It isn't for normal operation. On Thu, Nov 22, 2018 at 7:28 AM Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi, > &g

Re: [users@httpd] Openssl-1.1.1 with apache-2.4.29

2018-11-22 Thread Hemant Chaudhary
enable it either. > > Cheers, > > Stefan > > > Am 21.11.2018 um 11:19 schrieb Hemant Chaudhary < > hemantdude.chaudh...@gmail.com>: > > > > HI, > > > > I am using openssl-1.1.1 with apache-2.4.29 so that I can use tlsv1.3 in > my server. I am able

[users@httpd] Graceful shutdown of apache

2018-11-22 Thread Hemant Chaudhary
Hi, I am not able to shutdown apache gracefully if I am starting apache in debug mode i:e (./httpd -X) with worker mpm. I am sending kill -term PID to httpd process. wherease the same command is working with prefork. How should I stop worker mpm if started in debug mode ? Thanks Hemant

[users@httpd] Openssl-1.1.1 with apache-2.4.29

2018-11-21 Thread Hemant Chaudhary
HI, I am using openssl-1.1.1 with apache-2.4.29 so that I can use tlsv1.3 in my server. I am able to build Mod_ssl.so but when I am starting the server with SSLProtocol TLSv1.3, server is not starting and giving the error message "SSLProtocol: Illegal protocol 'TLSv1.3' Does apache 2.4.29

[users@httpd] Cleanup in apache

2018-11-15 Thread Hemant Chaudhary
Hi All, I am using apache-2.4.25 and apr-1.5.2. When I am using mod_autoindex for indexing of icons directory, after serving the request the process gets crashed. I debugged and checked that it was getting crashed from apr_pool_cleanup_kill (). The line which causes the crash is "c->data == data

[users@httpd] Issue while listing Directory using mod_autoindex

2018-10-05 Thread Hemant Chaudhary
Hi All, When I am trying to list directory in apache. My process get killed and I was not able to see directory. During debugging I have seen that "apr_dir_close(thedir);" apr_dir_close in function index_directory is killing my process. So I have commented this function from index_directory.

Re: [users@httpd] Get request of large file size greater than 100KB

2018-09-27 Thread Hemant Chaudhary
gt; https://stackoverflow.com/questions/33811543/php-and-mod-fcgid-ap-pass-brigade-failed-in-handle-request-ipc-function# > On Thu, Sep 27, 2018 at 1:15 AM Hemant Chaudhary > wrote: > > > > Hi All, > > > > I am trying to access large file(get request) of large file. This is > wor

[users@httpd] Get request of large file size greater than 100KB

2018-09-27 Thread Hemant Chaudhary
Hi All, I am trying to access large file(get request) of large file. This is working properly if size of file is less than 52KB. But size greater than 52KB is giving me error 4022. I have debugged and come to know that writev function can write maximum upto 52KB only. Therefore I changed the

[users@httpd] Auto-indexing of directory

2018-09-26 Thread Hemant Chaudhary
Hi All, I want to see the content of directory. I am able to access particular file of the directory but when I am accessing whole directory then my process is getting killed. Response is 200 for both the cases. But directory listing is not there. my httpd.conf : Alias

Re: [users@httpd] Re: Non Blocking write in apache

2018-09-26 Thread Hemant Chaudhary
. Is there any buffer/place where I can restrict readv to 42KB only,so that it will not cross 52KB. Thanks Hemant On Tue, Sep 18, 2018 at 2:18 PM Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi Yann, > > 42Kb works for me. Thanks for your support. > > Regards, > H

Re: [users@httpd] Re: Non Blocking write in apache

2018-09-18 Thread Hemant Chaudhary
Hi Yann, 42Kb works for me. Thanks for your support. Regards, Hemant On Mon, Sep 17, 2018 at 9:16 PM Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > If it will flush data then at what condition it will go to apr_poll > function ?? > > What I understand is that i

Re: [users@httpd] Re: Non Blocking write in apache

2018-09-17 Thread Hemant Chaudhary
On Sep 17, 2018 6:58 PM, "Yann Ylavic" wrote: > Hi, > > On Mon, Sep 17, 2018 at 1:51 PM Hemant Chaudhary > wrote: > > > > in the apache error_log with trace6, it is trying to flush because it > reached thresold_max_buffer. But at the same time, it is adding dat

Re: [users@httpd] Re: Non Blocking write in apache

2018-09-17 Thread Hemant Chaudhary
success. Attaching error_log with new change. Thanks Hemant On Mon, Sep 17, 2018 at 4:01 PM Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi Yann, > > Thanks for your explanation. I got the issue. > Actually NonStop has maximum limit of 52KB only for w

Re: [users@httpd] Re: Non Blocking write in apache

2018-09-17 Thread Hemant Chaudhary
Hi Hermant, > > On Fri, Sep 14, 2018 at 1:53 PM Hemant Chaudhary > wrote: > > > > Please don't get confuse with Cygwin(Windows). I am running apache on > NonStop(Tandem). > > Well, isn't the error_log attached to the previous message relevant > (be it cygwin or not)? &g

Re: [users@httpd] Re: Non Blocking write in apache

2018-09-14 Thread Hemant Chaudhary
more information. Thanks Hemant On Fri, Sep 14, 2018 at 3:56 PM Yann Ylavic wrote: > Hi Hermant, > > On Fri, Sep 14, 2018 at 8:08 AM Hemant Chaudhary > wrote: > > > > I have tried to upload a file of 26.5mb on apache tomcat, which was > successfull. > > I

Re: [users@httpd] Re: Non Blocking write in apache

2018-09-14 Thread Hemant Chaudhary
:37 PM Yann Ylavic wrote: > On Wed, Sep 12, 2018 at 12:48 PM Hemant Chaudhary > wrote: > > > > Actually it is setting sock->timeout to 0 in writev_nonblocking() in > core_filters.c. > > arv = apr_socket_timeout_set(s, 0); > > > > Why does the default timeo

[users@httpd] Re: Non Blocking write in apache

2018-09-12 Thread Hemant Chaudhary
Hi All, Actually it is setting sock->timeout to 0 in writev_nonblocking() in core_filters.c. arv = apr_socket_timeout_set(s, 0); Why does the default timeout is changed and set to 0 ?? Thanks Hemant On Wed, Sep 12, 2018 at 4:03 PM Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wro

[users@httpd] Non Blocking write in apache

2018-09-12 Thread Hemant Chaudhary
Hi All, I am using proxy_http to proxy my request to tomcat from apache. But in non-blocking call it is not working properly(timeout issue). I am using the default timeout i:e 60 sec. When writev returns -1 with errorno==4101, it should wait and then again try for write. while ((rv == -1) &&

[users@httpd] Message buffer in Apache Web Server

2018-08-23 Thread Hemant Chaudhary
Hi All, I want to send 1MB of data of request at a time. For this I want to use buffer in proxy_http. By default we can send 8192(8kb) of data at a time. I have used ProxyIOBufferSize and BufferSize, but still it is sending 8192 only. I tried to set these value to 512, so that it will send 512

[users@httpd] Buffer in apache

2018-08-21 Thread Hemant Chaudhary
Hi All, I want to use buffer of 512B in apache . I am using mod_proxy_http to send request to tomcat and have set ProxyIOBufferSize 512. But it is sending message to tomcat with size greater than 512B. How should I control apache in proxy so that it will send message and receive with max

Re: [users@httpd] How to use fcgistarter in apache

2018-08-09 Thread Hemant Chaudhary
Okay then how should I start any program using fastcgi starter. Anybody using it ? On Aug 9, 2018 6:08 PM, "Eric Covener" wrote: > On Thu, Aug 9, 2018 at 8:07 AM Hemant Chaudhary > wrote: > > > > Hi All, > > > > I tried to run my perl on port

[users@httpd] How to use fcgistarter in apache

2018-08-09 Thread Hemant Chaudhary
Hi All, I tried to run my perl on port 8070 and proxy my request to port using mod_proxy_fcgi. I am using the following command ./fcgistarter -c /usr/bin/perl -p 8070 But none of the process gets started on port 8070. Please help how to use fcgistarter, so that I can start python or perl on

[users@httpd] Re: Test Functionality of Apache web server

2018-07-09 Thread Hemant Chaudhary
Any update on this ? Thanks Hemant On Fri, Jul 6, 2018 at 2:44 PM, Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi All, > > Do we have any test suite for unit testing of apache source code?? I have > taken open source code and build it. I want t

[users@httpd] Test Functionality of Apache web server

2018-07-06 Thread Hemant Chaudhary
Hi All, Do we have any test suite for unit testing of apache source code?? I have taken open source code and build it. I want to test whether all functionalities is working or not. Any third party which provides test? Thanks Hemant

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-29 Thread Hemant Chaudhary
t; The one thing I forgot about when I originally switched from php 5 to 7 >> was the APACHE_MODULES variable in the file /etc/sysconfig/apache2, >> changing php5 to php7. But each os/distro likes to tweak the config files >> so not sure if this applies to you. >> >

Re: [users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-27 Thread Hemant Chaudhary
Its NonStop (tandem) On Jun 27, 2018 7:35 PM, "David Copeland" wrote: > What platform/distribution are you running? > > On 27/06/18 06:09 AM, Hemant Chaudhary wrote: > > Hi, > > > > I was using mod_php of php-5.5.37 with apache-2.4.25 and it was > > wo

[users@httpd] PHP-7.2.5 with Apache-2.4.25

2018-06-27 Thread Hemant Chaudhary
Hi, I was using mod_php of php-5.5.37 with apache-2.4.25 and it was working fine. I upgraded the php to php-7.2.5. But after upgrade, mod_php is not able to unload properly. Does anybody also face the same issue. Thanks Hemant

Re: [users@httpd] Rotate logs in apache-2.4.29

2018-06-08 Thread Hemant Chaudhary
Y > > On Fri, Jun 8, 2018 at 5:11 AM Hemant Chaudhary < > hemantdude.chaudh...@gmail.com> wrote: > >> Hi All, >> >> I am trying to use rotatelogs in my webserver, but unable to do that. >> Please help me to know where I am going wrong. >> >>

[users@httpd] Rotate logs in apache-2.4.29

2018-06-08 Thread Hemant Chaudhary
Hi All, I am trying to use rotatelogs in my webserver, but unable to do that. Please help me to know where I am going wrong. httpd.conf: CustomLog "|/bin/rotatelogs logs/httpd_log 60" combined error_log: (4002)No such file or directory: AH00104: unable to start piped log program '

Re: [users@httpd] Running Lua Script using mod_lua

2018-05-18 Thread Hemant Chaudhary
Hi, Thanks issue is solved. Actually I was using Lua-5.3. I migrated to Lua-5.1 and it works for me. Hemant On Thu, May 17, 2018 at 11:53 AM, Daniel Gruno <humbed...@apache.org> wrote: > On 05/17/2018 08:21 AM, Luca Toscano wrote: > >> Hi, >> >> 2018-05-16 12

[users@httpd] Running Lua Script using mod_lua

2018-05-16 Thread Hemant Chaudhary
Hi, While running lua_script using mod_lua, I am getting this error in error_log. What does it mean "PANIC: unprotected error in call to Lua API (core and library have incompatible numeric types)" Thanks Hemant

[users@httpd] Python and Perl support in Apache

2018-05-08 Thread Hemant Chaudhary
Hi All, Which of the following is the best way to support python and perl in our apache and why. Python - WSGI, CGI, CGID or FCGID. PERL - mod_perl, cgi, cgid , mod_fcgid, mod_psgi. Thanks Hemant

[users@httpd] openssl-1.1.0 with httpd-2.4.33

2018-05-02 Thread Hemant Chaudhary
Hi All, I am trying to build openssl-1.1.0 with httpd-2.4.33, everything is working fine without mod_ssl. But when I am loading mod_ssl, I am getting error while deloading the module i:e dso_close. Whereas httpd-2.4.33 is working fine with openssl-1.0.2d. Does anybody also get this issue ?

[users@httpd] Re: Apache supports client initiated renegotiation

2018-04-19 Thread Hemant Chaudhary
to enable client initiated secure renegotiation ? Thanks Hemant On Thu, Apr 19, 2018 at 3:03 PM, Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi Team, > > I tried to send request from openssl-1.0.2d to Apache server-2.4.25 for > ssl renegotiation using command

[users@httpd] Apache supports client initiated renegotiation

2018-04-19 Thread Hemant Chaudhary
Hi Team, I tried to send request from openssl-1.0.2d to Apache server-2.4.25 for ssl renegotiation using command "openssl s_client -connect IP:PORT". I got error RENEGOTIATING 2283136:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:s3_pkt.c:656. I checked in error log, error is

Re: [users@httpd] Logging in apache

2018-04-18 Thread Hemant Chaudhary
Thanks Eric It means thread are using lock so that one thread/process can write a time. Right ? On Apr 19, 2018 12:35 AM, "Eric Covener" <cove...@gmail.com> wrote: > On Wed, Apr 18, 2018 at 2:33 PM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: >

[users@httpd] Logging in apache

2018-04-18 Thread Hemant Chaudhary
Hi Team, How apache writes to access_log or error log. Whether it opens File Descriptor(FD) for each request/connection to write in log file. Thanks Hemant

[users@httpd] How modules are called during request processing phase

2018-04-16 Thread Hemant Chaudhary
Hi All, If I have two modules mod_A and mod_B. Both has defined a hook handler with APR_HOOK_MIDDLE then which module will be called first to check handler. Whether calling of module will be random for each request or it depends which module is loaded first in httpd.conf. Thanks Hemant

[users@httpd] Writting own module

2018-04-11 Thread Hemant Chaudhary
Hi All, I am writing my own module just to check process flow. I am bale to start the server successfully after add this module but while sending request from browser, I am getting error that requested URL is not found on server. Whereas without the module everything works fine. My Module is

[users@httpd] Scoreboard file

2018-02-27 Thread Hemant Chaudhary
Hi, According to Apache documentation, parent and Child processes communicate with shared memory. But I don't have shared memory, therefore they are communicating through scoreboard file. I added " ScoreBoardFile /apache/logs/apache_runtime_status " in httpd.conf to create file at this location.

[users@httpd] Apache 2.0 architecture

2018-02-20 Thread Hemant Chaudhary
Hi All, While Debugging apache, I encountered with following questions. I am unable to get answers for the following questions, please help to answer them. Q1. Startup process is reading configuration two times and creating conftree. Why do we need to read configuration script twice? Is there

[users@httpd] Mutex at run time

2018-02-01 Thread Hemant Chaudhary
Hi, I set Mutex to default, sysvsem but when I am checking error_log AcceptMutex is none. My httpd.conf: Mutex sysvsem Mutex sysvsem mpm-accept My error_log : worker.c(1885): AH00294: Accept mutex: none (default: sysvsem) Where am I going wrong to use mutex ? Hemant

Re: [users@httpd] Worker MPM with debug mode

2018-01-18 Thread Hemant Chaudhary
in debug mode, I ned to use kill -9 PID whereas similar approach works as expected in prefork. Thanks Hemant On Thu, Jan 18, 2018 at 9:33 PM, Yann Ylavic <ylavic@gmail.com> wrote: > On Thu, Jan 18, 2018 at 4:25 PM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com>

Re: [users@httpd] Worker MPM with debug mode

2018-01-18 Thread Hemant Chaudhary
Hi Yann, Yes this patch of code is not working for worker mpm in Apache-2.4.25 Thanks Hemant On Jan 18, 2018 5:28 PM, "Yann Ylavic" <ylavic@gmail.com> wrote: > Hi Hemant, > > On Thu, Jan 18, 2018 at 6:23 AM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com

[users@httpd] Worker MPM with debug mode

2018-01-17 Thread Hemant Chaudhary
Hi All , I added the following patch of code in my worker.c static void clean_child_exit(int code) if (one_process) { prefork_note_child_killed(/* slot */ 0, 0, 0); +atexit(apr_terminate); } ap_mpm_pod_close(my_bucket->pod); When I am starting apache with Worker

Re: [users@httpd] After send status 200 response, process exited

2017-12-08 Thread Hemant Chaudhary
mps. Or, if > your OS supports it, tell it to put cores somewhere other thsan the > working directory. > > On Fri, Dec 8, 2017 at 5:57 AM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > Hi,, > > I started my apache successfully, but when I am sending requ

[users@httpd] After send status 200 response, process exited

2017-12-08 Thread Hemant Chaudhary
Hi,, I started my apache successfully, but when I am sending request from browser. Getting ERR_NO_RESPONSE in chrome. I added LogLevel trace7 and collected the error log. What I have found that, after successful response of requests(status-200), process is exited. I thought its coredump therefore

Re: [users@httpd] Apache sending Content-Length 0

2017-12-08 Thread Hemant Chaudhary
, Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi > > Noticed one more thing, after sending status 200 with content length 0. > That particular child process dies. I thought its code dump but didn't find > any thing in dump directory. > > Thanks > Hemant

Re: [users@httpd] Apache sending Content-Length 0

2017-12-07 Thread Hemant Chaudhary
n to have that content length with a 200 and a file > with actual data. > > Perhaps you could check which user runs httpd, and which is the > unpriviledged user and if there is nothing in your cygwin install or > windows is blocking it. Can't guess further. > > 2017-12-06 16

Re: [users@httpd] Apache sending Content-Length 0

2017-12-06 Thread Hemant Chaudhary
Hi, I tired to solve this error but didn't get any hint why it is coming. Can you please help to solve the error. Which .c file manipulates the data to send the response. What are the reason to send status 200 with content-length 0. Thanks Hemant On Tue, Dec 5, 2017 at 2:32 PM, Hemant Chaudhary

Re: [users@httpd] Apache sending Content-Length 0

2017-12-05 Thread Hemant Chaudhary
tml"? > > 2017-12-05 7:14 GMT+01:00 Hemant Chaudhary <hemantdude.chaudh...@gmail.com > >: > > Hi, > > > > When I am sending request from browser to client for basic "index.html", > I > > am getting error that > > " Err_EMPTY_RES

[users@httpd] Apache sending Content-Length 0

2017-12-04 Thread Hemant Chaudhary
Hi, When I am sending request from browser to client for basic "index.html", I am getting error that " Err_EMPTY_RESPONSE " in browser. When I checked in the error log, found that response content length is 0. [Tue Dec 05 05:28:15.499282 2017] [core:trace5] [pid 150995199:tid

Re: [users@httpd] Re: AH00052 error in apache

2017-12-04 Thread Hemant Chaudhary
r\mpm_common.c(533): mpm child 335544497 (gen 4/slot 1) started On Fri, Dec 1, 2017 at 12:13 AM, Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi > > I build apache using cross compilers of Nonstop and then running apache on > Nonstop. > > Thanks > Hemant >

Re: [users@httpd] Re: AH00052 error in apache

2017-11-30 Thread Hemant Chaudhary
Hi I build apache using cross compilers of Nonstop and then running apache on Nonstop. Thanks Hemant On Dec 1, 2017 12:11 AM, "Suvendu Sekhar Mondal" <suv3...@gmail.com> wrote: > Hemant, > > On Dec 1, 2017 12:02 AM, "Hemant Chaudhary" <hemantdude

Re: [users@httpd] Re: AH00052 error in apache

2017-11-30 Thread Hemant Chaudhary
Hi On other platforms what is the cause for this error ? On Dec 1, 2017 12:00 AM, "Eric Covener" <cove...@gmail.com> wrote: On Thu, Nov 30, 2017 at 1:20 PM, Hemant Chaudhary <hemantdude.chaudh...@gmail.com> wrote: > Hi All, > > Can you please give some light w

[users@httpd] Re: AH00052 error in apache

2017-11-30 Thread Hemant Chaudhary
. Thanks Hemant On Wed, Nov 29, 2017 at 4:48 PM, Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi All, > > When I am starting apache, its started successfully and also listening to > that port. > But when I am sending request from browser to apache. It is not re

[users@httpd] AH00052 error in apache

2017-11-29 Thread Hemant Chaudhary
Hi All, When I am starting apache, its started successfully and also listening to that port. But when I am sending request from browser to apache. It is not responding and giving error AH00052. [Wed Nov 29 11:14:04.956827 2017] [core:notice] [pid 2097152018:tid 7876215824606887940] AH00052:

[users@httpd] Libtool lock error

2017-11-29 Thread Hemant Chaudhary
Hi While building apache, I am getting this error: libtool: compile: Waiting for mod_lbmethod_bytraffic.o.lock to be removed libtool: compile: Waiting for mod_lbmethod_bytraffic.o.lock to be removed libtool: compile: Waiting for mod_lbmethod_bytraffic.o.lock to be removed libtool: compile:

[users@httpd] Worker MPM with kill

2017-11-27 Thread Hemant Chaudhary
Hi, I started apache server which has worker as mpm in debug mode. I killed the process with kill -9 then it kills the process and stop debug. But when I am using kill -term PID then it is not killing process. Whereas kill -term PID is woking with prefork debug. If I want to use kill -term PID

[users@httpd] Aapche with c99 or c11

2017-11-23 Thread Hemant Chaudhary
Hi All, I have compiled my apache with c99 and its working fine. I am planning to use c11 compiler also. Is there any impact will occur if I use c11 in place of c99 ? Few more questions : 1) My apr is not supporting sendfile,random and mmap. What will be the impact ? 2) When I am sending request

Re: [users@httpd] Apache creates Semaphore

2017-11-09 Thread Hemant Chaudhary
it requires semaphores. Thanks Hemant On Fri, Nov 3, 2017 at 5:17 PM, Yann Ylavic <ylavic@gmail.com> wrote: > On Fri, Nov 3, 2017 at 12:42 PM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > > > I killed as kill -9 process_id_of_httpd > &g

Re: [users@httpd] Apache creates Semaphore

2017-11-03 Thread Hemant Chaudhary
Hi I build httpd by myself from source code on HPE nonstop. On Nov 3, 2017 5:12 PM, "Yann Ylavic" <ylavic@gmail.com> wrote: > On Fri, Nov 3, 2017 at 7:09 AM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > > > When I am settin

Re: [users@httpd] Apache creates Semaphore

2017-11-03 Thread Hemant Chaudhary
Hi I killed as kill -9 process_id_of_httpd On Nov 3, 2017 5:05 PM, "Yann Ylavic" <ylavic@gmail.com> wrote: > Hi Hemant, > > On Fri, Nov 3, 2017 at 12:01 PM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > I tried with the pa

Re: [users@httpd] Apache creates Semaphore

2017-11-03 Thread Hemant Chaudhary
single process only. Thanks hemant On Fri, Nov 3, 2017 at 2:56 AM, Yann Ylavic <ylavic@gmail.com> wrote: > Hi Hemant, > > On Thu, Nov 2, 2017 at 12:08 PM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > > > For my product I need to run a

Re: [users@httpd] Apache creates Semaphore

2017-11-03 Thread Hemant Chaudhary
this error and how to solve it. Thanks Hemant On Fri, Nov 3, 2017 at 2:56 AM, Yann Ylavic <ylavic@gmail.com> wrote: > Hi Hemant, > > On Thu, Nov 2, 2017 at 12:08 PM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > > > For my product I

Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Hemant Chaudhary
ng that would be avoided with a > graceful shutdown. I would encourage you to not use httpd -X but to > configure your mpm to spawn one process only (note that you might need > svn.apache.org/r1748336 or httpd >= 2.4.21). > > Hope that helps, > > Luca > > > 2017-11-02 12:08 GMT+

Re: [users@httpd] Apache creates Semaphore

2017-11-02 Thread Hemant Chaudhary
Hi Hemant, > > On Thu, Nov 2, 2017 at 5:47 AM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > > > Semaphore is used in multi process environment to share resources within > > processes. But when I am starting apache in debug mode i:e single process

[users@httpd] Apache creates Semaphore

2017-11-01 Thread Hemant Chaudhary
Hi, Semaphore is used in multi process environment to share resources within processes. But when I am starting apache in debug mode i:e single process then still it creates semaphore. May I know the reason why it is creating semaphore in debug mode also. Thanks Hemant

Re: [users@httpd] Start apache with tomcat

2017-10-30 Thread Hemant Chaudhary
es. > > On Mon, Oct 30, 2017 at 2:52 AM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > Hi All, > > > > I am attaching my server.xml, httpd.conf and ajp.conf . Please let me > know > > where am I going wrong. > > > > location

[users@httpd] Apache with Semaphore

2017-10-30 Thread Hemant Chaudhary
Hi When I am starting apache in debug mode then it creates semaphore. In another terminal I am giving command "httpd -k stop" to stop apache. It stops successfully but it is not removing semaphore. Why apache is not sending signal to remove semaphore in debug mode after stop it. Thanks Hemant

Re: [users@httpd] Start apache with tomcat

2017-10-30 Thread Hemant Chaudhary
hu, Oct 26, 2017 at 6:30 PM, Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > My apache error log says nothing but timcat error log has this thing when > i request to tomcat port. > > Oct 26, 2017 12:51:24 PM org.apache.coyote.ajp.AjpMessage processHeader > >

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
il.com> wrote: > On Thu, Oct 26, 2017 at 8:22 AM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > Hi, > > > > If I am using http and apache port then index.html of apache is displayed > > not of ajp. > > > > Do I need to change i

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
Hi, If I am using http and apache port then index.html of apache is displayed not of ajp. Do I need to change in ajp.conf and server.xml ? On Oct 26, 2017 5:37 PM, "Eric Covener" wrote: > > From browser I am sending request ajp://15.213.91.33:5644, but getting > "this page

Re: [users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
gt; ProxyPass ajp://localhost:8009/examples/ > > > > ProxyPass ajp://localhost:8009/manager/ > > > > Step 5 > Start httpd and tomcat. > > Thank you. > > Yours truly, > Kazuhiko Kohmoto > > > > On 2017/10/26 15:24, Hemant Chaudhary wrote: > > Hi All, > > I am using tomcat-7.0.82 and httpd-2.4.25. > > > Thanks > Hemant > > >

[users@httpd] Start apache with tomcat

2017-10-26 Thread Hemant Chaudhary
Hi All, I am using tomcat-7.0.82 and httpd-2.4.25. Following are my configuration : in server.xml in httpd.conf Listen 5643 Loaded mod_proxy_ajp and mod_proxy Include /home/ananya/apache-2.4.25/other/ajp.conf in ajp.conf ProxyRequests Off Require all granted

[users@httpd] log in socket.c in APR

2017-10-23 Thread Hemant Chaudhary
Hi All, I want to add log statement in apr to check some function in apr. When I am adding ap_log_perror in socket.c in apr, it is giving error.. Is there nay way to print logs of apr. please help. Thanks Hemant

[users@httpd] apr_socket_accept error

2017-10-11 Thread Hemant Chaudhary
Hi, When I am starting my apache-2.4.25, I am getting following error. [Wed Oct 11 13:05:23.521575 2017] [core:error] [pid 1744830478] (4104)Socket operation on non-socket: AH02179: apr_socket_accept: (client socket) What are the reasons for this error. Help will be apreciated. Thanks Hemant

[users@httpd] How to stop apache from debugging

2017-09-14 Thread Hemant Chaudhary
Hi, I started debugging with "./httpd -X" command. It starts debugging. Now I want to stop debugging and start the server normally. Which command should I use to stop debugging ? HC

Re: AW: [users@httpd] Run apache without master [wd-vc]

2017-09-13 Thread Hemant Chaudhary
mely stupid, IMO. > > Kurt Bremser > Allianz Technology GmbH > > Newton was wrong. There is no gravity. The Earth sucks. > ____ > Von: Hemant Chaudhary [hemantdude.chaudh...@gmail.com] > Gesendet: Mittwoch, 13. September 2017 14:03 > An: u

Re: [users@httpd] Run apache without master [wd-vc]

2017-09-13 Thread Hemant Chaudhary
hnology GmbH > > Newton was wrong. There is no gravity. The Earth sucks. > ____ > Von: Hemant Chaudhary [hemantdude.chaudh...@gmail.com] > Gesendet: Mittwoch, 13. September 2017 13:29 > An: users@httpd.apache.org > Betreff: Re: [users@htt

Re: [users@httpd] Run apache without master

2017-09-13 Thread Hemant Chaudhary
n Wed, Sep 13, 2017 at 7:09 AM, Hemant Chaudhary > <hemantdude.chaudh...@gmail.com> wrote: > > Hi, > > > > I want to start my apache without master process means when I will give > > "httpd" command, it should start 5 worker process which has access to &g

[users@httpd] Run apache without master

2017-09-13 Thread Hemant Chaudhary
Hi, I want to start my apache without master process means when I will give "httpd" command, it should start 5 worker process which has access to httpd.conf as well as serve requests. Is it possible to achieve this ? If yes, then how should to achieve this ? Thanks hemant

[users@httpd] Waiting for mod_dav.o.lock to be removed

2017-09-08 Thread Hemant Chaudhary
HI I am getting "libtool:Waiting for mod_dav.o.lock to be removed" error while make apache. Any help will be appreciated. Thanks Hemant

[users@httpd] Which file creates master process

2017-09-06 Thread Hemant Chaudhary
Hi I have apache-2.4.25 on my ststem. When we start server, initially master process starts and give access to mpm. I want to know which ".c" file is used to create master process before worker.c. Thanks Hemant

[users@httpd] Build apache without mpm

2017-08-30 Thread Hemant Chaudhary
Hi By which configuration I can build apache without threaded> I dont want to sue mpm. Thanks Hemant

Re: [users@httpd] MPM_Worker main process

2017-08-30 Thread Hemant Chaudhary
that if parent process is not there then what are the functionalities will I lost ? Regards Hemant On Wed, Aug 30, 2017 at 12:43 PM, Luca Toscano <toscano.l...@gmail.com> wrote: > Hi Hemant, > > 2017-08-30 8:26 GMT+02:00 Hemant Chaudhary <hemantdude.chaudh...@gmail.com

[users@httpd] MPM_Worker main process

2017-08-30 Thread Hemant Chaudhary
Hi folks, I have my apache-2.4.25 with worker mpm. For testing, I have killed the master/main process and send simultaneous requests from apache j-meter and my apache serves all the requests. What I have observed is that even with loads number of worker threads are same, it means I lost

[users@httpd] User Auth type in apache-2.4.25

2017-08-20 Thread Hemant Chaudhary
Hi , I have user and group in my httpd.config. I want to use user in Auth type instead of basic or digest. so that whenever customer try to open directory, promt will ask to enter username and password and customer can enter "user" as username and password. Is there any option to achieve this or

[users@httpd] Use MPM other than worker,event and prefork

2017-08-17 Thread Hemant Chaudhary
Hi folks, I have installed apache-2.4.25 with worker module. But I want my apache to start with my own module instead of worker module. In httpd.config, I have commented LoadModule worker.so, but when I am staring apache, it is looking for worker module. Where I need to change code so that it

Re: [users@httpd] How to use binary to run httpd in different location

2017-08-04 Thread Hemant Chaudhary
Yes ./httpd -f location of config files works for me. Thanks On Thu, Aug 3, 2017 at 10:29 AM, William A Rowe Jr <wr...@rowe-clan.net> wrote: > On Wed, Aug 2, 2017 at 6:24 AM, Eric Covener <cove...@gmail.com> wrote: > > On Wed, Aug 2, 2017 at 5:21 AM, Hemant Chaudhary &

[users@httpd] How to use binary to run httpd in different location

2017-08-02 Thread Hemant Chaudhary
Hi I have ported apache on my machine. I have copied bin,lib.conf,modules, htdocs,logs to another location. Now I want to run my apache in new location with these things only. I changed path in httpd.conig and apachectl of new location, but while starting it is starting apache in old location.

[users@httpd] Re: Mod_http2 as static

2017-07-20 Thread Hemant Chaudhary
Hi It is not creating .so for mod_lua also. Only creating mod_lua.a and mod_http2.a . But for other modules like mod_authn_file.so is create, mod_mpm_worker.so etc. Thanks Hemant On Thu, Jul 20, 2017 at 12:11 PM, Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi all &

[users@httpd] Mod_http2 as static

2017-07-20 Thread Hemant Chaudhary
Hi all I want to load mod_http2 in my apache-2.4.25. I have installed nghttp2 also. But my all others modules are shared i:e .so but my mod_http2 is creating only static i:e .a In my configure I have given --enable-mods-shared=all and --with-nghttp2=/path/of/ngttp2 I tried with --enable-http2.,

  1   2   >