You are not logged in.

#1 2017-04-25 06:35:08

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

[SOLVED] sddm.service failed

Hi, after latest update I cannot start KDE. Log says
sddm.service: Unit entered failed state.

It seems the latest update didn't have anything which affected graph system.
I don't know what to do.

Last edited by ZeroLinux (2017-04-25 08:47:38)

Offline

#2 2017-04-25 07:06:59

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sddm.service failed

Read your journal.



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-04-25 07:38:29

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

It says:

апр 25 10:36:51 zenbook systemd[1]: Stopped Simple Desktop Display Manager.
апр 25 10:36:51 zenbook systemd[1]: Started Simple Desktop Display Manager.
апр 25 10:36:51 zenbook sddm[1262]: /usr/bin/sddm: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)
апр 25 10:36:51 zenbook sddm[1262]: /usr/bin/sddm: /usr/lib/libssl.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)
апр 25 10:36:51 zenbook systemd[1]: sddm.service: Main process exited, code=exited, status=1/FAILURE
апр 25 10:36:51 zenbook systemd[1]: sddm.service: Unit entered failed state.
апр 25 10:36:51 zenbook systemd[1]: sddm.service: Failed with result 'exit-code'.

Offline

#4 2017-04-25 07:44:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sddm.service failed

Paste your versions of ssdm, openssl and qt5-base


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-04-25 07:48:36

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

Thank for helping me

$ sudo pacman -Q sddm openssl qt5-base
sddm 0.14.0-2
openssl 1.1.0.e-1
qt5-base 5.8.0-10

Offline

#6 2017-04-25 07:51:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sddm.service failed

sddm needs to be rebuilt against the new ssl lib. Open a bug report.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-04-25 07:57:28

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

Probably it because I recreated symlinks manually

ln -s libcrypto.so.1.1 libcrypto.so.1.0.0 
ln -s libssl.so.1.1 libssl.so.1.0.0 

after

 pacman -Syudd

hoping it will fix the problem

How to start KDE?

Offline

#8 2017-04-25 08:00:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sddm.service failed

Why would you do that?

You can start KDE without a display manager; read the wiki.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2017-04-25 08:03:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] sddm.service failed

If SDDM is broken due to a qt5 dep KDE will be broken due to the same qt5 dep. Remove those symlinks and update your system, use other mirrors if you don't see an update to at least qt5-base 5.8.0-10

Offline

#10 2017-04-25 08:03:43

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

jasonwryan wrote:

Why would you do that?

I did it because after pacman -Syudd pacman didn't work because of the error with shared library libssl and libcrypto

Now I cannot start KDE

startplasmacompositor: Starting up...
/usr/bin/kwin_wayland: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)
/usr/bin/kwin_wayland: /usr/lib/libssl.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)
startplasmacompositor: Shutting down...
xprop:  unable to open display ''
xprop:  unable to open display ''
startplasmacompositor: Done.

Last edited by ZeroLinux (2017-04-25 08:08:16)

Offline

#11 2017-04-25 08:08:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sddm.service failed

You know what the -d flag is for, don't you? What makes you think it is a good idea to use it for a system update?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2017-04-25 08:10:56

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

jasonwryan wrote:

You know what the -d flag is for, don't you? What makes you think it is a good idea to use it for a system update?

Yes, I regret about using it.
Now I cannot start plasma because of the same mistake.

