Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40

Thread: Desktop hangs at locale service

  1. #31
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Desktop hangs at locale service

    Quote Originally Posted by Bill_L View Post
    Clean boot this evening, but, I'll add that if you really want 3 or 4 pages of CODE to wade through.
    <BIG WIDE GRIN>

    ... DOUBLE...
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  2. #32
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,491
    Blog Entries
    15

    Default Re: Desktop hangs at locale service

    Quote Originally Posted by Bill_L View Post
    Code:
    systemd-analyze blame | head -n 10
        1min 44.156s backup-rpmdb.service
             16.628s apparmor.service
             14.028s lvm2-monitor.service
             13.150s btrfsmaintenance-refresh.service
             10.002s systemd-journal-flush.service
              9.182s postfix.service
              8.074s SuSEfirewall2_init.service
              7.600s display-manager.service
              6.619s initrd-switch-root.service
              5.498s ca-certificates.service
    
    
    Code:
    systemd-analyze critical-chain
    The time after the unit is active or started is printed after the "@" character.
    The time the unit takes to start is printed after the "+" character.
    
    graphical.target @41.626s
    └─multi-user.target @41.626s
      └─cron.service @41.625s
        └─postfix.service @32.441s +9.182s
          └─time-sync.target @32.383s
            └─ntpd.service @31.440s +942ms
              └─network.target @31.437s
                └─NetworkManager.service @29.296s +2.140s
                  └─SuSEfirewall2_init.service @21.219s +8.074s
                    └─sysinit.target @21.203s
                      └─sys-fs-fuse-connections.mount @1min 45.331s +7ms
                        └─systemd-modules-load.service @4.535s +440ms
                          └─system.slice
                            └─-.slice                  
    
    These after a clean boot this evening.

    BTW, sorry for my lag times in getting back. This PC is upstairs in my house, and I can only get up them stairs once a day.
    Hi
    So in this case postfix was slowing things down... Not sure the boot time impact of the rpmdb job.

    When you have a slow boot you need to run the above two commands, for instance purging kernels can take some time to verify what is happening.

    I'm guessing you have a HDD not a SSD? If the system comes up, be happy
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #33
    Join Date
    Apr 2018
    Location
    U.S Midwest just West of the Mississippi River
    Posts
    555

    Default Re: Desktop hangs at locale service

    Quote Originally Posted by malcolmlewis View Post
    Hi
    So in this case postfix was slowing things down... Not sure the boot time impact of the rpmdb job.

    When you have a slow boot you need to run the above two commands, for instance purging kernels can take some time to verify what is happening.

    I'm guessing you have a HDD not a SSD? If the system comes up, be happy
    Yes, HDD. And when it does boot w/o the hang ups, I am a happy person.

    Thanks for all you've done for me.
    HP Compaq desktop Leap15.1 Win10, Win7
    Toshiba laptops Leap15.1 & Win10, HP AiO Win10.
    I can now print with openSuSe Leap! Can Scan now, could be better!!
    I can backup my iPod and iPad with Windows, can't with Linux.(Will get there someday!)

  4. #34
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,475

    Cool Re: Desktop hangs at locale service

    Quote Originally Posted by Bill_L View Post
    Clean boot this evening, but, I'll add that if you really want 3 or 4 pages of CODE to wade through.
    Piping the filtered journal entries (BTW, journal entries are text -- not code … ) through 'wc' to count the lines, indicates for this morning's boot, there're 43 lines and, for last Friday's boot, 57 lines.
    Hereby, the journal entries for last Friday:
    Code:
     # journalctl --boot=-6 | grep -E ' Locale|eth0| Network|Display Manager|Command Scheduler'
    Aug 24 09:17:57 xxx systemd-udevd[221]: Network interface NamePolicy= disabled by default.
    Aug 24 09:17:57 xxx systemd-udevd[221]: Network interface NamePolicy= disabled by default.
    Aug 24 09:17:59 xxx systemd-udevd[452]: Network interface NamePolicy= disabled by default.
    Aug 24 09:17:59 xxx kernel: r8169 0000:02:00.0 eth0: RTL8168evl/8111evl at 0xffffc90000ce9000, 14:da:e9:ec:a0:4d, XID 0c900800 IRQ 27
    Aug 24 09:17:59 xxx kernel: r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
    Aug 24 09:18:04 xxx avahi-daemon[1042]: Network interface enumeration completed.
    Aug 24 09:18:04 xxx systemd[1]: Reached target Host and Network Name Lookups.
    Aug 24 09:18:05 xxx systemd[1]: Reached target Network (Pre).
    Aug 24 09:18:05 xxx wicked[1156]: eth0: configuration applied to nanny
    Aug 24 09:18:06 xxx kernel: r8169 0000:02:00.0 eth0: link down
    Aug 24 09:18:06 xxx kernel: r8169 0000:02:00.0 eth0: link down
    Aug 24 09:18:06 xxx kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    Aug 24 09:18:08 xxx kernel: r8169 0000:02:00.0 eth0: link up
    Aug 24 09:18:08 xxx kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Aug 24 09:18:08 xxx wickedd-dhcp4[1051]: eth0: Request to acquire DHCPv4 lease with UUID 2eb17f5b-a13d-0e00-2804-000005000000
    Aug 24 09:18:08 xxx wickedd-dhcp6[1036]: eth0: Request to acquire DHCPv6 lease with UUID 2eb17f5b-a13d-0e00-2804-000006000000 in mode auto
    Aug 24 09:18:09 xxx wickedd-dhcp4[1051]: eth0: Initiating DHCPv4 discovery (ifindex 2)
    Aug 24 09:18:10 xxx avahi-daemon[1042]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::16da:e9ff:feec:a04d.
    Aug 24 09:18:10 xxx avahi-daemon[1042]: New relevant interface eth0.IPv6 for mDNS.
    Aug 24 09:18:10 xxx avahi-daemon[1042]: Registering new address record for fe80::16da:e9ff:feec:a04d on eth0.*.
    Aug 24 09:18:11 xxx avahi-daemon[1042]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::16da:e9ff:feec:a04d.
    Aug 24 09:18:11 xxx avahi-daemon[1042]: Joining mDNS multicast group on interface eth0.IPv6 with address 2001:16b8:2d30:fa00:89b1:740a:1c2d:519f.
    Aug 24 09:18:11 xxx avahi-daemon[1042]: Registering new address record for 2001:16b8:2d30:fa00:89b1:740a:1c2d:519f on eth0.*.
    Aug 24 09:18:11 xxx avahi-daemon[1042]: Withdrawing address record for fe80::16da:e9ff:feec:a04d on eth0.
    Aug 24 09:18:11 xxx avahi-daemon[1042]: Registering new address record for 2001:16b8:2d30:fa00:16da:e9ff:feec:a04d on eth0.*.
    Aug 24 09:18:12 xxx wickedd-dhcp6[1036]: eth0: Accepting best DHCPv6 lease offer with weight 1 from server fe80::16da:e9ff:feec:a04d
    Aug 24 09:18:12 xxx wickedd-dhcp6[1036]: eth0: Committed DHCPv6 lease
    Aug 24 09:18:12 xxx wickedd-dhcp4[1051]: eth0: Received offer for 192.168.178.39 from 192.168.178.1
    Aug 24 09:18:12 xxx wickedd-dhcp4[1051]: eth0: Requesting DHCPv4 lease with timeout 0 sec
    Aug 24 09:18:12 xxx wickedd-dhcp4[1051]: eth0: Validating DHCPv4 address 192.168.178.39
    Aug 24 09:18:13 xxx wickedd-dhcp4[1051]: eth0: Successfully validated DHCPv4 address 192.168.178.39
    Aug 24 09:18:13 xxx wickedd-dhcp4[1051]: eth0: Committed DHCPv4 lease with address 192.168.178.39 (lease time 864000 sec, renew in 432000 sec, rebind in 756000 sec)
    Aug 24 09:18:13 xxx avahi-daemon[1042]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.178.39.
    Aug 24 09:18:13 xxx avahi-daemon[1042]: New relevant interface eth0.IPv4 for mDNS.
    Aug 24 09:18:13 xxx avahi-daemon[1042]: Registering new address record for 192.168.178.39 on eth0.IPv4.
    Aug 24 09:18:17 xxx wicked[1156]: eth0            up
    Aug 24 09:18:17 xxx systemd[1]: Reached target Network.
    Aug 24 09:18:17 xxx systemd[1]: Reached target Network is Online.
    Aug 24 09:18:17 xxx systemd[1]: Started Command Scheduler.
    Aug 24 09:18:18 xxx systemd[1]: Starting X Display Manager...
    Aug 24 09:18:18 xxx systemd[1]: Starting Locale Service...
    Aug 24 09:18:18 xxx systemd[1]: Started Locale Service.
    Aug 24 09:18:20 xxx systemd[1]: Started X Display Manager.
    Aug 24 20:53:52 xxx systemd[1]: Stopping Command Scheduler...
    Aug 24 20:53:52 xxx avahi-daemon[1042]: Leaving mDNS multicast group on interface eth0.IPv6 with address 2001:16b8:2d30:fa00:89b1:740a:1c2d:519f.
    Aug 24 20:53:52 xxx avahi-daemon[1042]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.178.39.
    Aug 24 20:53:52 xxx systemd[1]: Stopping X Display Manager...
    Aug 24 20:53:52 xxx systemd[1]: Stopped Command Scheduler.
    Aug 24 20:53:52 xxx systemd[1]: Stopped X Display Manager.
    Aug 24 20:53:52 xxx systemd[1]: Stopped target Host and Network Name Lookups.
    Aug 24 20:53:53 xxx systemd[1]: Stopped target Network is Online.
    Aug 24 20:53:53 xxx systemd[1]: Stopped target Network.
    Aug 24 20:53:53 xxx wickedd-dhcp4[1051]: eth0: Request to release DHCPv4 lease with UUID 2eb17f5b-a13d-0e00-2804-000005000000: releasing...
    Aug 24 20:53:53 xxx wickedd-dhcp6[1036]: eth0: Request to release DHCPv6 lease using UUID 2eb17f5b-a13d-0e00-2804-000006000000: no lease
    Aug 24 20:53:53 xxx wickedd-dhcp4[1051]: eth0: Dropped DHCPv4 lease with UUID 2eb17f5b-a13d-0e00-2804-000005000000
    Aug 24 20:54:00 xxx wicked[1629]: eth0            device-ready
    Aug 24 20:54:00 xxx systemd[1]: Stopped target Network (Pre).
     #
    Welcome to the wonderful world of "finding out what really happened" …

    I'm retired, therefore the "rather late in the day boot time" …

  5. #35
    Join Date
    Apr 2018
    Location
    U.S Midwest just West of the Mississippi River
    Posts
    555

    Default Re: Desktop hangs at locale service

    Quote Originally Posted by dcurtisfra View Post
    Piping the filtered journal entries (BTW, journal entries are text -- not code … ) through 'wc' to count the lines, indicates for this morning's boot, there're 43 lines and, for last Friday's boot, 57 lines.
    Hereby, the journal entries for last Friday:
    Code:
     # journalctl --boot=-6 | grep -E ' Locale|eth0| Network|Display Manager|Command Scheduler'
    Snippity snip snip
    Code:
    Aug 24 09:18:11 xxx avahi-daemon[1042]: Withdrawing address record for fe80::16da:e9ff:feec:a04d on eth0.
    well yes, if I had processed your request, copied and pasted in here, it definitively would have been in CODE FORMAT, and believe me it would have been a heck of a lot more more than 4 pages long!

    not that I don’t appreciate learning things Linux, but to me that would have been on the unnecessary side.

    Welcome to the wonderful world of "finding out what really happened".

    REALLY? Is that a snipe towards me? Not amusing!


    I'm retired, therefore the "rather late in the day boot time" …
    HP Compaq desktop Leap15.1 Win10, Win7
    Toshiba laptops Leap15.1 & Win10, HP AiO Win10.
    I can now print with openSuSe Leap! Can Scan now, could be better!!
    I can backup my iPod and iPad with Windows, can't with Linux.(Will get there someday!)

  6. #36
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,475

    Question Re: Desktop hangs at locale service

    @Bill_L:
    Then, let us return to the original issue reported: "Desktop hangs at locale service".

    Inspection of the filtered journal output I showed earlier indicates that, the D-Bus starts the Locale service during the phase where systemd starts the Display Manager service.
    • As I have previously commented, on your system the Locale service doesn't seem be triggered to start during the Display Manager service start sequence.

    Please note that, the two systemd Locale services, 'dbus-org.freedesktop.locale1.service' and 'systemd-localed.service', should both be "static" -- both systemd Units do not have an [Install] section and are meant to be automatically called by whatever it is that wants to use them. Looking back through the ongoing discussion, this is the case on your system and therefore not the cause of this calamity …

    AFAICS, no one has asked about the status of the Locale configuration file on your system. Please post the contents of the file '/etc/locale.conf'.

  7. #37
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,475

    Question Re: Desktop hangs at locale service

    @Bill_L:
    The following information with respect to the Locale service may also be useful for the community to help resolve the Locale issue:
    • Part of the logged in user's output of "gdbus introspect --system --dest org.freedesktop.locale1 --object-path /org/freedesktop/locale1"

    The part needed is, the section "interface org.freedesktop.locale1 {" and especially the part "properties:".
    As an example from this system, the part we need is:
    Code:
        signals:
        properties:
          readonly as Locale = ['LANG=de_DE.utf8'];
          readonly s X11Layout = 'de';
          readonly s X11Model = 'pc105';
          readonly s X11Variant = 'nodeadkeys';
          readonly s X11Options = 'terminate:ctrl_alt_bksp';
          readonly s VConsoleKeymap = 'de-latin1-nodeadkeys';
          readonly s VConsoleKeymapToggle = '';
      };

    For those readers who are thinking "WTF", the answer is in the output of "systemctl status dbus-org.freedesktop.locale1.service systemd-localed.service" and, the URL mentioned there: <https://www.freedesktop.org/wiki/Sof...ystemd/localed>.

  8. #38
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,475

    Cool Re: Desktop hangs at locale service

    Quote Originally Posted by Bill_L View Post
    well yes, if I had processed your request, copied and pasted in here, it definitively would have been in CODE FORMAT, and believe me it would have been a heck of a lot more more than 4 pages long!
    While chasing another issue on a laptop with Network Manager I suspect the issue is, a failing space after the ORed ' Network' grep filter …
    • My desktop uses Wicked and didn't display this issue …

    On this laptop which uses Network Manager rather than Wicked, the filtered journal output of " journalctl --this-boot | grep -E ' Locale|eth0|wifi| wlan0| Network |Display Manager|Command Scheduler' " is:
    Code:
    Aug 30 17:05:54 yyy systemd-udevd[219]: Network interface NamePolicy= disabled by default.
    Aug 30 17:05:54 yyy systemd-udevd[219]: Network interface NamePolicy= disabled by default.
    Aug 30 17:06:04 yyy systemd-udevd[452]: Network interface NamePolicy= disabled by default.
    Aug 30 17:06:07 yyy kernel: alx 0000:02:00.0 eth0: Qualcomm Atheros AR816x/AR817x Ethernet [20:1a:06:2e:c5:c2]
    Aug 30 17:06:12 yyy avahi-daemon[1250]: Network interface enumeration completed.
    Aug 30 17:06:12 yyy systemd[1]: Reached target Host and Network Name Lookups.
    Aug 30 17:06:14 yyy systemd[1]: Reached target Network (Pre).
    Aug 30 17:06:14 yyy systemd[1]: Starting Network Manager...
    Aug 30 17:06:15 yyy systemd[1]: Started Network Manager.
    Aug 30 17:06:15 yyy systemd[1]: Reached target Network is Online.
    Aug 30 17:06:15 yyy systemd[1]: Starting Network Manager Script Dispatcher Service...
    Aug 30 17:06:15 yyy systemd[1]: Started Network Manager Script Dispatcher Service.
    Aug 30 17:06:15 yyy NetworkManager[1407]: <info>  [1535641575.5738] Loaded device plugin: NMWifiFactory (/usr/lib64/NetworkManager/libnm-device-plugin-wifi.so)
    Aug 30 17:06:15 yyy NetworkManager[1407]: <info>  [1535641575.5794] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
    Aug 30 17:06:15 yyy NetworkManager[1407]: <info>  [1535641575.5809] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
    Aug 30 17:06:15 yyy kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    Aug 30 17:06:15 yyy kernel: IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    Aug 30 17:06:15 yyy NetworkManager[1407]: <info>  [1535641575.5842] wifi-nl80211: (wlan0): using nl80211 for WiFi device control
    Aug 30 17:06:15 yyy kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Aug 30 17:06:15 yyy kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Aug 30 17:06:15 yyy kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Aug 30 17:06:15 yyy systemd[1]: Starting X Display Manager...
    Aug 30 17:06:16 yyy kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Aug 30 17:06:16 yyy systemd[1]: Starting Locale Service...
    Aug 30 17:06:16 yyy systemd[1]: Started Locale Service.
    Aug 30 17:06:16 yyy systemd[1]: Started X Display Manager.
    Aug 30 17:06:18 yyy systemd[1]: Started Command Scheduler.
    « I've removed the boring entries due to Network Manager accessing a WiFi access point after the KDE Plasma user logs in … »
    Also here, the Locale service starts while the Display Manager is starting.

    Please confirm that, in your case the Locale service is only being started while the Display Manager is starting.

    And, it's a laptop without an Ethernet cable plugged in during the boot and, the WiFi access is managed by KDE's Network Manager applet with access to WLAN SSID and password values held in each user's KWallet …

  9. #39
    Join Date
    Apr 2018
    Location
    U.S Midwest just West of the Mississippi River
    Posts
    555

    Default Re: Desktop hangs at locale service

    Stop now, you are confusing me! My machine is booting. Nuff said!
    Last edited by Fraser_Bell; 30-Aug-2018 at 19:31.
    HP Compaq desktop Leap15.1 Win10, Win7
    Toshiba laptops Leap15.1 & Win10, HP AiO Win10.
    I can now print with openSuSe Leap! Can Scan now, could be better!!
    I can backup my iPod and iPad with Windows, can't with Linux.(Will get there someday!)

  10. #40
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Desktop hangs at locale service

    Problem solved, this thread is now closed.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

Page 4 of 4 FirstFirst ... 234

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •