Bin/ping Input/output Error
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code linux bash: input/output error of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu
Reading Directory Input Output Error Linux
IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs:
Input/output Error Kali Linux
Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours
-bash: /root/.bash_profile: Input/output Error
Support General Help Dell Ubuntu Support (CLOSED) [ubuntu] Bash: Input/Output Error on every command Hello Unregistered, Dell Support Forum has closed. Please take a moment to read the details in the sticky, which you can find by clicking here Having an Issue With Posting ? Do you want to help us debug the posting issues bashrc input/output error ? < is the place to report it, thanks ! Results 1 to 6 of 6 Thread: Bash: Input/Output Error on every command Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode September 27th, 2008 #1 manish_jain View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jul 2006 Beans 8 Bash: Input/Output Error on every command Hi I have a very old Dell Inspiron on which Ubuntu 7.04 is installed. The kernel version is 2.6.24-19-generic. Sometimes, suddenly something happens and then every command from bash gives the same error: ~$ autoconf -V -bash: /usr/bin/autoconf: Input/output error ~$ ad -bash: /usr/bin/python: Input/output error The file system becomes read-only and no files can even be 'touch'ed. However, uname -r (and possibly other commands) still keep working. If you press Tab-Tab at the terminal, it hangs and then there is no way other than hard-boot to get stuff to work again. Ca
LINUX HOWTO | 2 Replies More Bad Disk This article I am trying to explain how to deal with " Input/output error " when you initiate any commands in Linux. I have pointed some examples that reports similar centos input/output error error. # du -bash: /usr/bin/du: Input/output error #mkdir sampledir mkdir: cannot create directory `sampledir': Input/output error .bashrc input/output error Input/output error while running the command mostly due to two reason. Either it could be bad blocks on the disk or someone hacked your machine. input/output error ubuntu In this situation first suggestion would be to check /var/log/messages for any disk related alerts (might see some sense key alerts). tail -n 100 /var/log/messages tail -f /var/log/messages If you notice any disk issues , try any disk utility to confirm https://ubuntuforums.org/showthread.php?t=930991 this. One option would be use smarttools. You can check smartool option to fix bad blocks. If you already installed it you can take the advantage of that. Next immediate action would be take backup of your system. Good if you already have it :-). If you have good backup its safe to reboot.If your system was hacked there are chances they might messed up your file and system would not work after reboot. You can also try fsck but it really http://linoxide.com/how-tos/inputoutput-error-bad-blocks-how-to-restart-linux/ dont fix most time if it bad block issue. Fsck can fix only if it related to any filesystem related issues. Usually fsck will fail in between as when it try to read the file at bad block. Now if try to reboot , it can also give the same output. You can try init 6. # reboot bash: /sbin/reboot: Input/output error # shutdown -r now bash: /sbin/shutdown: Input/output error If the above reboot commands doesnot work try either forced reboot or shutdown . Forced Reboot echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger Forced Shutdown echo 1 > /proc/sys/kernel/sysrq echo o > /proc/sysrq-trigger You might also likeHow To Fix / Repair Bad Blocks In LinuxHow To Backup LVM Configuration On Linux (vgcfgbackup & vgcfgrestore)Linux Crontab : How To Configure Cron With Best ExamplesHow To List Linux Pci Devices Using lspci CommandSet Date And Time In Linux And Sync With Hardware (CMOS)Linux Hdparm Command: Display Hard Disk Model and Serial NumberLinux: Manage Spaces And Special Characters In File NameUnderstand Linux Su Command Function With ExampleHow To Create / Remove Swap Partition In LinuxHow To Use Linux Grep Command To Find Strings Tags: bad block linux, bad blocks linux Category: HARDWARE, HOWTOS, LINUX HOWTO Share This : Free Linux Ebook to Download Previous Article Understand Each Entries Of Linux Shadow (/etc/shadow) File Next Article How To Fix / Repair Bad Blocks In Linux Comments (2) Trackback URL | Comments RSS Feed Fabrizio Bartolomucci says:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting http://superuser.com/questions/225788/ubuntu-input-output-error ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ubuntu input/output error up vote 5 down vote favorite 2 I'm having a problem with Ubuntu that I'm finding hard to troubleshoot for output error reasons that will become clear: reboot -bash: /sbin/reboot: Input/output error dmesg -bash: /bin/dmesg: Input/output error ps -e ps: error while loading shared libraries: /lib/libproc-3.2.8.so: cannot read file data: Input/output error lsof -bash: /usr/bin/lsof: Input/output error fsck -bash: /sbin/fsck: Input/output error badblocks -bash: /sbin/badblocks: Input/output error So I can't see what is going on, and I can't remotely reboot. What can I do to get to the bottom of this? Interestingly: init 0 Segmentation fault I can cat /var/syslog but not /var/log/messages or several bashrc input/output error other important files. less and more don't work, neither do tail or head, etc. 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 rm -rf /. (I did it on purpose, just to see what actually happens.) –AJMansfield Sep 12 '13 at 19:27 add a comment| 1 Answer 1 active oldest votes up vote 6 down vote accepted The system is having severe trouble reading off of your hard disk. It's likely that the disk is dead (almost certain), but it could be something as simple as a loose/disconnected cable (don't count on it). There isn't anything you can do to troubleshoot it from here. Just power it off. Check for loose connections on your hard disk. If everything is fine there boot from a rescue disk and run fsck or badblocks from there. I hope you have a back up. share|improve this answer answered Dec 26 '10 at 8:29 bahamat 4,17011323 1 The weird thing though is that when I was able to physically reboot the machine and did so, it came back on seemingly with no problems. I still have not found any problems, though I am taking this as a warning sign that the disk is not reliable and could go at some point. I do keep my all my important files in at least two places using git, s