System Probleme mit D8 nach Cron Installation?

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Transmitter
Beiträge: 262
Registriert: 21.01.2005 15:17:06

System Probleme mit D8 nach Cron Installation?

Beitrag von Transmitter » 06.08.2016 05:32:45

Hallo,

ich habe festgestellt, dass unter D8 crontab -e nicht funktioniert/installiert ist.

Also:

Code: Alles auswählen

#apt-get install systemd-cron //scheint soweit ok zu sein - lief ohne Probleme durch
#apt-get install cron
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light
Suggested packages:
  logrotate checksecurity mail-reader eximon4 exim4-doc-html exim4-doc-info spf-tools-perl swaks
Recommended packages:
  mailx
The following packages will be REMOVED:
  systemd-cron
The following NEW packages will be installed:
  bsd-mailx cron exim4 exim4-base exim4-config exim4-daemon-light
0 upgraded, 6 newly installed, 1 to remove and 17 not upgraded.
Need to get 2368 kB of archives.
After this operation, 4123 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org/ jessie/updates/main exim4-config all 4.84.2-2+deb8u1 [503 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main cron amd64 3.0pl1-127+deb8u1 [94.0 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main bsd-mailx amd64 8.1.2-0.20141216cvs-2 [81.7 kB]
Get:4 http://security.debian.org/ jessie/updates/main exim4-base amd64 4.84.2-2+deb8u1 [1049 kB]
Get:5 http://security.debian.org/ jessie/updates/main exim4-daemon-light amd64 4.84.2-2+deb8u1 [632 kB]
Get:6 http://security.debian.org/ jessie/updates/main exim4 all 4.84.2-2+deb8u1 [8544 B]                                                                                                                         
Fetched 2368 kB in 6s (366 kB/s)                                                                                                                                                                                 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "de_DE.UTF-8",
        LC_MONETARY = "de_DE.UTF-8",
        LC_ADDRESS = "zh_CN.UTF-8",
        LC_TELEPHONE = "zh_CN.UTF-8",
        LC_NAME = "zh_CN.UTF-8",
        LC_MEASUREMENT = "de_DE.UTF-8",
        LC_IDENTIFICATION = "zh_CN.UTF-8",
        LC_NUMERIC = "de_DE.UTF-8",
        LC_PAPER = "zh_CN.UTF-8",
        LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 28812 files and directories currently installed.)
Removing systemd-cron (1.3.1+ds1-2) ...
Failed to execute operation: Connection reset by peer
Failed to get D-Bus connection: No such file or directory
Failed to get D-Bus connection: No such file or directory
Processing triggers for man-db (2.7.0.2-5) ...
Selecting previously unselected package cron.
(Reading database ... 28786 files and directories currently installed.)
Preparing to unpack .../cron_3.0pl1-127+deb8u1_amd64.deb ...
Unpacking cron (3.0pl1-127+deb8u1) ...
Selecting previously unselected package exim4-config.
Preparing to unpack .../exim4-config_4.84.2-2+deb8u1_all.deb ...
Unpacking exim4-config (4.84.2-2+deb8u1) ...
Selecting previously unselected package exim4-base.
Preparing to unpack .../exim4-base_4.84.2-2+deb8u1_amd64.deb ...
Unpacking exim4-base (4.84.2-2+deb8u1) ...
Selecting previously unselected package exim4-daemon-light.
Preparing to unpack .../exim4-daemon-light_4.84.2-2+deb8u1_amd64.deb ...
Unpacking exim4-daemon-light (4.84.2-2+deb8u1) ...
Selecting previously unselected package bsd-mailx.
Preparing to unpack .../bsd-mailx_8.1.2-0.20141216cvs-2_amd64.deb ...
Unpacking bsd-mailx (8.1.2-0.20141216cvs-2) ...
Selecting previously unselected package exim4.
Preparing to unpack .../exim4_4.84.2-2+deb8u1_all.deb ...
Unpacking exim4 (4.84.2-2+deb8u1) ...
Processing triggers for systemd (215-17+deb8u4) ...
Failed to get D-Bus connection: No such file or directory
dpkg: error processing package systemd (--unpack):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Prima - crontab -e funktioniert jetzt - aber apt-get upgrade nicht mehr ...
Was lief denn da schief?

Danke schon mal

KP97
Beiträge: 3439
Registriert: 01.02.2013 15:07:36

Re: System Probleme mit D8 nach Cron Installation?

Beitrag von KP97 » 06.08.2016 18:30:29

Das steht doch in dem unteren Bereich des Logs.
Dein systemd ist schief, weil Du systemd-cron entfernt hast. Das ist der Nachfolger des alten cron, und wird von systemd als Abhängigkeit benötigt.
Manpages geben genauere Auskunft.

Transmitter
Beiträge: 262
Registriert: 21.01.2005 15:17:06

Re: System Probleme mit D8 nach Cron Installation?

Beitrag von Transmitter » 22.08.2016 07:01:30

Ok.
Wie kann ich das System wieder gerade biegen?
Hatte versucht systemd-cron wieder zu installieren aber da ist jetzt irgendwas wirklich schief und ich komme immer wieder auf diese Probleme.

DeletedUserReAsG

Re: System Probleme mit D8 nach Cron Installation?

Beitrag von DeletedUserReAsG » 22.08.2016 07:15:51

Ja, da ist noch was anderes kaputt:

Code: Alles auswählen

Failed to execute operation: Connection reset by peer
Failed to get D-Bus connection: No such file or directory
Die Frage ist, wie du das fabriziert hast. Ich würde erstmal update und -f install laufen lassen und weiterhin schauen, ob dbus und seine Komponenten korrekt installiert sind und ob der Service gestartet werden kann.

Wofür steht hier „D8“? Steht’s für Jessie, oder ist damit eine Software gemeint, die so heißt?

Transmitter
Beiträge: 262
Registriert: 21.01.2005 15:17:06

Re: System Probleme mit D8 nach Cron Installation?

Beitrag von Transmitter » 22.08.2016 09:55:10

Ich wusste nicht, dass systemd-cron der Nachfolger von cron ist. Hatte da wohl die falschen Infos online gefunden.
D8 = Debian 8

Habe jetzt neu gestartet, update, -f install, upgrade und alles lief problemlos durch. Evtl. war es nur ein fehlender Neustart ..!?

Antworten