- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SSHD not starting at boot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2001 08:11 AM
04-05-2001 08:11 AM
SSHD not starting at boot
Apr 5 10:59:51 nofear sshd[1783]: Server listening on 0.0.0.0 port 22.
Apr 5 10:59:51 nofear sshd[1783]: Generating 768 bit RSA key.
Apr 5 10:59:55 nofear sshd[1783]: RSA key generation complete.
Any help would be appreciated. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2001 08:42 AM
04-05-2001 08:42 AM
Re: SSHD not starting at boot
Could you please attach your /sbin/init.d/sshd script. One thing that comes to mind as a potential problem is your PATH definitions in the script.
Also look in your /etc/rc.log to see what it says about starting sshd you could also run:
sh -x /sbin/init.d/sshd start
and see what shows up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2001 10:31 AM
04-05-2001 10:31 AM
Re: SSHD not starting at boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 12:57 AM
04-06-2001 12:57 AM
Re: SSHD not starting at boot
/usr/local/sbin/sshd &
^^^
may be the problem. sshd puts itself in daemon mode (i.e. launches a child after configuring itself) so you shouldn't have to do this. Also why attempt to stop it in init 2? It should simply be started in init 2 and stopped in init 0. No? :)
That was my 2cents worth.
cheers,
Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 03:00 AM
04-06-2001 03:00 AM
Re: SSHD not starting at boot
I would change the last kill statement from cutting 10-14 to be
awk '{print $2}'. Even though your taking 5 chars, I'd be worried about the 6th digit. I have a server now at 87xxx for the process numbers.....I know it's 10.20 and not 11 which allocates PIDS a bit differently....
Try just removing the ampersand from sshd's launch and see if it is Okay at boot then!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 03:01 AM
04-06-2001 03:01 AM
Re: SSHD not starting at boot
I would change the last kill statement from cutting 10-14 to be
awk '{print $2}'. Even though your taking 5 chars, I'd be worried about the 6th digit. I have a server now at 87xxx for the process numbers.....I know it's 10.20 and not 11 which allocates PIDS a bit differently....
Try just removing the ampersand from sshd's launch and see if it is Okay at boot then!
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2001 10:09 AM
04-06-2001 10:09 AM