Home > Output Error > Bash /sbin/shutdown Input/output Error

Bash /sbin/shutdown Input/output Error

Contents

Comment gets deleted. Product Reviews. A fsck on the next boot might be able to correct whatever is wrong with the disk, but first you need to get the system to reboot. Hmm. Check This Out

Not that easy Submitted by Anonymous (not verified) on Fri, 08/22/2008 - 02:06. # echo 1 > /proc/sys/kernel/sysrq bash: /bin/echo: Input/output error Shell built-in Submitted by Anonymous (not verified) on Fri, Skip to Navigation Click to subscribe Login Rebooting the Magic Way Aug 21, 2008 ByCory Wright inHOW-TOs If you have ever had a hard drive fail on a remote server you Do you happen to know a magic way to reboot my printers? When you select something to buy, you find yourself presented with similar items as kind suggestions.

Linux Bash Input/output Error

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Just starting out and have a question? Browse other questions tagged linux ubuntu . Than you so much for this trick.

Not the answer you're looking for? ls, pwd, echo, cat and some other apps are working. If one is truely looking to do less typing and reboot, I suggest: "init 6" This however, does require the file system to be functioning (since it will walk thru the Input/output Error Linux generally using the commands last reboot (or) ps -fp 1 only gives us the info regarding the last time of reboot.

There must have been something funky going on with the hard drive but with the power cut completely it has been behaving fine ever since and fsck finds nothing wrong - As of today luckily SysRQ Magic key is compiled and enabled by default in almost all modern day Linux distributions in this numbers Debian, Fedora and their derivative distributions. How can we fix this problem. Help it: More helpful ArticlesMicrosoft Windows most secure OS for 2014 ? - Short OS and Application Security report for 2014TinyProxy Quick and Easy way to run a Proxy Caching server

Find More Posts by rob19 08-25-2004, 05:42 PM #7 rob19 Member Registered: Mar 2003 Location: New Zealand Distribution: Red Hat Linux 8 & 9 Posts: 32 Original Poster Rep: Input/output Error Kali Linux basic awesome stuff!Home Product Reviews Geeky Stuff Do It Yourself Technology DD-WRT Linux Windows Mac iPhone Home Theater & Automation Reference Posts Awesome Stuff BBQ Cars Fitness Guns Karate Sea Doo Python Linux Programming Languages-Other Linux/ Unix Bash Shell: Working with Files Video by: Dototot Learn several ways to interact with files and get file information from the bash shell. Not that I'm a Linux guru or Submitted by TsueDesu (not verified) on Mon, 08/25/2008 - 06:27.

  1. Related 4When can one reboot from inside a chroot environment?1How to start java application after machine reboot?3How do I access a flash drive that has been ejected without physically plugging it
  2. WARNING: $ sudo echo 1 > /proc/sys/kernel/sysrq will not work because the output redirection is applied with your non privileged user Reply Leave a Reply Cancel reply Name( required ) Email
  3. Join our community for more solutions or to ask questions.
  4. Thanks a lot!
  5. after booting with some other server and i took back to native server.Itz bootin fine..
  6. Built-in 4.
  7. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
  8. Code: EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal Adding Swap: 1044216k swap-space (priority -1) kjournald starting.
  9. up vote 3 down vote favorite I'm getting this error message whathever I do: $ sudo reboot bash: /usr/bin/sudo: Input/output error $ reboot bash: /sbin/reboot: Input/output error It's a hardware failure

Input/output Error Ubuntu

rob19 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rob19's homepage! it is giving me :/var/log/messages : Input/output error .. Linux Bash Input/output Error Convince people not to share their password with trusted others How to book a flight if my passport doesn't state my gender? Mkdir Cannot Create Directory Input Output Error How to Clean your Thermopile and Thermocouple How to Fix Rotten Egg Smell in your Water TPMS Warning Light?

To Mr. his comment is here Just power it off. The time now is 07:34 PM. LEARN MORE Suggested Solutions Title # Comments Views Activity Openwrt vnstat 9 57 41d Linux Networking : What is of bond interface & when it will be useful 18 59 38d Input/output Error Centos

Most Linux distros run with Bash as the primary shell now. It should come in handy when rebooting my vps! One previous entry mentioned the fix being... this contact form Find More Posts by rob19 08-25-2004, 04:22 PM #4 chrism01 LQ Guru Registered: Aug 2004 Location: Sydney Distribution: Centos 6.8, Centos 5.10 Posts: 17,198 Rep: This guy had the

linux ubuntu share|improve this question edited Dec 26 '10 at 7:52 asked Dec 26 '10 at 7:23 rplevy 147116 1 Sounds pretty similar to what you get after running sudo /proc/sys/kernel/sysrq Permission Denied since 2011, by Allex Wang Except where otherwise noted, content on this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 You can reboot even in this situation remotely (I did it over SSH) by doing a 'hard reboot.' Forced Reboot Code: echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger Forced Shutdown

Wouldn't that render it totally unusable?

echo IS built into bash, but in some distros there's also a /bin/echo which is in the path. linux-server:~# sync Now to reboot the Linux server, I used the /proc Linux virtual filesystem by issuing: linux-server:~# echo b > /proc/sysrq-trigger Using the echo b > /proc/sysrq-trigger simulates a keyboard Promoted by Experts Exchange Engage with tech pros in our community with native advertising, as a Vendor Expert, and more. Reading Directory Input Output Error Linux itz workin now..

Program found via a $PATH search The built-in will get used first. Maybe You Can Trick it Back to Life! If you have no way to gain root access, you cannot reboot. –Gilles Apr 12 '14 at 23:45 add a comment| 1 Answer 1 active oldest votes up vote 4 down navigate here To use the sysrq kernel capabilities as a mean to restart the server, it's necessery first to activate the sysrq through sysctl, like so: linux-server:~# sysctl -w kernel.sysrq=1
kernel.sysrq =

Password Linux - Newbie This Linux forum is for members that are new to Linux. Adv Reply Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Do you know what happened? Hmm.

Now the disk is failing but I can't get to the host until monday at the earliest.