Здравствуйте Гость [ Вход | Регистрация ] | Форум в сети 5018-й день

 Не могу зайти в систему ubuntu 18.04 после чистки старых ядер

mstdmstd
Aug 3 2019, 12:35
  
Пост #1



Репутация:   1  
Активист
*

Группа: Пользователи
Сообщений: 209
С нами с: 13-January 16


Привет
Чистил старые ядра ubuntu 18.04 и после перезагрузки виснет экран
В логах смотрел но ничего не нашелhttps://www.tvnet.if.ua/internet-dlya-domu/
войдя в рекавери моуд получаю ошибку

CODE Format
sudo apt upgrade

Failed to fetch : http://ua.archive.ubuntu.com.ubuntu/poll/universe/u/user-manager...

Почему не найден и можно ли указать правильный путь ?
Или интернета в консоле нет ?

Ка проверить ?
Есть консоль в рекавери моуд и старая убунту на другом разделе ...
Спасибо !

Сообщение отредактировал mstdmstd - Aug 3 2019, 15:33
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Ответов(1 - 5)
mstdmstd
Aug 3 2019, 15:35
  
Пост #2



Репутация:   1  
Активист
*

Группа: Пользователи
Сообщений: 209
С нами с: 13-January 16



Первое, что решил проверить это есть ли интернет в рекавери моуд

Но выполнив в консоле :
CODE Format
$ curl -Is УрлСайта | head -n 1

Получил ошибку что curl не установлен
Установить его не смог из-за опсанных проблем
Можно ли как-то еще проверить наличие интепрнета ?

Провайдер https://www.tvnet.if.ua/internet-dlya-domu/
Просто плдключена сеть - никаких параметров не вводил

Есть еще идеи ?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mstdmstd
Aug 4 2019, 7:34
  
Пост #3



Репутация:   1  
Активист
*

Группа: Пользователи
Сообщений: 209
С нами с: 13-January 16


Получив подсказки по проблеме пробую ДАЛЬШЕ.
Интернет в рекавери моуд отсутвствует
CODE Format
ping -c1 -W2 google.ru

выдает ошибку в разрешении имен
- интересно, может возможно запустить вручную какие-либо службы и с тем получить доступ к интернету ?


Командами
CODE Format
find /boot/ -type f -name "vmlinuz*"
find /boot/ -type f -name "initr*"

выводится :
CODE Format
/boot/vmlinuz-4.15.0-55-generic


CODE Format

find / -maxdepth 1 -type l -exec ls -l {} \;
lrwxrwxrwx 1 root root 33 лип 24 06:28 /initrd.img -> boot/initrd.img-4.15.0-55-generic
lrwxrwxrwx 1 root root 21 чер 17  2018 /_Video -> /mnt/Media_sda8/VIDEO
lrwxrwxrwx 1 root root 33 чер 17  2018 /_InstallLinux -> /mnt/Work_sda6/Install/__forLinux
lrwxrwxrwx 1 root root 16 чер 17  2018 /_work -> /mnt/_work_sdb8/
lrwxrwxrwx 1 root root 23 чер 17  2018 /_wwwroot -> /mnt/_work_sdb8/wwwroot
lrwxrwxrwx 1 root root 15 чер 17  2018 /_diskE_Media -> /mnt/Media_sda8
lrwxrwxrwx 1 root root 33 сер  3 09:38 /initrd.img.old -> boot/initrd.img-4.15.0-55-generic
lrwxrwxrwx 1 root root 30 сер  3 09:38 /vmlinuz.old -> boot/vmlinuz-4.15.0-55-generic
lrwxrwxrwx 1 root root 30 лип 24 06:28 /vmlinuz -> boot/vmlinuz-4.15.0-55-generic
lrwxrwxrwx 1 root root 14 чер 17  2018 /_diskD_Work -> /mnt/Work_sda6
/mnt/Media_sda8/VIDEO - это каталог где выполнял команду


CODE Format
cat /boot/grub/grub.cfg | grep "menuentry 'Ubuntu'" -A16

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-953fc83a-8a04-4fa4-94c4-20202140652a' {
    recordfail
    load_video
    gfxmode $linux_gfx_mode
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  40c521e5-3b90-42f5-a84f-ccea92463d04
    else
      search --no-floppy --fs-uuid --set=root 40c521e5-3b90-42f5-a84f-ccea92463d04
    fi
        linux    /vmlinuz-4.15.0-55-generic root=UUID=953fc83a-8a04-4fa4-94c4-20202140652a ro  quiet splash $vt_handoff
    initrd    /initrd.img-4.15.0-55-generic
}