startplasmacompositor: Starting up...
/usr/bin/kwin_wayland: /usr/lib/libcrypto.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)
/usr/bin/kwin_wayland: /usr/lib/libssl.so.1.0.0: version `OPENSSL_1.0.2d' not found (required by /usr/lib/libQt5Network.so.5)
startplasmacompositor: Shutting down...
xprop:  unable to open display ''
xprop:  unable to open display ''
startplasmacompositor: Done.

How can I fix it?

Offline

#13 2017-04-25 08:12:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] sddm.service failed

Remove the symlinks and re-update your system.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2017-04-25 08:14:13

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

jasonwryan wrote:

Remove the symlinks and re-update your system.

What command should I use to re-update?

Offline

#15 2017-04-25 08:14:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] sddm.service failed

Install openssl-1.0 after removing symlinks, simply updating the system is likely not to work since the necessary packages are technically up to date already, even if missing crucial deps.

Always use

pacman -Syu

to update.

Last edited by V1del (2017-04-25 08:15:29)

Offline

#16 2017-04-25 08:26:07

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

After deleting symlinks and pacman -S openssl --force (to make it write symlinks)

startplasmacompositor: Starting up...
/usr/bin/kwin_wayland: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
startplasmacompositor: Shutting down...
xprop:  unable to open display ''
xprop:  unable to open display ''
startplasmacompositor: Done.
# ls -l /usr/lib/libssl*
-rwxr-xr-x 1 root root 361408 апр 21 13:21 /usr/lib/libssl3.so
lrwxrwxrwx 1 root root     13 фев 16 16:51 /usr/lib/libssl.so -> libssl.so.1.1
-rwxr-xr-x 1 root root 437992 фев 16 16:52 /usr/lib/libssl.so.1.1

# ls -l /usr/lib/libcrypt*
-rwxr-xr-x 1 root root   39032 мар  6 16:06 /usr/lib/libcrypt-2.25.so
-rw-r--r-- 1 root root   57608 мар  6 16:06 /usr/lib/libcrypt.a
lrwxrwxrwx 1 root root      16 фев 16 16:51 /usr/lib/libcrypto.so -> libcrypto.so.1.1
-rwxr-xr-x 1 root root 2583784 фев 16 16:52 /usr/lib/libcrypto.so.1.1
lrwxrwxrwx 1 root root      22 мар 16 09:17 /usr/lib/libcryptsetup.so -> libcryptsetup.so.4.7.0
lrwxrwxrwx 1 root root      22 мар 16 09:17 /usr/lib/libcryptsetup.so.4 -> libcryptsetup.so.4.7.0
-rwxr-xr-x 1 root root  163200 мар 16 09:17 /usr/lib/libcryptsetup.so.4.7.0
lrwxrwxrwx 1 root root      13 мар  6 16:06 /usr/lib/libcrypt.so -> libcrypt.so.1
lrwxrwxrwx 1 root root      16 мар  6 16:06 /usr/lib/libcrypt.so.1 -> libcrypt-2.25.so

There is NO libssl.so.1.0.0

I cannot restore synlinks in the normal way by installing openssl. What to do next?

Last edited by ZeroLinux (2017-04-25 08:30:52)

Offline

#17 2017-04-25 08:30:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] sddm.service failed

There is a package called openssl-1.0 install that, no need to use force.

None of this would have happened if you had updated the normal way, using -dd on a system update is predestined to breakage, don't do it.

And never manually create symlinks to system libraries. There is a reason why they were replaced, as you have now noticed. Read up on soname bumps if you have further interest in this.

Last edited by V1del (2017-04-25 08:37:11)

Offline

#18 2017-04-25 08:46:26

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

V1del wrote:

There is a package called openssl-1.0 install that, no need to use force.

None of this would have happened if you had updated the normal way, using -dd on a system update is predestined to breakage, don't do it.

THANK YOU VERY, VERY MUCH! You're really so helpful. Finally it works.

I never used -dd before. I found it here, on forum. From the latest update my sddm didn't start today in the morning after yesterday's evening usual yaourt -Syua. I started to "fix" trying to find relevant information on this forum and analyzing yesterday's updated packages. I noticed libssh2 updated and downgraded it. It led to problem with all libssl and libcrypto and resulted in pacman -dd, it resulted in broken pacman with broken libssl and libcrypto... I created symlinks manually to make pacman working at least somehow. So sad story... That's all. I thought the problem in not full update. If it were not for you I would have straggled till now not knowing what to do. I am so thankful to you! You really helped me to the extend you don't imagine! Thank you again!

Offline

#19 2017-04-25 08:55:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] sddm.service failed

Yeah that's a bit of an unfortunate situation that there were a few mirrors that hadn't been updated completely yet. Next time something like this happens, the correct way to reupdate the system is to use a livedisk and updating using pacman's --root option. Don't forget to mark as solved by editing the title of your initial post.

Offline

#20 2017-04-25 09:16:07

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

V1del wrote:

Yeah that's a bit of an unfortunate situation that there were a few mirrors that hadn't been updated completely yet. Next time something like this happens, the correct way to reupdate the system is to use a livedisk and updating using pacman's --root option. Don't forget to mark as solved by editing the title of your initial post.

You know I have encrypted system and that's a bit complicated using livedisk. I've never heard about pacman --root option. Thanks I will read about it. I used only chroot and arch-chroot. Should I use from livecd pacman --root also with "--cachedir" and with "--config" options necessary?

Offline

#21 2017-04-25 10:30:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [SOLVED] sddm.service failed

ZeroLinux, this thread is a mess.  There is no need to go back to the first post and highlight the mistakes you made - you are quite well aware of them now.  But yet you persist in doing very dangerous things despite being told exactly what to do.  How does someone suggesting removing symlinks and running `pacman -Syu` lead you to think `pacman -Syu --force` is a good idea?!  That is a horrifically bad idea.

Please do not ask for advice on how to fix your system if you are simply going to ignore that advice and instead do something different that will likely lead to worse breakage.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#22 2017-04-25 11:27:27

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

Trilby wrote:

ZeroLinux, this thread is a mess.  There is no need to go back to the first post and highlight the mistakes you made - you are quite well aware of them now.  But yet you persist in doing very dangerous things despite being told exactly what to do.  How does someone suggesting removing symlinks and running `pacman -Syu` lead you to think `pacman -Syu --force` is a good idea?!  That is a horrifically bad idea.

Please do not ask for advice on how to fix your system if you are simply going to ignore that advice and instead do something different that will likely lead to worse breakage.

I agree.  I did what I asked to do. I noticed pacman -Syu didn't restore symlinks. It led me to suggestion that system understood that the package was already installed and refused to rewrite all files (actually I don't understand fully how pacman treats already existed packages).Therefore I decided to --force it. That was a simple reason. I didn't ignore advice as it could seem, just noticed it didn't help. Therefore I made  `pacman -Syu --force`. Then I noticed that even --force didn't help. It was frustrated. But V1del helped me a lot showing the package to install to restore symlinks and it helped. I am really thankful. Sure, I don't do anything dangerous if everything  works as it should work. But in this case because of being desperate I tried to do everything and made the situation worse. Usually I don't do anything like that. I always make backups and have records of my changes, but this time I needed my computer to work as quick as possible, and make several mistakes worsening the situation. I'm asking for advice to follow it. But sometimes when my request is answered I do what I think will help. In this situation it led to a problem. But in all other cases - not. Sorry, for being misunderstood. Please, do not criticize users so much - they learn, as you say "mistakes you made - you are quite well aware of them now". From now I will act more cautiously even in limited time situation. It was a good lesson. I choose archlinux many years ago because of friendly and ready to help community among other things.  I'm not a stubborn person as it seemed to you. I tried to explain you why I acted in a so stupid way hoping you will understand me. Sorry again!

Offline

#23 2017-04-25 12:41:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: [SOLVED] sddm.service failed

ZeroLinux wrote:

Sure, I don't do anything dangerous if everything  works as it should work. But in this case because of being desperate...

Oh, sure, of course.  If you're desperate by all means flail aimlessly - that should work.

This is an active community: if a suggested approach fails, post the error message it gives and you'll quickly get good advice at how to deal with it.  Or just check the wiki as such things are already documented.

I don't mean to be a jerk, but I do hope to save you (and us) misery in the future: if you don't understand what you are doing - stop and seek help.  Arch linux is not a distro that will be kind to you if you continue to do dangerous things out of desperation.  You should either change how you deal with desperation or change your distro - because your current strategy and arch linux are at odds.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#24 2017-04-25 12:46:38

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] sddm.service failed

Trilby wrote:

if you don't understand what you are doing - stop and seek help.

I'll act this way next time definitely. Thanks for advice.

Offline

Board footer

Powered by FluxBB