[ic] Compile problems on Solaris
Jim O'Gorman
jim.ogorman at iuniverse.com
Wed May 12 11:06:46 EDT 2004
On May 11, 2004, at 6:06 PM, Mike Heins wrote:
> When test 1 and 2 work it pretty much insures Interchange can run
> on the system.
>
> Have you just tried "make install" and running in UNIX mode? I bet
> this is nothing more than a firewall preventing a connection on
> port 8786.
Thanks for taking the time to reply.
I don't have any host based firewall running on this system at all, so
there should be nothing preventing any connections. I checked netstat
to see if there was anything running on that port, and there was. With
pfiles I pulled out the details:
---
8025: /usr/local/bin/perl blib/script/interchange --Ignore -q -r -i
Current rlimit: 256 file descriptors
0: S_IFCHR mode:0666 dev:136,0 ino:3271 uid:0 gid:3 rdev:13,2
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE
1: S_IFCHR mode:0666 dev:136,0 ino:3271 uid:0 gid:3 rdev:13,2
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE
3: S_IFREG mode:0755 dev:136,0 ino:110811 uid:0 gid:1 size:29454
O_RDONLY|O_LARGEFILE FD_CLOEXEC
4: S_IFREG mode:0444 dev:136,0 ino:110702 uid:0 gid:1 size:100763
O_RDONLY|O_LARGEFILE FD_CLOEXEC
5: S_IFDOOR mode:0444 dev:253,0 ino:58 uid:0 gid:0 size:0
O_RDONLY|O_LARGEFILE FD_CLOEXEC door to nscd[191]
6: S_IFREG mode:0600 dev:136,0 ino:110872 uid:0 gid:1 size:5
O_RDWR|O_APPEND|O_CREAT|O_LARGEFILE FD_CLOEXEC
7: S_IFSOCK mode:0666 dev:247,0 ino:26228 uid:0 gid:0 size:0
O_RDWR FD_CLOEXEC
sockname: AF_UNIX /root/interchange-5.2.0/blib/etc/socket.ipc
8: S_IFSOCK mode:0666 dev:247,0 ino:29488 uid:0 gid:0 size:0
O_RDWR FD_CLOEXEC
sockname: AF_INET 0.0.0.0 port: 8786
9: S_IFCHR mode:0666 dev:136,0 ino:3271 uid:0 gid:3 rdev:13,2
O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE FD_CLOEXEC
---
Looking at ps:
---
root 8020 0.0 3.619864 4272 ? S 00:35:51 0:00
/usr/local/bin/perl blib/script/interchange --Ignore -q -r -u
root 8025 0.0 3.719904 4464 ? S 00:36:04 0:00
/usr/local/bin/perl blib/script/interchange --Ignore -q -r -i
root 8261 0.0 3.619864 4280 ? S 01:13:29 0:00
/usr/local/bin/perl blib/script/interchange --Ignore -q -r -u
---
So, I killed all the processes, and then double checked that port was
open with netstat. After that I tried running configure again and got
this:
---
Manifying blib/man3/Vend::Ship::QueryUPS.3
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
server/unixmode.......ok 1
server/startup........ok 2
link/unixmode.........ok 3
server/inetmode.......The previous Interchange server was not running
and probably
terminated with an error.
ok 4
link/inetmode.........ok 5
server/control........The previous Interchange server was not running
and probably
terminated with an error.
bash-2.05# netstat -an -f inet | grep 8786
*.8786 *.* 0 0 49152 0
LISTEN
127.0.0.1.8786 127.0.0.1.32920 49152 0 49152 0
TIME_WAIT
---
And again there were interchange process left running as shown by ps.
I don't see any glaring networking issues with this machine. There is
no firewall, it has general network access, no issues with localhost or
its own hostname being set wrong, etc.
I am not familiar with how to do a make install and run it in unix
mode. Is there a doc that I missed?
Thanks for any help.
Jim
More information about the interchange-users
mailing list