LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-18-2009, 10:02 AM   #1
Dims
Member
 
Registered: Feb 2009
Posts: 151

Rep: Reputation: 15
shutdown: Unable to send message: Connection refused


I have a linux box which is booted from PXE. Boot image contains ramdrive with init script within it. The last command of this script calls bash. So, I have bash prompt during boot.

What I need to copy into the ram drive to be able to reboot system from command line?

I have copied "reboot" executable, but I said, that it needs "shutdown". I have copied "shutdown" but still unable to reboot:

shutdown: Unable to send message: Connection refused

What I need to have in order to be able to reboot?

P.S. I am acceing machine via serial console, so I am unable to press Ctrl-Alt-Del.
 
Old 06-18-2009, 06:55 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Are you doing this as root?
 
Old 06-19-2009, 02:04 AM   #3
Dims
Member
 
Registered: Feb 2009
Posts: 151

Original Poster
Rep: Reputation: 15
I don't know. It does not ask me for login.
 
  


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
error: unable to connect to socket: Connection refused (111) ; Mukiri Linux - Newbie 1 05-04-2009 03:27 AM
try to open telnet to a windows xp gives connection refused message muasif80 Linux - Newbie 4 10-06-2008 01:30 AM
Unable to rsh or ssh- connection refused mixxalot Linux - Networking 3 11-24-2007 09:45 PM
Eudora Connection Refused Error Message kaplan71 Linux - Software 0 10-03-2006 07:51 AM
make connection and send message? becky_starr Programming 6 02-23-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:45 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