LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-31-2009, 05:18 AM   #1
wackolacko
LQ Newbie
 
Registered: Dec 2008
Posts: 19

Rep: Reputation: 0
ssh error and keep restart every 5 min


for some reason ssh keep restarting after every 5 mins, i check the log and found this error

Receiving signal 15; terminating.
Server listening on :: port 1234.
error: Bind to port 1234 on 0.0.0.0 failed: Address already in use.

how can i fixed it ?
 
Old 01-31-2009, 05:26 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The error message tells you the port is in use. Why not try using another port?
 
Old 01-31-2009, 01:27 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
You also may want to check what is listening on tcp 1234:

# netstat -ltnp
 
Old 01-31-2009, 11:37 PM   #4
wackolacko
LQ Newbie
 
Registered: Dec 2008
Posts: 19

Original Poster
Rep: Reputation: 0
i did netstat -ltnp and sshd is listen on port 1234 and no other application is listen on that port, so why did i get that error
 
Old 02-01-2009, 11:39 AM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
What distro / what version? And are there other clues in /var/log/messages?

Some other process is misbehaving and causing sshd to restart. (Are you doing anything in cron every 5 minutes?)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restart X Server over SSH? skibud2 Linux - General 2 09-15-2008 12:31 AM
Connect online ubuntu 8.0 disconnect after 2 min error 15 no response to echo billrandle Linux - Networking 2 06-04-2008 07:01 PM
Jobs IDs go away on ssh restart nuxeon Linux - Newbie 3 10-18-2007 06:46 PM
3.8 Gb Suse 10.1 slow install in 1h30 min. Mandriva 2006 was less than 40 min Emmanuel_uk Linux - Distributions 2 06-15-2006 09:27 AM
Can't SSH until restart service Da Puff Mandriva 4 09-14-2005 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration