LINUX.ORG.RU

getty@ttyX.service dead

 , ,


0

1

Ubuntu 16.04, после установки иксов, DM и DE — отвалились tty. Загрузка на уровень multi-user.target пробелму не решает, а только лишает вообще локального интерфейса (только ребут по Ctrl+Alt+Del). В upstart стартуют, и сидел бы там, но уже половина системы прибита гвоздями к systemd и без нее в лучшем случает срет ошибками, в худшем не рабоет.

getty@tty1.service                                                       loaded inactive   dead      start Getty on tty1
getty@tty2.service                                                       loaded inactive   dead      start Getty on tty2
getty@tty3.service                                                       loaded inactive   dead      start Getty on tty3
getty@tty4.service                                                       loaded inactive   dead      start Getty on tty4
getty@tty5.service                                                       loaded inactive   dead      start Getty on tty5
getty@tty6.service                                                       loaded inactive   dead      start Getty on tty6
$ systemctl status getty@tty1.service
● getty@tty1.service - Getty on tty1
   Loaded: loaded (/lib/systemd/system/getty@.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html

июл 11 08:53:51 server systemd[1]: Stopped Getty on tty1.
$ systemctl --failed
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'

При переходе по виртуальным tty в журнале такая бяка:

июл 11 09:12:54 server systemd-logind[3734]: Failed to start autovt@tty2.service: Unit autovt@tty2.service not found.
июл 11 09:12:55 server systemd-logind[3734]: Failed to start autovt@tty3.service: Unit autovt@tty3.service not found.
июл 11 09:12:56 server systemd-logind[3734]: Failed to start autovt@tty4.service: Unit autovt@tty4.service not found.
июл 11 09:12:57 server systemd-logind[3734]: Failed to start autovt@tty5.service: Unit autovt@tty5.service not found.
июл 11 09:12:58 server systemd-logind[3734]: Failed to start autovt@tty6.service: Unit autovt@tty6.service not found.

Рестарты, перезапуски и прочее банальное пинание ни чего интересного не дают. В журнале больше ни чего интересного нет.

В гугле меня забанили (реально, робота сломанного показывает), наяндексил какую то хрень без решения с такими же траблами http://forum.ubuntu.ru/index.php?topic=288253.0

Ни одного пакета с момента развертывания хоста не удалено, логи просмотрел раза три, только установка графики через tasksel. Разворачивался с образа server, пока графику не вкатил — проблем не было.

P.S. И с таким уровнем искоробочности они выкатили minimal-install-iso...

★★★★★

Последнее исправление: mandala (всего исправлений: 1)

все неактивные

$ systemctl --all --no-pager | grep inactive 
  proc-sys-fs-binfmt_misc.mount                                                                            loaded    inactive   dead            Arbitrary Executable File Formats File System
  sys-kernel-config.mount                                                                                  loaded    inactive   dead            Configuration File System
● tmp.mount                                                                                                not-found inactive   dead            tmp.mount
  systemd-ask-password-plymouth.path                                                                       loaded    inactive   dead            Forward Password Requests to Plymouth Directory Watch
  systemd-networkd-resolvconf-update.path                                                                  loaded    inactive   dead            Trigger resolvconf update for networkd DNS
  alsa-state.service                                                                                       loaded    inactive   dead            Manage Sound Card State (restore and store)
  anacron.service                                                                                          loaded    inactive   dead            Run anacron jobs
  apt-daily-upgrade.service                                                                                loaded    inactive   dead            Daily apt upgrade and clean activities
  apt-daily.service                                                                                        loaded    inactive   dead            Daily apt download activities
● auditd.service                                                                                           not-found inactive   dead            auditd.service
  brltty.service                                                                                           loaded    inactive   dead            Braille Device Support
● cloud-init-local.service                                                                                 not-found inactive   dead            cloud-init-local.service
● console-screen.service                                                                                   not-found inactive   dead            console-screen.service
  dm-event.service                                                                                         loaded    inactive   dead            Device-mapper event daemon
  emergency.service                                                                                        loaded    inactive   dead            Emergency Shell
● festival.service                                                                                         not-found inactive   dead            festival.service
  friendly-recovery.service                                                                                loaded    inactive   dead            Recovery mode menu
  getty-static.service                                                                                     loaded    inactive   dead            getty on tty2-tty6 if dbus and logind are not available
  getty@..service                                                                                          loaded    inactive   dead      start Getty on .
  getty@tty1.service                                                                                       loaded    inactive   dead      start Getty on tty1
  getty@tty2.service                                                                                       loaded    inactive   dead      start Getty on tty2
  getty@tty3.service                                                                                       loaded    inactive   dead      start Getty on tty3
  getty@tty4.service                                                                                       loaded    inactive   dead      start Getty on tty4
  getty@tty5.service                                                                                       loaded    inactive   dead      start Getty on tty5
  getty@tty6.service                                                                                       loaded    inactive   dead      start Getty on tty6
  getty@tty7.service                                                                                       loaded    inactive   dead            Getty on tty7
  gpu-manager.service                                                                                      loaded    inactive   dead            Detect the available GPUs and deal with any system changes
● kbd.service                                                                                              not-found inactive   dead            kbd.service
● lvm2-activation.service                                                                                  not-found inactive   dead            lvm2-activation.service
  lvm2-lvmpolld.service                                                                                    loaded    inactive   dead            LVM2 poll daemon
● lxc.service                                                                                              not-found inactive   dead            lxc.service
  lxd-bridge.service                                                                                       loaded    inactive   dead            LXD - network bridge
  lxd.service                                                                                              loaded    inactive   dead            LXD - main daemon
  open-vm-tools.service                                                                                    loaded    inactive   dead            Service for virtual machines hosted on VMware
● openvswitch-switch.service                                                                               not-found inactive   dead            openvswitch-switch.service
  plymouth-quit-wait.service                                                                               loaded    inactive   dead      start Hold until boot process finishes up
  plymouth-quit.service                                                                                    loaded    inactive   dead            Terminate Plymouth Boot Screen
                                                  
mandala ★★★★★
() автор топика
Ответ на: все неактивные от mandala
  plymouth-read-write.service                                                                              loaded    inactive   dead            Tell Plymouth To Write Out Runtime Data
  plymouth-start.service                                                                                   loaded    inactive   dead            Show Plymouth Boot Screen
  pppd-dns.service                                                                                         loaded    inactive   dead            Restore /etc/resolv.conf if the system crashed before the ppp link was shut down
  rescue.service                                                                                           loaded    inactive   dead            Rescue Shell
  setvtrgb.service                                                                                         loaded    inactive   dead      start Set console scheme
  snapd.autoimport.service                                                                                 loaded    inactive   dead            Auto import assertions from block devices
  snapd.core-fixup.service                                                                                 loaded    inactive   dead            Automatically repair incorrect owner/permissions on core devices
  snapd.snap-repair.service                                                                                loaded    inactive   dead            Automatically fetch and run repair assertions
  systemd-ask-password-console.service                                                                     loaded    inactive   dead            Dispatch Password Requests to Console
  systemd-ask-password-plymouth.service                                                                    loaded    inactive   dead            Forward Password Requests to Plymouth
  systemd-ask-password-wall.service                                                                        loaded    inactive   dead            Forward Password Requests to Wall
  systemd-binfmt.service                                                                                   loaded    inactive   dead            Set Up Additional Binary Formats
  systemd-fsck-root.service                                                                                loaded    inactive   dead            File System Check on Root Device
  systemd-fsckd.service                                                                                    loaded    inactive   dead            File System Check Daemon to report status
  systemd-hwdb-update.service                                                                              loaded    inactive   dead            Rebuild Hardware Database
  systemd-initctl.service                                                                                  loaded    inactive   dead            /dev/initctl Compatibility Daemon
  systemd-machine-id-commit.service                                                                        loaded    inactive   dead            Commit a transient machine-id on disk
  systemd-networkd-resolvconf-update.service                                                               loaded    inactive   dead            Update resolvconf for networkd DNS
  systemd-rfkill.service                                                                                   loaded    inactive   dead            Load/Save RF Kill Switch Status
● systemd-sysusers.service                                                                                 not-found inactive   dead            systemd-sysusers.service
  systemd-timesyncd.service                                                                                loaded    inactive   dead            Network Time Synchronization
  systemd-tmpfiles-clean.service                                                                           loaded    inactive   dead            Cleanup of Temporary Directories
● systemd-update-done.service                                                                              not-found inactive   dead            systemd-update-done.service
  systemd-update-utmp-runlevel.service                                                                     loaded    inactive   dead      start Update UTMP about System Runlevel Changes
● systemd-vconsole-setup.service                                                                           not-found inactive   dead            systemd-vconsole-setup.service
  ureadahead-stop.service                                                                                  loaded    inactive   dead            Stop ureadahead data collection
  ureadahead.service                                                                                       loaded    inactive   dead            Read required files in advance
  uuidd.service                                                                                            loaded    inactive   dead            Daemon for generating UUIDs
  vgauth.service                                                                                           loaded    inactive   dead            Authentication service for virtual machines hosted on VMware
  apport-forward.socket                                                                                    loaded    inactive   dead            Unix socket for apport crash forwarding
  systemd-fsckd.socket                                                                                     loaded    inactive   dead            fsck to fsckd communication Socket
  emergency.target                                                                                         loaded    inactive   dead            Emergency Mode
  getty.target                                                                                             loaded    inactive   dead      start Login Prompts
  graphical.target                                                                                         loaded    inactive   dead      start Graphical Interface
  multi-user.target                                                                                        loaded    inactive   dead      start Multi-User System
  rescue.target                                                                                            loaded    inactive   dead            Rescue Mode
  shutdown.target                                                                                          loaded    inactive   dead            Shutdown
  umount.target                                                                                            loaded    inactive   dead            Unmount All Filesystems
● snapd.refresh.timer                                                                                      not-found inactive   dead            snapd.refresh.timer
  snapd.snap-repair.timer                                                                                  loaded    inactive   dead            Timer to automatically fetch and run repair assertions
  ureadahead-stop.timer          
mandala ★★★★★
() автор топика
Ответ на: все неактивные от mandala
$ systemctl status getty-static.service
● getty-static.service - getty on tty2-tty6 if dbus and logind are not available
   Loaded: loaded (/lib/systemd/system/getty-static.service; static; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Ср 2018-07-11 09:51:24 MSK; 50s ago
$ systemctl status getty@..service
● getty@..service - Getty on .
   Loaded: loaded (/lib/systemd/system/getty@.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html

июл 11 08:59:30 server systemd[1]: Stopped Getty on ..
июл 11 09:49:38 server systemd[1]: Stopped Getty on ..
июл 11 09:50:07 server systemd[1]: Stopped Getty on ..
mandala ★★★★★
() автор топика
Ответ на: комментарий от mandala
not-found inactive   dead  

А вот эта хрень откуда вылезла?

mandala ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.