child pid 27662 exit signal Illegal instruction (4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

It looks like I have a race condition on HPUX with apache 2.0.59. Here's
what I see in the error logs:

[Tue May 29 07:41:16 2007] [notice] child pid 27662 exit signal Illegal
instruction (4)

I was able to reduce the httpd.conf file to a simplified form in order to
reproduce this error. Here's my file:

Listen 10.37.74.21:80

User nobody
Group nogroup

DocumentRoot "/usr/local/httpd/htdocs"

<Directory />
  Options FollowSymLinks +Includes
  AllowOverride AuthConfig Limit Options
  <LimitExcept GET POST HEAD>
    Order deny,allow
    Deny from all
  </LimitExcept>
</Directory>

LoadModule rewrite_module        modules/mod_rewrite.so

ErrorLog logs/haha_log

RewriteEngine On
RewriteLog  /usr/local/httpd/logs/rewrite.log
RewriteLogLevel 9

RewriteMap balancer rnd:/usr/local/data/etc/ei.map
RewriteMap lowercase int:tolower

RewriteRule "^/ei/(.*)" - [E=EI_CHECK:1]
RewriteCond %{ENV:EI_CHECK} ="1"

RewriteCond ${lowercase:%{HTTP_COOKIE}} ut=[a-z0-9]+[02468acegikmoqsuwy];
[OR]
RewriteCond ${lowercase:%{HTTP_COOKIE}} ut=[a-z0-9]+[02468acegikmoqsuwy]$
RewriteRule "^/ei/(.*)"   http://${balancer:LB2}/$1 [L,P]

RewriteRule "^/ei/(.*)" - [E=BIS:set]
RewriteCond %{ENV:EI_CHECK} ="1"
RewriteCond %{ENV:BIS} !=""
RewriteRule "^/ei/(.*)" http://${balancer:LB1}/$1 [L,P]
RewriteCond %{ENV:EI_CHECK} ="1"
RewriteCond %{ENV:BIS} =""
RewriteRule "^/ei/(.*)" http://${balancer:LB1}/$2 [L,P]

The ei.map file looks like this:

LB1 img01.joedog.org:80
LB2 img02.joedog.org:80

The condition occurs when I assign values to ENV variables with
mod_rewrite then I try to access those variables. This configuration works
on other platforms. The child process dies on HPUX.

Any insights?

Jeff



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux