mod_perl, apacz i rt
Marcin Doliński
devel-pl w pld-dc.org
Śro, 25 Sie 2004, 11:30:26 CEST
Niestety apacz do logów nie psuje o co mu chodzi, w celu zbadania
sytuacji użyłem strace -fF
# cat /etc/httpd/httpd.conf/75_mod_perl.conf
LoadModule perl_module /usr/lib/apache/mod_perl.so
<IfModule mod_perl.c>
PerlModule Apache2
PerlModule Apache2 Apache::compat
PerlModule Apache::DBI
PerlRequire /usr/bin/webmux.pl
</IfModule>
27845 open("/usr/local/lib/unicore/lib/gc_sc/Word.pl", O_RDONLY|
O_LARGEFILE) = -1 ENOENT (No such file or directory)
27845 open("/usr/lib/rt/unicore/lib/gc_sc/Word.pl", O_RDONLY|
O_LARGEFILE) = -1 ENOENT (No such file or directory)
27845 open("/usr/local/lib/perl5/5.8.0/i686-pld-linux-thread-
multi/unicore/lib/gc_sc/Word.pl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
27845 open("/usr/local/share/perl5/unicore/lib/gc_sc/Word.pl", O_RDONLY|
O_LARGEFILE) = -1 ENOENT (No such file or directory)
27845 open("/usr/lib/perl5/vendor_perl/5.8.0/i686-pld-linux-thread-
multi/unicore/lib/gc_sc/Word.pl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
27845 open("/usr/share/perl5/vendor_perl/unicore/lib/gc_sc/Word.pl",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
27845 open("/usr/lib/perl5/5.8.5/i686-pld-linux-thread-
multi/unicore/lib/gc_sc/Word.pl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
27845 open("/usr/share/perl5/5.8.5/unicore/lib/gc_sc/Word.pl", O_RDONLY|
O_LARGEFILE) = 7
27845 ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff0ac) = -1 ENOTTY
(Inappropriate ioctl for device)
27845 _llseek(7, 0, [0], SEEK_CUR) = 0
27845 read(7, "# !!!!!!! DO NOT EDIT THIS FIL"..., 4096) = 4096
27845 read(7, "F65\tFFBE\t\nFFC2\tFFC7\t\nFFCA\tFFCF\t\n"..., 4096) =
795
27845 read(7, "", 4096) = 0
27845 close(7) = 0
27845 stat64("/usr/lib/rt/RT/I18N/zh_tw.po", {st_mode=S_IFREG|0644,
st_size=194052, ...}) = 0
27845 stat64("/usr/lib/rt/RT/I18N/zh_tw.po", {st_mode=S_IFREG|0644,
st_size=194052, ...}) = 0
27845 open("/usr/lib/rt/RT/I18N/zh_tw.po", O_RDONLY|O_LARGEFILE) = 7
27845 ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff64c) = -1 ENOTTY
(Inappropriate ioctl for device)
27845 _llseek(7, 0, [0], SEEK_CUR) = 0
27845 fstat64(7, {st_mode=S_IFREG|0644, st_size=194052, ...}) = 0
27845 fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
27845 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Oprócz tego do poprawienia w webmux.pl są ścieżki, zamiast /usr/lib
powinien szukać w /usr/lib/rt. (to u mnie zrobione ręcznie)
Podobnie w przypadku RT.pm i ścieżki do plików konfiguracyjnych
(/etc/rt).
Więcej informacji o liście dyskusyjnej pld-devel-pl