ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

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

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



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

# /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@xxxxxxx>
Hello Andrey,

Friday, December 4, 2009, 4:16:15 PM, you wrote:

AZ> 4 декабря 2009 г. 10:00 пользователь Roman <sirotar@xxxxxxx> написал:
>>
>> вылечело  ситуацию,  теперь все отлично, единственное что теперь нужно
>> искать альтернативные способы аплоада файлов.
>>

AZ> https://sourceforge.net/projects/uploadprogress2/files/
Спасибо, бум пробовать.

AZ> _______________________________________________
AZ> nginx-ru mailing list
AZ> nginx-ru@xxxxxxxxx
AZ> http://nginx.org/mailman/listinfo/nginx-ru



--
Best regards,
 Roman                            mailto:sirotar@xxxxxxx


_______________________________________________



--
Yours sincerely,
Vladimir Getmanshchuk

Senior Unix System Administrator
Openfilm, LLC

Email: vladget@xxxxxxxxxxxx
Skype: vladimir.getmanshchuk

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.