• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sybase Session Aborted Error

 
Jason Travis
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I am writing a logging application which among other things checks for processes running on specific ports.
I check to see if the port is avaliable or not based on wheather I can make a socket connection to the port without recieving any exceptions.
The Sybase database connector is listening on port 4005 and when I check to see if there is anything listening on that port, I get the approriate response that I coded stating that a service is running on port 4005.
However, I also get what appears to be a sybase error. The error message is below. Can anyone out there tell me why this might be occuring and what I should do to stop recieving this message.
slsyb11: SENH_ERR_ABORTED: Session Aborted; PABR_TDISCON: Transport Disconnect Received
slsyb11: Connection from <my ip address> SESSION ERROR
Thanks in advance for your help....
 
Jason Travis
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have discovered that since I am opening a socket connection to the port (in this case port 4005) which is where the Sybase Database connector is listening, it appears that this error message is being thrown due to not passing the correct information.
Some background on what I am doing. Basically, I want to check specific ports for services running and log, page, and email when a service is found to not be running on a specific port.
Under Solaris 7, the Sybase Database connector service is started through inetd. I suspect that the error message I am recieving is due to not passing any information to the socket after its creation.
So, at this point in time, I am very interested in finding out what information you pass to connect to the database through the process of creating a socket connection to the database connector port.
Thanks in advance. I do appreciate all the assistance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!