Files are actually kept, same goes if you were using AD.
Mail folders are NOT touched! At least not with this option removing your Account Provider and reinstalling it.
Still, as you have NO backup, it might be a good idea to hook up a spare disk to that server and copy the whole mail folder over, just as a point in time backup (!).
Rule One in IT:
Better a backup too many, than one too little (Meaning NO backup!)…
Andy
yum reinstall sssd-common
Loading moduled: changelog, fastestmirror, langpacks, nethserver_events
Loading mirror speeds from cached hostfile
* ce-base: repo.uk.bigstepcloud.com
* ce-extras: repo.uk.bigstepcloud.com
* ce-sclo-rh: repo.uk.bigstepcloud.com
* ce-sclo-sclo: repo.uk.bigstepcloud.com
* ce-updates: repo.uk.bigstepcloud.com
* epel: epel.mirrors.arminco.com
* nethforge: nethserver.interlin.nl
* nethserver-base: nethserver.interlin.nl
* nethserver-updates: nethserver.interlin.nl
Resolution deps
--> Checing scenario
---> Package sssd-common.x86_64 0:1.16.4-21.el7_7.3 marked for update
--> Handle dependence: sssd-common = 1.16.4-21.el7_7.3 from package: sssd-ipa-1.16.4-21.el7_7.3.x86_64
--> Handle dependence: sssd-common = 1.16.4-21.el7_7.3 from package:: sssd-proxy-1.16.4-21.el7_7.3.x86_64
--> Handle dependence: sssd-common = 1.16.4-21.el7_7.3 from package:: sssd-ldap-1.16.4-21.el7_7.3.x86_64
--> Handle dependence: sssd-common = 1.16.4-21.el7_7.3 from package:: sssd-common-pac-1.16.4-21.el7_7.3.x86_64
--> Handle dependence: sssd-common = 1.16.4-21.el7_7.3 from package:: sssd-krb5-common-1.16.4-21.el7_7.3.x86_64
--> Handle dependence: sssd-common = 1.16.4-21.el7_7.3 from package:: sssd-ad-1.16.4-21.el7_7.3.x86_64
--> Handle dependence: sssd-common = 1.16.4-21.el7_7.3 from package:: sssd-krb5-1.16.4-21.el7_7.3.x86_64
---> Package sssd-common.x86_64 0:1.16.4-37.el7_8.3 marked as update
---> Package sssd-common.x86_64 0:1.16.4-37.el7_8.3 marked for removing
--> Check deps completed
Error: Package: sssd-common-pac-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
Need: sssd-common = 1.16.4-21.el7_7.3
Remove: sssd-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
sssd-common = 1.16.4-21.el7_7.3
Update: sssd-common-1.16.4-37.el7_8.3.x86_64 (ce-updates)
sssd-common = 1.16.4-37.el7_8.3
Available: sssd-common-1.16.4-37.el7.x86_64 (ce-base)
sssd-common = 1.16.4-37.el7
Error: Package: sssd-ldap-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
Need: sssd-common = 1.16.4-21.el7_7.3
Removing: sssd-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
sssd-common = 1.16.4-21.el7_7.3
Update: sssd-common-1.16.4-37.el7_8.3.x86_64 (ce-updates)
sssd-common = 1.16.4-37.el7_8.3
Available: sssd-common-1.16.4-37.el7.x86_64 (ce-base)
sssd-common = 1.16.4-37.el7
Error: Package: sssd-ipa-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
Need: sssd-common = 1.16.4-21.el7_7.3
Removing: sssd-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
sssd-common = 1.16.4-21.el7_7.3
Update: sssd-common-1.16.4-37.el7_8.3.x86_64 (ce-updates)
sssd-common = 1.16.4-37.el7_8.3
Available: sssd-common-1.16.4-37.el7.x86_64 (ce-base)
sssd-common = 1.16.4-37.el7
Error: Package: sssd-krb5-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
Need: sssd-common = 1.16.4-21.el7_7.3
Removing: sssd-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
sssd-common = 1.16.4-21.el7_7.3
Update: sssd-common-1.16.4-37.el7_8.3.x86_64 (ce-updates)
sssd-common = 1.16.4-37.el7_8.3
Available: sssd-common-1.16.4-37.el7.x86_64 (ce-base)
sssd-common = 1.16.4-37.el7
Error: Package: sssd-proxy-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
Need: sssd-common = 1.16.4-21.el7_7.3
Removing: sssd-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
sssd-common = 1.16.4-21.el7_7.3
Update: sssd-common-1.16.4-37.el7_8.3.x86_64 (ce-updates)
sssd-common = 1.16.4-37.el7_8.3
Available: sssd-common-1.16.4-37.el7.x86_64 (ce-base)
sssd-common = 1.16.4-37.el7
Error: Package: sssd-ad-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
Need: sssd-common = 1.16.4-21.el7_7.3
Removing: sssd-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
sssd-common = 1.16.4-21.el7_7.3
Update: sssd-common-1.16.4-37.el7_8.3.x86_64 (ce-updates)
sssd-common = 1.16.4-37.el7_8.3
Available: sssd-common-1.16.4-37.el7.x86_64 (ce-base)
sssd-common = 1.16.4-37.el7
Error: Package: sssd-krb5-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
Need: sssd-common = 1.16.4-21.el7_7.3
Removing: sssd-common-1.16.4-21.el7_7.3.x86_64 (@ce-updates)
sssd-common = 1.16.4-21.el7_7.3
Update: sssd-common-1.16.4-37.el7_8.3.x86_64 (ce-updates)
sssd-common = 1.16.4-37.el7_8.3
Available: sssd-common-1.16.4-37.el7.x86_64 (ce-base)
sssd-common = 1.16.4-37.el7
you can try --skip-broken to avoid this problem
How to fix it?
@mrmarkuz
Hi Markus
Maybe you’ve got a tip here, I recall reading you battle with version conflicts recently…
Thx
Andy
Now I need concrete instructions.
giacomo
(Giacomo Sanchietti)
May 22, 2020, 2:22pm
19
You could try to reinstall only the corrupted packages, if any.
First you need to update everything, I do not know why you have problems, probably some broken transaction.
Blind shot:
yum --disablerepo=* --enablerepo=nethserver-updates,nethserver-base,base,updates update
I just fixed a machine with the same problem:
rm -f /usr/lib64/ldb/modules/ldb/paged_results.so
systemctl restart sssd
4 Likes
@giacomo
This guy’s server rebooted (no reason given) during upgrade 7.7x to 7.8…
Sh*t happens!
1 Like
Thank you, master) All work fine. You save my workplace.
2 Likes
capote
(Marko)
May 22, 2020, 6:05pm
22
Vladimir_Pobedinskiy:
You save my workplace.
I think this is the best and greatest impact of the wonderful support here.
3 Likes
renesigi
(René Siegenthaler)
June 19, 2020, 9:56am
23
I’ve had and still have the same problem: SSSD exit code 1 e.g.
Jun 18 10:07:37 sits-srv03 httpd: [ERROR] NethServer\Tool\GroupProvider: Account provider generic error: SSSD exit code 1
is shown in the messages log file located in var/log:
No Users/Groups are shown anymore and as a consequence, no file sharing is possible any more ! didn’t check other things, that are also not working accordingly.
This happened after an Update in the Software Center a few days ago.
Then I had the idea, to restore a Configuration Backup from before the update and as a result, anything worked fine again BUT when I a do a reboot, the SSSD exit code 1 error is back
I really haven’t any idea how to solve this problem. What could be the reason for this error and how can I correct it?
@renesigi
Hi René
Evtl. auch CH?
Configuration Backup is a good idea, and often resolves the problem.
What Version is your NethServer running?
Are there any updates missing?
Sometimes with the SSSD error, it will show up in dashboard after reboot - but will disappear in about 5 minutes, if you do a browser refresh.
Try also Giacomo’s solution above:
You could try to reinstall only the corrupted packages, if any.
First you need to update everything, I do not know why you have problems, probably some broken transaction.
Blind shot:
yum --disablerepo=* --enablerepo=nethserver-updates,nethserver-base,base,updates update
I just fixed a machine with the same problem:
rm -f /usr/lib64/ldb/modules/ldb/paged_results.so
systemctl restart sssd
My 2 cents
Andy
1 Like
renesigi
(René Siegenthaler)
June 19, 2020, 12:07pm
25
Thanks, for answering - Yes, auch CH
I have NethServer Version 7.8.2003 and no Updates found in the Software Center - so it should be the newest up to date version of Nethserver.
The SSSD exit code 1 error is actually only shown in the old Server Manager running on port 980.
The new one Cockpit does not show any errors at all, but again, no users are listed nor are SMB shares from my Windows client working.
Yes, I should reinstall the corrupted packages - BUT which one are corrupt resp. have a wrong configuration that’s the question. Any idea how to find out these packages?
@renesigi
Try this:
yum --disablerepo=* --enablerepo=nethserver-updates,nethserver-base,base,updates update
Then
rm -f /usr/lib64/ldb/modules/ldb/paged_results.so
systemctl restart sssd
Should work…
-> Holzhammermethode!
Andy
renesigi
(René Siegenthaler)
June 19, 2020, 1:30pm
27
OK, I understand the yum command line:
But I don’t know what
rm -f /usr/lib64/ldb/modules/ldb/paged_results.so
really does. Please give me a short hint. Danke
Hi
This removes a “buggy” file that the normal update won’t remove. It gets replaced with the next update…
renesigi
(René Siegenthaler)
June 19, 2020, 2:11pm
29
I’ve executed tihs «Holzhammermethode» but no success. After rebooting I got still the SSSD exit code 1 error on the old Server Manager. No users/groups and no windows sharing is possible
Thanks anyway for your help.
Know I need to investigate further possible causes for the error
flatspin
(Ralf Jeckel)
June 19, 2020, 3:39pm
30
Just a blind shot…
Is the SSSD enabled at all and is the machines.target enabled and loaded and does systemd boot into the right target (multi-user)?
systemctl get-default
systemctl list-units --type target
systemctl is-enabled sssd
renesigi
(René Siegenthaler)
June 22, 2020, 1:07pm
31
Thanks for your hint.
Today morning, I had the following strange behavior:
Started Nethserver by switching on the server HW.
Log into it using the old server manager on port 980
Got again the error SSSD exit code 1
Did somthing else for about 2 hours.
Then I did a reload of the server manager page in the browser
Got obviously a timeout and had to re-login again AND
NO SSSD exit code 1 anymore
I’ve done nothing att all, but the error was just not reproducible AND the users/groups and the shared folders just worked, I’ve no idea way Any idea
Your proposed commands give the following output:
systemctl get-default
multi-user.target
systemctl list-units --type target
UNIT LOAD ACTIVE SUB DESCRIPTION
basic.target loaded active active Basic System
cryptsetup.target loaded active active Local Encrypted Volumes
getty.target loaded active active Login Prompts
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
machines.target loaded active active Containers
multi-user.target loaded active active Multi-User System
network-online.target loaded active active Network is Online
network.target loaded active active Network
nfs-client.target loaded active active NFS client services
nss-user-lookup.target loaded active active User and Group Name Lookups
paths.target loaded active active Paths
remote-fs-pre.target loaded active active Remote File Systems (Pre)
remote-fs.target loaded active active Remote File Systems
rpc_pipefs.target loaded active active rpc_pipefs.target
rpcbind.target loaded active active RPC Port Mapper
slices.target loaded active active Slices
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
22 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
[3]+ Stopped systemctl list-units --type target
systemctl is-enabled sssd
enabled
And systemctl list-unit-files
looks as follows:
systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount disabled
var-lib-nfs-rpc_pipefs.mount static
brandbot.path disabled
systemd-ask-password-console.path static
systemd-ask-password-plymouth.path static
systemd-ask-password-wall.path static
session-10.scope static
session-2.scope static
session-9.scope static
arp-ethers.service disabled
auditd.service enabled
auth-rpcgss-module.service static
autovt@.service enabled
blk-availability.service disabled
brandbot.service static
certbot-renew.service static
chrony-dnssrv@.service static
chrony-wait.service disabled
chronyd.service enabled
clean-mount-point@.service static
cockpit-motd.service static
cockpit-user.service static
cockpit.service static
collectd.service enabled
conntrackd.service disabled
console-getty.service disabled
console-shell.service disabled
container-getty@.service static
containerd.service disabled
cpupower.service disabled
crond.service enabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.import1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.machine1.service static
dbus-org.freedesktop.nm-dispatcher.service enabled
dbus-org.freedesktop.timedate1.service static
dbus.service static
dckfwatch.service static
debug-shell.service disabled
dm-event.service static
dnsmasq.service enabled
docker.service enabled
dracut-cmdline.service static
dracut-initqueue.service static
dracut-mount.service static
dracut-pre-mount.service static
dracut-pre-pivot.service static
dracut-pre-trigger.service static
dracut-pre-udev.service static
dracut-shutdown.service static
ebtables.service disabled
emergency.service static
firehol.service disabled
fireqos.service disabled
firewalld.service disabled
fstrim.service static
getty@.service enabled
gssproxy.service disabled
halt-local.service static
htcacheclean.service static
httpd-admin-reload.service static
httpd-admin.service enabled
httpd.service enabled
initrd-cleanup.service static
initrd-parse-etc.service static
initrd-switch-root.service static
initrd-udevadm-cleanup-db.service static
ip6tables.service disabled
iprdump.service disabled
iprinit.service disabled
iprupdate.service disabled
iptables.service disabled
irqbalance.service enabled
iscsi-onboot.service disabled
iscsi-shutdown.service static
iscsi.service enabled
iscsid.service disabled
iscsiuio.service disabled
kdump.service enabled
kmod-static-nodes.service static
lsm.service disabled
lvm2-lvmetad.service static
lvm2-lvmpolld.service static
lvm2-monitor.service enabled
lvm2-pvscan@.service static
mariadb.service disabled
mcollective.service disabled
mdadm-grow-continue@.service static
mdadm-last-resort@.service static
mdcheck_continue.service static
mdcheck_start.service static
mdmon@.service static
mdmonitor-oneshot.service static
mdmonitor.service enabled
messagebus.service static
microcode.service enabled
multipathd.service enabled
mysqld.service enabled
mysqld_recover.service disabled
nethserver-config-network.service enabled
nethserver-system-init.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service enabled
NetworkManager.service disabled
nfs-blkmap.service disabled
nfs-config.service static
nfs-idmap.service static
nfs-idmapd.service static
nfs-lock.service static
nfs-mountd.service static
nfs-rquotad.service disabled
nfs-secure.service static
nfs-server.service disabled
nfs-utils.service static
nfs.service disabled
nfslock.service static
nmb.service enabled
nms.service enabled
nsdc.service enabled
oddjobd.service enabled
php56-php-fpm.service enabled
php70-php-fpm.service enabled
php71-php-fpm.service enabled
php72-php-fpm.service enabled
php73-php-fpm.service enabled
php74-php-fpm.service enabled
plymouth-halt.service disabled
plymouth-kexec.service disabled
plymouth-poweroff.service disabled
plymouth-quit-wait.service disabled
plymouth-quit.service disabled
plymouth-read-write.service disabled
plymouth-reboot.service disabled
plymouth-start.service disabled
plymouth-switch-root.service static
polkit.service static
postfix.service enabled
pppoe-server.service disabled
puppet.service disabled
pxp-agent.service disabled
quotaon.service static
rc-local.service static
rdisc.service disabled
realmd.service static
rescue.service static
rh-php72-php-fpm.service enabled
rh-php73-php-fpm.service enabled
rhel-autorelabel-mark.service enabled
rhel-autorelabel.service enabled
rhel-configure.service enabled
rhel-dmesg.service enabled
rhel-domainname.service enabled
rhel-import-state.service enabled
rhel-loadmodules.service enabled
rhel-readonly.service enabled
rpc-gssd.service static
rpc-rquotad.service disabled
rpc-statd-notify.service static
rpc-statd.service static
rpcbind.service enabled
rpcgssd.service static
rpcidmapd.service static
rsyncd.service disabled
rsyncd@.service static
rsyslog.service enabled
selinux-policy-migrate-local-changes@.service static
serial-getty@.service disabled
shellinaboxd.service enabled
shorewall.service enabled
smartd.service enabled
smb.service enabled
smwingsd.service static
snmpd.service disabled
snmptrapd.service disabled
sshd-keygen.service static
sshd.service enabled
sshd@.service static
sssd-autofs.service indirect
sssd-nss.service indirect
sssd-pac.service indirect
sssd-pam.service indirect
sssd-secrets.service indirect
sssd-ssh.service indirect
sssd-sudo.service indirect
sssd.service enabled
systemd-ask-password-console.service static
systemd-ask-password-plymouth.service static
systemd-ask-password-wall.service static
systemd-backlight@.service static
systemd-binfmt.service static
systemd-bootchart.service disabled
systemd-firstboot.service static
systemd-fsck-root.service static
systemd-fsck@.service static
systemd-halt.service static
systemd-hibernate-resume@.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hwdb-update.service static
systemd-hybrid-sleep.service static
systemd-importd.service static
systemd-initctl.service static
systemd-journal-catalog-update.service static
systemd-journal-flush.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-machine-id-commit.service static
systemd-machined.service static
systemd-modules-load.service static
systemd-nspawn@.service disabled
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed.service static
systemd-readahead-collect.service enabled
systemd-readahead-done.service indirect
systemd-readahead-drop.service enabled
systemd-readahead-replay.service enabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-rfkill@.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup-dev.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-done.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
tcsd.service disabled
teamd@.service static
tuned.service enabled
udisks2.service enabled
vsftpd.service enabled
vsftpd@.service disabled
winbind.service enabled
wpa_supplicant.service disabled
yum-cron.service enabled
-.slice static
machine.slice static
system.slice static
user-0.slice static
user.slice static
cockpit-user.socket enabled
cockpit.socket enabled
dbus.socket static
dm-event.socket enabled
docker.socket disabled
iscsid.socket enabled
iscsiuio.socket enabled
lvm2-lvmetad.socket enabled
lvm2-lvmpolld.socket enabled
rpcbind.socket enabled
rsyncd.socket disabled
sshd.socket disabled
sssd-autofs.socket disabled
sssd-nss.socket disabled
sssd-pac.socket disabled
sssd-pam-priv.socket disabled
sssd-pam.socket disabled
sssd-secrets.socket disabled
sssd-ssh.socket disabled
sssd-sudo.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
basic.target static
bluetooth.target static
cryptsetup-pre.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target enabled
emergency.target static
final.target static
getty-pre.target static
getty.target static
graphical.target static
halt.target disabled
hibernate.target static
hybrid-sleep.target static
initrd-fs.target static
initrd-root-fs.target static
initrd-switch-root.target static
initrd.target static
iprutils.target disabled
kexec.target disabled
local-fs-pre.target static
local-fs.target static
machines.target enabled
multi-user.target enabled
network-online.target static
network-pre.target static
network.target static
nfs-client.target enabled
nss-lookup.target static
nss-user-lookup.target static
paths.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-cryptsetup.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpc_pipefs.target static
rpcbind.target static
runlevel0.target disabled
runlevel1.target disabled
runlevel2.target enabled
runlevel3.target enabled
runlevel4.target enabled
runlevel5.target static
runlevel6.target disabled
shutdown.target static
sigpwr.target static
sleep.target static
slices.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
system-update.target static
time-sync.target static
timers.target static
umount.target static
vsftpd.target disabled
certbot-renew.timer disabled
chrony-dnssrv@.timer disabled
fstrim.timer disabled
httpd-admin-reload.timer static
mdadm-last-resort@.timer static
mdcheck_continue.timer disabled
mdcheck_start.timer disabled
mdmonitor-oneshot.timer disabled
systemd-readahead-done.timer indirect
systemd-tmpfiles-clean.timer static
359 unit files listed.
@renesigi
Salü René
As I mentionned in my first reply:
In your case it took a bit more than 5 minutes…
I think this a bit of
A) a Browser caching issue
B) Server also has caching issues…
As mentionned, I operate about 25-30 NethServers for clients, about 2-3 have the same issue (or also non-issue…). These NethServers also have heavier usage than the others.
Andy
1 Like
flatspin
(Ralf Jeckel)
June 22, 2020, 1:38pm
33
Good to hear it works now, even if we don’t know why.
I had a problem after a disaster recovery, where my systemd boot was messed up with very similar symptons to your case.
But your systemboot is o.k. It’s the right target and the service is enabled and loaded.