Re: [users@httpd] Building Apache 2.4.x on Windows 7 32bit with Visual Studio 2013

2014-07-25 Thread Sandeep Thakkar
No. I cleanup the solution before building with Visual Studio 2013 and I still 
see the same errors.

The additional error that I get is:
3)
Creating library ..\Release\iconv\adobe-stdenc.lib and object 
..\Release\iconv\adobe-stdenc.exp^M
adobe-stdenc.obj : error LNK2011: precompiled object not linked in; image may 
not run^M
..\Release\iconv\adobe-stdenc.so : fatal error LNK1120: 1 unresolved externals^M
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
12.0\VC\BIN\link.EXE"' : return code '0x460'^M
  Stop.^M
C:\Program 
Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error 
MSB3073: The command "NMAKE /nologo /f Makefile.win BUILD_MODE="Win32 Release" 
BIND_MODE=shared" exited with code 2.^M

Googling about this error does indicates that some people have came across the 
same errors, but I'm unable to get the solutions.
 
Sandeep.




On Thursday, July 24, 2014 5:33 PM, Sandeep Thakkar 
 wrote:
 


Let me try that.

BTW, I have also used the new sources httpd-2.4.10, converted the project in 
VS2013 and built it and I see the same errors. I have built latest  pcre, apr, 
apr-iconv, apr-util, openssl.
 
Sandeep.


On Thursday, July 24, 2014 5:05 PM, Hendrik Schmieder 
 wrote:
 


Sandeep Thakkar schrieb:

> Hi
>
> I could successfully built httpd-2.4.7 on WIndows 7 32bit with Visual
> Studio 2010 with the help of few thread in mailing lists. But, now, we
> want to build it on another Windows 7 32bit machine, where we have
> Visual STudio 2013 installed. Hence. I just opened Apache.sln in VS2013,
> let the conversion happened, and then built it on the command line.
>
> But, I see some failures like:
> 1)
> _tbl_simple.obj : error LNK2011: precompiled object not linked in; image
> may not run^M
> ..\Release\iconv\_tbl_simple.so : fatal error LNK1120: 1 unresolved
> externals^M
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 12.0\VC\BIN\link.EXE"' : return code '0x460'^M
> Stop.^M
> C:\Program
> Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5):
> error MSB3073: The command "NMAKE /nologo /f Makefile.win
> BUILD_MODE="Win32 Release" BIND_MODE=shared" exited with code 2.^M
>
> 2)
> ApacheMonitor.c(296): warning C4996: 'GetVersionExA': was declared
> deprecated^M
> C:\Program Files\Windows Kits\8.1\include\um\sysinfoapi.h(433) : see
> declaration of 'GetVersionExA'^M
> CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1,
> language:0x0409^M
> LINK : fatal error LNK1123: failure during conversion to COFF: file
> invalid or corrupt^M
>
> Please help. Thanks.
>
> -Sandeep
>

I would first try it with cleaning the solution.

   Hendrik

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] mod_rpaf does not work

2014-07-25 Thread Zmey!
There is no mod_remoteip in Ubuntu 14.04 repos. I already checked it while 
google-ing. Can you provide link to sources or .deb package please?

24.07.2014, 16:37, "Eric Covener" :
> You should either move to mod_remoteip in 2.4 or check with the
> mod_rpaf source for something 2.4-compatible.
>
> On Thu, Jul 24, 2014 at 8:30 AM, Васильев "Zmey!" Олег  wrote:
>>  Hi
>>
>>  I have Ubuntu 14.04 (upgraded from 12.04) with this:
>>  Server version: Apache/2.4.7 (Ubuntu)
>>  Server built:   Apr  3 2014 12:20:25
>>  Server's Module Magic Number: 20120211:27
>>  Server loaded:  APR 1.5.1-dev, APR-UTIL 1.5.3
>>  Compiled using: APR 1.5.1-dev, APR-UTIL 1.5.3
>>  Architecture:   32-bit
>>  Server MPM: prefork
>>    threaded: no
>>  forked: yes (variable process count)
>>  Server compiled with
>>   -D APR_HAS_SENDFILE
>>   -D APR_HAS_MMAP
>>   -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>>   -D APR_USE_SYSVSEM_SERIALIZE
>>   -D APR_USE_PTHREAD_SERIALIZE
>>   -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>>   -D APR_HAS_OTHER_CHILD
>>   -D AP_HAVE_RELIABLE_PIPED_LOGS
>>   -D DYNAMIC_MODULE_LIMIT=256
>>   -D HTTPD_ROOT="/etc/apache2"
>>   -D SUEXEC_BIN="/usr/lib/apache2/suexec"
>>   -D DEFAULT_PIDLOG="/var/run/apache2.pid"
>>   -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>>   -D DEFAULT_ERRORLOG="logs/error_log"
>>   -D AP_TYPES_CONFIG_FILE="mime.types"
>>   -D SERVER_CONFIG_FILE="apache2.conf"
>>
>>  Loaded Modules:
>>   core_module (static)
>>   so_module (static)
>>   watchdog_module (static)
>>   http_module (static)
>>   log_config_module (static)
>>   logio_module (static)
>>   version_module (static)
>>   unixd_module (static)
>>   access_compat_module (shared)
>>   alias_module (shared)
>>   apreq_module (shared)
>>   auth_basic_module (shared)
>>   authn_core_module (shared)
>>   authn_file_module (shared)
>>   authz_core_module (shared)
>>   authz_groupfile_module (shared)
>>   authz_host_module (shared)
>>   authz_user_module (shared)
>>   autoindex_module (shared)
>>   cgi_module (shared)
>>   deflate_module (shared)
>>   dir_module (shared)
>>   env_module (shared)
>>   filter_module (shared)
>>   headers_module (shared)
>>   mime_module (shared)
>>   mpm_prefork_module (shared)
>>   negotiation_module (shared)
>>   perl_module (shared)
>>   php5_module (shared)
>>   reqtimeout_module (shared)
>>   rewrite_module (shared)
>>   rpaf_module (shared)
>>   setenvif_module (shared)
>>   status_module (shared)
>>
>>  This is from apache2.conf:
>>  RPAFproxy_ips 127.0.0.1
>>  RPAFEnable On
>>  RPAFsethostname On
>>  RPAFheader X-Real-IP
>>
>>  No error on startup, so mod_rpaf module surely loaded.
>>  Also, i have nginx as frontend which proxies requests to apache (backend) 
>> with php5. The problem is that apache recieves X-Real-IP with correct client 
>> IP and php can see it ($_SERVER["HTTP_X_REAL_IP"]) but mod_rpaf does not 
>> change $_SERVER['REMOTE_ADDR'] variable. Problem occured after upgrading my 
>> system from 12.04 to 14.04 directly using "do-release-upgrade -d" command. 
>> Does someone know, how to fix this?
>>
>>  -
>>  To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>  For additional commands, e-mail: users-h...@httpd.apache.org
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] mod_rpaf does not work

