[solved] update error

vikozo

Member
nach dem mein Server nicht mehr sauber bootet wollte ich noch ein update durchführen und bekomme error

# apt update

OK:1 http://security.debian.org stretch/updates InRelease
OK:2 http://packages.icinga.com/debian icinga-stretch InRelease
Fehl:1 http://security.debian.org stretch/updates InRelease
Couldn't create temporary file /tmp/apt.conf.2uHaId for passing config to apt-key
Fehl:2 http://packages.icinga.com/debian icinga-stretch InRelease
Couldn't create temporary file /tmp/apt.conf.7LKTDd for passing config to apt-key
OK:3 http://ftp.debian.org/debian stretch-backports InRelease
Fehl:3 http://ftp.debian.org/debian stretch-backports InRelease
Couldn't create temporary file /tmp/apt.conf.oxUedj for passing config to apt-key
Ign:4 http://ftp.us.debian.org/debian stretch InRelease
OK:5 http://ftp.us.debian.org/debian stretch Release
Fehl:6 http://ftp.us.debian.org/debian stretch Release.gpg
Couldn't create temporary file /tmp/apt.conf.1eG4dD for passing config to apt-key
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Alle Pakete sind aktuell.
W: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Das Dateisystem ist nur lesbar)
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Das Dateisystem ist nur lesbar)
W: Es wird keine Sperre für schreibgeschützte Sperrdatei /var/lib/apt/lists/lock verwendet.
 

vikozo

Member
auch hier ein fehler
# ispconfig_update.sh
cp: reguläre Datei '/usr/local/ispconfig/server/scripts/ispconfig_update.sh.exec' kann nicht angelegt werden: Das Dateisystem ist nur lesbar
chmod: Zugriff auf '/usr/local/ispconfig/server/scripts/ispconfig_update.sh.exec' nicht möglich: Datei oder Verzeichnis nicht gefunden
/usr/local/bin/ispconfig_update.sh: Zeile 23: /usr/local/ispconfig/server/scripts/ispconfig_update.sh.exec: Datei oder Verzeichnis nicht gefunden
 

Till

Administrator
Das Dateisystem is nur lesbar eingehängt worden nach dem Boot Fehler. Entweder nochmal rebooten und sehen ob es jetzt geht oder dateisystem checken, reparieren und RW mounten.
 

vikozo

Member
Hallo Till

danke für dein feedback

# journalctl -p 4
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: certbot.service: Failed to run 'start' task: Read-only file

Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: Failed to start Certbot.
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: certbot.service: Failed with result 'resources'.
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: phpsessionclean.service: Failed to run 'start' task: Read-only

file system
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: Failed to start Clean php session files.
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: phpsessionclean.service: Failed with result 'resources'.
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: dovecot.service: Failed to run 'start' task: Read-only file

system
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
Sep 18 04:33:37 memoryalpha.kozo.ch systemd[1]: dovecot.service: Failed with result 'resources'.
Sep 18 04:33:38 memoryalpha.kozo.ch systemd[574]: mariadb.service: Failed at step NAMESPACE spawning

/usr/bin/install: Read-only file system
Sep 18 04:33:38 memoryalpha.kozo.ch liblogging-stdlog[515]: unknown facility name "apache2" [v8.24.0]
Sep 18 04:33:38 memoryalpha.kozo.ch liblogging-stdlog[515]: module 'imuxsock' already in this config, cannot be

added [v8.24.0 try http://www.rsys
Sep 18 04:33:38 memoryalpha.kozo.ch liblogging-stdlog[515]: module 'imklog' already in this config, cannot be

added [v8.24.0 try http://www.rsyslo
Sep 18 04:33:38 memoryalpha.kozo.ch liblogging-stdlog[515]: cannot create '/var/spool/postfix/dev/log': Address

already in use [v8.24.0]
Sep 18 04:33:38 memoryalpha.kozo.ch liblogging-stdlog[515]: Could not open output pipe '/dev/xconsole':: No
 

vikozo

Member
Hallo @Till
weshalb die Zeile 9 und 11 ein # ist mir unklar, aber das file kann ich nur schreibgeschütz öffnen, also nicht wieder entfernen

1 # /etc/fstab: static file system information.
2 #
3 # Use 'blkid' to print the universally unique identifier for a
4 # device; this may be used with UUID= as a more robust way to name devices
5 # that works even if disks are added and removed. See fstab(5).
6 #
7 # <file system> <mount point> <type> <options> <dump> <pass>
8 # / was on /dev/sda1 during installation
9 # UUID=3b03f8cf-be32-4483-9595-6df03f55dd88 / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1
10 # swap was on /dev/sda5 during installation
11 # UUID=bc193d07-692d-4210-a7bb-e23039a5bb93 none swap sw 0 0
12 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
13 /var/log/ispconfig/httpd/kozo.ch /var/www/clients/client2/web2/log none bind,nobootwait 0 0
 

Till

Administrator
Prüfe das root filesystem und dann remounte es im lese und schreib Modus mit dem Mount befehl. Änderungen in der fstab sind nicht notwendig und auch nicht möglich derzeit. Dass Dienste nicht gehen ist klar, das Dateisystem ist ja read-only.
 

vikozo

Member
@Till
Danke, das hab ich gemacht

mount -o remount,rw /
vi /etc/fstab

bei der Zeile 9 und 11 das # entfernt
rebootet, das hat geklappt. nochmals Vielen Dank
 

Werbung

Top