Sudo ошибка ввода вывода

Модератор: Bizdelnick

Ellen

Сообщения: 7

input/output error

Заранее прошу прощения, если эта тема уже обсуждалась. В таком случае прошу ссылку на топик.

Я работаю в Линукс Минт. С недавнего времени при попытке загрузить что-либо под рут мне выдается ошибка ввода-вывода. Причем запрос пароля для рут даже не появляется. Сразу Failed run as user root input/output error. Гномовская консоль пишет, что не может найти команду судо. Alt+Shift+F1 не работает.

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog »

переход в консоль чаще всего ctrl-alt-f1 (если не работает — Ctrl-Alt-F* потыкать), если говорит, что sudo не найден, то быть может /usr/bin/sudo ?

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen »

agentprog писал(а): ↑

21.03.2009 11:18

переход в консоль чаще всего ctrl-alt-f1 (если не работает — Ctrl-Alt-F* потыкать), если говорит, что sudo не найден, то быть может /usr/bin/sudo ?

действительно, имела ввиду, что именно ctrl+alt+F* не работает. /usr/bin/sudo уже пробовала. та же ошибка ввода-вывода.

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog »

Ellen писал(а): ↑

21.03.2009 11:10

Failed run as user root input/output error.

ругается только так? если нет, запостите сюда весь вывод :) например

No problems — just solutions!

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog »

а не работает только sudo? попробуйте команду например top. кстати, а /usr случайно не на отдельном разделе?

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen »

agentprog писал(а): ↑

21.03.2009 11:55

а не работает только sudo? попробуйте команду например top. кстати, а /usr случайно не на отдельном разделе?

нет. Причем никаких изменений в системных файлах не производилось уже месяц наверное.
не работает только sudo.

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog »

ну раз убунтуфорум лежит, хотя гугл говорит, что там такая проблемка обсуждалась, то давайте

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen »

agentprog писал(а): ↑

21.03.2009 12:10

ну раз убунтуфорум лежит, хотя гугл говорит, что там такая проблемка обсуждалась, то давайте

[ 7204.326313] operapluginwrap[13383]: segfault at 0 ip 00000000 sp bfc332cc error 4 in operapluginwrapper[8048000+22000]
[ 7375.928968] operapluginwrap[13509]: segfault at 0 ip 00000000 sp bfdfac9c error 4 in operapluginwrapper[8048000+22000]
[ 7391.828521] operapluginwrap[13525]: segfault at 0 ip 00000000 sp bfe14cac error 4 in operapluginwrapper[8048000+22000]
[ 7423.908615] operapluginwrap[13563]: segfault at 0 ip 00000000 sp bff7be1c error 4 in operapluginwrapper[8048000+22000]
[ 7469.781298] operapluginwrap[13611]: segfault at 0 ip 00000000 sp bf98101c error 4 in operapluginwrapper[8048000+22000]
[ 7474.776890] operapluginwrap[13620]: segfault at 0 ip 00000000 sp bfb329cc error 4 in operapluginwrapper[8048000+22000]
[ 7540.270923] operapluginwrap[13686]: segfault at 0 ip 00000000 sp bfa4d0ec error 4 in operapluginwrapper[8048000+22000]
[ 7547.900128] operapluginwrap[13695]: segfault at 0 ip 00000000 sp bfdc545c error 4 in operapluginwrapper[8048000+22000]
[ 7626.948360] operapluginwrap[13790]: segfault at 0 ip 00000000 sp bfc8531c error 4 in operapluginwrapper[8048000+22000]
[ 7806.505606] operapluginwrap[13989]: segfault at 0 ip 00000000 sp bfc272cc error 4 in operapluginwrapper[8048000+22000]

вот такая ерунда :unsure:

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog »

хм… тут опера нафлудила (( попробуйте закрыть оперу, попробовать sudo. когда вывалится ошибка, dmesg | tail -10
:)

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen »

agentprog писал(а): ↑

21.03.2009 12:17

хм… тут опера нафлудила (( попробуйте закрыть оперу, попробовать sudo. когда вывалится ошибка, dmesg | tail -10
:)

никаких новых записей не образовалось

AlexFilth писал(а): ↑

21.03.2009 12:19

дайте угадаю и
df -h
у вас тоже ошибку выдаст.

Filesystem Size Used Avail Use% Mounted on
/host/mint/disks/root.disk
6.0G 3.6G 2.2G 63% /
tmpfs 252M 0 252M 0% /lib/init/rw
varrun 252M 104K 251M 1% /var/run
varlock 252M 0 252M 0% /var/lock
udev 252M 2.8M 249M 2% /dev
tmpfs 252M 992K 251M 1% /dev/shm
/dev/sda2 38G 35G 2.7G 93% /host
lrm 252M 2.0M 250M 1% /lib/modules/2.6.27-7-generic/volatile

agentprog писал(а): ↑

21.03.2009 12:20

а вообще сам файл /usr/bin/sudo существует??? :dash2:

whereis говорит, что существует

Аватара пользователя

AlexFilth

Сообщения: 450
Статус: Хронический ламер
ОС: GENTOO

Re: input/output error

Сообщение

AlexFilth »

На одном из форумов сказали что

argh, looks like it was simply a disk error — fixed the problem with e2fsck

т е — мол проблема с диском была, решилась проверкой диска утилитой e2fsck, ну для ext3 — fsck.ext3 и затем копированием рабочих файлов с идентичной системы.
Я бы порекомендовал взять какой либо лив цд, хотя бы Убунту и прогнать винт с помощью
badblocks и fsck.ext3 , если у вас конечно ехт3.

-=emerge -auDn world=-

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog »

вся проблема в том, что из тех симптомов, что там описаны, не работает только sudo. но проверить на bad сектора надо.

No problems — just solutions!

I just wanted to share my experience: on FreeBSD 10.3, I mounted my external hard drive with

$ sudo ntfs-3g /dev/da0s1 /media

Inside the hard drive, I did a mkdir to create a directory and then moved some files to it, of course with mv command. Finally I did the following command:

$ sudo sync

Then I mounted the hard drive on a Linux machine with kernel 4.4.0-78-generic. Now When I list the contents of the hard drive, the directory created on FreeBSD, named Jeff, is shown like below:

$ ls -lhrtci
ls: cannot access 'Jeff': Input/output error
total 20K
  ? d????????? ? ?    ?       ?            ? Jeff

enter image description here

Also, when trying to remove the Jeff directory, I receive the following error message:

$ sudo rm -f -R Jeff
rm: cannot remove 'Jeff': Input/output error

enter image description here

I couldn’t get rid of Jeff directory on Linux machine, therefore I used the FreeBSD machine and re-mounted the hard drive on FreeBSD again. But the ls, cd and rm commands on FreeBSD generate the same Input/output error. Looks like there has been a bug on FreeBSD ntfs-3g package.


UPDATE

I moved all my data from external hard drive to a Linux machine, of course the corrupt file Jeff couldn’t be moved due to I/O error. Then I reformatted the external hard drive with both zeroing of the volume and bad sector checking like this:

$ sudo mkfs.ntfs /dev/sdb1

And then moved all the data back to the external volume. This way, I lost the corrupt file named Jeff, however, my external hard drive is clean of any I/O error.

  1. bash /usr/bin/sudo input/output error

    Hello fellow Linuxers!

    The title message is one I receive at a certain point during my Ubuntu Studio Xfce session, troubles of which began fairly recently. These troubles incluce the desktop freezing, when I try to press buttons in my panels they simply lagg for a moment and disappear, and then reappears….., in the console I get this message:

    Code:

     console: XIO: fatal IO error 11 (resource temporarily unavailable) on X server ":0" after 7 requests (7 known processed) with 0 events remaining

    and on top of this, holding down alt + SysRq/PrtScn for the purposes of typing REISUB results in, as soon as the two are held down simultaneously, my workspaces quickly increase in quantities, lol… I would really appreciate some help here, this is very important..

    Thanks for your time!


  2. Re: bash /usr/bin/sudo input/output error

    Hi, when someone is online that sees your thread and has an answer they well help but bumping is only allowed once every 24 hours and please remember that we are all volunteers.
    Thanks


  3. Re: bash /usr/bin/sudo input/output error

    Hi, I did a quick google search of the error message and here is a link so you can look at them too.
    https://www.google.com/search?client…utf-8&oe=utf-8
    Thanks


  4. Re: bash /usr/bin/sudo input/output error

    Well, that much research I have done… And my apologies.. Thanks


  5. Re: bash /usr/bin/sudo input/output error

    Hi, I am sorry that I do not know the answer.


  6. Re: bash /usr/bin/sudo input/output error

    bump is due


  7. Re: bash /usr/bin/sudo input/output error

    I received this error while closing out after running «glxgears» using the (X). Would not close using ctrl-C. I have a problem booting into LM13 Maya. I can only get into recovery mode from there does normal boot and runs good. I have a post In the Mint Forums,http://forums.linuxmint.com/viewtopi…05020&p=593844
    and nobody seems to know what is causing my problem, maybe Xserver? I’m completely new to Linux so I am at a loss right now. I have LM113 Cinnamon on my desktop and it runs great. My laptop is giving me the problems withLM13 Maya. Any ideas or fixes?


  8. Re: bash /usr/bin/sudo input/output error

    This has been solved, but I can’t mark it as solved. There is no option in this threads drop down menu for solved.


  9. Re: bash /usr/bin/sudo input/output error

    Quote Originally Posted by rickm1945
    View Post

    This has been solved, but I can’t mark it as solved.

    That’s because it’s LeoTB’s thread, not yours.


  • Печать

Страницы: [1] 2  Все   Вниз

Тема: Ошибка ввода/вывода.  (Прочитано 3365 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
AlanIkaev

При попытке sudo apt-get upgrade выдает E: Sub-process /usr/bin/dpkg returned an error code (2). Уже много где рылся, но никак не могу решить эту проблему. А если пытаюсь обновиться не через терминал, выдает «Установка или удаление программ пакетов не удалось»


Оффлайн
ARTGALGANO

покажи вывод полностью, на что конкретно ругань?


Оффлайн
AlanIkaev

Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Расчёт обновлений…Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  libpopt0:i386 linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
  linux-headers-generic-lts-vivid linux-image-3.19.0-25-generic
  linux-image-extra-3.19.0-25-generic linux-image-generic-lts-vivid thermald
Для их удаления используйте «apt-get autoremove».
Пакеты, которые будут оставлены в неизменном виде:
  liboxideqt-qmlplugin liboxideqtcore0 liboxideqtquick0
  linux-headers-generic-lts-vivid linux-image-generic-lts-vivid
  oxideqt-codecs-extra
Пакеты, которые будут обновлены:
  apt apt-transport-https apt-utils bind9-host chromium-codecs-ffmpeg-extra
  curl dnsutils firefox firefox-locale-en firefox-locale-ru gcc-4.9-base
  gcc-4.9-base:i386 google-chrome-stable grub-common grub-pc grub-pc-bin
  grub2-common isc-dhcp-client isc-dhcp-common lib32gcc1 libapt-inst1.5
  libapt-pkg4.12 libbind9-90 libcurl3 libcurl3-gnutls libdns100 libgbm1
  libgcc1 libgcc1:i386 libgnutls-openssl27 libgnutls26 libgnutls26:i386
  libisc95 libisccc90 libisccfg90 liblwres90 libmm-glib0 libnss3 libnss3-nssdb
  libosmesa6 libosmesa6:i386 libpng12-0 libpng12-0:i386 libxml2 libxml2:i386
  linux-firmware linux-libc-dev modemmanager openssh-client os-prober
  python-libxml2 python-virtualenv python3-software-properties rsync
  software-properties-common software-properties-gtk ssh-askpass-gnome
  thunderbird thunderbird-gnome-support thunderbird-locale-en
  thunderbird-locale-en-us thunderbird-locale-ru
обновлено 62, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 6 пакетов не обновлено.
Необходимо скачать 0 B/168 MB архивов.
После данной операции, объём занятого дискового пространства возрастёт на 3 183 kB.
Хотите продолжить? [Д/н] д
Извлечение шаблонов из пакетов: 100%
Предварительная настройка пакетов …
dpkg: невосстановимая ошибка, прекращение работы:
 чтение списка файлов пакета «linux-headers-3.19.0-43»: Ошибка ввода/вывода
E: Sub-process /usr/bin/dpkg returned an error code (2)


Оффлайн
skybour

Что говорит

sudo aptitude install -f?


Оффлайн
DimanBG


Оффлайн
AlanIkaev

Что говорит
sudo aptitude install -f?

sudo: aptitude: command not found


Оффлайн
skybour

Блин, apt-get, конечно:

sudo apt-get install -fА вообще по ссылке выше посмотри.


Оффлайн
AlanIkaev

Блин, apt-get, конечно:
sudo apt-get install -fА вообще по ссылке выше посмотри.

Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  libpopt0:i386 linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
  linux-headers-generic-lts-vivid linux-image-3.19.0-25-generic
  linux-image-extra-3.19.0-25-generic linux-image-generic-lts-vivid thermald
Для их удаления используйте «apt-get autoremove».
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 68 пакетов не обновлено.


Оффлайн
skybour

Ну давай дальше, что рекомендует:

sudo apt-get autoremove


Оффлайн
AlanIkaev

Ну давай дальше, что рекомендует:
sudo apt-get autoremove

Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Пакеты, которые будут УДАЛЕНЫ:
  libpopt0:i386 linux-headers-3.19.0-25 linux-headers-3.19.0-25-generic
  linux-headers-generic-lts-vivid linux-image-3.19.0-25-generic
  linux-image-extra-3.19.0-25-generic linux-image-generic-lts-vivid thermald
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 8 пакетов, и 66 пакетов не обновлено.
После данной операции, объём занятого дискового пространства уменьшится на 289 MB.
Хотите продолжить? [Д/н] д
E: Sub-process /usr/bin/dpkg returned an error code (2)


Оффлайн
skybour

Посмотри здесь, не вижу смысла копипастить по одной команде или ссылку выше давали, там что-то похожее.


Оффлайн
ARTGALGANO

в

/var/lib/dpkg/info находим все файлы по пакетам. удаляем. потом

sudo rm -f  /var/cache/apt/archives/{partial/,}*  /var/lib/apt/lists/{partial/,}*  2>/dev/null
sudo dpkg --clear-avail
sudo apt-get update
sudo apt-get install -f&&sudo apt-get upgrade

« Последнее редактирование: 30 Января 2016, 17:14:16 от ARTGALGANO »


Оффлайн
Laa-Laa

Цытата:
 чтение списка файлов пакета «linux-headers-3.19.0-43»: Ошибка ввода/вывода
Мне кажется, это проблемы с диском. Нужно проверить
/var/log/messages /var/log/system
на наличие сообщений о подобных ошибках.

« Последнее редактирование: 30 Января 2016, 19:37:40 от Laa-Laa »

Помогаю клоуну набрать 20к сообщений.
danger! (будугуруUbuntu пользователь под набледением.)


Оффлайн
AlanIkaev

в
/var/lib/dpkg/info находим все файлы по пакетам. удаляем. потом
sudo rm -f  /var/cache/apt/archives/{partial/,}*  /var/lib/apt/lists/{partial/,}*  2>/dev/null
sudo dpkg --clear-avail
sudo apt-get update
sudo apt-get install -f&&sudo apt-get upgrade

После sudo apt-get install -f&&sudo apt-get upgrade выдает в терминале «Аварийное завершение»


Оффлайн
ARTGALGANO

update проходит без ошибок?
тогда делай без install -f

sudo apt-get update&&sudo apt-get upgrade


  • Печать

Страницы: [1] 2  Все   Вверх

Что делать, если при попытке запустить команду в консоли Linux выводится Input/Output Error? Давайте разберемся!

В общем случае ситуация выглядит так:

du
-bash: /usr/bin/du: Input/output error

или так:

dmesg
-bash: /bin/dmesg: Input/output error

или:

lsof
-bash: /usr/bin/lsof: Input/output error

Чаще всего проблема связана с неполадками системного диска (в конкретном случае используется SATA DOM). Первым делом нужно воспользоваться утилитой fsck, но увы:

fsck
-bash: /sbin/fsck: Input/output error

Либо диск совсем умер, либо проблема с физическим подключением накопителя (можно, например, попробовать заменить шлейф).
В любом случае, пытаемся загрузиться с rescue disk и выполнить fsck или badblocks.

Пытаемся перезагрузиться:

reboot
-bash: /sbin/reboot: Input/output error

еще разок:

shutdown -r now
-bash: /sbin/shutdown: Input/output error

Если есть физический доступ к серверу, то можно подойти и перезагрузить его с кнопки. В противном случае может помочь следующая комбинация:

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

После загрузки с rescue disk’а и выполнения fsck все заработало, однако на production-серверах для системы лучше использовать RAID-массив. И даже в этом случае помнить: RAID is not backup!.

Модератор: Bizdelnick

Ellen

Сообщения: 7

input/output error

Заранее прошу прощения, если эта тема уже обсуждалась. В таком случае прошу ссылку на топик.

Я работаю в Линукс Минт. С недавнего времени при попытке загрузить что-либо под рут мне выдается ошибка ввода-вывода. Причем запрос пароля для рут даже не появляется. Сразу Failed run as user root input/output error. Гномовская консоль пишет, что не может найти команду судо. Alt+Shift+F1 не работает.

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog » 21.03.2009 11:18

переход в консоль чаще всего ctrl-alt-f1 (если не работает — Ctrl-Alt-F* потыкать), если говорит, что sudo не найден, то быть может /usr/bin/sudo ?

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen » 21.03.2009 11:23

agentprog писал(а): ↑

21.03.2009 11:18

переход в консоль чаще всего ctrl-alt-f1 (если не работает — Ctrl-Alt-F* потыкать), если говорит, что sudo не найден, то быть может /usr/bin/sudo ?

действительно, имела ввиду, что именно ctrl+alt+F* не работает. /usr/bin/sudo уже пробовала. та же ошибка ввода-вывода.

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog » 21.03.2009 11:33

Ellen писал(а): ↑

21.03.2009 11:10

Failed run as user root input/output error.

ругается только так? если нет, запостите сюда весь вывод :) например

No problems — just solutions!

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog » 21.03.2009 11:55

а не работает только sudo? попробуйте команду например top. кстати, а /usr случайно не на отдельном разделе?

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen » 21.03.2009 11:59

agentprog писал(а): ↑

21.03.2009 11:55

а не работает только sudo? попробуйте команду например top. кстати, а /usr случайно не на отдельном разделе?

нет. Причем никаких изменений в системных файлах не производилось уже месяц наверное.
не работает только sudo.

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog » 21.03.2009 12:10

ну раз убунтуфорум лежит, хотя гугл говорит, что там такая проблемка обсуждалась, то давайте

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen » 21.03.2009 12:15

agentprog писал(а): ↑

21.03.2009 12:10

ну раз убунтуфорум лежит, хотя гугл говорит, что там такая проблемка обсуждалась, то давайте

[ 7204.326313] operapluginwrap[13383]: segfault at 0 ip 00000000 sp bfc332cc error 4 in operapluginwrapper[8048000+22000]
[ 7375.928968] operapluginwrap[13509]: segfault at 0 ip 00000000 sp bfdfac9c error 4 in operapluginwrapper[8048000+22000]
[ 7391.828521] operapluginwrap[13525]: segfault at 0 ip 00000000 sp bfe14cac error 4 in operapluginwrapper[8048000+22000]
[ 7423.908615] operapluginwrap[13563]: segfault at 0 ip 00000000 sp bff7be1c error 4 in operapluginwrapper[8048000+22000]
[ 7469.781298] operapluginwrap[13611]: segfault at 0 ip 00000000 sp bf98101c error 4 in operapluginwrapper[8048000+22000]
[ 7474.776890] operapluginwrap[13620]: segfault at 0 ip 00000000 sp bfb329cc error 4 in operapluginwrapper[8048000+22000]
[ 7540.270923] operapluginwrap[13686]: segfault at 0 ip 00000000 sp bfa4d0ec error 4 in operapluginwrapper[8048000+22000]
[ 7547.900128] operapluginwrap[13695]: segfault at 0 ip 00000000 sp bfdc545c error 4 in operapluginwrapper[8048000+22000]
[ 7626.948360] operapluginwrap[13790]: segfault at 0 ip 00000000 sp bfc8531c error 4 in operapluginwrapper[8048000+22000]
[ 7806.505606] operapluginwrap[13989]: segfault at 0 ip 00000000 sp bfc272cc error 4 in operapluginwrapper[8048000+22000]

вот такая ерунда :unsure:

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog » 21.03.2009 12:17

хм… тут опера нафлудила (( попробуйте закрыть оперу, попробовать sudo. когда вывалится ошибка, dmesg | tail -10
:)

No problems — just solutions!

Ellen

Сообщения: 7

Re: input/output error

Сообщение

Ellen » 21.03.2009 12:26

agentprog писал(а): ↑

21.03.2009 12:17

хм… тут опера нафлудила (( попробуйте закрыть оперу, попробовать sudo. когда вывалится ошибка, dmesg | tail -10
:)

никаких новых записей не образовалось

AlexFilth писал(а): ↑

21.03.2009 12:19

дайте угадаю и
df -h
у вас тоже ошибку выдаст.

Filesystem Size Used Avail Use% Mounted on
/host/mint/disks/root.disk
6.0G 3.6G 2.2G 63% /
tmpfs 252M 0 252M 0% /lib/init/rw
varrun 252M 104K 251M 1% /var/run
varlock 252M 0 252M 0% /var/lock
udev 252M 2.8M 249M 2% /dev
tmpfs 252M 992K 251M 1% /dev/shm
/dev/sda2 38G 35G 2.7G 93% /host
lrm 252M 2.0M 250M 1% /lib/modules/2.6.27-7-generic/volatile

agentprog писал(а): ↑

21.03.2009 12:20

а вообще сам файл /usr/bin/sudo существует??? :dash2:

whereis говорит, что существует

Аватара пользователя

AlexFilth

Сообщения: 450
Статус: Хронический ламер
ОС: GENTOO

Re: input/output error

Сообщение

AlexFilth » 21.03.2009 12:26

На одном из форумов сказали что

argh, looks like it was simply a disk error — fixed the problem with e2fsck

т е — мол проблема с диском была, решилась проверкой диска утилитой e2fsck, ну для ext3 — fsck.ext3 и затем копированием рабочих файлов с идентичной системы.
Я бы порекомендовал взять какой либо лив цд, хотя бы Убунту и прогнать винт с помощью
badblocks и fsck.ext3 , если у вас конечно ехт3.

-=emerge -auDn world=-

Аватара пользователя

agentprog

Сообщения: 362
Статус: Ad Astra per aspera
ОС: openSUSE 11.4, Arch

Re: input/output error

Сообщение

agentprog » 21.03.2009 12:29

вся проблема в том, что из тех симптомов, что там описаны, не работает только sudo. но проверить на bad сектора надо.

No problems — just solutions!

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 according to this question. Is there anyway that I can reboot the machine without physically pull the the plug. The machine is not close to me. I can SSH into the machine. ls, pwd, echo, cat and some other apps are working. Things like ps, vim and killall are not working.

Community's user avatar

asked Apr 12, 2014 at 19:55

Mohsen's user avatar

3

If you have root access, you can try to do this:

# echo b > /proc/sysrq-trigger

(that will immediately reboot the system without syncing or unmounting your disks.)

Unfortunately, I do not think there is a way to reboot without root privileges.

answered Apr 12, 2014 at 20:07

dnt's user avatar

dntdnt

1711 silver badge5 bronze badges

  1. Hello fellow Linuxers!

    The title message is one I receive at a certain point during my Ubuntu Studio Xfce session, troubles of which began fairly recently. These troubles incluce the desktop freezing, when I try to press buttons in my panels they simply lagg for a moment and disappear, and then reappears….., in the console I get this message:

    Code:

     console: XIO: fatal IO error 11 (resource temporarily unavailable) on X server ":0" after 7 requests (7 known processed) with 0 events remaining

    and on top of this, holding down alt + SysRq/PrtScn for the purposes of typing REISUB results in, as soon as the two are held down simultaneously, my workspaces quickly increase in quantities, lol… I would really appreciate some help here, this is very important..

    Thanks for your time!


  2. Re: bash /usr/bin/sudo input/output error

    Hi, when someone is online that sees your thread and has an answer they well help but bumping is only allowed once every 24 hours and please remember that we are all volunteers.
    Thanks


  3. Re: bash /usr/bin/sudo input/output error

    Hi, I did a quick google search of the error message and here is a link so you can look at them too.
    https://www.google.com/search?client…utf-8&oe=utf-8
    Thanks


  4. Re: bash /usr/bin/sudo input/output error

    Well, that much research I have done… And my apologies.. Thanks


  5. Re: bash /usr/bin/sudo input/output error

    Hi, I am sorry that I do not know the answer.


  6. Re: bash /usr/bin/sudo input/output error

    bump is due


  7. Re: bash /usr/bin/sudo input/output error

    I received this error while closing out after running «glxgears» using the (X). Would not close using ctrl-C. I have a problem booting into LM13 Maya. I can only get into recovery mode from there does normal boot and runs good. I have a post In the Mint Forums,http://forums.linuxmint.com/viewtopi…05020&p=593844
    and nobody seems to know what is causing my problem, maybe Xserver? I’m completely new to Linux so I am at a loss right now. I have LM113 Cinnamon on my desktop and it runs great. My laptop is giving me the problems withLM13 Maya. Any ideas or fixes?


  8. Re: bash /usr/bin/sudo input/output error

    This has been solved, but I can’t mark it as solved. There is no option in this threads drop down menu for solved.


  9. Re: bash /usr/bin/sudo input/output error

    Quote Originally Posted by rickm1945
    View Post

    This has been solved, but I can’t mark it as solved.

    That’s because it’s LeoTB’s thread, not yours.


  • Home
  • Forum
  • The Knoppix.net Forums
  • General Support
  • bash: /usr/bin/sudo: Input/output error

  1. 04-06-2005, 05:39 AM

    #1

    downdogWoof is offline


    Member

    registered user


    bash: /usr/bin/sudo: Input/output error

    Hi All,

    I get the following when trying to su —

    knoppix@ttyp1[knoppix]$ su —
    bash: /usr/bin/sudo: Input/output error
    knoppix@ttyp1[knoppix]$ su —
    bash: /usr/bin/sudo: Input/output error

    Never seen it b4. Cheers.

    downdogWoof…


  2. 04-06-2005, 05:51 AM

    #2

    downdogWoof is offline


    Member

    registered user


    Hi All,

    restarted and got this when opening the terminal,

    bash: /usr/bin/tty: Input/output error
    bash: /usr/bin/tty: Input/output error
    [knoppix]knoppix su —
    bash: /usr/bin/sudo: Input/output error

    Anyone seen this b4..? Been using this CD for almost 4mths. 1st time for this. Cheers.

    downdogWoof…


  3. 04-06-2005, 06:20 PM

    #3

    Dave_Bechtel is offline


    Senior Member

    registered user


    [[ /me scratches head ]]

    Just off the top of my head, you may have one of 3 scenarios…

    1) You’ve been hacked

    2) Your HD is going bad

    3) Something happened to /dev or /usr/bin/sudo

    —My advice:

    o Boot from the Knoppix CD

    o ‘ time badblocks -c 128 -s -v /dev/hda ‘ or whatever disk you use.

    o Backup any important files.

    o Prepare to restore from backup (YOU DO have backups, right??) or reinstall. Depending on badblocks, you might have to buy another HD, but nothing is certain yet.

    —Keep in touch, lemme know how it goes.

    Quote Originally Posted by downdogWoof

    Hi All,

    restarted and got this when opening the terminal,

    bash: /usr/bin/tty: Input/output error
    bash: /usr/bin/tty: Input/output error
    [knoppix]knoppix su —
    bash: /usr/bin/sudo: Input/output error

    Anyone seen this b4..? Been using this CD for almost 4mths. 1st time for this. Cheers.

    downdogWoof…


  4. 04-06-2005, 06:29 PM

    #4

    Harry Kuhman is offline


    Administrator

    Site Admin-


    I get the impression that he is running from CD, not from the hard drive.

    That makes both hard drive problems and hacking far less likely.


  5. 04-07-2005, 05:27 AM

    #5

    Dave_Bechtel is offline


    Senior Member

    registered user


    —Hmm. In that case, he’s prolly got a bad ISO image, or a bad burn. Check the MD5sum, re-download if necessary, and re-burn.

    Quote Originally Posted by Harry Kuhman

    I get the impression that he is running from CD, not from the hard drive.

    That makes both hard drive problems and hacking far less likely.


Similar Threads

  1. Replies: 0

    Last Post: 02-12-2007, 04:09 AM

  2. Replies: 6

    Last Post: 12-24-2005, 10:35 AM

  3. Replies: 6

    Last Post: 06-21-2005, 06:39 PM

  4. Replies: 3

    Last Post: 06-03-2005, 08:17 PM

  5. Replies: 6

    Last Post: 05-20-2004, 07:06 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules

Knoppix 9.1 Desktop Live Portable USB Flash Thumb Drive GNU Linux OS 64 Bit picture

Knoppix 9.1 Desktop Live Portable USB Flash Thumb Drive GNU Linux OS 64 Bit

$17.95


Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99


KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99


Linux Knoppix 9.1 Desktop 64bit Live Bootable DVD Rom Linux Operating System picture

Linux Knoppix 9.1 Desktop 64bit Live Bootable DVD Rom Linux Operating System

$5.80


Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 «Original Live Operating System» 16G USB Stick

$19.10


Knoppix 9.1 Desktop CD Live Portable Disc Disk GNU Linux Distro OS 64 Bit picture

Knoppix 9.1 Desktop CD Live Portable Disc Disk GNU Linux Distro OS 64 Bit

$14.95


Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 «Original Live Operating System» 32G USB Stick

$19.90


Knoppix 9.1 Desktop USB Live Portable Disc Disk GNU Linux Distro OS 64 Bit picture

Knoppix 9.1 Desktop USB Live Portable Disc Disk GNU Linux Distro OS 64 Bit

$17.95


Knoppix 9.1 Desktop DVD Live Portable Disc Disk GNU Linux Distro OS 64 Bit picture

Knoppix 9.1 Desktop DVD Live Portable Disc Disk GNU Linux Distro OS 64 Bit

$14.95


  • Печать

Страницы: [1]   Вниз

Тема: ничего не работает inputoutput error  (Прочитано 20285 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
dj—alex

Приехал с праздников,…
а на сервере нихрена не работает кроме www, ftp  ,sh
причем даже простые команды вроде dir i reboot  не выполняются по причине
вроде этой -bash: /usr/bin/mc: Input/output error

можете подсказать как можно перезагрузить эту машину, или выключить ее
автовключатель на ней стоит, просто физически доступа к машине нет до 11 января.

al@wow:~$ mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (111)
al@wow:~$ mc                                                                   
-bash: /usr/bin/mc: Input/output error
al@wow:~$                                                                     
al@wow:~$
al@wow:~$
al@wow:~$ apt-get
Bus error
al@wow:~$ top
‘xterm’: unknown terminal type.
al@wow:~$                                                                     
al@wow:~$ su
-bash: /bin/su: Input/output error
al@wow:~$ sudo                                                                 
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
            {-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file …
al@wow:~$ sudo atp                                                             
[sudo] password for al:
sudo: atp: command not found
al@wow:~$ sudo reboot                                                         
sudo: unable to execute /sbin/reboot: Input/output error
al@wow:~$ reboot                                                               
-bash: /sbin/reboot: Input/output error
al@wow:~$                                                                     
al@wow:~$ process
-bash: process: команда не найдена
al@wow:~$ dir
-bash: /bin/dir: Input/output error
al@wow:~$ cd ..                                                               
al@wow:/home$ dir                                                             
-bash: /bin/dir: Input/output error
al@wow:/home$ cat                                                             
^C
al@wow:/home$ cd ..                                                           
al@wow:/$ hardinfo                                                             
Программа ‘hardinfo’ на данный момент не установлена.  Вы можете установить ее, напечатав:
sudo apt-get install hardinfo
-bash: hardinfo: команда не найдена
al@wow:/$ sudo apt-get install hardinfo                                       
Bus error
al@wow:/$ sudo service mysql restart
sudo: unable to execute /usr/bin/service: Input/output error
al@wow:/$ telinit 5                                                           
Segmentation fault
al@wow:/$ sudo telinit 5                                                       
Segmentation fault


Оффлайн
maksvlad

как я понял, reboot не работает… а halt? может его пока не затронула зараза?

openSUSE 12.3 > openSUSE 13.1 > Ubuntu-minimal 14.04 x64 + KDE 4.14.2 > Gentoo + Plasma 5.8 @ Acer ASPIRE V3-571G-736b8G75BDCa
LinuxMint Mate @ Asus EEEPC 1000H


Оффлайн
dj—alex


Оффлайн
maksvlad

openSUSE 12.3 > openSUSE 13.1 > Ubuntu-minimal 14.04 x64 + KDE 4.14.2 > Gentoo + Plasma 5.8 @ Acer ASPIRE V3-571G-736b8G75BDCa
LinuxMint Mate @ Asus EEEPC 1000H


Оффлайн
dj—alex

echo 1 > /proc/sys/kernel/sysrq

после выполнения этой операции сервер все таки окончательно повис


Оффлайн
MA3X

скорее всего, при таких глю речь идет о помирающем винте.
новый год, перепады напряжения…
как ни абыдна, но только вскрытие покажет…

Microsoft isn’t the answer.
Microsoft is the question, and the answer is NO.


Оффлайн
dj—alex

недавно на сервер было вместо 3 линеек по 1гб памяти поставлено 8гб  памяти  (по 2гб линейки)
может памяти слишком много, может 6гб максимум?
разгон убрал который пожизненно стоит…

опять таже фигня начинается. скоро опять все упадет, а машина должна без перерывов работать!
уже половина сервисов отказала и часть команд не выполняется  и снова разумеется нет ключей от серверной и от сигнализации..

начинается не сразу, не запираться же там на весь день чтобы выяснитть.

пытаешься копировать  не читаються половина файлов
пытаешься работать —  ro file system, хотя полчаса назад все прекрасно редактировалось, и даже сейчас кое что.

на скрине все…
http://dj.chg.su/inside/filemgr.php?c=c8510d5679e376461f545a627d1fa6c7

вотчерез свой скрипт

server:127.0.0.1 type=mysql
debug:connect=Resource id #36
Обнаружена ошибка
6 — Error on delete of ‘./swdb//db.opt’ (Errcode: 30)

на дисках ntfs еще возможна работа…

« Последнее редактирование: 05 Января 2010, 15:39:33 от dj—alex »


Оффлайн
Mam(O)n

Похоже, что навернулась файловая система. fsck покажет. Заодно неплохо было бы проверить s.m.a.r.t., проверить на бедблоки и глянуть в лог на момент начала чудес.


Оффлайн
dj—alex

отключил один из хардов, редкоиспользуемых,  и перевел ddr2  из ganged v unganged
пока все работает,  уже cутки

« Последнее редактирование: 06 Января 2010, 13:00:15 от dj—alex »


  • Печать

Страницы: [1]   Вверх

 Input/Output Error : Bad Blocks — How to Reboot or shutdown the Linux server?  

Input/output error while running the command mostly due to it could be bad blocks on the disk. 

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 or tail -n 100 /var/log/syslog

tail -f /var/log/messages

#du

bash: /usr/bin/du: Input/output error

Now if try to reboot,it can also give the same output. You can try to init 6.

# reboot or init 6

bash: /sbin/reboot: Input/output error

# shutdown -r now

bash: /sbin/shutdown: Input/output error

If the above reboot commands don’t work try either forced reboot or shutdown

echo «number» >/proc/sys/kernel/sysrq

The number may be written here either as decimal or as hexadecimal with the 0x prefix. CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE must always be written in hexadecimal.

Note that the value of /proc/sys/kernel/sysrq influences only the invocation via a keyboard. Invocation of any operation via /proc/sysrq-trigger is always allowed (by a user with admin privileges).

0 — disable sysrq completely

1 — enable all functions of sysrq

Where  b Will immediately reboot the system without syncing or unmounting your disks.

              o Will shut your system off

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

Понравилась статья? Поделить с друзьями:
  • Sudo login системная ошибка
  • Strawberrybeard sea of thieves ошибка
  • Sudo apt get update временная ошибка при разрешении
  • Storwize 3700 ошибка 578
  • Sudo freshclam ошибка