On Tue, Jan 25, 2011 at 06:54:36PM +0100, David Sastre wrote:
> Hola,
> 
> Estoy intentando publicar en un Apache2 una aplicación catalyst
> (gitalist) usando mod_fcgi.
> 
> El error que tengo en el log es este:
> 
> [Tue Jan 25 18:01:19 2011] [notice] Apache/2.2.16 (Debian) mod_fcgid/2.3.6 
> mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations
> Can't locate Catalyst/ScriptRunner.pm in @INC (@INC contains: /etc/perl 
> /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
> /usr/local/lib/site_perl .) at /usr/local/bin/gitalist_fastcgi.pl line 10.
> BEGIN failed--compilation aborted at /usr/local/bin/gitalist_fastcgi.pl line 
> 10.
> 
> Sin embargo:
> 
> # ll /usr/local/share/perl/5.10.1/Catalyst/ScriptRunner.pm
> -r--r--r-- 1 root staff 1542 abr 26  2010 
> /usr/local/share/perl/5.10.1/Catalyst/ScriptRunner.pm
 
Oops.
Lo encontré:

# ll /usr/local/
total 16
drwxrwsr-x 2 root staff 4096 ene 22 21:56 bin
drwxrwsr-x 3 root staff 4096 ene 22 13:10 lib
drwxrwsr-x 4 root staff 4096 ene 22 13:11 man
drwx--S--- 3 root staff 4096 ene 22 13:11 share <======

El problema era la umask de root. Está restringida, y cpan ha estado
instalando módulos con esa máscara...

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Madrid-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/madrid-pm

Responder a