Siduction Forum
Siduction Forum => Software - Support => Topic started by: harley-peter on 2014/04/20, 10:52:13
-
Hallo,
nachdem ich mein altes Laptop auf systemd umgestellt habe bekomme ich während des boot-Vorgangs jede Menge Fehlermeldungen (siehe Anhang). Nicht dass mich das jetzt groß beunruhigen würde denn das System startet ganz normal aber vielleicht sollte man ja doch das eine oder andere genauer betrachten bzw. gerade biegen. Könnte da einer der Experten vielleicht mal ein geschultes Auge drauf werfen? Danke!
Gruß
Peter
-
Hi Peter,
so als erster Schnellschuß, die Fehlermeldungen zu ntpdate könnten evtl. davon kommen das der ntpdate vor dem Netzwerk gestartet wird, was dann natürlich so nicht funktioniert.
Zeig mal den Output vom Kommenado "systemctl --failed".
-
Hhm ... da kommt nicht viel:
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
-
Du kannst nptdate getrost deinstallieren, es ist nur nützlich bei Geräten, die selten am Netz sind. Bei mir startete das auch zu früh und verusachte einen langen Hänger beim Boot. Seit das weg ist, startet das Notebook in unter 4 Sekunden.
greetz
devil
-
Hi Peter,
die ntpdate Fehler habe ich auch, das kommt vermutlich davon das in SID das ntpdate/ntp Paket noch keine systemd-service-files hat. Ich habe dazu manuell ein korrektes ntpdate.service erstellt, aber die Fehler bleiben. Das Problem ist das ntpdate seine Abfragen machen will bevor das Netzwerk da ist (obwohl das Abhängigkeit im ntpdate.service File hinterlegt ist).
-
Kann ich dann ntp auch deinstallieren oder benötige ich das Paket um meine Systemuhr zu synchronisieren?
-
nimm ntpdate wech und ntp anstatt - ntp hatte mal gravierende Probleme, ntpdate nicht - das hat sich wohl geändert :)
-
Danke für den Tip. Habe ntpdate deinstalliert und die alte Kiste ist schon ein wenig schneller aber bei der ewig langen Liste der udev-event Fehlermeldungen hängt das Gerät auch noch eine ganze Weile. Kann man das auch noch eliminieren?
-
aber ja - beseitige die Gründe für die Meldungen :D
-
Hey da wäre ich nie drauf gekommen dass das helfen könnte. :) Wenn du mir jetzt noch verrätst wie dann wäre ich ein Stück weiter. ;)
-
Zeig uns doch mal die Ausgabe von
systemd-analyze blame
greetz
devil
-
Hi Peter,
kann es sein das auf dem Laptop noch hal installiert ist, der müsste doch mittlerweile obsolet sein. Bei mir ist keiner mehr installiert. Daher müssten dann auch die Fehlermeldungen kommen (siehe unten).
[...]
Apr 20 10:23:04 laptop systemd-udevd[321]: failed to execute '/lib/udev/socket:@/org/freedesktop/hal/udev_event'
'socket:@/org/freedesktop/hal/udev_event': No such file or directory
[...]
Was meinen die anderen hier, hal deinstallieren?
-
@bluelupo:
Ja, hal ist bei mir noch installiert.
@devil:
root@laptop:/home/peter# systemd-analyze blame
19.734s mysql.service
15.358s accounts-daemon.service
12.927s apache2.service
9.919s clamav-freshclam.service
8.147s bootlogs.service
5.447s bluetooth.service
5.237s systemd-logind.service
4.437s loadcpufreq.service
4.369s systemd-fsck-root.service
4.316s lvm2-activation-early.service
3.349s keyboard-setup.service
3.319s virtualbox.service
2.899s rsyslog.service
2.694s systemd-udev-settle.service
2.249s lm-sensors.service
2.017s gpm.service
2.001s dev-hugepages.mount
1.980s dev-mqueue.mount
1.956s console-kit-log-system-start.service
1.933s sys-kernel-debug.mount
1.754s cron.service
1.363s nfs-common.service
1.349s networking.service
1.183s systemd-modules-load.service
1.165s rpcbind.service
1.165s lirc.service
1.081s udisks2.service
1.011s lvm2-activation.service
965ms systemd-sysctl.service
919ms systemd-fsck@dev-disk-by\x2duuid-aac63013\x2d4971\x2d4d61\x2dbf73\x2d0ff8d22c3b6b.service
913ms resolvconf.service
833ms virtualbox-guest-x11.service
817ms sys-fs-fuse-connections.mount
772ms systemd-udevd.service
752ms kbd.service
714ms lightdm.service
673ms saned.service
598ms console-setup.service
587ms systemd-udev-trigger.service
570ms systemd-tmpfiles-setup-dev.service
511ms media-disk1part2.mount
473ms ifplugd.service
472ms systemd-user-sessions.service
429ms polkitd.service
421ms media-disk1part1.mount
416ms dns-clean.service
410ms console-kit-daemon.service
384ms cpufrequtils.service
336ms alsa-restore.service
289ms virtualbox-guest-utils.service
283ms systemd-journal-flush.service
275ms dev-disk-by\x2duuid-beb7f6a8\x2df19b\x2d47e7\x2d81ff\x2de3c2753d8d25.swap
266ms irqbalance.service
256ms motd.service
249ms systemd-tmpfiles-setup.service
184ms systemd-remount-fs.service
174ms keymap.service
105ms systemd-update-utmp-runlevel.service
83ms rc-local.service
75ms home.mount
64ms pppd-dns.service
28ms ntp.service
22ms gdm.service
15ms systemd-random-seed-load.service
10ms run-user.mount
9ms run-lock.mount
7ms systemd-tmpfiles-clean.service
Was mir gerade auffällt: ich habe keinen LVM da könnte ich doch den entprechenden service (z. B. lvm2-activation-early.service) ausschalten oder?
-
Ich halte das immer so: Was ich definitiv nicht brauche, fliegt raus - bei mir sind das
apt-get purge lvm2 mdadm hal
hal muss natürlich weg, du könntest auch noch die btrfs, reiser und xfs-pakete entsorgen, falls du nichts damit in Benutzung hast.
-
Hi Peter,
von mysql sind auch einige Fehlermeldungen im Logfile. Du hast vermutlich einen MySQL-Server installiert?
Was sagt denn "dpkg-l | grep -i mysql"?
Apr 20 10:23:31 laptop mysqld[2496]: 140420 10:23:31 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
Apr 20 10:23:31 laptop mysqld[2496]: 140420 10:23:31 [ERROR] An old style --language value with language specific part detected: /usr/share/mysql/german/
Apr 20 10:23:31 laptop mysqld[2496]: 140420 10:23:31 [ERROR] Use --lc-messages-dir without language specific part instead.
Apr 20 10:23:31 laptop mysqld[2496]: 140420 10:23:31 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:31 [Note] Plugin 'FEDERATED' is disabled.
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:32 InnoDB: The InnoDB memory heap is disabled
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:32 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:32 InnoDB: Compressed tables use zlib 1.2.8
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:32 InnoDB: Using Linux native AIO
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:32 InnoDB: Initializing buffer pool, size = 128.0M
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:32 InnoDB: Completed initialization of buffer pool
Apr 20 10:23:32 laptop mysqld[2496]: 140420 10:23:32 InnoDB: highest supported file format is Barracuda.
Apr 20 10:23:35 laptop mysqld[2496]: 140420 10:23:35 InnoDB: Waiting for the background threads to start
Apr 20 10:23:33 laptop mysqld[2496]: 140420 10:23:33 InnoDB: 5.5.35 started; log sequence number 1598111
Apr 20 10:23:33 laptop mysqld[2496]: 140420 10:23:33 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
Apr 20 10:23:33 laptop mysqld[2496]: 140420 10:23:33 [Note] - '127.0.0.1' resolves to '127.0.0.1';
Apr 20 10:23:33 laptop mysqld[2496]: 140420 10:23:33 [Note] Server socket created on IP: '127.0.0.1'.
Apr 20 10:23:34 laptop mysqld[2496]: 140420 10:23:34 [Note] Event Scheduler: Loaded 0 events
Apr 20 10:23:34 laptop mysqld[2496]: 140420 10:23:34 [Note] /usr/sbin/mysqld: bereit für Verbindungen.
Apr 20 10:23:34 laptop mysqld[2496]: Version: '5.5.35-2' Socket: '/var/run/mysqld/mysqld.sock' Port: 3306 (Debian)
-
Na so langsam wird das doch. Die Liste der boot-Fehlermeldungen ist merklich kürzer geworden:
-- Logs begin at Fr 2014-04-11 20:08:02 CEST, end at Mo 2014-04-21 18:45:32 CEST. --
Apr 21 18:43:08 laptop kernel: ..MP-BIOS bug: 8254 timer not connected to IO-APIC
Apr 21 18:43:08 laptop kernel: ata1: softreset failed (device not ready)
Apr 21 18:43:11 laptop systemd-udevd[434]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/pci0000:00/0000:00:13.5/usb6/6-6 6 3': No such file or directory
Apr 21 18:43:11 laptop systemd-udevd[439]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/pci0000:00/0000:00:13.1/usb2/2-2 2 3': No such file or directory
Apr 21 18:43:11 laptop systemd-udevd[436]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/pci0000:00/0000:00:13.5/usb6/6-8 6 5': No such file or directory
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:33 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:33 [ERROR] An old style --language value with language specific part detected: /usr/share/mysql/german/
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:33 [ERROR] Use --lc-messages-dir without language specific part instead.
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 [Note] Plugin 'FEDERATED' is disabled.
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 InnoDB: The InnoDB memory heap is disabled
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 InnoDB: Compressed tables use zlib 1.2.8
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 InnoDB: Using Linux native AIO
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 InnoDB: Initializing buffer pool, size = 128.0M
Apr 21 18:43:34 laptop mysqld[1679]: 140421 18:43:34 InnoDB: Completed initialization of buffer pool
Apr 21 18:43:35 laptop mysqld[1679]: 140421 18:43:35 InnoDB: highest supported file format is Barracuda.
Apr 21 18:43:36 laptop mysqld[1679]: 140421 18:43:36 InnoDB: Waiting for the background threads to start
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 0.de.pool.ntp.org
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 1.de.pool.ntp.org
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 2.de.pool.ntp.org
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 3.de.pool.ntp.org
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 0.debian.pool.ntp.org
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 1.debian.pool.ntp.org
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 2.debian.pool.ntp.org
Apr 21 18:43:36 laptop ntpd_intres[1697]: host name not found: 3.debian.pool.ntp.org
Apr 21 18:43:37 laptop mysqld[1679]: 140421 18:43:37 InnoDB: 5.5.35 started; log sequence number 1598111
Apr 21 18:43:37 laptop mysqld[1679]: 140421 18:43:37 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
Apr 21 18:43:37 laptop mysqld[1679]: 140421 18:43:37 [Note] - '127.0.0.1' resolves to '127.0.0.1';
Apr 21 18:43:37 laptop mysqld[1679]: 140421 18:43:37 [Note] Server socket created on IP: '127.0.0.1'.
Apr 21 18:43:37 laptop mysqld[1679]: 140421 18:43:37 [Note] Event Scheduler: Loaded 0 events
Apr 21 18:43:37 laptop mysqld[1679]: 140421 18:43:37 [Note] /usr/sbin/mysqld: bereit für Verbindungen.
Apr 21 18:43:37 laptop mysqld[1679]: Version: '5.5.35-2' Socket: '/var/run/mysqld/mysqld.sock' Port: 3306 (Debian)
Apr 21 18:44:13 laptop hp-systray[2373]: hp-systray[2373]: error: option -s not recognized
Apr 21 18:45:26 laptop su[2930]: pam_authenticate: Authentication failure
@melmarker:
gibt es für btrfs, reiser und xfs eigene Pakete? Habe mit apt-cache search nichts dergleichen gefunden.
Auch ich entsorge gerne unnötiges Zeug das ich eh nicht benutze aber da ich nicht der große Experte bin bleibe ich da eher etwas vorsichtig. :)
@bluelupo:
ja ich habe für meine Web-Entwicklungen einen mysql-Server laufen.
root@laptop:/home/peter# dpkg -l | grep -i mysql
ii libdbd-mysql-perl 4.027-1 amd64 Perl5 database interface to the MySQL database
ii libmysqlclient16 5.1.62-1 amd64 MySQL database client library
ii libmysqlclient18:amd64 5.5.35+dfsg-2 amd64 MySQL database client library
ii mysql-client-5.5 5.5.35+dfsg-2 amd64 MySQL database client binaries
ii mysql-common 5.5.35+dfsg-2 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.35+dfsg-2 all MySQL database server (metapackage depending on the latest version)
rc mysql-server-5.1 5.1.62-1 amd64 MySQL database server binaries and system database setup
ii mysql-server-5.5 5.5.35+dfsg-2 amd64 MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.35+dfsg-2 amd64 MySQL database server binaries
ii php5-mysqlnd 5.5.11+dfsg-2 amd64 MySQL module for php5 (Native Driver)
ii phpmyadmin 4:4.1.12-2 all MySQL web administration tool
-
Die Meldungen zu "systemd-udevd[434]: failed to execute '/lib/udev/mtp-probe" hatte ich bei mir auch, die ließen sich durch Nachinstallation von libmtp-runtime beseitigen.
Für die "nicht benötigten Pakete" könntest Du es z.B. mit
apt-get purge btrfs-tools mdadm reiserfsprogs xfsprogs
versuchen (check das nochmal für Deine Anforderungen). Zur Suche nach sowas würde ich statt apt-cache search nach installierten Paketen mit z.B. "dpkg -l | grep -i $suchbegriff" gucken.
-
@der_bud:
Danke für den Tip. Mit der Nachinstallation des Pakets und dem Tilgen weiterer unnötiger Pakete ist die Fehlerliste nochmals geschrumpft und umfaßt in der Masse noch mysql-Meldungen und wenn ich die so anschaue dann muss ich mal suchen wo ich die Dinge für InnoDB ausschalten kann denn das brauche ich nicht. Für den Rest habe ich noch keine Ideen.
-- Logs begin at Fr 2014-04-11 20:08:02 CEST, end at Mo 2014-04-21 20:12:13 CEST. --
Apr 21 20:08:47 laptop kernel: ..MP-BIOS bug: 8254 timer not connected to IO-APIC
Apr 21 20:08:47 laptop kernel: ata1: softreset failed (device not ready)
Apr 21 20:09:13 laptop mysqld[1650]: 140421 20:09:13 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
Apr 21 20:09:13 laptop mysqld[1650]: 140421 20:09:13 [ERROR] An old style --language value with language specific part detected: /usr/share/mysql/german/
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:13 [ERROR] Use --lc-messages-dir without language specific part instead.
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:13 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:13 [Note] Plugin 'FEDERATED' is disabled.
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: The InnoDB memory heap is disabled
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Compressed tables use zlib 1.2.8
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Using Linux native AIO
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Initializing buffer pool, size = 128.0M
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Completed initialization of buffer pool
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: highest supported file format is Barracuda.
Apr 21 20:09:15 laptop mysqld[1650]: 140421 20:09:15 InnoDB: Waiting for the background threads to start
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 InnoDB: 5.5.35 started; log sequence number 1598111
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 [Note] - '127.0.0.1' resolves to '127.0.0.1';
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 [Note] Server socket created on IP: '127.0.0.1'.
Apr 21 20:09:17 laptop mysqld[1650]: 140421 20:09:17 [Note] Event Scheduler: Loaded 0 events
Apr 21 20:09:17 laptop mysqld[1650]: 140421 20:09:17 [Note] /usr/sbin/mysqld: bereit für Verbindungen.
Apr 21 20:09:17 laptop mysqld[1650]: Version: '5.5.35-2' Socket: '/var/run/mysqld/mysqld.sock' Port: 3306 (Debian)
Apr 21 20:09:51 laptop hp-systray[2344]: hp-systray[2344]: error: option -s not recognized
-
Hi Peter,
bei dem hp-systray wird eine Option (-s) verwendet die so nicht mehr funktioniert bzw. gültig ist.
Apr 21 20:09:51 laptop hp-systray[2344]: hp-systray[2344]: error: option -s not recognized
-
Hallo Michael,
das habe ich auch gesehen aber ich habe noch keine Möglichkeit gefunden wie ich das abstellen kann.
-
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:13 [Note] Plugin 'FEDERATED' is disabled.
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: The InnoDB memory heap is disabled
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Mutexes and rw_locks use GCC atomic builtins
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Compressed tables use zlib 1.2.8
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Using Linux native AIO
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Initializing buffer pool, size = 128.0M
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: Completed initialization of buffer pool
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:14 InnoDB: highest supported file format is Barracuda.
Apr 21 20:09:15 laptop mysqld[1650]: 140421 20:09:15 InnoDB: Waiting for the background threads to start
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 InnoDB: 5.5.35 started; log sequence number 1598111
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 [Note] - '127.0.0.1' resolves to '127.0.0.1';
Apr 21 20:09:16 laptop mysqld[1650]: 140421 20:09:16 [Note] Server socket created on IP: '127.0.0.1'.
Apr 21 20:09:17 laptop mysqld[1650]: 140421 20:09:17 [Note] Event Scheduler: Loaded 0 events
Apr 21 20:09:17 laptop mysqld[1650]: 140421 20:09:17 [Note] /usr/sbin/mysqld: bereit für Verbindungen.
Apr 21 20:09:17 laptop mysqld[1650]: Version: '5.5.35-2' Socket: '/var/run/mysqld/mysqld.sock' Port: 3306 (Debian)
Apr 21 20:09:51 laptop hp-systray[2344]: hp-systray[2344]: error: option -s not recognized
Für die Notes - veringere das debug-level und unterdrücke Notes - wenn gewünscht
Apr 21 20:09:13 laptop mysqld[1650]: 140421 20:09:13 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
Apr 21 20:09:13 laptop mysqld[1650]: 140421 20:09:13 [ERROR] An old style --language value with language specific part detected: /usr/share/mysql/german/
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:13 [ERROR] Use --lc-messages-dir without language specific part instead.
Apr 21 20:09:14 laptop mysqld[1650]: 140421 20:09:13 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
Fix die my.cfg - is dokumentiert, eventuell ist eine Fehlermeldung an debian angebracht
-
@melmarker:
Kannst du mir bitte noch sagen wo das Fixing der my.cnf dokumentiert ist? Eine Suche mit Dr. Google war nicht sonderlich aufschlussreich. Danke!