Bin/vi Input/output Error
Contents |
LINUX HOWTO | 2 Replies More Bad Disk This article I am trying to explain how to deal with linux bash: input/output error " Input/output error " when you initiate any commands in Linux. I
Reading Directory Input Output Error Linux
have pointed some examples that reports similar error. # du -bash: /usr/bin/du: Input/output error #mkdir sampledir mkdir: cannot create
Input/output Error Kali Linux
directory `sampledir': 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. In this
Bashrc Input/output Error
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 this. One option would be use smarttools. You can check smartool option to fix bad blocks. If you already installed it you can take -bash: /root/.bash_profile: input/output error 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 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
Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie Input/output error User Name Remember Me? Password Linux - Newbie This Linux forum is for members that centos input/output error are new to Linux. Just starting out and have a question? If it is not .bashrc input/output error in the man pages or the how-to's this is the place! Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are input/output error ubuntu currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and http://linoxide.com/how-tos/inputoutput-error-bad-blocks-how-to-restart-linux/ absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear http://www.linuxquestions.org/questions/linux-newbie-8/input-output-error-222152/ all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 08-25-2004, 06:19 AM #1 rob19 Member Registered: Mar 2003 Location: New Zealand Distribution: Red Hat Linux 8 & 9 Posts: 32 Rep: Input/output error I have been running a Web server with RH9 for about six months now. Everything has been going fine and I have not made any changes for a while. However, I have just noticed that Webalizer is no longer producing reports properly (they seem garbled) and now I cannot even copy files via FTP or even do a mkdir without getting an error (see below). Code: mkdir testing mkdir: cannot create directory
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 http://superuser.com/questions/225788/ubuntu-input-output-error Learn more about hiring developers or posting ads with us Super User Questions Tags Users http://forums.overclockers.com.au/showthread.php?t=190348 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 output error I'm having a problem with Ubuntu that I'm finding hard to troubleshoot for 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 bashrc input/output error get to the bottom of this? Interestingly: init 0 Segmentation fault I can cat /var/syslog but not /var/log/messages or several 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 fou
up to date with OCAU via Twitter, Facebook and Google+. Please add us! Go to Page... Sign up for a free OCAU account and this ad will go away! Search our forums with Google: Thread Tools 19th July 2003, 5:27 PM #1 eva2000 DDR1/DDR2/DDR3 Addict Join Date: Jun 2001 Location: Brisbane, Australia Posts: 21,903 linux input/output errors and bad file descriptors This is for a dedicated server running vBulletin and have no idea what the problem could be Running a WHM/CPanel 6.4.2 server which had the below problem, updating to latest right now and still same problem WHM 7.2.0 cPanel 7.2.1-S67 RedHat 7.3 - WHM X v2.1 Apache 1.3.28 Linuxe 2.4.20-18.7smp PHP 4.3.2 MySQL 4.0.13 Dual AthlonMP 2000+ 2GB PC2100 DDRAM ECC 2x 18GB 10k IBM SCSI 1x 80GB EIDE I've tried recompiling apache using easyapache options 1 through to 6 as well Problem 1. apache keeps gracefully restarting everyone few minutes Problem 2. My vBulletin word table corrupted and trying to repair it with mysqlcheck resulted in: Code: mysqlcheck -s vbdbname word vbdbname.word warning : Table is marked as crashed and last repair failed warning : Size of indexfile is: 18095104 Should be: 10494976 error : Record at pos: 39392595 is not remove-marked error : record delete-link-chain corrupted error : Corrupt trying to use mysqlcheck to repair it I get an error about bad file descriptors Code: mysqlcheck -r vbdbname word vbdbname.word warning : Duplicate key for record at 39392595 against record at 83820 error : 5 when fixing table error : Can't copy datafile-header to tempfile, error 9 status : Operation failed ---------------------------- my server current has the following limits Code: ulimit -aS core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 7168 virtual memory (kbytes, -v) unlimite ulimit -aH core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) unlimited cpu time (seconds, -t) unlimited max user processes (-u) 7168 virtual memory (kbytes, -v) unlimited lsof | grep httpd | wc -l returns = 8369 ---------------------------- So i wanted to attempt myisamchk repair by first shutting down mysql, and copying the actual database data files for backup but i