<div dir="ltr"><div>You can check the following version now :<br><br>[root@DNTX002 nginx-1.4.7]# nginx -V<br>nginx version: nginx/1.4.7<br>built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)<br>configure arguments: --with-http_mp4_module --with-http_flv_module --with-file-aio --sbin-path=/usr/local/sbin --with-debug<br>
<br><br></div><div>Still the /var/log/messages showing the following errors :<br><br>Mar 27 12:32:12 DNTX002 kernel: nginx[12215]: segfault at 40172f51c ip 000000000046a482 sp 00007fff1fd93810 error 4 in nginx (deleted)[400000+92000]<br>
Mar 27 12:32:12 DNTX002 abrt[12401]: File '/usr/local/sbin/nginx' seems to be deleted<br>Mar 27 12:32:12 DNTX002 abrt[12401]: Saved core dump of pid 12215 (/usr/local/sbin/nginx) to /var/spool/abrt/ccpp-2014-03-27-16:32:12-12215 (38105088 bytes)<br>
Mar 27 12:32:12 DNTX002 abrtd: Directory 'ccpp-2014-03-27-16:32:12-12215' creation detected<br>Mar 27 12:32:12 DNTX002 abrtd: Executable '/usr/local/sbin/nginx' doesn't belong to any package<br>Mar 27 12:32:12 DNTX002 abrtd: 'post-create' on '/var/spool/abrt/ccpp-2014-03-27-16:32:12-12215' exited with 1<br>
Mar 27 12:32:12 DNTX002 abrtd: Corrupted or bad directory '/var/spool/abrt/ccpp-2014-03-27-16:32:12-12215', deleting<br>Mar 27 12:32:29 DNTX002 xinetd[6599]: START: nrpe pid=12414 from=209.59.234.13<br>Mar 27 12:32:30 DNTX002 xinetd[6599]: EXIT: nrpe status=0 pid=12414 duration=1(sec)<br>
Mar 27 12:32:36 DNTX002 kernel: nginx[12226]: segfault at 401598e6c ip 000000000046a482 sp 00007fff1fd93810 error 4 in nginx (deleted)[400000+92000]<br>Mar 27 12:32:36 DNTX002 abrt[12421]: File '/usr/local/sbin/nginx' seems to be deleted<br>
Mar 27 12:32:36 DNTX002 abrt[12421]: Saved core dump of pid 12226 (/usr/local/sbin/nginx) to /var/spool/abrt/ccpp-2014-03-27-16:32:36-12226 (54018048 bytes)<br>Mar 27 12:32:36 DNTX002 abrtd: Directory 'ccpp-2014-03-27-16:32:36-12226' creation detected<br>
Mar 27 12:32:36 DNTX002 abrtd: Executable '/usr/local/sbin/nginx' doesn't belong to any package<br>Mar 27 12:32:36 DNTX002 abrtd: 'post-create' on '/var/spool/abrt/ccpp-2014-03-27-16:32:36-12226' exited with 1<br>
Mar 27 12:32:36 DNTX002 abrtd: Corrupted or bad directory '/var/spool/abrt/ccpp-2014-03-27-16:32:36-12226', deleting<br>Mar 27 12:32:42 DNTX002 kernel: nginx[12220]: segfault at 400ffafac ip 000000000046a482 sp 00007fff1fd93810 error 4 in nginx (deleted)[400000+92000]<br>
Mar 27 12:32:42 DNTX002 abrt[12426]: File '/usr/local/sbin/nginx' seems to be deleted<br>Mar 27 12:32:42 DNTX002 abrt[12426]: Not saving repeating crash in '/usr/local/sbin/nginx'<br>Mar 27 12:32:49 DNTX002 kernel: nginx[12212]: segfault at 400ffb0fc ip 000000000046a482 sp 00007fff1fd93810 error 4 in nginx (deleted)[400000+92000]<br>
Mar 27 12:32:49 DNTX002 abrt[12431]: File '/usr/local/sbin/nginx' seems to be deleted<br>Mar 27 12:32:49 DNTX002 abrt[12431]: Not saving repeating crash in '/usr/local/sbin/nginx'<br>Mar 27 12:32:54 DNTX002 kernel: nginx[12219]: segfault at 400ff740c ip 000000000046a482 sp 00007fff1fd93810 error 4 in nginx (deleted)[400000+92000]<br>
Mar 27 12:32:54 DNTX002 abrt[12434]: File '/usr/local/sbin/nginx' seems to be deleted<br>Mar 27 12:32:54 DNTX002 abrt[12434]: Not saving repeating crash in '/usr/local/sbin/nginx'<br><br><br><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 5:18 PM, shahzaib shahzaib <span dir="ltr"><<a href="mailto:shahzaib.cb@gmail.com" target="_blank">shahzaib.cb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>One quick question, i've updated nginx to 1.4.7 with http_mp4_module. What if i go with the same config as before ? i.e<br>
<br>server {<br> listen 80;<br> server_name <a href="http://storage10.domain.com" target="_blank">storage10.domain.com</a> <a href="http://storage10.gear3rd.com" target="_blank">storage10.gear3rd.com</a> <a href="http://storage10.gear3rd.net" target="_blank">storage10.gear3rd.net</a>;<br>
client_max_body_size 800m;<br># limit_rate 250k;<br> # access_log /websites/<a href="http://theos.in/logs/access.log" target="_blank">theos.in/logs/access.log</a> main;<br> add_header "X-Content-Type-Options" "nosniff";<br>
add_header Content-Type text/plain;<br> add_header X-Download-Options noopen ;<br> location / {<br> root /var/www/html/domain;<br> index index.html index.htm index.php;<br>
autoindex off;<br>}<br>location ~ \.(flv|jpg|jpeg)$ {<br> flv;<br> root /var/www/html/domain;<br># aio on;<br># directio 512;<br># output_buffers 1 2m;<br>
expires 7d;<br> valid_referers none blocked <a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://facebook.com" target="_blank">facebook.com</a> *.<a href="http://twitter.com" target="_blank">twitter.com</a> *.<a href="http://domain.com" target="_blank">domain.com</a> *.<a href="http://gear3rd.net" target="_blank">gear3rd.net</a> <a href="http://tunemedia.tv" target="_blank">tunemedia.tv</a> <a href="http://www.tunemedia.tv" target="_blank">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv" target="_blank">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br>location ~ -720\.(mp4)$ {<br> mp4;<br> expires 7d;<br># limit_rate 1000k;<br>
root /var/www/html/domain;<br> valid_referers none blocked <a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://facebook.com" target="_blank">facebook.com</a> *.<a href="http://twitter.com" target="_blank">twitter.com</a> *.<a href="http://domain.com" target="_blank">domain.com</a> *.<a href="http://gear3rd.net" target="_blank">gear3rd.net</a> <a href="http://tunemedia.tv" target="_blank">tunemedia.tv</a> <a href="http://www.tunemedia.tv" target="_blank">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv" target="_blank">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br>location ~ -480\.(mp4)$ {<br> mp4;<br> expires 7d;<br> limit_rate 250k;<br>
root /var/www/html/domain;<br> valid_referers none blocked <a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://facebook.com" target="_blank">facebook.com</a> *.<a href="http://twitter.com" target="_blank">twitter.com</a> *.<a href="http://domain.com" target="_blank">domain.com</a> *.<a href="http://gear3rd.net" target="_blank">gear3rd.net</a> <a href="http://tunemedia.tv" target="_blank">tunemedia.tv</a> <a href="http://www.tunemedia.tv" target="_blank">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv" target="_blank">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br>location ~ \.(mp4)$ {<br> mp4;<br> expires 7d;<br># add_header "X-Content-Type-Options" "nosniff";<br>
# add_header Content-Type text/plain;<br> root /var/www/html/domain;<br> valid_referers none blocked <a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://tune.pk" target="_blank">tune.pk</a> *.<a href="http://facebook.com" target="_blank">facebook.com</a> *.<a href="http://twitter.com" target="_blank">twitter.com</a> *.<a href="http://domain.com" target="_blank">domain.com</a> *.<a href="http://gear3rd.net" target="_blank">gear3rd.net</a> <a href="http://tunemedia.tv" target="_blank">tunemedia.tv</a> <a href="http://www.tunemedia.tv" target="_blank">www.tunemedia.tv</a> <a href="http://embed.tunemedia.tv" target="_blank">embed.tunemedia.tv</a>;<br>
if ($invalid_referer) {<br> return 403;<br> }<br> }<br><br> # pass the PHP scripts to FastCGI server listening on <a href="http://127.0.0.1:9000" target="_blank">127.0.0.1:9000</a><br>
location ~ \.php$ {<br> root /var/www/html/domain;<br> fastcgi_pass <a href="http://127.0.0.1:9000" target="_blank">127.0.0.1:9000</a>;<br> fastcgi_index index.php;<br> fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br>
include fastcgi_params;<br> fastcgi_read_timeout 10000;<br> }<br><br> location ~ /\.ht {<br> deny all;<br> }<br>}<br><br></div>Regards.<span class="HOEnZb"><font color="#888888"><br>
Shahzaib<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 5:04 PM, shahzaib shahzaib <span dir="ltr"><<a href="mailto:shahzaib.cb@gmail.com" target="_blank">shahzaib.cb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Thanks Lukas, now i saw these errors in /var/log/messages. Also due to 3rd party module ?<br><br>Mar 27 12:04:47 DNTX002 kernel: nginx[8190]: segfault at 40174353c ip 000000000046a482 sp 00007fff1fd93810 error 4 in nginx[400000+92000]<br>
Mar 27 12:04:47 DNTX002 xinetd[6599]: START: nrpe pid=9442 from=<a href="tel:209.59.234.13" value="+12095923413" target="_blank">209.59.234.13</a><br>Mar 27 12:04:47 DNTX002 abrtd: Directory 'ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190' creation detected<br>
Mar 27 12:04:47 DNTX002 abrt[9441]: Saved core dump of pid 8190 (/usr/local/sbin/nginx) to /var/spool/abrt/ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190 (67911680 bytes)<br>
Mar 27 12:04:47 DNTX002 xinetd[6599]: EXIT: nrpe status=0 pid=9442 duration=0(sec)<br>Mar 27 12:04:48 DNTX002 abrtd: Executable '/usr/local/sbin/nginx' doesn't belong to any package<br>Mar 27 12:04:48 DNTX002 abrtd: 'post-create' on '/var/spool/abrt/ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190' exited with 1<br>
Mar 27 12:04:48 DNTX002 abrtd: Corrupted or bad directory '/var/spool/abrt/ccpp-<a href="tel:2014-03-27-16" value="+12014032716" target="_blank">2014-03-27-16</a>:04:47-8190', deleting<br><br><br></div>Regards.<span><font color="#888888"><br>
Shahzaib<br></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Mar 27, 2014 at 5:02 PM, Lukas Tribus <span dir="ltr"><<a href="mailto:luky-37@hotmail.com" target="_blank">luky-37@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div><br>
<br>
> [root@DNTX002 nginx-1.2.1]# nginx -V <br>
> nginx version: nginx/1.2.1 <br>
> built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) <br>
> configure arguments: --add-module=/root/nginx_mod_h264_streaming-2.2.7 <br>
> --with-http_flv_module --with-file-aio --sbin-path=/usr/local/sbin <br>
> --with-debug<br>
<br>
<br>
</div>nginx_mod_h264_streaming is a unsupported third party module and probably<br>
causing your crash. There is generally no support for those modules on<br>
the mailing list.<br>
<br>
Drop nginx_mod_h264_streaming and migrate the official ngx_http_mp4_module:<br>
<a href="http://nginx.org/en/docs/http/ngx_http_mp4_module.html" target="_blank">http://nginx.org/en/docs/http/ngx_http_mp4_module.html</a><br>
<br>
Please be aware that this also means changing configurations.<br>
<br>
<br>
And yes, nginx-1.4.7 is stable.<br>
<br>
<br>
<br>
Regards,<br>
<div><div><br>
Lukas<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>