LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2005, 10:33 AM   #1
AndK
LQ Newbie
 
Registered: Jan 2003
Location: Lublin
Posts: 15

Rep: Reputation: 0
sshd won't start anymore - hostname?


Hi,

Could somebody point me in the right direction regarding this:

I've been running a small Slack 9 file server for some time. I had SSH up and running on it OK.

Then while logged remotely from a windoze machine using Putty I su-ed and issued 'reboot'.

Then I tried to log on again from Win/Putty without luck but that had happened before (I think) so I connected the monitor to the server box, logged in locally and checked if sshd was running. It was not.

If I issue: /etc/rc.d/rc.sshd start - nothing happens. The daemon doesn't start.

One thing I did which I think could affect the sshd was changing HOSTNAME.

So,

ssh localhost - does nothing

/etc/rc.d/rc.sshd start - does nothing

ps aux - doesn't list /usr/sbin/sshd

What next, please?
 
Old 04-19-2005, 11:05 AM   #2
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
The log files are your friends. Start a virtual terminal (Ctrl-Alt-[F2-F4]) and do a "tail -f /var/log/messages." Then go back to your first terminal (Ctrl-Alt-F1) and try to start sshd again, flip back to the previous terminal and the log files will probably tell you what is going on.
 
Old 04-20-2005, 03:10 AM   #3
AndK
LQ Newbie
 
Registered: Jan 2003
Location: Lublin
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks Mike,

The tail of the 'messages' shows in the bottom line after reboot:
.
(...) kernel: tg3 eth0: Flow control is on for TX and on for RX

Neither /etc/rc.d/rc.sshd start | stop
nor /usr/sbin/sshd changes it.

Cheers

Last edited by AndK; 04-20-2005 at 04:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Make sshd answer only on a certain hostname ? michaelsanford Linux - Security 3 07-18-2005 04:19 PM
sshd start on boot mblanco2000 Linux - Security 5 05-18-2004 05:13 PM
getting sshd to start at boot eros Linux - Software 8 12-31-2003 02:06 PM
Changed my hostname and broke sshd Itzac Linux - Networking 7 03-23-2003 07:54 PM
couldn't start SSHD jonnyb Linux - Networking 14 02-16-2003 04:39 PM


All times are GMT -5. The time now is 12:09 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration