connection to localhost:10.0 host broken (explicit kill or server shutdown) | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

connection to localhost:10.0 host broken (explicit kill or server shutdown)

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-09-2008
bache_gowda bache_gowda is offline
Registered User
 
Join Date: Sep 2001
Last Activity: 13 August 2008, 4:38 AM EDT
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
connection to localhost:10.0 host broken (explicit kill or server shutdown)

Hi All,

We use tomcat web server and it will get terminated with below error:

connection to localhost:10.0 host broken (explicit kill or server shutdown)

Please let me know how to fix this error.
Sponsored Links
    #2  
Old 01-09-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
 
Join Date: Nov 2006
Last Activity: 17 December 2014, 10:24 AM EST
Location: Bulgaria
Posts: 1,420
Thanks: 0
Thanked 6 Times in 6 Posts
This is generic error message, I've seen it when dealing with X, but there's nothing, I guess, you can do to fix the error, this most probably means that the server has been overloaded, and got powered off, or rebooted.
Sponsored Links
    #3  
Old 05-16-2008
mloper mloper is offline
Registered User
 
Join Date: May 2008
Last Activity: 16 May 2008, 6:40 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
I have this problem too! It happens every time I shut a putty or ssh window. Worse still is it shuts down Tomcat. I have 14 servers total all with the same configuration, but this problem only occurs on 2. I don't know why, and I can't seem to solve it. With the current behavior, they're just bricks. Help Anyone??
    #4  
Old 05-16-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
 
Join Date: Nov 2006
Last Activity: 17 December 2014, 10:24 AM EST
Location: Bulgaria
Posts: 1,420
Thanks: 0
Thanked 6 Times in 6 Posts
Hm, old thread resurrected. I still can't answer the question with exact precision, what I'd do in such situation (when "the roof is on fire"): examine all logs, or as much as I can, make sure that there isn't an application that may be causing this, ensure that I'm the only one, or if any other trusted person, to access the server with root or other privileges, examine the possibilities of upgrading this server to the latest software (that helps sometimes), or last resort - clean install of the whole server - start with the OS and then the used software. Contact respective vendors, if applicable. Do a hardware troubleshooting (memory, disks, controllers). Be extremely cautious when doing something like this on a production server.
Sponsored Links
    #5  
Old 06-27-2008
WSUser WSUser is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 27 June 2008, 6:09 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
What worked for me

I just run into this exact problem. I was installing tomcat and an application for radiological image transfer and whenever an image was processed tomcat would fail with the same error message.
I was remotely logged in to the server running tomcat using ssh -Y, to redirect the display to my local computer. I exited ssh and reconnected this time without the -Y option, I restarted tomcat and everything just worked.
I am not sure what happened, tomcat seemed to be trying to display something on the remote display and that failed?
I hope that helps.
Sponsored Links
    #6  
Old 06-28-2008
tekjunky tekjunky is offline
Registered User
 
Join Date: Sep 2002
Last Activity: 20 October 2008, 11:55 AM EDT
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
This looks like tomcat is trying to open a GUI in X and you do not have X forwarded properly or not at all. The "-Y" switch just enables trusted X11 forwarding however you still need an X running on the client and the client must be "trusted". You may have to run "xhost +" or "xhost + <servername>" on the server (not client) to allow X to be attached to from a remote server/session.

Have you tried VNC rather than ssh to run this application?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Listening on localhost - cannot connect to host using port 3010 brian112 UNIX Desktop for Dummies Questions & Answers 1 12-01-2011 09:26 AM
[Solved] clstat X connection ... broken ? phobus Infrastructure Monitoring 5 11-16-2010 07:27 AM
IPF pass in connection to port 21 even with no explicit rule h@foorsa.biz Security 0 05-27-2010 06:56 AM
localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA tonj UNIX for Dummies Questions & Answers 0 02-16-2010 04:59 AM
PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10 Przemek Solaris 4 05-26-2008 01:11 AM



All times are GMT -4. The time now is 10:21 PM.