hercules:/apps/tetra/sys $ finderr 25577
-25577 Network driver cannot get a host structure.
A system call has failed. See the system administrator for assistance.
Is there a particularly crappy network card in the SUN box?
Hmm. You're using ipcshm - this is shared memory access, which is unusual when connecting from another machine. onsoctcp is what we use, so maybe try switching over (though hacking through etc/sqlhosts may be tricky).
hercules:/apps/tetra/sys $ finderr 25588
-25588 The appl process cannot connect to Dynamic Server <server-name>.
An error in the application can produce this message. Check your
CONNECT statement and the sqlhosts file. A system failure can also
produce this message. If you can find no immediate cause for the
failure, note the circumstances and contact your database server
administrator for assistance.
The shared memory communication subsystem is down or not functioning.
Contact the database server administrator to report the problem.
Anything in the online.log?
Personally, I'd move away from using a protocol that uses shared memory to at least eliminate that.