[Madrid-pm] [ OT ] Apache2 + mod_fcgid + gitalist

David Sastre d.sastre.medina en gmail.com
Mar Ene 25 12:03:29 PST 2011


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
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.pm.org/pipermail/madrid-pm/attachments/20110125/938f00c8/attachment.bin>


Más información sobre la lista de distribución Madrid-pm