LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 12-21-2005, 04:41 PM   #1
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
pc-bsd hangs at Starting sshd.


hi all
i installed pc-bsd 1.0rc1, it installed nicely, i think. it was quick and easy to get on board. the problem i have is when i attempt to boot it, it boots up, goes through a quick flash screen "starting system" then goes back to CL, and it hangs at "Starting sshd." i've had some problems with this box and acpi, so i disabled that, but still no boot. i'm using grub as the bootloader, and this is the boot-up section for pc-bsd:

title PC-BSD
root (hd1,0,a)
kernel /boot/loader acpi_load="NO"

as i said, it boots, goes through the motions, then hangs at "Starting sshd."

any suggestions? i've googled, and found no help there. it's gotta be something simple, i would think. tia for you help

jay
 
Old 12-22-2005, 12:55 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,990

Rep: Reputation: 261Reputation: 261Reputation: 261
Is this the first time sshd is starting? If so, it must generate the host keys before it can start up, and this can take some time. On really old hardware, it can take up to half an hour (by really old I mean 486 or early Pentium). On a modern system it should take no more than a few minutes. What kind of hardware do you have?

If that's not it, try going into GRUB and boot into single user mode and edit /etc/rc.conf to not start sshd at boot. Maybe if you try running it by hand there will be some sort of error message.
 
Old 12-22-2005, 02:18 AM   #3
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Original Poster
Rep: Reputation: 45
this is the first time sshd is starting...it's a newer system, celeron 2.9g processor...i waited only a minute or two, i'll boot again and let it run to see what happens...
 
Old 12-22-2005, 02:43 AM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Original Poster
Rep: Reputation: 45
waiting a few minutes made the difference...it works...thanks btmiller
 
Old 12-22-2005, 07:44 AM   #5
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Quote:
Originally Posted by detpenguin
waiting a few minutes made the difference...it works...thanks btmiller
The problem you are having is actually related to sshd not being able to do a host name resolution. Be sure that the following lines are in your /etc/hosts file:
Code:
::1                 localhost.domain localhost
127.0.0.1   localhost.domain localhost
If you assign a permanent IP to your box as opposed to doing DHCP, then make sure that too is in your /etc/hosts file. For example, here is mine for my box here at work:
Code:
10.2.10.47   charles.stone charles
Make sure, too, that if you are not using DHCP that your DNS server has its IP in your /etc/resolv.conf file.

sshd should start almost immediately (say a second or two).

Cheers--
Charles

Last edited by cnjohnson; 12-22-2005 at 09:16 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
starting sshd how to.. bruse Linux - Networking 5 04-22-2005 04:26 AM
sshd starting twice ryedunn Linux - Software 4 01-30-2005 09:47 PM
Fedora Core 3 hangs, freezes on "Starting sshd" ayrton Fedora 2 12-09-2004 09:11 PM
Bootup hangs during 'Starting sshd:' Arodef Fedora 3 09-24-2004 11:48 PM
Starting sshd: [ OK ] pk21 Linux - General 4 03-05-2003 04:27 PM


All times are GMT -5. The time now is 07:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration