Re: Proces killed after http post without ConentType header

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

 



Tanx for reply!
 
In run on CentOS 5.7 (Latest). CentOS' policy is to have most stable versions which is apache 2.2.3... And this is not stable behaviour.
 
PHP Version => 5.3.9
mysql  Ver 14.14 Distrib 5.5.20, for Linux (x86_64) using readline 5.1
 
Acording to this version info only my httpd is a out of date but should be stable.

2012/1/29 Yehuda Katz <yehuda@xxxxxxxxxx>
On Sat, Jan 28, 2012 at 7:16 AM, Bardo Bakker <bardobakker@xxxxxxxxx> wrote:
Hi,

I wrote some software which post a binary (image) to our server.
After a reboot (due to resize HDD), the server has some post issues.
It hangs at the end of a http post without the content type header set.

I would like to know: is this a bug, configuration mistake, or miss interpertation of http post protocol...

Tank you!



Version apache:
[root@www ~]# /usr/sbin/httpd -V
Server version: Apache/2.2.3
This is a very old version with known security issues. You should upgrade.
 
On kill/error/fault I found in error_log:

Sat Jan 28 12:56:09 2012] [notice] child pid 17077 exit signal Segmentation fault (11), possible coredump in /tmp

So made a coredump: gdb: bt all:

Core was generated by `/usr/sbin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fe25c5696c0 in zend_hash_num_elements () from /etc/httpd/modules/libphp5.so
Pretty obvious that the problem is with PHP. My guess is that you updated some library on the system (maybe MySQL) and PHP is now first trying to use it.
You did not include which PHP version you are using. I suggest you check your php configuration.
As long as you are not using different configuration files for mod_php and php-cli, you should be able to run "php -i" to check that PHP is working properly.

- Y


[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