ПРОЕКТЫ 


  АРХИВ 


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: freebsd - Can't locate nginx.pm



On Jul 8, 2013, at 4:55 PM, denis <denis@xxxxxxxxxxxxxxxx> wrote:
> /usr/local/etc/rc.d/nginx reload
> Performing sanity check on nginx configuration:
> Can't locate nginx.pm in @INC (@INC contains: 
> /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach 
> /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach 
> /usr/local/lib/perl5/5.10.1 .).
> BEGIN failed--compilation aborted.
> nginx: [alert] perl_parse() failed: 2
> nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
> 
> Недавно перезапуск работал нормально, и сейчас в памяти висит старая версия.
> # ls -la /usr/local/lib/perl5/site_perl/5.10/mach/nginx.pm
> -r--r--r--  1 root  wheel  3302 Jul  8 16:51 
> /usr/local/lib/perl5/site_perl/5.10/mach/nginx.pm
> 
> то, что там 5.10 и 5.10.1 - чей баг, сборщика фри или нгинха?
> nginx-1.4.1_1,1
> 
> # uname -a
> FreeBSD cs3990 8.3-STABLE FreeBSD 8.3-STABLE #0: Thu Aug 30 23:26:18 MSK 2012 
>     root@cs3990:/usr/obj/usr/src/sys/GENERIC  i386
> 
> # cat /etc/make.conf|grep VERS
> PERL_VERSION=5.10.1


Вам наверное сюда:

http://svnweb.freebsd.org/changeset/ports/320679

20130612:
  AFFECTS: users of  lang/perl* and any port that depends on it
  AUTHOR: az@xxxxxxxxxxx

  lang/perl5.12 has been upgraded from version 5.12.4 to 5.12.5
  lang/perl5.14 has been upgraded from version 5.14.2 to 5.14.4
  lang/perl5.16 has been upgraded from version 5.16.2 to 5.16.3

  The directory structure where Perl is installed has also been modified:
  "major.minor" is now used instead of "major.minor.patchlevel".
[?]

Если придерживаться этой версии причины, то видимо вы чего-то недообновили.

-- 
Sergey Kandaurov
pluknet@xxxxxxxxx



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


 




Copyright © Lexa Software, 1996-2009.