При загрузке как раз и виден один пункт меню приведенный выше
Загружается несколько секунд и виснет с темным экраном с немигающем курсором в верхнем левом углу:

После неудачной загрузки нахожу boot.log:
CODE Format
/dev/sdb7: clean, 620674/1836000 files, 6414993/7341697 blocks
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started RPC bind portmap service.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target RPC Port Mapper.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Started AppArmor initialization.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Started Trigger anacron every hour.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Message of the Day.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started ACPI Events Check.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on ACPID Listen Socket.
[  OK  ] Reached target Paths.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Docker Socket for the API.
[  OK  ] Listening on mpd.socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
         Starting Socket activation for snappy daemon.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Listening on Docker Socket for the API.
[  OK  ] Listening on Socket activation for snappy daemon.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Restore /etc/resolv.conf if the system crashed before the ppp link was shut down...
         Starting Resets System Activity Data Collector...
         Starting Disk Manager...
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Login Service...
[  OK  ] Started irqbalance daemon.
         Starting LSB: LVM2 metadata daemon...
         Starting LSB: Record successful boot for GRUB...
         Starting System Logging Service...
         Starting Dispatcher daemon for systemd-networkd...
         Starting Initialize hardware monitoring sensors...
         Starting Detect the available GPUs and deal with any system changes...
         Starting PostgreSQL Cluster 10-main...
         Starting Accounts Service...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Snappy daemon...
[  OK  ] Reached target Login Prompts.
         Starting Modem Manager...
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started ACPI event daemon.
         Starting LSB: automatic crash report generation...
[  OK  ] Started Run anacron jobs.
         Starting LSB: LVM2 poll daemon...
[  OK  ] Started CUPS Scheduler.
[  OK  ] Started Regular background program processing daemon.
         Starting WPA supplicant...
[  OK  ] Started Network Name Resolution.
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started Detect the available GPUs and deal with any system changes.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started Login Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[FAILED] Failed to start Snappy daemon.
See 'systemctl status snapd.service' for details.
         Starting Failure handling of the snapd snap...
         Starting Wait until snapd is fully seeded...
         Starting Authorization Manager...
[  OK  ] Started Make remote CUPS printers available locally.
[  OK  ] Reached target Host and Network Name Lookups.
         Starting LSB: Kernel NFS server support...
[  OK  ] Started LSB: Kernel NFS server support.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Failure handling of the snapd snap.
[  OK  ] Started Authorization Manager.
[  OK  ] Started Accounts Service.
[  OK  ] Stopped Snappy daemon.
         Starting Snappy daemon...
         Starting Hostname Service...
[FAILED] Failed to start Snappy daemon.
See 'systemctl status snapd.service' for details.
[  OK  ] Started LSB: LVM2 metadata daemon.
[  OK  ] Started LSB: LVM2 poll daemon.
[  OK  ] Started Modem Manager.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started LSB: automatic crash report generation.
[  OK  ] Stopped Snappy daemon.
         Starting Snappy daemon...
[  OK  ] Started Hostname Service.
[  OK  ] Started LSB: Record successful boot for GRUB.
[FAILED] Failed to start Snappy daemon.
See 'systemctl status snapd.service' for details.
[FAILED] Failed to start PostgreSQL Cluster 10-main.
See 'systemctl status postgresql@10-main.service' for details.
[  OK  ] Started Network Manager.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Reached target Network.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting MySQL Community Server...
         Starting Advanced key-value store...
         Starting OpenBSD Secure Shell server...
         Starting containerd container runtime...
         Starting The Apache HTTP Server...
[  OK  ] Started Supervisor process control system for UNIX.
         Starting Music Player Daemon...
         Starting Permit User Sessions...
         Starting Network Manager Wait Online...
         Starting PostgreSQL RDBMS...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started containerd container runtime.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Permit User Sessions.
         Starting Set console scheme...
         Starting Terminate Plymouth Boot Screen...
[  OK  ] Started PostgreSQL RDBMS.
[  OK  ] Stopped Snappy daemon.
         Starting Snappy daemon...



