Page 1 of 1

Can't locate

Posted: 2010-03-18 01:46
by cooky1976
Hallo,

ist eigentlich ein Confixx-Problem, aber vielleicht kann mir hier eher jemand weiterhelfen, da ich nicht annehme, dass es an Confixx liegt.

Es soll ein Perl-Skript ausgeführt werden, welches ein anderes Skript inkludiert:

Code: Select all

www:/# /root/confixx/admin/scripts/rotate.pl
Can't locate lib_module_common.pm in @INC (@INC contains: /root/confixx/admin/scripts /root/confixx/admin/scripts/admin/subs /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /root/confixx/admin/scripts/rotate.pl line 21.
BEGIN failed--compilation aborted at /root/confixx/admin/scripts/rotate.pl line 21.
Folgendes sind die Rechte des Skriptes:

Code: Select all

www:/# ls -lisa /root/confixx/admin/subs/lib_module_common.pm
32711 20 -rw-r--r-- 1 root root 17124  9. Jul 2009  /root/confixx/admin/subs/lib_module_common.pm
Bin über jeden Hinweis dankbar, leider verstehe ich das nicht, da die Include-Datei sich ja im INC befindet.

Gute Nacht

Alexander

Re: Can't locate

Posted: 2010-03-18 07:11
by jan10001
Bin über jeden Hinweis dankbar, leider verstehe ich das nicht, da die Include-Datei sich ja im INC befindet.
Ähm sehe ich nicht so, deine Datei ist in "/root/confixx/admin/subs/" aber in der Inc steht "/root/confixx/admin/scripts/admin/subs". Das sind nun mal 2 verschiedene Verzeichnisse. ;-)

Re: Can't locate

Posted: 2010-11-08 17:08
by cooky1976
Ich antworte mir mal selber, wenn es nochmals irgendwo auftaucht. Schaut mal, welche Default-Shell eingetragen wurde. Bei der dash gibt es dieses Phänomen.