jmarcus Apprentice


Joined: 12 Jun 2004 Posts: 197
|
Posted: Wed Dec 14, 2005 5:06 pm Post subject: Verisign problems |
|
|
Hi,
We are running Gentoo on a Mac Mini, with IBM java JDK-1.4.2. I wanted to lock down this box so I installed Bastille before shipping it off to the colo. We found that while the FW was on that we were having problems running a simple perl script that tests the credit card connection Verisign, returns a time out value. Since then I have shutdown the firewall and reverted the Bastille settings, but we are still having problems with our script hanging. The same script works fine and returns a proper response on a second Mac mini running Gentoo.
Please let me know if I should post this somewhere else?
thanks,
James
Code: | strace perl javatest.pl
execve("/usr/bin/perl", ["perl", "javatest.pl"], [/* 33 vars */]) = 0
uname({sys="Linux", node="scout", ...}) = 0
brk(0) = 0x1011b000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x30017000
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=22573, ...}) = 0
mmap(NULL, 22573, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30018000
close(3) = 0
open("/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0A\300"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=107721, ...}) = 0
mmap(0xff9c000, 342204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xff9c000
mprotect(0xffaa000, 284860, PROT_NONE) = 0
mmap(0xffac000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xffac000
mmap(0xffae000, 268476, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffae000
close(3) = 0
open("/lib/libnsl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0=("..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=141580, ...}) = 0
mmap(0xff68000, 146976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xff68000
mprotect(0xff7a000, 73248, PROT_NONE) = 0
mmap(0xff88000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xff88000
mmap(0xff8a000, 7712, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xff8a000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\r"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=72152, ...}) = 0
mmap(0xff46000, 70088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xff46000
mprotect(0xff48000, 61896, PROT_NONE) = 0
mmap(0xff56000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xff56000
close(3) = 0
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\234"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=555444, ...}) = 0
mmap(0xfeb2000, 537932, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfeb2000
mprotect(0xff25000, 66892, PROT_NONE) = 0
mmap(0xff32000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0xff32000
close(3) = 0
open("/lib/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\t"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=71840, ...}) = 0
mmap(0xfe69000, 229952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfe69000
mprotect(0xfe6e000, 209472, PROT_NONE) = 0
mmap(0xfe79000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xfe79000
mmap(0xfe7b000, 156224, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfe7b000
close(3) = 0
open("/lib/libutil.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\f"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=71800, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3001e000
mmap(0xfe47000, 70168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfe47000
mprotect(0xfe49000, 61976, PROT_NONE) = 0
mmap(0xfe57000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xfe57000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\317"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1339808, ...}) = 0
mmap(0xfcff000, 1277096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfcff000
mprotect(0xfe26000, 68776, PROT_NONE) = 0
mmap(0xfe2f000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x130000) = 0xfe2f000
mmap(0xfe35000, 7336, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfe35000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3001f000
mprotect(0xfe2f000, 8192, PROT_READ) = 0
mprotect(0xfe57000, 4096, PROT_READ) = 0
mprotect(0xfe79000, 4096, PROT_READ) = 0
mprotect(0xff32000, 4096, PROT_READ) = 0
mprotect(0xff56000, 4096, PROT_READ) = 0
mprotect(0xff88000, 4096, PROT_READ) = 0
mprotect(0xffac000, 4096, PROT_READ) = 0
mprotect(0x30020000, 4096, PROT_READ) = 0
munmap(0x30018000, 22573) = 0
getpid() = 4332
rt_sigaction(SIGRTMIN, {0xffa3ea4, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xffa3f28, [RTMIN], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0xffa4038, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0x7ffff6f0, 31, (nil), 0}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "2i\330\211", 4) = 4
close(3) = 0
rt_sigaction(SIGFPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
brk(0) = 0x1011b000
brk(0x1013c000) = 0x1013c000
getuid() = 0
geteuid() = 0
getgid() = 0
getegid() = 0
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 3
read(3, "4}f)", 4) = 4
close(3) = 0
time([1134577984]) = 1134577984
stat64("/usr/lib/perl5/site_perl/5.8.0", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.0/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.2", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.2/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.4", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.4/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.5", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.5/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.0", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.0/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.2", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.2/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.4", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.4/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.5", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.5/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_perl/5.8.6/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_perl/5.8.6", 0x7ffff580) = -1 ENOENT (No such file or directory)
stat64("/usr/local/lib/site_perl/powerpc-linux", 0x7ffff580) = -1 ENOENT (No such file or directory)
ioctl(0, TCGETS or TCGETS, {B38400 opost isig icanon echo ...}) = 0
_llseek(0, 0, 0x7ffff428, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(1, TCGETS or TCGETS, {B38400 opost isig icanon echo ...}) = 0
_llseek(1, 0, 0x7ffff428, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(2, TCGETS or TCGETS, {B38400 opost isig icanon echo ...}) = 0
_llseek(2, 0, 0x7ffff428, SEEK_CUR) = -1 ESPIPE (Illegal seek)
open("javatest.pl", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, TCGETS or TCGETS, 0x7ffff460) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
readlink("/proc/self/exe", "/usr/bin/perl5.8.6", 4095) = 18
getpid() = 4332
read(3, "#!/usr/bin/perl\r\n###############"..., 4096) = 1226
stat64("/etc/perl/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/etc/perl/Config.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.6/powerpc-linux/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/site_perl/5.8.6/powerpc-linux/Config.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/5.8.6/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/site_perl/5.8.6/Config.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/site_perl/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/site_perl/Config.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.6/powerpc-linux/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/vendor_perl/5.8.6/powerpc-linux/Config.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/5.8.6/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/vendor_perl/5.8.6/Config.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/vendor_perl/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/vendor_perl/Config.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/perl5/5.8.6/powerpc-linux/Config.pmc", 0x7fffee80) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/5.8.6/powerpc-linux/Config.pm", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, TCGETS or TCGETS, 0x7fffec60) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(4, 0, [0], SEEK_CUR) = 0
read(4, "# This file was created by confi"..., 4096) = 4096
read(4, "/SysV List/Util MIME/Base64 Opco"..., 4096) = 4096
read(4, "tlib=\'\'\ncsh=\'csh\'\nctermid_r_prot"..., 4096) = 4096
read(4, "\'\nd_mprotect=\'define\'\nd_msg=\'def"..., 4096) = 4096
read(4, "\'\ndlext=\'so\'\ndoublesize=\'8\'\ndran"..., 4096) = 4096
read(4, "dir=\'\'\ninstallsitelib=\'/usr/lib/"..., 4096) = 4096
read(4, "lecttype=\'fd_set *\'\nsendmail=\'\'\n"..., 4096) = 4096
read(4, "ib/perl5/vendor_perl/5.8.6/power"..., 4096) = 4096
brk(0x10161000) = 0x10161000
read(4, " \"=\", $pos) - $pos;\n $prevpos"..., 4096) = 2913
read(4, "", 4096) = 0
close(4) = 0
read(3, "", 4096) = 0
close(3) = 0
pipe([3, 4]) = 0
pipe([5, 6]) = 0
fork() = 4333
close(6) = 0
close(4) = 0
read(5, "", 4) = 0
close(5) = 0
ioctl(3, TCGETS or TCGETS, 0x7ffff340) = -1 EINVAL (Invalid argument)
_llseek(3, 0, 0x7ffff3a8, SEEK_CUR) = -1 ESPIPE (Illegal seek)
read(3, "", 4096) = 0
close(3) = 0
rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
waitpid(4333, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 4333
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
pipe([3, 4]) = 0
pipe([5, 6]) = 0
fork() = 4341
close(6) = 0
close(4) = 0
read(5, "", 4) = 0
close(5) = 0
ioctl(3, TCGETS or TCGETS, 0x7ffff340) = -1 EINVAL (Invalid argument)
_llseek(3, 0, 0x7ffff3a8, SEEK_CUR) = -1 ESPIPE (Illegal seek)
read(3, "RESULT=-12&RESPMSG=Timeout waiti"..., 4096) = 48
read(3, 0x10128658, 4096) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "", 4096) = 0
close(3) = 0
rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
waitpid(4341, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 4341
rt_sigaction(SIGHUP, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
write(1, "RESULT=-12&RESPMSG=Timeout waiti"..., 48RESULT=-12&RESPMSG=Timeout waiting for response
) = 48
write(1, "\n", 1
) = 1
exit_group(0) = ?
|
|
|