I've got some software that's running on Solaris 10 servers. We're using SunRays as the clients. The software uses the SunRay serial ports to communicate with some manufacturing equipment. At one particular location, on one particular server, we've started getting intermittent "This Port is Closed" errors. Of course, nothing that we can think of has changed recently (no updates to the OS, our software, or the equipment). Is there a way to log/track serial port open/closes?

  • It's probably a network issue, have you pulled the switch's records of errors/etc on the port? – Chris S Jun 24 '11 at 15:10
  • It's a serial port. Not a network port. – larsks Jun 24 '11 at 15:15
  • This is a serial port connected to one of the RunRay Clients right? – Chris S Jun 24 '11 at 15:44
  • Correct, the serial port on the SunRay client. Supposedly no connection drops on the session, trying to find logs to verify that now (been running so flawlessly for so long that I can't remember how to do much in it anymore. :-) ). Unfortunately it's located on the opposite of the continent from me, so "go and see" troubleshooting is challenging... – Brian Knoblauch Jun 24 '11 at 16:52
  • 1
    You could probably monitor it via dtrace, but I don't know which probes to use for that. – alanc Jun 25 '11 at 5:03

Haven't had time to pursue figuring how to use DTrace to figure out the problem yet. In the meantime, the SunRay at that location failed and they swapped in a new one. Problem has disappeared since the replacement. So, perhaps a hardware issue, or perhaps something wonky happened to the OS (perhaps a reboot would have solved the issue with the old SunRay).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.