Ubuntu 14.04.2 컴퓨터가 갑자기 여러 가지 심각한 오류를 표시하기 시작했습니다.
Ruby on Rails 앱을 작업 할 때 시작되어 잠시 동안 그대로두고 와서 서버를 다시 시작하려고했습니다 rails s. 이에 대한 응답으로이 오류가 발생했습니다.
Rails Error: Unable to access log file. Please ensure that /home/user/app/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
나는 실행하려고 chmod 0666 /home/user/app/log/development.log처럼 다음 다양한 chmod를 명령하고 chmod 0664와 chmod 777. 내가 돌아올 때마다 :
chmod: changing permissions of ‘/home/user/app/log/development.log’: Read-only file system
다른 Rails 앱을 사용해 보았을 때 동일한 오류가 발생했습니다. 그런 다음 Komodo IDE로 작업하고있는 파일을 저장하려고 시도했지만 종료했지만 Komodo는 파일이 읽기 전용이며 저장할 수 없다고 말했습니다.
그런 다음 Skype가 자체적으로 로그 아웃되었음을 확인한 후 다시 로그인하려고 할 때 이미 로그인했다는 메시지가 표시됩니다.
그래서 컴퓨터를 다시 시작했습니다. 로그인 화면에 다음과 같은 오류 메시지가 나타납니다.Errors were found when searching directory /. Press f to fix, I to ignore, and M to run a manual reboot.
무시하고 로그인하도록 눌렀습니다. 이제 Skype 또는 Komodo를 전혀 열 수 없습니다. 아이콘을 클릭하면 열려는 것처럼 몇 번 깜박이지만 깜박임을 멈추고 아무 일도 일어나지 않습니다.
또한 rails s더 이상 오류를 반환하지 않고 문자 그대로 터미널 창을 닫습니다.
내가 실행 mount하면 터미널이 닫히는 시간의 절반 과이 메시지가 나오는 시간의 절반이 실행 됩니다.
$ mount
/dev/sda2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sda1 on /boot/efi type vfat (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=greg)
mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
또한 모든 파일에 자물쇠 아이콘이 있음을 알았습니다. 나는 이것이 내 모든 파일이 읽기 전용임을 의미한다고 가정합니다.
다음의 출력 :
sudo smartctl --all --tolerance=verypermissive /dev/sda
할 수있다 여기
무슨 일이야?