2014-07-25 Thread Zmey!
Thanks, but it not suitable for my sources (apt-get source). I've made changes 
as in patch (sed -i 's/remote_addr/client_addr/g' mod_rpaf.c and sed -i 
's/remote_ip/client_ip/g' mod_rpaf.c) but nothing changes.

24.07.2014, 19:00, "Aurélien Terrestris" :
>  Here you have a patch for rpaf-0.6 :
>
>  http://www.be-root.com/2012/08/23/installer-compiler-mod_rpaf-2-4-apache/
>
>  it's working on my Platform
>
>  2014-07-24 14:36 GMT+02:00 Eric Covener :
>>   You should either move to mod_remoteip in 2.4 or check with the
>>   mod_rpaf source for something 2.4-compatible.
>>
>>   On Thu, Jul 24, 2014 at 8:30 AM, Васильев "Zmey!" Олег  
>> wrote:
>>>   Hi
>>>
>>>   I have Ubuntu 14.04 (upgraded from 12.04) with this:
>>>   Server version: Apache/2.4.7 (Ubuntu)
>>>   Server built:   Apr  3 2014 12:20:25
>>>   Server's Module Magic Number: 20120211:27
>>>   Server loaded:  APR 1.5.1-dev, APR-UTIL 1.5.3
>>>   Compiled using: APR 1.5.1-dev, APR-UTIL 1.5.3
>>>   Architecture:   32-bit
>>>   Server MPM: prefork
>>> threaded: no
>>>   forked: yes (variable process count)
>>>   Server compiled with
>>>    -D APR_HAS_SENDFILE
>>>    -D APR_HAS_MMAP
>>>    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>>>    -D APR_USE_SYSVSEM_SERIALIZE
>>>    -D APR_USE_PTHREAD_SERIALIZE
>>>    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>>>    -D APR_HAS_OTHER_CHILD
>>>    -D AP_HAVE_RELIABLE_PIPED_LOGS
>>>    -D DYNAMIC_MODULE_LIMIT=256
>>>    -D HTTPD_ROOT="/etc/apache2"
>>>    -D SUEXEC_BIN="/usr/lib/apache2/suexec"
>>>    -D DEFAULT_PIDLOG="/var/run/apache2.pid"
>>>    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>>>    -D DEFAULT_ERRORLOG="logs/error_log"
>>>    -D AP_TYPES_CONFIG_FILE="mime.types"
>>>    -D SERVER_CONFIG_FILE="apache2.conf"
>>>
>>>   Loaded Modules:
>>>    core_module (static)
>>>    so_module (static)
>>>    watchdog_module (static)
>>>    http_module (static)
>>>    log_config_module (static)
>>>    logio_module (static)
>>>    version_module (static)
>>>    unixd_module (static)
>>>    access_compat_module (shared)
>>>    alias_module (shared)
>>>    apreq_module (shared)
>>>    auth_basic_module (shared)
>>>    authn_core_module (shared)
>>>    authn_file_module (shared)
>>>    authz_core_module (shared)
>>>    authz_groupfile_module (shared)
>>>    authz_host_module (shared)
>>>    authz_user_module (shared)
>>>    autoindex_module (shared)
>>>    cgi_module (shared)
>>>    deflate_module (shared)
>>>    dir_module (shared)
>>>    env_module (shared)
>>>    filter_module (shared)
>>>    headers_module (shared)
>>>    mime_module (shared)
>>>    mpm_prefork_module (shared)
>>>    negotiation_module (shared)
>>>    perl_module (shared)
>>>    php5_module (shared)
>>>    reqtimeout_module (shared)
>>>    rewrite_module (shared)
>>>    rpaf_module (shared)
>>>    setenvif_module (shared)
>>>    status_module (shared)
>>>
>>>   This is from apache2.conf:
>>>   RPAFproxy_ips 127.0.0.1
>>>   RPAFEnable On
>>>   RPAFsethostname On
>>>   RPAFheader X-Real-IP
>>>
>>>   No error on startup, so mod_rpaf module surely loaded.
>>>   Also, i have nginx as frontend which proxies requests to apache (backend) 
>>> with php5. The problem is that apache recieves X-Real-IP with correct 
>>> client IP and php can see it ($_SERVER["HTTP_X_REAL_IP"]) but mod_rpaf does 
>>> not change $_SERVER['REMOTE_ADDR'] variable. Problem occured after 
>>> upgrading my system from 12.04 to 14.04 directly using "do-release-upgrade 
>>> -d" command. Does someone know, how to fix this?
>>>
>>>   -
>>>   To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>>   For additional commands, e-mail: users-h...@httpd.apache.org
>>   --
>>   Eric Covener
>>   cove...@gmail.com
>>
>>   -
>>   To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   For additional commands, e-mail: users-h...@httpd.apache.org
>  -
>  To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>  For additional commands, e-mail: users-h...@httpd.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] mod_rpaf does not work

2014-07-25 Thread Zmey!
Found out, that module was installed with main package apache2.
Everything works now, thank you.

24.07.2014, 16:37, "Eric Covener" :
> You should either move to mod_remoteip in 2.4 or check with the
> mod_rpaf source for something 2.4-compatible.
>
> On Thu, Jul 24, 2014 at 8:30 AM, Васильев "Zmey!" Олег  wrote:
>>  Hi
>>
>>  I have Ubuntu 14.04 (upgraded from 12.04) with this:
>>  Server version: Apache/2.4.7 (Ubuntu)
>>  Server built:   Apr  3 2014 12:20:25
>>  Server's Module Magic Number: 20120211:27
>>  Server loaded:  APR 1.5.1-dev, APR-UTIL 1.5.3
>>  Compiled using: APR 1.5.1-dev, APR-UTIL 1.5.3
>>  Architecture:   32-bit
>>  Server MPM: prefork
>>    threaded: no
>>  forked: yes (variable process count)
>>  Server compiled with
>>   -D APR_HAS_SENDFILE
>>   -D APR_HAS_MMAP
>>   -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>>   -D APR_USE_SYSVSEM_SERIALIZE
>>   -D APR_USE_PTHREAD_SERIALIZE
>>   -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>>   -D APR_HAS_OTHER_CHILD
>>   -D AP_HAVE_RELIABLE_PIPED_LOGS
>>   -D DYNAMIC_MODULE_LIMIT=256
>>   -D HTTPD_ROOT="/etc/apache2"
>>   -D SUEXEC_BIN="/usr/lib/apache2/suexec"
>>   -D DEFAULT_PIDLOG="/var/run/apache2.pid"
>>   -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>>   -D DEFAULT_ERRORLOG="logs/error_log"
>>   -D AP_TYPES_CONFIG_FILE="mime.types"
>>   -D SERVER_CONFIG_FILE="apache2.conf"
>>
>>  Loaded Modules:
>>   core_module (static)
>>   so_module (static)
>>   watchdog_module (static)
>>   http_module (static)
>>   log_config_module (static)
>>   logio_module (static)
>>   version_module (static)
>>   unixd_module (static)
>>   access_compat_module (shared)
>>   alias_module (shared)
>>   apreq_module (shared)
>>   auth_basic_module (shared)
>>   authn_core_module (shared)
>>   authn_file_module (shared)
>>   authz_core_module (shared)
>>   authz_groupfile_module (shared)
>>   authz_host_module (shared)
>>   authz_user_module (shared)
>>   autoindex_module (shared)
>>   cgi_module (shared)
>>   deflate_module (shared)
>>   dir_module (shared)
>>   env_module (shared)
>>   filter_module (shared)
>>   headers_module (shared)
>>   mime_module (shared)
>>   mpm_prefork_module (shared)
>>   negotiation_module (shared)
>>   perl_module (shared)
>>   php5_module (shared)
>>   reqtimeout_module (shared)
>>   rewrite_module (shared)
>>   rpaf_module (shared)
>>   setenvif_module (shared)
>>   status_module (shared)
>>
>>  This is from apache2.conf:
>>  RPAFproxy_ips 127.0.0.1
>>  RPAFEnable On
>>  RPAFsethostname On
>>  RPAFheader X-Real-IP
>>
>>  No error on startup, so mod_rpaf module surely loaded.
>>  Also, i have nginx as frontend which proxies requests to apache (backend) 
>> with php5. The problem is that apache recieves X-Real-IP with correct client 
>> IP and php can see it ($_SERVER["HTTP_X_REAL_IP"]) but mod_rpaf does not 
>> change $_SERVER['REMOTE_ADDR'] variable. Problem occured after upgrading my 
>> system from 12.04 to 14.04 directly using "do-release-upgrade -d" command. 
>> Does someone know, how to fix this?
>>
>>  -
>>  To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>  For additional commands, e-mail: users-h...@httpd.apache.org
>
> --
> Eric Covener
> cove...@gmail.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Ulrich.Herbst
Hi,

we have apaches as reverse proxies for some tomcat and wso2-application servers.

We get this error message on a high-load-webserver:

[proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily 
unavailable: [client 172.31.0.142:21815] AH01110: error reading response

And we have no clue, which resource is unavailable and what to do against it.

Apache-2.4.10 / apr-1.5.1

Ulimit of apache-user:
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 4
max locked memory   (kbytes, -l) 655360
max memory size (kbytes, -m) unlimited
open files  (-n) 655360
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) unlimited
cpu time   (seconds, -t) unlimited
max user processes  (-u) 655360
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

$ cat /proc/sys/kernel/threads-max
2065067

=>  So, I don't see any visible shortage of anything.

Any ideas how to find the reason for this error ?

Uli





[users@httpd] AW: [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Ulrich.Herbst
Additionally we get sometimes this message:

[Fri Jul 25 12:52:18.203975 2014] [proxy_http:error] [pid 13256:tid 
47012293342976] (28)No space left on device: [client 172.31.0.224:20507] 
AH01110: error reading response

And there is plenty of room in all filesystems. So maybe this is misleading and 
we have some issues with shared memory too small ? (just my wild guess)

Uli

Von: Herbst, Ulrich
Gesendet: Freitag, 25. Juli 2014 12:37
An: users@httpd.apache.org
Betreff: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] 
(11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: 
error reading response

Hi,

we have apaches as reverse proxies for some tomcat and wso2-application servers.

We get this error message on a high-load-webserver:

[proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily 
unavailable: [client 172.31.0.142:21815] AH01110: error reading response

And we have no clue, which resource is unavailable and what to do against it.

Apache-2.4.10 / apr-1.5.1

Ulimit of apache-user:
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 4
max locked memory   (kbytes, -l) 655360
max memory size (kbytes, -m) unlimited
open files  (-n) 655360
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) unlimited
cpu time   (seconds, -t) unlimited
max user processes  (-u) 655360
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

$ cat /proc/sys/kernel/threads-max
2065067


 *   So, I don't see any visible shortage of anything.

Any ideas how to find the reason for this error ?

Uli





AW: [users@httpd] AW: error reading response

2014-07-25 Thread Bremser, Kurt (AMOS Austria GmbH)
Could a quota be involved, or a native file size limit imposed by the file 
system?

Kurt Bremser
AMOS Austria

Von: ulrich.her...@t-systems.com [ulrich.her...@t-systems.com]
Gesendet: Freitag, 25. Juli 2014 12:53
An: users@httpd.apache.org
Betreff: [users@httpd] AW: [proxy_http:error] [pid 13256:tid 47013272524544] 
(11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: 
error reading response [wd-vc]

Additionally we get sometimes this message:

[Fri Jul 25 12:52:18.203975 2014] [proxy_http:error] [pid 13256:tid 
47012293342976] (28)No space left on device: [client 172.31.0.224:20507] 
AH01110: error reading response

And there is plenty of room in all filesystems. So maybe this is misleading and 
we have some issues with shared memory too small ? (just my wild guess)

Uli

Von: Herbst, Ulrich
Gesendet: Freitag, 25. Juli 2014 12:37
An: users@httpd.apache.org
Betreff: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] 
(11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: 
error reading response

Hi,

we have apaches as reverse proxies for some tomcat and wso2-application servers.

We get this error message on a high-load-webserver:

[proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily 
unavailable: [client 172.31.0.142:21815] AH01110: error reading response

And we have no clue, which resource is unavailable and what to do against it.

Apache-2.4.10 / apr-1.5.1

Ulimit of apache-user:
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 4
max locked memory   (kbytes, -l) 655360
max memory size (kbytes, -m) unlimited
open files  (-n) 655360
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) unlimited
cpu time   (seconds, -t) unlimited
max user processes  (-u) 655360
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

$ cat /proc/sys/kernel/threads-max
2065067


 *   So, I don’t see any visible shortage of anything.

Any ideas how to find the reason for this error ?

Uli




AMOS Austria GmbH 
1130 Wien, Hietzinger Kai 101-105 
FN 365014k, Handelsgericht Wien 
UID: ATU 66614737 

http://www.allianz.at 

 
Dieses E-Mail und allfaellig daran angeschlossene Anhaenge 
enthalten Informationen, die vertraulich und 
ausschliesslich fuer den (die) bezeichneten Adressaten 
bestimmt sind. 
Wenn Sie nicht der genannte Adressat sind, darf dieses 
E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen 
Personen zugaenglich gemacht noch in anderer Weise 
verwertet werden.
Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
wir Sie, dieses E-Mail und saemtliche angeschlossene
Anhaenge zu loeschen. 

Please note: This email and any files transmitted with it is 
intended only for the named recipients and may contain 
confidential and/or privileged information. If you are not the 
intended recipient, please do not read, copy, use or disclose 
the contents of this communication to others and notify the 
sender immediately. Then please delete the email and any 
copies of it. Thank you.


Re: [users@httpd] Building Apache 2.4.x on Windows 7 32bit with Visual Studio 2013

2014-07-25 Thread Sandeep Thakkar
I found a patch for iconv at Apache :: VC11 iconv LNK2011 errors
  
          
Apache :: VC11 iconv LNK2011 errors
To get iconv build change the following two lines in 
srclib\apr-iconv\build\modules.mk.win : $(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj 
/Yciconv.h /c $*.c To: $(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj  /c $*.c   
View on www.apachelounge.com Preview by Yahoo  
  

Let's see if it works. Building it now.
 
Sandeep.




On Friday, July 25, 2014 1:30 PM, Sandeep Thakkar  wrote:
 


No. I cleanup the solution before building with Visual Studio 2013 and I still 
see the same errors.

The additional error that I get is:
3)
Creating library ..\Release\iconv\adobe-stdenc.lib and object 
..\Release\iconv\adobe-stdenc.exp^M
adobe-stdenc.obj : error LNK2011: precompiled object not linked in; image may 
not run^M
..\Release\iconv\adobe-stdenc.so : fatal error LNK1120: 1 unresolved externals^M
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
12.0\VC\BIN\link.EXE"' : return code '0x460'^M
  Stop.^M
C:\Program 
Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error 
MSB3073: The command "NMAKE /nologo /f Makefile.win BUILD_MODE="Win32 Release" 
BIND_MODE=shared" exited with code 2.^M

Googling about this error does indicates that some people have came across the 
same errors, but I'm unable to get the solutions.
 
Sandeep.




On Thursday, July 24, 2014 5:33 PM, Sandeep Thakkar 
 wrote:
 


Let me try that.

BTW, I have also used the new sources httpd-2.4.10, converted the project in 
VS2013 and built it and I see the same errors. I have built latest  pcre, apr, 
apr-iconv, apr-util, openssl.
 
Sandeep.


On Thursday, July 24, 2014 5:05 PM, Hendrik Schmieder 
 wrote:
 


Sandeep Thakkar schrieb:

> Hi
>
> I could successfully built httpd-2.4.7 on WIndows 7 32bit with Visual
> Studio 2010 with the help of few thread in mailing lists. But, now, we
> want to build it on another Windows 7 32bit machine, where we have
> Visual STudio 2013 installed. Hence. I just opened Apache.sln in VS2013,
> let the conversion happened, and then built it on the command line.
>
> But, I see some failures like:
> 1)
> _tbl_simple.obj :
 error LNK2011: precompiled object not linked in; image
> may not run^M
> ..\Release\iconv\_tbl_simple.so : fatal error LNK1120: 1 unresolved
> externals^M
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 12.0\VC\BIN\link.EXE"' : return code '0x460'^M
> Stop.^M
> C:\Program
> Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5):
> error MSB3073: The command "NMAKE /nologo /f Makefile.win
> BUILD_MODE="Win32 Release" BIND_MODE=shared" exited with code 2.^M
>
> 2)
> ApacheMonitor.c(296): warning C4996: 'GetVersionExA': was declared
> deprecated^M
> C:\Program Files\Windows Kits\8.1\include\um\sysinfoapi.h(433) : see
> declaration of 'GetVersionExA'^M
> CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1,
> language:0x0409^M
> LINK : fatal error LNK1123: failure during conversion to COFF: file
> invalid or corrupt^M
>
> Please help. Thanks.
>
> -Sandeep
>