auth.log (И тут похоже ошибка !):
CODE Format
Aug  4 10:56:02 serge sshd[1541]: Server listening on 0.0.0.0 port 22.
Aug  4 10:56:02 serge sshd[1541]: Server listening on :: port 22.
Aug  4 10:56:04 serge sddm-helper: pam_unix(sddm-autologin:session): session opened for user serge by (uid=0)
Aug  4 10:56:04 serge systemd-logind[1005]: New session 1 of user serge.
Aug  4 10:56:04 serge systemd: pam_unix(systemd-user:session): session opened for user serge by (uid=0)
Aug  4 10:56:05 serge sshd[1541]: Received SIGHUP; restarting.
Aug  4 10:56:05 serge sshd[1541]: Server listening on 0.0.0.0 port 22.
Aug  4 10:56:05 serge sshd[1541]: Server listening on :: port 22.
Aug  4 10:56:05 serge sshd[1541]: Received SIGHUP; restarting.
Aug  4 10:56:05 serge sshd[1541]: Server listening on 0.0.0.0 port 22.
Aug  4 10:56:05 serge sshd[1541]: Server listening on :: port 22.
Aug  4 10:56:05 serge sshd[1541]: Received SIGHUP; restarting.
Aug  4 10:56:05 serge sshd[1541]: Server listening on 0.0.0.0 port 22.
Aug  4 10:56:05 serge sshd[1541]: Server listening on :: port 22.
Aug  4 10:56:06 serge polkitd(authority=local): Registered Authentication Agent for unix-session:1 (system bus name :1.42 [/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Aug  4 10:56:31 serge dbus-daemon[1051]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)


syslog (очень большой файл - окончание) :
CODE Format
...
Aug  4 10:56:09 serge systemd[2057]: Starting Bluetooth OBEX service...
Aug  4 10:56:09 serge obexd[3200]: OBEX daemon 5.48
Aug  4 10:56:09 serge dbus-daemon[2163]: [session uid=1000 pid=2163] Successfully activated service 'org.bluez.obex'
Aug  4 10:56:09 serge systemd[2057]: Started Bluetooth OBEX service.
Aug  4 10:56:10 serge dbus-daemon[1051]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.59' (uid=1000 pid=2899 comm="/usr/bin/plasmashell " label="unconfined")
Aug  4 10:56:10 serge systemd[1]: Starting PackageKit Daemon...
Aug  4 10:56:10 serge PackageKit: daemon start
Aug  4 10:56:10 serge dbus-daemon[1051]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Aug  4 10:56:10 serge systemd[1]: Started PackageKit Daemon.
Aug  4 10:56:12 serge PackageKit: get-updates transaction /8465_cbeaceba from uid 1000 finished with success after 1060ms
Aug  4 10:56:14 serge systemd[1]: Started Daemon for generating UUIDs.
Aug  4 10:56:31 serge pulseaudio[2943]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Aug  4 10:56:52 serge systemd[1]: Starting Stop ureadahead data collection...
Aug  4 10:56:52 serge systemd[1]: Started Stop ureadahead data collection.
Aug  4 10:59:10 serge dbus-daemon[2163]: [session uid=1000 pid=2163] Activating service name='org.kubuntu.DriverManager' requested by ':1.7' (uid=1000 pid=2558 comm="kded5 [kdeinit5]                                  " label="unconfined")
Aug  4 10:59:10 serge dbus-daemon[2163]: [session uid=1000 pid=2163] Successfully activated service 'org.kubuntu.DriverManager'
Aug  4 10:59:24 serge org.kubuntu.DriverManager[2163]: DriverManager_DBus::devices START
Aug  4 10:59:24 serge org.kubuntu.DriverManager[2163]: DriverManager_DBus::devices END



Xorg.0.log(очень большой файл - окончание) :
CODE Format
...
[    10.192] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event9"
[    10.192] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 14)
[    10.192] (**) Option "AccelerationScheme" "none"
[    10.192] (**) ETPS/2 Elantech Touchpad: (accel) selected scheme none/0
[    10.192] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[    10.192] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[    10.192] (II) event9  - ETPS/2 Elantech Touchpad: is tagged by udev as: Touchpad
[    10.192] (II) event9  - ETPS/2 Elantech Touchpad: device is a touchpad
[    10.192] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse2)
[    10.192] (II) No input driver specified, ignoring this device.
[    10.192] (II) This device may have been added with another device file.
[    10.199] (**) Barcode Reader : Applying InputClass "libinput pointer catchall"
[    10.199] (**) Barcode Reader : Applying InputClass "libinput keyboard catchall"
[    10.199] (II) Using input driver 'libinput' for 'Barcode Reader '
[    10.199] (**) Barcode Reader : always reports core events
[    10.199] (**) Option "Device" "/dev/input/event6"
[    10.199] (**) Option "_source" "_driver/libinput"
[    10.199] (II) libinput: Barcode Reader : is a virtual subdevice
[    10.199] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.1/0003:13BA:0018.0002/input/input8/event6"
[    10.199] (II) XINPUT: Adding extended input device "Barcode Reader " (type: KEYBOARD, id 15)
[    10.199] (**) Option "xkb_model" "pc105"
[    10.199] (**) Option "xkb_layout" "us"
[    10.199] (**) A4TECH USB Device: Applying InputClass "libinput keyboard catchall"
[    10.199] (II) Using input driver 'libinput' for 'A4TECH USB Device'
[    10.199] (**) A4TECH USB Device: always reports core events
[    10.199] (**) Option "Device" "/dev/input/event7"
[    10.199] (**) Option "_source" "_driver/libinput"
[    10.199] (II) libinput: A4TECH USB Device: is a virtual subdevice
[    10.199] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:09DA:9090.0003/input/input9/event7"
[    10.199] (II) XINPUT: Adding extended input device "A4TECH USB Device" (type: KEYBOARD, id 16)
[    10.199] (**) Option "xkb_model" "pc105"
[    10.199] (**) Option "xkb_layout" "us"

