The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10 Przemek SUN Solaris 4 05-25-2008 09:11 PM
Recover X Forwarding after broken connection schola UNIX for Advanced & Expert Users 1 03-13-2008 10:18 AM
rc scripts, do i need to kill them on shutdown? kymberm UNIX for Advanced & Expert Users 1 02-10-2003 07:57 AM
Connection to host lost goose UNIX for Dummies Questions & Answers 2 06-04-2002 04:32 PM
connection to host lost nbiketi UNIX for Dummies Questions & Answers 1 04-25-2001 08:45 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-09-2008
Registered User
 

Join Date: Sep 2001
Posts: 67
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.
Reply With Quote
Forum Sponsor
  #2  
Old 01-09-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
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.
Reply With Quote
  #3  
Old 05-16-2008
Registered User
 

Join Date: May 2008
Posts: 1
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??
Reply With Quote
  #4  
Old 05-16-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
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.
Reply With Quote
  #5  
Old 06-27-2008
Registered User
 

Join Date: Jun 2008
Posts: 1
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.
Reply With Quote
  #6  
Old 06-27-2008
Registered User
 

Join Date: Sep 2002
Posts: 9
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?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0