해결 방법: 몇 시간 동안 그대로 두었는데 갑자기 다시 작동했습니다. 왜 그런지 모르겠어.
VMware Tools 디스크를 설치하고 제거한 후 문제가 발생했는데 하드 드라이브에 여전히 공간이 남아 있으므로 문제가 되지 않았습니다. 실행 apt-get update
(또는 파일 시스템 쓰기와 관련된 모든 apt 명령)하면 다음 오류가 반환됩니다.
Ign:1 http://ftp.se.debian.org/debian stretch InRelease
Bra:3 http://ftp.se.debian.org/debian stretch Release
Fel:4 http://ftp.se.debian.org/debian stretch Release.gpg
Couldn't create temporary file /tmp/apt.conf.e9QnPU for passing config to apt-key
Läs:2 http://ftp.se.debian.org/debian stretch-updates InRelease [88,5 kB]
Läs:5 http://security.debian.org/debian-security stretch/updates InRelease [62,9 kB]
Fel:2 http://ftp.se.debian.org/debian stretch-updates InRelease
Couldn't create temporary file /tmp/apt.conf.ybseOZ for passing config to apt-key
Fel:5 http://security.debian.org/debian-security stretch/updates InRelease
Couldn't create temporary file /tmp/apt.conf.1eqo60 for passing config to apt-key
Hämtade 151 kB på 0s (608 kB/s)
Läser paketlistor… Fel!
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.se.debian.org/debian stretch Release: Couldn't create temporary file /tmp/apt.conf.e9QnPU for passing config to apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.se.debian.org/debian stretch-updates InRelease: Couldn't create temporary file /tmp/apt.conf.ybseOZ for passing config to apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security stretch/updates InRelease: Couldn't create temporary file /tmp/apt.conf.1eqo60 for passing config to apt-key
W: Misslyckades med att hämta http://security.debian.org/debian-security/dists/stretch/updates/InRelease Couldn't create temporary file /tmp/apt.conf.1eqo60 for passing config to apt-key
W: Misslyckades med att hämta http://ftp.se.debian.org/debian/dists/stretch-updates/InRelease Couldn't create temporary file /tmp/apt.conf.ybseOZ for passing config to apt-key
W: Misslyckades med att hämta http://ftp.se.debian.org/debian/dists/stretch/Release.gpg Couldn't create temporary file /tmp/apt.conf.e9QnPU for passing config to apt-key
W: Vissa indexfiler kunde inte hämtas. De har ignorerats eller så har de gamla använts istället.
E: Couldn't create temporary file to work with /var/lib/apt/lists/ftp.se.debian.org_debian_dists_stretch_Release - mkstemp (30: Filsystemet endast läsbart)
E: Paketlistan eller statusfilen kunde inte tolkas eller öppnas.
실행을 시도했지만 e2fsck -f /dev/sda2
시스템이 이미 설치되어 있다는 오류가 반환되었습니다. 그래서 더 이상 성공하지 않고 읽기-쓰기로 마운트하려고 시도했습니다.
나는 이 문제에 대한 해결책이 데비안을 다시 설치하는 것이라고 생각했지만, 거기에는 웹 호스트와 MySQL 서버가 있고 모든 것을 잃어버리면 안타까운 일이 될 것입니다.
이 내 꺼야 kern.log
:
Aug 20 14:47:39 debian kernel: [49434.088879] UDF-fs: warning (device sr0): udf_fill_super: No partition found (2)
Aug 20 14:47:39 debian kernel: [49434.091270] ISO 9660 Extensions: RRIP_1991A
Aug 20 15:07:30 debian kernel: [50624.369853] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:08:06 debian kernel: [50661.286546] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:09:20 debian kernel: [50734.996517] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:10:39 debian kernel: [50813.404245] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Aug 20 15:11:34 debian kernel: [50868.840057] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
내 시스템 로그의 일부:
Aug 20 22:39:31 debian systemd[1]: phpsessionclean.service: Failed to run 'start' task: Read-only file system Aug 20 22:39:31 debian systemd[1]: Failed to start Clean php session files. Aug 20 22:39:31 debian systemd[1]: phpsessionclean.service: Failed with result 'resources'. Aug 20 22:40:01 debian CRON[22532]: (CRON) error (create tmpfile) Aug 20 22:40:01 debian CRON[22531]: (CRON) error (create tmpfile) Aug 20 22:41:01 debian CRON[22535]: (CRON) error (create tmpfile) Aug 20 22:41:01 debian CRON[22534]: (CRON) error (create tmpfile)