I would first try it with cleaning the solution.

   Hendrik

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

AW: [users@httpd] AW: error reading response

2014-07-25 Thread Ulrich.Herbst
Thank you for your answer:

-  No quota

-  no issue with inodes

So I don't think, we have a "real" storage issue.

Uli


T-Systems International GmbH
Production / CSS / GCU Automotive & Finance
Ulrich Herbst
Fachbereich Automotive / Daimler AS Open Systems
Head of Application Services Central
Bannwaldallee 42, D-76185 Karlsruhe
+49 721 990-2342 (Tel.)
+49 151 16 20 73 13 (Mobil)
E-Mail: ulrich.her...@t-systems.com
Internet: http://www.t-systems.de

Die gesetzlichen Pflichtangaben finden Sie unter:
http://www.t-systems.de/pflichtangaben

Von: Bremser, Kurt (AMOS Austria GmbH) [mailto:kurt.brem...@allianz.at]
Gesendet: Freitag, 25. Juli 2014 13:01
An: users@httpd.apache.org
Betreff: AW: [users@httpd] AW: error reading response

Could a quota be involved, or a native file size limit imposed by the file 
system?

Kurt Bremser
AMOS Austria

Von: ulrich.her...@t-systems.com 
[ulrich.her...@t-systems.com]
Gesendet: Freitag, 25. Juli 2014 12:53
An: users@httpd.apache.org
Betreff: [users@httpd] AW: [proxy_http:error] [pid 13256:tid 47013272524544] 
(11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: 
error reading response [wd-vc]
Additionally we get sometimes this message:

[Fri Jul 25 12:52:18.203975 2014] [proxy_http:error] [pid 13256:tid 
47012293342976] (28)No space left on device: [client 172.31.0.224:20507] 
AH01110: error reading response

And there is plenty of room in all filesystems. So maybe this is misleading and 
we have some issues with shared memory too small ? (just my wild guess)

Uli

Von: Herbst, Ulrich
Gesendet: Freitag, 25. Juli 2014 12:37
An: users@httpd.apache.org
Betreff: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] 
(11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: 
error reading response

Hi,

we have apaches as reverse proxies for some tomcat and wso2-application servers.

We get this error message on a high-load-webserver:

[proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily 
unavailable: [client 172.31.0.142:21815] AH01110: error reading response

And we have no clue, which resource is unavailable and what to do against it.

Apache-2.4.10 / apr-1.5.1

Ulimit of apache-user:
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 4
max locked memory   (kbytes, -l) 655360
max memory size (kbytes, -m) unlimited
open files  (-n) 655360
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) unlimited
cpu time   (seconds, -t) unlimited
max user processes  (-u) 655360
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

$ cat /proc/sys/kernel/threads-max
2065067


 *   So, I don't see any visible shortage of anything.

Any ideas how to find the reason for this error ?

Uli




AMOS Austria GmbH
1130 Wien, Hietzinger Kai 101-105
FN 365014k, Handelsgericht Wien
UID: ATU 66614737

http://www.allianz.at


Dieses E-Mail und allfaellig daran angeschlossene Anhaenge
enthalten Informationen, die vertraulich und
ausschliesslich fuer den (die) bezeichneten Adressaten
bestimmt sind.
Wenn Sie nicht der genannte Adressat sind, darf dieses
E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen
Personen zugaenglich gemacht noch in anderer Weise
verwertet werden.
Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
wir Sie, dieses E-Mail und saemtliche angeschlossene
Anhaenge zu loeschen.

Please note: This email and any files transmitted with it is
intended only for the named recipients and may contain
confidential and/or privileged information. If you are not the
intended recipient, please do not read, copy, use or disclose
the contents of this communication to others and notify the
sender immediately. Then please delete the email and any
copies of it. Thank you.



Re: [users@httpd] After authentication, How to authorize users according to IP (or host)?

2014-07-25 Thread Tom Evans
On Tue, Jul 22, 2014 at 4:46 PM, Mark jensen  wrote:
> this won't help if the USER is outside the Network and have to use LDAP, it
> is surely doesn't have the IP 192.168.1.2

Break it down who you want to access the location, ie it is unclear
which of these statements is what you want (if any).

192.168.1.2 can always access, regardless of LDAP?
192.168.1.7 can never access, regardless of LDAP?
LDAP authentication should never be used for 192.168.1 network?
Offsite users can always access if allowed by LDAP?

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Tom Evans
On Fri, Jul 25, 2014 at 11:37 AM,   wrote:
> Hi,
>
> we have apaches as reverse proxies for some tomcat and wso2-application
> servers.
>
> We get this error message on a high-load-webserver:
>
> [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily
> unavailable: [client 172.31.0.142:21815] AH01110: error reading response
>
> And we have no clue, which resource is unavailable and what to do against
> it.
>
> Apache-2.4.10 / apr-1.5.1
>
> Ulimit of apache-user:
> core file size  (blocks, -c) 0
> data seg size   (kbytes, -d) unlimited
> scheduling priority (-e) 0
> file size   (blocks, -f) unlimited
> pending signals (-i) 4
> max locked memory   (kbytes, -l) 655360
> max memory size (kbytes, -m) unlimited
> open files  (-n) 655360
> pipe size(512 bytes, -p) 8
> POSIX message queues (bytes, -q) 819200
> real-time priority  (-r) 0
> stack size  (kbytes, -s) unlimited
> cpu time   (seconds, -t) unlimited
> max user processes  (-u) 655360
> virtual memory  (kbytes, -v) unlimited
> file locks  (-x) unlimited
>
> $ cat /proc/sys/kernel/threads-max
> 2065067
>
>
> So, I don’t see any visible shortage of anything.
>
>
> Any ideas how to find the reason for this error ?
>
> Uli
>

Running out of shm?

How are you proxying to tomcat (http/ajp/jk2)?

Cheers

Tom

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Tom Evans
On Fri, Jul 25, 2014 at 3:49 PM, Tom Evans  wrote:
> On Fri, Jul 25, 2014 at 11:37 AM,   wrote:
>> Hi,
>>
>> we have apaches as reverse proxies for some tomcat and wso2-application
>> servers.
>>
>> We get this error message on a high-load-webserver:
>>
>> [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily
>> unavailable: [client 172.31.0.142:21815] AH01110: error reading response
>>
>> And we have no clue, which resource is unavailable and what to do against
>> it.
>>
>> Apache-2.4.10 / apr-1.5.1
>>
>> Ulimit of apache-user:
>> core file size  (blocks, -c) 0
>> data seg size   (kbytes, -d) unlimited
>> scheduling priority (-e) 0
>> file size   (blocks, -f) unlimited
>> pending signals (-i) 4
>> max locked memory   (kbytes, -l) 655360
>> max memory size (kbytes, -m) unlimited
>> open files  (-n) 655360
>> pipe size(512 bytes, -p) 8
>> POSIX message queues (bytes, -q) 819200
>> real-time priority  (-r) 0
>> stack size  (kbytes, -s) unlimited
>> cpu time   (seconds, -t) unlimited
>> max user processes  (-u) 655360
>> virtual memory  (kbytes, -v) unlimited
>> file locks  (-x) unlimited
>>
>> $ cat /proc/sys/kernel/threads-max
>> 2065067
>>
>>
>> So, I don’t see any visible shortage of anything.
>>
>>
>> Any ideas how to find the reason for this error ?
>>
>> Uli
>>
>
> Running out of shm?
>
> How are you proxying to tomcat (http/ajp/jk2)?
>

Or inotify perhaps:

http://unix.stackexchange.com/questions/65278/httpd-no-space-left-on-device

Cheers

Tom

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Jeff Trawick
On Fri, Jul 25, 2014 at 10:49 AM, Tom Evans 
wrote:

> On Fri, Jul 25, 2014 at 11:37 AM,   wrote:
> > Hi,
> >
> > we have apaches as reverse proxies for some tomcat and wso2-application
> > servers.
> >
> > We get this error message on a high-load-webserver:
> >
> > [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource
> temporarily
> > unavailable: [client 172.31.0.142:21815] AH01110: error reading response
> >
> > And we have no clue, which resource is unavailable and what to do against
> > it.
> >
> > Apache-2.4.10 / apr-1.5.1
> >
> > Ulimit of apache-user:
> > core file size  (blocks, -c) 0
> > data seg size   (kbytes, -d) unlimited
> > scheduling priority (-e) 0
> > file size   (blocks, -f) unlimited
> > pending signals (-i) 4
> > max locked memory   (kbytes, -l) 655360
> > max memory size (kbytes, -m) unlimited
> > open files  (-n) 655360
> > pipe size(512 bytes, -p) 8
> > POSIX message queues (bytes, -q) 819200
> > real-time priority  (-r) 0
> > stack size  (kbytes, -s) unlimited
> > cpu time   (seconds, -t) unlimited
> > max user processes  (-u) 655360
> > virtual memory  (kbytes, -v) unlimited
> > file locks  (-x) unlimited
> >
> > $ cat /proc/sys/kernel/threads-max
> > 2065067
> >
> >
> > So, I don’t see any visible shortage of anything.
> >
> >
> > Any ideas how to find the reason for this error ?
> >
> > Uli
> >
>
> Running out of shm?
>
> How are you proxying to tomcat (http/ajp/jk2)?
>

The message comes from mod_proxy_http, so "http" it is.

Looking at how to get the ENOSPC error in that particular context, I see
that several pieces of code can return ENOSPC based on exceeding some
configured limit, but most don't apply to the path where that message is
issued.

Is it possible that mod_deflate is configured, perhaps unexpectedly, to
decompress the response from the backend via an input filter?

See
http://httpd.apache.org/docs/current/mod/mod_deflate.html#deflateinflatelimitrequestbody
 (new with 2.4.10)  That is part of a fix to vulnerability CVE-2014-0118.



>
> Cheers
>
> Tom
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/


RE: [users@httpd] After authentication, How to authorize users according to IP (or host)?

2014-07-25 Thread Mark jensen
> 192.168.1.2 can always access, regardless of LDAP?
Yes
> 192.168.1.7 can never access, regardless of LDAP?
Yes, but what I really want is to do the forbidden of access using 
authorization(Require tag)
not authentication (allow tag)
something like that:
allow from 192.168.1
Require 192.168.1.2

so apache won't ask them for authentication, but won't let them in according to 
Require.

> LDAP authentication should never be used for 192.168.1 network?

Yes

> Offsite users can always access if allowed by LDAP?

Yes
  

[users@httpd] Segmentation Fault - too many proxy balancers

2014-07-25 Thread Paul Beckett
My apache server has started segmentation faulting all the time (seems to log a 
segmentation fault every few requests to the apache error log):
[Fri Jul 25 06:25:42.046752
2014] [core:notice] [pid 11226:tid 140006078953216] AH00052: child pid 11715
exit signal Segmentation fault (11)
This appears to be due to the number of proxy balancers I have configured 
(problem isn't related to any one specific proxy balancer, adding / removing 
any of the proxy balancers causes the problem to appear/disappear). I'm using 
Apache HTTPD as a reverse proxy for a lot of load-balanced (by apache httpd) 
application servers. My googling so far hasn't found any specific limit on the 
number of proxy, or how I can increase this. 
I am running Apache HTTPD 2.4.9, built from source on RHEL6.
I would be very grateful if anyone can shed more light on this, and assuming 
I'm right about a limit: point my in the right direction as to how I can 
increase this.
Thanks,
Paul  

[users@httpd] EnableMMAP question

2014-07-25 Thread Rose, John B
We notice the default is "On"

If the home areas for each of your web sites are "nfs", is it better to set 
EnableMMAP to "Off"?

Thanks


[users@httpd] Web file location?

2014-07-25 Thread Brad Harris
Not an Apache-specific question but I'd like to get some real world input. The 
default document root location for my specific Linux distro is /var/www/html. 
I'd like to hear what location some of you veteran web admins use. I generally 
just create subdirectories using the site name (e.g /var/www/html/sitename). 
Recently I've been tasked with granting access to one of our (new/dev) servers 
to an overseas consultant. I had decided to create a user for each site and put 
the files in "/home/user1/public_html" & "/home/user2/public_html"...then, to 
simplify things for them, I decided to create a single user that will 
administer both websites on that server and put them both in 
/home/user/public_html/site1 & /home/user/public_html/site2. Now I'm thinking 
about putting them back in /var/www/html/site1 & /var/www/html/site2 and just 
give the single user account ownership on both directories.

Let me know how you guys are doing things.


Brad Harris
Senior Windows System Engineer
Masco Cabinetry
Kraftmaid(r) | Merillat(r) | QualityCabinets(r)  | DENOVA(r)
4600 Arrowhead Drive
Ann Arbor, MI 48105
brad.har...@mascocabinetry.com
Direct: 734.205.4898
Mobile: 517.414.2842



RE: [users@httpd] Segmentation Fault - too many proxy balancers

2014-07-25 Thread Paul Beckett
I've tried increasing various system limits (using ulimit), generally doubling 
and increasing 10-fold any value. None of the following has made any difference:
# -n : The maximum number of open file descriptors (most systems do not allow 
this value to be set)ulimit -n 2048# -u : The maximum number of processes 
available to a single userulimit -u 5149520# -s : The maximum stack sizeulimit 
-s unlimited# -l : Maximum locked memoryulimit -l 128# -i : The maximum number 
of pending signalsulimit -i 5149520# -q : POSIX message queuesulimit -q 8192000
Looking in /proc//limits I've confirmed the limits have been raised 
from:Limit Soft Limit   Hard Limit   
UnitsMax cpu time  unlimitedunlimited
secondsMax file size unlimitedunlimited
bytesMax data size unlimitedunlimited
bytesMax stack size10485760 unlimited
bytesMax core file size00
bytesMax resident set  unlimitedunlimited
bytesMax processes 1024 514952   
processesMax open files1024 1024 
filesMax locked memory 6553665536
bytesMax address space unlimitedunlimited
bytesMax file locksunlimitedunlimited
locksMax pending signals   514952   514952   
signalsMax msgqueue size 819200   819200   
bytesMax nice priority 00Max realtime priority 
00Max realtime timeout  unlimitedunlimited  
  us
to:Limit Soft Limit   Hard Limit   UnitsMax 
cpu time  unlimitedunlimitedsecondsMax file 
size unlimitedunlimitedbytesMax data size   
  unlimitedunlimitedbytesMax stack size 
   unlimitedunlimitedbytesMax core file size0   
 0bytesMax resident set  unlimited  
  unlimitedbytesMax processes 5149520   
   5149520  processesMax open files2048 
2048 filesMax locked memory 131072   131072 
  bytesMax address space unlimitedunlimited 
   bytesMax file locksunlimitedunlimited
locksMax pending signals   5149520  5149520  
signalsMax msgqueue size 8192000  8192000  
bytesMax nice priority 00Max realtime priority 
00Max realtime timeout  unlimitedunlimited  
  us
I have 166 virtual hosts, and 124 proxy balancers. As soon as I try to increase 
the number of proxy balancers to 125 I get the segmentation fault error. I only 
have one set of log files (1 access log, 1 error log), I don't have separate 
log files for each vhost.
Thanks,
Paul




From: paul_beck...@outlook.com
To: users@httpd.apache.org
Date: Fri, 25 Jul 2014 19:00:44 +0100
Subject: [users@httpd] Segmentation Fault - too many proxy balancers




My apache server has started segmentation faulting all the time (seems to log a 
segmentation fault every few requests to the apache error log):
[Fri Jul 25 06:25:42.046752
2014] [core:notice] [pid 11226:tid 140006078953216] AH00052: child pid 11715
exit signal Segmentation fault (11)
This appears to be due to the number of proxy balancers I have configured 
(problem isn't related to any one specific proxy balancer, adding / removing 
any of the proxy balancers causes the problem to appear/disappear). I'm using 
Apache HTTPD as a reverse proxy for a lot of load-balanced (by apache httpd) 
application servers. My googling so far hasn't found any specific limit on the 
number of proxy, or how I can increase this. 
I am running Apache HTTPD 2.4.9, built from source on RHEL6.
I would be very grateful if anyone can shed more light on this, and assuming 
I'm right about a limit: point my in the right direction as to how I can 
increase this.
Thanks,
Paul