• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sybase Session Aborted Error

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic