Archive for 'Linux'

upstream sent too big header while reading response header from upstream

In the post http://matrafox.info/firephp-on-nginx-zend_db_profiler_firebug-bad-gateway.html  i modiy fastcgi_buffer_size 16k; fastcgi_buffers 4 16k; However after a few day I nottice that on firefox I have a lot of 502  bad gateway .  So after a short look on log I see *62814 upstream sent too big header while reading response header from upstream So, to fix this I [...]

MySQL Error Messages: MySQL server has gone away

Recently I have a huge problem. Some site stop working after a cpanel update ( we think ) . Email client start to be slow, mysql give mysql server has gone away, some curl give us error. After a few hour of research we find out that gethostbyaddr was the php function that kill the [...]

FirePHP on Nginx zend_db_profiler_firebug Bad Gateway

Well because we have switch from apache to nginx we encountered a new problem . When we have enable zend_db_profiler_firebug we got “bad gateway” error. One simple fix for this is to append bellow line into your virtual.conf of ngix. # set these two: zend_db_profiler_firebug fastcgi_buffer_size 16k; fastcgi_buffers 4 16k; It should look something like [...]

problem with ffmpeg /usr/local/lib/libbz2.a: could not read symbols: Bad value

Again, try to reconfigure on another server ffmpeg, here I got another error. /usr/local/lib/libbz2.a: could not read symbols: Bad value /usr/bin/ld: /usr/local/lib/libbz2.a(bzlib.o): relocation R_X86_64_32S against `.text’ can not be used when making a shared object; recompile with -fPIC After a little search I find out that on that server bzip was installed from sources not [...]

install ffmpeg with librtmp problem

Well some day I have to install ffmpeg with librtmp. Well you have to download rtmpdump and configure and install it. However the problem that I want to talk here is about one error that he encountered. Even I have installed rtmpdump, when I try to configure ffmpeg I got this error: ” cannot find [...]