Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: Desktop hangs at locale service

  1. #11
    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 z2 View Post
    After a successful boot, examine the log file for any errors during boot.

    Code:
    sudo journalctl -b > log.txt
    will output all logs since the last system boot into a file called log.txt. Change the file name to anything you want. Then search for Locale Service and see what errors show up after that service is started. Post the relevant output here.
    I indicated a log.txt file was not found. But my bad, I just don't know where to find it
    Two more 'bad' starts this evening, getting frustrating.
    So I generated one in terminal without the -b > log.txt, and Oh boy, is that a big thing!
    So will go looking for the file.
    Thanks
    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!)

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

    Default Re: Desktop hangs at locale service

    If it helps, this is the a portion of the log for today's first hang start at 'started locale service'. The second hang up is pretty much the same, then a third was successful.
    It was done using the -r reverse switch.

    Code:
    Aug 26 16:51:26 localhost systemd[1]: Started Command Scheduler.
    Aug 26 16:51:26 localhost systemd[1]: postfix.service: Failed with result 'exit-code'.
    Aug 26 16:51:26 localhost systemd[1]: postfix.service: Unit entered failed state.
    Aug 26 16:51:26 localhost systemd[1]: Failed to start Postfix Mail Transport Agent.
    Aug 26 16:51:25 localhost kernel: r8169 0000:07:04.0 eth0: link up
    Aug 26 16:51:25 localhost NetworkManager[1020]: <info>  [1535320285.5178] device (eth0): carrier: link connected
    Aug 26 16:51:25 localhost systemd[1]: display-manager.service: PID file /var/run/displaymanager.pid not readable (yet?) after start: No such file or >
    Aug 26 16:51:25 localhost display-manager[1352]: Starting service sddm..done
    Aug 26 16:51:25 localhost cond_slp[1490]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 26 16:51:24 localhost avahi-daemon[790]: Registering new address record for fe80::cd28:6634:5dc5:80d1 on eth0.*.
    Aug 26 16:51:24 localhost avahi-daemon[790]: New relevant interface eth0.IPv6 for mDNS.
    Aug 26 16:51:24 localhost avahi-daemon[790]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::cd28:6634:5dc5:80d1.
    Aug 26 16:51:24 localhost systemd[1]: Started Backup /etc/sysconfig directory.
    Aug 26 16:51:24 localhost systemd[1]: Reached target Login Prompts.
    Aug 26 16:51:24 localhost systemd[1]: Started Getty on tty1.
    Aug 26 16:51:24 localhost systemd[1]: Started Hold until boot process finishes up.
    Aug 26 16:51:24 localhost systemd[1]: Received SIGRTMIN+21 from PID 293 (plymouthd).
    Aug 26 16:51:24 localhost systemd[1]: Started Locale Service.
    Aug 26 16:51:24 localhost dbus-daemon[794]: [system] Successfully activated service 'org.freedesktop.locale1'
    Aug 26 16:51:24 localhost systemd[1]: postfix.service: Control process exited, code=exited status=1
    Aug 26 16:51:24 localhost kernel: NET: Registered protocol family 17
    Aug 26 16:51:23 localhost postfix[1463]: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 26 16:51:23 localhost systemd[1]: Starting Locale Service...
    
    
    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!)

  3. #13

    Default Re: Desktop hangs at locale service

    Quote Originally Posted by Bill_L View Post
    If it helps, this is the a portion of the log for today's first hang start at 'started locale service'. The second hang up is pretty much the same, then a third was successful.
    It was done using the -r reverse switch.

    Code:
    
    Aug 26 16:51:23 localhost postfix[1463]: fatal: parameter inet_interfaces: no local interface found for ::1
    
    This is indicating that postfix is unable to find a local loopback interface for IPv6. Check if IPv6 is enabled. Go to YaST > System > Network settings and check if the "Enable IPv6" box is checked under global options.

    Also check your hosts file:

    Code:
    /etc/hosts
    to see if it has the following line:
    Code:
    ::1             localhost ipv6-localhost ipv6-loopback
    If IPv6 is enabled and the loopback address is in the hosts file, check systemd for more info on postfix:

    Code:
    systemctl status postfix
    to see if it gives more details on what's wrong.

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

    Question Re: Desktop hangs at locale service

    Quote Originally Posted by Bill_L View Post
    Code:
    
    Aug 26 16:51:26 localhost systemd[1]: Started Command Scheduler.
    Aug 26 16:51:26 localhost systemd[1]: postfix.service: Failed with result 'exit-code'.
    Aug 26 16:51:26 localhost systemd[1]: postfix.service: Unit entered failed state.
    Aug 26 16:51:26 localhost systemd[1]: Failed to start Postfix Mail Transport Agent.
    Aug 26 16:51:25 localhost kernel: r8169 0000:07:04.0 eth0: link up
    Aug 26 16:51:25 localhost NetworkManager[1020]: <info>  [1535320285.5178] device (eth0): carrier: link connected
    Aug 26 16:51:25 localhost systemd[1]: display-manager.service: PID file /var/run/displaymanager.pid not readable (yet?) after start: No such file or >
    Aug 26 16:51:25 localhost display-manager[1352]: Starting service sddm..done
    Aug 26 16:51:25 localhost cond_slp[1490]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 26 16:51:24 localhost avahi-daemon[790]: Registering new address record for fe80::cd28:6634:5dc5:80d1 on eth0.*.
    Aug 26 16:51:24 localhost avahi-daemon[790]: New relevant interface eth0.IPv6 for mDNS.
    Aug 26 16:51:24 localhost avahi-daemon[790]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::cd28:6634:5dc5:80d1.
    Aug 26 16:51:24 localhost systemd[1]: Started Backup /etc/sysconfig directory.
    Aug 26 16:51:24 localhost systemd[1]: Reached target Login Prompts.
    Aug 26 16:51:24 localhost systemd[1]: Started Getty on tty1.
    Aug 26 16:51:24 localhost systemd[1]: Started Hold until boot process finishes up.
    Aug 26 16:51:24 localhost systemd[1]: Received SIGRTMIN+21 from PID 293 (plymouthd).
    Aug 26 16:51:24 localhost systemd[1]: Started Locale Service.
    Aug 26 16:51:24 localhost dbus-daemon[794]: [system] Successfully activated service 'org.freedesktop.locale1'
    Aug 26 16:51:24 localhost systemd[1]: postfix.service: Control process exited, code=exited status=1
    Aug 26 16:51:24 localhost kernel: NET: Registered protocol family 17
    Aug 26 16:51:23 localhost postfix[1463]: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 26 16:51:23 localhost systemd[1]: Starting Locale Service...
    
    Looking at the time stamps, it seems that, the D-Bus is starting the 'org.freedesktop.locale1' service before the network is up and running …
    And, systemd is attempting to start the Postfix service before the Network target has been reached …
    The following CLI command for the user "root" should confirm this: " journalctl --this-boot | grep -E ' Locale|eth0| Network|Display Manager|Command Scheduler' ".

    Usually, systemd starts the Postfix service after the following targets have been reached (file: '/usr/lib/systemd/system/postfix.service'):
    • var-run.mount nss-lookup.target network.target time-sync.target

    and, after the following services have been started:
    • amavis.service mysql.service cyrus.service ldap.service openslp.service ypbind.service

    and, the Postfix service is usually wanted only by the "multi-user.target" …

    Also, usually, the D-Bus starts the Locale service while the Display Manager is being started …

    Questions:
    • Have the D-Bus services been changed?
    • Has the systemd Postfix service been changed?

  5. #15
    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
    Questions:
    • Have the D-Bus services been changed?
    • Has the systemd Postfix service been changed?
    As far as I know, neither of those have changed, at least I didn’t change them, even if I knew how.
    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. #16
    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 z2 View Post
    This is indicating that postfix is unable to find a local loopback interface for IPv6. Check if IPv6 is enabled. Go to YaST > System > Network settings and check if the "Enable IPv6" box is checked under global options.

    Also check your hosts file:

    Code:
    /etc/hosts
    to see if it has the following line:
    Code:
    ::1             localhost ipv6-localhost ipv6-loopback
    YES, that is present after a completed boot, but I haven't shutdown and tried to boot again.

    Quote Originally Posted by z2 View Post
    If IPv6 is enabled and the loopback address is in the hosts file, check systemd for more info on postfix:

    Code:
    systemctl status postfix
    to see if it gives more details on what's wrong.
    Sorry to quote your full post.
    Yast Global had IPv6 unchecked, but when I opened the NetworkManager, it had IPv6 as 'automatic'. There is no 'disable' in NM, so I set it to 'ignored'.
    We'll see what happens the next time I boot.

    Follows is the postfix status:
    Code:
    systemctl status postfix
     postfix.service - Postfix Mail Transport Agent
       Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Mon 2018-08-27 16:45:05 CDT; 1h 10min ago
      Process: 1659 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS)
      Process: 1605 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
    
    Aug 27 16:45:01 localhost update_postmaps[1415]: postmap: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 27 16:45:01 localhost postfix/postmap[1522]: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 27 16:45:02 localhost update_postmaps[1415]: postmap: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 27 16:45:02 localhost postfix/postmap[1564]: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 27 16:45:03 localhost postfix[1605]: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 27 16:45:04 localhost.localdomain systemd[1]: postfix.service: Control process exited, code=exited status=1
    Aug 27 16:45:04 localhost.localdomain cond_slp[1659]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
    Aug 27 16:45:05 localhost.localdomain systemd[1]: Failed to start Postfix Mail Transport Agent.
    Aug 27 16:45:05 localhost.localdomain systemd[1]: postfix.service: Unit entered failed state.
    Aug 27 16:45:05 localhost.localdomain systemd[1]: postfix.service: Failed with result 'exit-code'.
    
    Last edited by Fraser_Bell; 28-Aug-2018 at 13:30. Reason: Fix Quote Tags
    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!)

  7. #17
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,485
    Blog Entries
    15

    Default Re: Desktop hangs at locale service

    Hi
    You need to configure /etc/postfix/main.cf and change inet_protocols
    (line 706) from all to ipv4;

    Code:
    cat /etc/postfix/main.cf |grep inet_protocols
    
    inet_protocols = ipv4
    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.13-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  8. #18
    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
    You need to configure /etc/postfix/main.cf and change inet_protocols
    (line 706) from all to ipv4;

    Code:
    cat /etc/postfix/main.cf |grep inet_protocols
    
    inet_protocols = ipv4
    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.13-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!
    After changing NM IPv6 to ignored, it had a clean boot, but the postfix status was still a mess.
    Am trying to edit the /etc/postfix/main.cf, but need to figure out how to save it.
    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!)

  9. #19
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,485
    Blog Entries
    15

    Default Re: Desktop hangs at locale service

    Quote Originally Posted by Bill_L View Post
    After changing NM IPv6 to ignored, it had a clean boot, but the postfix status was still a mess.
    Am trying to edit the /etc/postfix/main.cf, but need to figure out how to save it.
    Hi
    In vi, nano etc?
    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!

  10. #20
    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
    In vi, nano etc?
    Yeah, head finally came out of dark place. I changed to root, and made the change, restarted and another complete boot w/o hang up.

    BTW, that
    Code:
    ::1             localhost ipv6-localhost ipv6-loopback
    is still in the hosts file.
    And the systemctl status is still got red in in and now includes a reference to IPv4.
    Code:
    localhost:~ # systemctl status postfix
     postfix.service - Postfix Mail Transport Agent
       Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Mon 2018-08-27 19:13:43 CDT; 8min ago
      Process: 1474 ExecStopPost=/etc/postfix/system/cond_slp deregister (code=exited, status=0/SUCCESS)
      Process: 1435 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
    
    Aug 27 19:13:38 localhost systemd[1]: Starting Postfix Mail Transport Agent...
    Aug 27 19:13:38 localhost echo[1346]: Starting mail service (Postfix)
    Aug 27 19:13:40 localhost postfix[1435]: fatal: unknown inet_protocols value "IPv4" in "IPv4"
    Aug 27 19:13:41 localhost systemd[1]: postfix.service: Control process exited, code=exited status=1
    Aug 27 19:13:42 localhost cond_slp[1474]: /usr/sbin/postconf: fatal: unknown inet_protocols value "IPv4" in "IPv4"
    Aug 27 19:13:43 localhost systemd[1]: Failed to start Postfix Mail Transport Agent.
    Aug 27 19:13:43 localhost systemd[1]: postfix.service: Unit entered failed state.
    Aug 27 19:13:43 localhost systemd[1]: postfix.service: Failed with result 'exit-code'.
    
    
    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!)

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

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