Bash /etc/profile Input/output Error
Contents |
Linux filesystem error Date: Thu, 14 Feb 2008 13:19:31 +0800 >auser wrote: >>mark wrote: >>> auser wrote: >>>> hi,redhat-list! >>>> bash root bash profile input output error >>>> When i login in a linux server by ssh and bash sbin reboot input output error it prompt: >>>> -bash: /etc/profile: Input/output error >>>> -bash: /root/.bash_profile: Input/output error >>>> -bash-3.00# >>>
Linux Bash: Input/output Error
4.0G 24G 15% / >> /dev/sda1 190M 13M 168M 8% /boot >> /dev/sda6 362G 16G 328G 5% /data >> none 2.0G 0 2.0G 0% /dev/shm >> /dev/sda3 7.7G 330M 7.0G 5% /opt > >Ok, no full filesystems.... > >>> second, have you looked in /var/log/messages >> there is nothing output when i check /var/log/messages input/output error kali linux and /var/log/secure : >> -bash-3.00# cat /var/log/messages >> -bash-3.00# cat /var/log/secure >
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki -bash: /root/.bash_profile: input/output error Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation
Bashrc Input/output Error
Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights
.bashrc Input Output Error
Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help Dell Ubuntu Support (CLOSED) [ubuntu] Bash: Input/Output Error on https://www.redhat.com/archives/redhat-list/2008-February/msg00091.html 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 ? < is the place to report it, thanks ! Results 1 to 6 of 6 Thread: Bash: https://ubuntuforums.org/showthread.php?t=930991 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. Can anyone suggest something to repair this annoying recurrence. Last edited by manish_jain; September 27th, 2008 at 12:48 AM. Adv Reply September 27th, 2008 #2 MJN View Profile View Forum Posts Private Message Visit H
LINUX HOWTO | 2 Replies More Bad Disk This article I am trying to explain how to deal with " Input/output error " when you http://linoxide.com/how-tos/inputoutput-error-bad-blocks-how-to-restart-linux/ 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 output error 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 input output error 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 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 Spec