?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mstdmstd
Aug 4 2019, 8:37
  
Пост #4



Репутация:   1  
Активист
*

Группа: Пользователи
Сообщений: 209
С нами с: 13-January 16


Нашел в интернете:
CODE Format
sudo ifconfig


CODE Format
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


и далее пробую
CODE Format
sudo ifconfig eth6 up

но получяаю ошибку что девайс не найден...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
nx117
Aug 4 2019, 15:51
  
Пост #5



Репутация:   -82  
Старожил
****

Группа: - Пользователи -
Сообщений: 2 325
С нами с: 12-February 17


Перейдите в обычном режиме на свободную консоль, Alt+F2, например, у вас вроде все загружается.
Посмотреть, есть ли ip -шник можно

ip a
ip addr show

Если ip есть и можно его пропинговать, тогда возможно нет настроек dns.

nslookup что нибудь работающее

Сеть нужно настраивать или через netplan, или через network manager (nmcli), легко найти в интернете как.
В 18.04 вроде еще нужно netplan, не помню точно, конфигурационные файлы в нем очень чувствительны к синтаксису,
лучше сразу копипастить с примеров, включая положение команд в тексте.
Если получится с nmcli, там намного проще.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EvgenZ
Aug 4 2019, 22:21
  
Пост #6



Репутация:   9  
Дух


Группа: Пользователи
Сообщений: 53
С нами с: 26-March 06


(mstdmstd @ Aug 4 2019, 9:37) Перейти к цитате

Нашел в интернете:
CODE Format
sudo ifconfig


CODE Format
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


и далее пробую
CODE Format
sudo ifconfig eth6 up

но получяаю ошибку что девайс не найден...

Откуда eth6? Копать нужно в стьорону сетевых интерфейсов, из вывода видно что поднят только локалхост. Айпишник присваивать (если нет DHCP) нужно уже поднятому сетевому интерфейсу. часто имя для проводного - eth0, если WiFi-адаптер - wlo0 или wlan0) подробней тут, тут и тут

Сообщение отредактировал EvgenZ - Aug 5 2019, 22:47
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 



- Упрощённая версия
Сейчас: 11th December 2019 - 12:48
Сайт не предоставляет электронные версии произведений, а занимается лишь коллекционированием и каталогизацией ссылок, присылаемых и публикуемых на форуме нашими читателями. Если вы являетесь правообладателем какого-либо представленного материала и не желаете чтобы ссылка на него находилась в нашем каталоге, свяжитесь с нами и мы удалим её. Файлы для обмена предоставлены пользователями сайта.