[OpenSIPS-Users] ERROR:perl:parser_init: failed to load perl file
samoh
dahmani.samy at gmail.com
Mon May 3 11:35:02 CEST 2010
Hi Vadim,
there is a result of strace command :
root at samy-desktop:~# strace file "/home/opensips/etc/opensips/script.pl"
execve("/usr/bin/file", ["file", "/home/opensips/etc/opensips/scri"...], [/*
21 vars */]) = 0
brk(0) = 0x87ca000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7888000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=55457, ...}) = 0
mmap2(NULL, 55457, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb787a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libmagic.so.1", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P!\0\0004\0\0\0H"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=87680, ...}) = 0
mmap2(NULL, 90812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7863000
mmap2(0xb7878000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb7878000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/libz.so.1", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\31\0\0004\0\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=83552, ...}) = 0
mmap2(NULL, 86284, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb784d000
mmap2(0xb7861000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7861000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320h\1\0004\0\0\0\344"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1442180, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb784c000
mmap2(NULL, 1451632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb76e9000
mprotect(0xb7845000, 4096, PROT_NONE) = 0
mmap2(0xb7846000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb7846000
mmap2(0xb7849000, 9840, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7849000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb76e8000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb76e86c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\272\327\325"..., 3) = 3
close(3) = 0
mprotect(0xb7846000, 8192, PROT_READ) = 0
mprotect(0xb7861000, 4096, PROT_READ) = 0
mprotect(0xb7878000, 4096, PROT_READ) = 0
mprotect(0x804b000, 4096, PROT_READ) = 0
mprotect(0xb78a7000, 4096, PROT_READ) = 0
munmap(0xb787a000, 55457) = 0
brk(0) = 0x87ca000
brk(0x87eb000) = 0x87eb000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7887000
read(3, "# Locale name alias data base.\n# "..., 4096) = 2570
read(3, ""..., 4096) = 0
close(3) = 0
munmap(0xb7887000, 4096) = 0
open("/usr/lib/locale/fr_FR.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/locale/fr_FR.utf8/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=256316, ...}) = 0
mmap2(NULL, 256316, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76a9000
close(3) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0
mmap2(NULL, 26048, PROT_READ, MAP_SHARED, 3, 0) = 0xb7881000
close(3) = 0
stat64("/root/.magic", 0xbfae9c34) = -1 ENOENT (No such file or
directory)
open("/etc/magic.mgc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
stat64("/etc/magic", {st_mode=S_IFREG|0644, st_size=111, ...}) = 0
open("/etc/magic", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=111, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7880000
read(3, "# Magic local data for file(1) co"..., 4096) = 111
read(3, ""..., 4096) = 0
close(3) = 0
munmap(0xb7880000, 4096) = 0
open("/usr/share/file/magic.mgc", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1679616, ...}) = 0
mmap2(NULL, 1679616, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb750e000
close(3) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7880000
lstat64("/home/opensips/etc/opensips/script.pl", {st_mode=S_IFREG|0777,
st_size=655, ...}) = 0
stat64("/home/opensips/etc/opensips/script.pl", {st_mode=S_IFREG|0777,
st_size=655, ...}) = 0
open("/home/opensips/etc/opensips/script.pl", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_GETFL) = 0x8000 (flags
O_RDONLY|O_LARGEFILE)
fcntl64(3, F_SETFL, O_RDONLY|O_LARGEFILE) = 0
read(3, "#!/usr/local/bin/perl\nuse OpenSIP"..., 98304) = 655
close(3) = 0
write(1, "/home/opensips/etc/opensips/scrip"...,
84/home/opensips/etc/opensips/script.pl: a /usr/local/bin/perl script text
executable
) = 84
munmap(0xb750e000, 1679616) = 0
exit_group(0) = ?
Someone can tell me where is my error ?.
Thank you in advance.
Sam.
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/ERROR-perl-parser-init-failed-to-load-perl-file-tp4985385p4997013.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list