GAU after installing and remove Cups and Savapage

httpd misses a NethServer default file (/etc/httpd/conf.d/default-virtualhost.inc: No such file or directory) and shorewall seems to be unconfigured.

Did you try that? Did it install packages?

Another method to install necessary packages:

yum install nethserver-base nethserver-firewall-base nethserver-httpd

Yes, packages was installed. But all groups an users are away.
services httpd and shorewall wont start.

[root@dc01 ~]# yum install nethserver-base nethserver-firewall-base nethserver-httpd
Loaded plugins: changelog, fastestmirror, nethserver_events
Determining fastest mirrors

If signal-event still doesn’t work, please logout and login again to your server or use /usr/sbin/e-smith/signal-event

Apply configuration (and rewrite config files) for httpd and shorewall:

signal-event nethserver-httpd-update

signal-event firewall-adjust

Server is back now.

mrmarkuz, if you didn’t already exist, you would have to be invented. You are just great!

But I still can’t log on to the domain with a client. In the server manager, users and groups are no longer displayed.

1 Like

Did you already reboot the server?

Yes, more than once. But somehow everything is gone.

Until NSDC is correctly running, no user/group should be there…

1 Like

Let’s check if there’s a quick fix. We could always restore a (config) backup.

Does following command work?

account-provider-test dump

Check the service status:

systemctl status sssd nsdc -l

1 Like

[root@dc01 ~]# account-provider-test dump
{
“BindDN” : “ldapservice@AD.xxx.DE”,
“LdapURI” : “ldaps://nsdc-dc01.ad.xxx.de”,
“DiscoverDcType” : “ldapuri”,
“StartTls” : “”,
“port” : 636,
“host” : “nsdc-dc01.ad.xxx.de”,
“isAD” : “1”,
“isLdap” : “”,
“UserDN” : “dc=ad,dc=xxx,dc=de”,
“GroupDN” : “dc=ad,dc=xxx,dc=de”,
“BindPassword” : “xxx”,
“BaseDN” : “dc=ad,dc=xxx,dc=de”,
“LdapUriDn” : “ldap:///dc%3Dad%2Cdc%3Dxxx%2Cdc%3Dde”

[root@dc01 ~]# systemctl status sssd nsdc -l
● sssd.service - System Security Services Daemon
Loaded: loaded (/usr/lib/systemd/system/sssd.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2022-02-26 22:34:04 CET; 9min ago
Main PID: 987 (sssd)
CGroup: /system.slice/sssd.service
├─ 987 /usr/sbin/sssd -i --logger=files
├─1302 /usr/libexec/sssd/sssd_be --domain xxx.de --uid 0 --g id 0 --logger=files
├─1315 /usr/libexec/sssd/sssd_nss --uid 0 --gid 0 --logger=files
└─1316 /usr/libexec/sssd/sssd_pam --uid 0 --gid 0 --logger=files

Feb 26 22:34:02 dc01.xxx.de systemd[1]: Starting System Security Servic es Daemon…
Feb 26 22:34:03 dc01.xxx.de sssd[sssd][987]: Starting up
Feb 26 22:34:03 dc01.xxx.de sssd[be[xxx.de]][1302]: Starting u p
Feb 26 22:34:04 dc01.xxx.de sssd[nss][1315]: Starting up
Feb 26 22:34:04 dc01.xxx.de sssd[pam][1316]: Starting up
Feb 26 22:34:04 dc01.xxxde systemd[1]: Started System Security Service s Daemon.
Feb 26 22:34:07 dc01.xxx sssd[be[xxx.de]][1302]: Backend is offline
Unit nsdc.service could not be found.

Hm, nsdc service is missing.

Yes, it looks like it.

Maybe due to issues to network interfaces?

May be…

Screenshot 2022-02-26 225226

Please recheck nsdc config (it seems empty):

config show nsdc

[root@dc01 ~]# config show nsdc
nsdc=service
IpAddress=192.168.154.5
ProvisionType=newdomain
bridge=br0
status=enabled

Maybe it also helps to rewrite the templated files:

signal-event nethserver-dc-update

No way, same bad situation. But now lets have break. Im much to tired. We can try again tomorrow.

Thank yo mrmarkuz and pike.

Good night @ all…

1 Like

It seems the service file /usr/lib/systemd/system/nsdc.service was removed but yum shouldn’t do that.

Good morning,

you are right, mrmarkuz. There is no file nsdc.service

Screenshot 2022-02-27 083336

The logs after starting the system this morning:

Regards…

Uwe