Re: После апгреда Nginx не стартует

Vladimir Getmanshchuk vladget на openfilm.com
Сб Дек 19 03:58:58 MSK 2009


*Если у кого то было так:*

*# /usr/local/etc/rc.d/nginx start*
Performing sanity check on nginx configuration:
Bus error (core dumped)
Starting nginx.
Bus error (core dumped)

*Решение (разжованно и положено в рот):*

*#cd /usr/ports/www/nginx-devel
(OR #cd /usr/ports/www/nginx)
*
*# make fetch extract*
===>  Found saved configuration for nginx-devel-0.8.30
=> nginx-0.8.30.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://sysoev.ru/nginx/.
nginx-0.8.30.tar.gz                           100% of  603 kB   98 kBpsa
=> nginx_upload_module-2.0.11.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch from http://www.grid.net.ru/nginx/download/.
nginx_upload_module-2.0.11.tar.gz             100% of   19 kB   74 kBps
=> nginx_uploadprogress_module-0.7.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
=> Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/osa/.
nginx_uploadprogress_module-0.7.tar.gz        100% of   15 kB   67 kBps
===>  Found saved configuration for nginx-devel-0.8.30
===>  Extracting for nginx-devel-0.8.30
=> MD5 Checksum OK for nginx-0.8.30.tar.gz.
=> SHA256 Checksum OK for nginx-0.8.30.tar.gz.
=> MD5 Checksum OK for nginx_upload_module-2.0.11.tar.gz.
=> SHA256 Checksum OK for nginx_upload_module-2.0.11.tar.gz.
=> MD5 Checksum OK for nginx_uploadprogress_module-0.7.tar.gz.
=> SHA256 Checksum OK for nginx_uploadprogress_module-0.7.tar.gz.
===>   nginx-devel-0.8.30 depends on file: /usr/local/bin/perl5.8.9 - found

* # cd work/nginx_uploadprogress_module-0.7/*

* # wget
http://github.com/masterzen/nginx-upload-progress-module/raw/master/ngx_http_uploadprogress_module.c
*
--2009-12-18 19:35:39--
http://github.com/masterzen/nginx-upload-progress-module/raw/master/ngx_http_uploadprogress_module.c
...
2009-12-18 19:35:39 (6.16 MB/s) - `ngx_http_uploadprogress_module.c.1' saved
[52130/52130]

* # cat ngx_http_uploadprogress_module.c.1 >
ngx_http_uploadprogress_module.c; rm ngx_http_uploadprogress_module.c.1*

* # cd ../../ && make*
===>  Patching for nginx-devel-0.8.30
===>   nginx-devel-0.8.30 depends on file: /usr/local/bin/perl5.8.9 - found
===>  Applying FreeBSD patches for nginx-devel-0.8.30
===>   nginx-devel-0.8.30 depends on file: /usr/local/bin/perl5.8.9 - found
===>   nginx-devel-0.8.30 depends on shared library: GeoIP.5 - found
===>   nginx-devel-0.8.30 depends on shared library: pcre.0 - found
===>  Configuring for nginx-devel-0.8.30
checking for OS
 + FreeBSD 7.2-RELEASE-p4 amd64
...
...
bla-bla-bla
...
...

* # make install*
===>  Installing for nginx-devel-0.8.30
...bla-bla-bla....
...

* # /usr/local/etc/rc.d/nginx restart*
Performing sanity check on nginx configuration:
the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
configuration file /usr/local/etc/nginx/nginx.conf test is successful
nginx not running? (check /var/run/nginx.pid).
Performing sanity check on nginx configuration:
the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.

Иди соберите nginx без nginx-upload-progress-module :)


2009/12/4 Roman <sirotar at mail.ru>

> Hello Andrey,
>
> Friday, December 4, 2009, 4:16:15 PM, you wrote:
>
> AZ> 4 декабря 2009 г. 10:00 пользователь Roman <sirotar at mail.ru> написал:
> >>
> >> вылечело  ситуацию,  теперь все отлично, единственное что теперь нужно
> >> искать альтернативные способы аплоада файлов.
> >>
>
> AZ> https://sourceforge.net/projects/uploadprogress2/files/
> Спасибо, бум пробовать.
>
> AZ> _______________________________________________
> AZ> nginx-ru mailing list
> AZ> nginx-ru at nginx.org
> AZ> http://nginx.org/mailman/listinfo/nginx-ru
>
>
>
> --
> Best regards,
>  Roman                            mailto:sirotar at mail.ru
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>



-- 
Yours sincerely,
Vladimir Getmanshchuk

Senior Unix System Administrator
Openfilm, LLC

Email: vladget at openfilm.com
Skype: vladimir.getmanshchuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20091219/8bf5c1a4/attachment-0001.html>


Подробная информация о списке рассылки nginx-ru