[[+content_image]]
P
P
pingo2019-01-08 23:53:34
System administration
pingo, 2019-01-08 23:53:34

Could it be a problem with the physical drive?

[[email protected] ~]# uptime
 20:36:47 up 111 days,  5:09,  1 user,  load average: 2.19, 1.51, 0.98
[[email protected] ~]# yum update
-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: Input/output error
[[email protected] ~]# uname -r
2.6.32-696.28.1.el6.x86_64

practically nothing works from the console. after entering the command, there is a delay of 5 seconds, then it gives this message => bad interpreter: Input / output error
apache is working, mysql is working,
where to dig, please direct

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
B
Boris Syomov, 2019-01-09
@pingo

The error message only shows that the python was threaded somewhere.
Theoretically, this may be due to a file system problem, and it can also be related to a physical disk problem. The dmesg command and the logs will be able to clear things up.
But if the matter is not in the disk, then you can restore the work of yum.
First you need to look for a snake =) :
If not found, download and unpack somewhere.
Well, link it (the first part is the path of the python found or installed manually):
And then reinstall it correctly, after "fixing" yum.

C
CityCat4, 2019-01-09
@CityCat4

Not only can there be a problem - there is a problem in it. If there is valuable data - urgently back up.
Then:
1. Remove smart and analyze it. If smart shows that a fur-bearing animal is sneaking up to the disk, put money into the budget to buy a new one.
2. (if smart is nothing) The disk to be checked by Victoria or MHDD - sometimes with their help you can reallocate or clean broken sectors and it seems that work is being restored. But for responsible data, I would not use it anymore.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question