I recently noticed a couple of error messages from CPANEL CRON
When I looked into /usr/local/ i find two corrupted directories (bin and apache).
The site seems to be otherwise working, although I'm having trouble keeping rsyslogd up and running (perhaps related)?
Anyone with any idea how the directories got corrupted and how to repair/replace them?
Thanks in advance.
Code:
Cron <[email protected]> /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
stat(/usr/local/bin/psql): Input/output error
stat(/usr/local/bin/postmaster): Input/output error
Code:
[[email protected] usr]# cd local
[[email protected] local]# ls -la
ls: cannot access bin: Input/output error
ls: cannot access apache: Input/output error
total 56
drwxr-xr-x 16 root root 4096 Jun 18 00:40 .
drwxr-xr-x 13 root root 4096 Apr 1 22:07 ..
d????????? ? ? ? ? ? apache
d????????? ? ? ? ? ? bin
drwx--x--x 39 root wheel 4096 Jul 3 00:41 cpanel
drw------- 6 root root 4096 Jun 30 2020 csf
drwxr-xr-x 2 root root 4096 Nov 5 2016 etc
drwxr-xr-x 2 root root 4096 Nov 5 2016 games
drwxr-xr-x 7 root root 4096 Jun 30 2020 include
drwxr-xr-x 3 root root 4096 Jun 30 2020 lib
drwxr-xr-x 3 root root 4096 Jun 30 2020 lib64
drwxr-xr-x 2 root root 4096 Nov 5 2016 libexec
drwxr-xr-x 3 root root 4096 Jun 30 2020 man
drwxr-xr-x 2 root root 4096 Jun 30 2020 sbin
drwxr-xr-x 7 root root 4096 Jun 30 2020 share
drwxr-xr-x 2 root root 4096 Nov 5 2016 src
Anyone with any idea how the directories got corrupted and how to repair/replace them?
Thanks in advance.
Last edited by a moderator: