Ksh There Is An Input Or Output Error
Contents |
FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you linux bash: input/output error aComputer / IT professional?Join Tek-Tips Forums! Talk With input/output error kali linux Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite reboot input output error Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you .bashrc input output error are opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy
-bash: /root/.bash_profile: Input/output Error
and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. IBM: AIX Forum at Tek-Tips HomeForumsMIS/ITOperating Systems - UNIX basedIBM: AIX Forum hdisk error!! thread52-188792 Forum Search FAQs Links MVPs hdisk error!! hdisk error!! LeDam (IS/IT--Management) (OP) 8 Jan 02 03:56 I have a problem with a hdisk... I think he is down :The message in the errpt :LABEL:DISK_ERR1IDENTIFIER:21F54B38Date/Time:Tue Jan8 09:21:55Sequence Number: 1270Machine Id:0056572A4C00Node Id:hn020Class:HType:PERMResource Name:hdisk0Resource Class:diskResource Type:scsdLocation:11-08-00-2,0VPD:Manufacturer................IBMMachine Type and Model......DPSS-318350MFRU Number..................03N3302ROS Level and ID............53393646Serial Number...............ZE1AM594EC Level....................F79924Part Number.................07N3742Device Specific.(Z0)........000003029F00013ADevice Specific.(Z1)........07N4914Device Specific.(Z2)........0933Device Specific.(Z3)........00334Device Specific.(Z4)........0001Device Specific.(Z5)........22Device Specific.(Z6)........F79924DescriptionDISK OPERATION ERRORProbable CausesMEDIAUser CausesMEDIA DEFECTIVERecommended ActionsFOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRYPERFORM PROBLEM DETERMINATION PROCEDURESFailure CausesMEDIADISK DRIVERecommended ActionsFOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRYPERFORM PROBLEM DETERMINATION PROCEDURES-----------------------------------------------------------When i do a DF :root@hn020[/root] >dfksh: There is an input or output error.Filesystem512-blocksFree %UsedIused %Iused M
Input/output error on 'cat'? If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register http://forums.justlinux.com/showthread.php?140924-Input-output-error-on-cat link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 4 of 4 Thread: Input/output error on 'cat'? Tweet Thread Tools Show Printable http://linoxide.com/how-tos/inputoutput-error-bad-blocks-how-to-restart-linux/ Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 06-12-2005,10:09 PM #1 pushback View Profile View Forum Posts Visit Homepage Registered User Join Date Jun 2002 output error Location Livermore, CA Posts 190 Input/output error on 'cat'? I just installed Fedora 3 core and am running into a problem. On many system binaries (not all) I am getting 'Input/output error'. [root@athena etc]# vim inittab -bash: /usr/bin/vim: Input/output error [root@athena etc]# find / -name vim -print /usr/bin/vim /usr/share/vim [root@athena etc]# echo $PATH /bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin [root@athena etc]# cat inittab cat: inittab: Input/output error [root@athena etc]# find / -name cat -print /bin/cat What am input output error I missing? Visit America's Aviation Forum IFR USA on www.ifr.us Reply With Quote 06-13-2005,01:43 AM #2 JohnT View Profile View Forum Posts Visit Homepage Registered User Join Date Jul 2002 Location Vladivostok, Russia Posts 9,054 You could try supplying the complete path to your objective, such as "cat /etc/inittab"....if I'm reading you right. "I was pulled over for speeding today. The officer said, "Don't you know the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going to be out that long." How To Ask Questions The Smart Way COME VISIT ME IN RUSSIA NOW!! Reply With Quote 06-13-2005,01:51 AM #3 pushback View Profile View Forum Posts Visit Homepage Registered User Join Date Jun 2002 Location Livermore, CA Posts 190 Yeah, that doesn't do it. A lot of commands (not all) are doing it. Weirdest thing. [root@athena bin]# ls *sh ash bash bsh csh ksh sh tcsh zsh [root@athena bin]# ./ksh -bash: ./ksh: Input/output error [root@athena bin]# ./sh sh-3.00# file ksh sh: /usr/bin/file: Input/output error sh-3.00# ping localhost sh: /bin/ping: Input/output error sh-3.00# cat /etc/inittab cat: /etc/inittab: Input/output error sh-3.00# ls /root anaconda-ks.cfg install.log install.log.syslog sh-3.00# cat /root/install.log cat: /root/install.log: Input/output error sh-3.00# cd sh-3.00# ls -a . .bashrc .gnome2 install.log.syslog .. .cshrc .gnome2_private .tcshrc anaconda-ks.cfg .gconf .gstreamer-0.8 .Xauthority
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 error. # du -bash: /usr/bin/du: Input/output error #mkdir sampledir mkdir: cannot create 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 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 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 LinuxLinux Hdparm Command: Display Hard Disk Model and Serial NumberFew Tips Check Hard Disk Error and Health using smartctl6 Examples To Get Linux Hardware Details / InformationError: modprobe: Can't locate module block-major-227 Examples Linux Dmidecode Command - Display Hardware Details In BIOSHow To Backup LVM Configuration On Linux (vgcfgbackup & vgcfgrestore)Linux Crontab