Try out Nethserver 7 beta1

Can you run the ldapsearch command above with Jeckel’s credentials?

yes. same output.

1 Like

found it. for some reason sssd was stopped and also didn’t start at reboot.
started it manual. now ssh and sftp login works and home directory was created.

sssd.log only shows this:

(Tue Aug 23 17:01:22 2016) [sssd] [monitor_cleanup] (0x0010): Error removing pidfile! (2 [No such file or directory])

4 Likes

This line is the symptom of a problem I’m trying to identify, but I cannot reproduce after restarting nsdc container. The following command failed with a similar output:

machinectl login nsdc

If everything is fine it should issue a login prompt:

Connected to machine nsdc. Press ^] three times within 1s to exit session.

CentOS Linux 7 (Core)
Kernel 3.10.0-327.22.2.el7.x86_64 on an x86_64

nsdc-vm5 login:

it does issue the prompt;

`[root@server7c ~]# machinectl login nsdc
Connected to machine nsdc. Press ^] three times within 1s to exit session.

CentOS Linux 7 (Core)
Kernel 3.10.0-327.28.2.el7.x86_64 on an x86_64

nsdc-server7c login:
`

a search through the logs I see these entries that may be of interest.

`
Aug 16 14:49:47 server7c systemd-machined: New machine nsdc.
Aug 16 14:49:47 server7c systemd-nspawn: Failed to create directory /var/lib/machines/nsdc//sys/fs/selinux: No such file or directory
Aug 16 14:49:47 server7c systemd-nspawn: Failed to create directory /var/lib/machines/nsdc//sys/fs/selinux: No such file or directory

`

I have the same lines on my VM, anyway the user-create event works correctly.

We have SELinux disabled: perhaps systemd is just complaining of it.

Thank you for your hint!

Now the label is fixed and can be localized from Transifex

1 Like

A post was merged into an existing topic: Missing Samba home directory

Well, I just tried it on NS7 and next cloud as the base of the chat server and it works well…

1 Like

So, any suggestions for the install at this point? Reset samba? Reinstall?

You could give a try to the Factory reset procedure before reinstall, just to see how it goes.

You said you installed nethserver-nextcloud: which package version? Was it from Software Center or command line? Did you install any other module?

Hi,
for testing I’ve installed NethServer 7 beta 1 with samba active directory as DC. After testing that I tried to bind to another Windows-AD Server, but I don’t find the option anymore. So I uninstalled samba and reinstalled it. After that the dc service is not running and every menu button has to do with samba kills the webinterface.
I tried to reinstall samba again but then I get the message “Resolving RPM dependencies”. Clear YUM cache dosn’t help.

I’ve solved my problem with the Factory Reset.

2 Likes

ns7b - create a couple users - install backup module from gui - install and setup samba from gui - install nextcloud… will be interesting to see what a factory reset of samba does to nextcould… lol

Someone else got this error when installing the packages?

Transaction check error:
file /etc/e-smith/db/configuration/defaults/spamassassin/access from install of nethserver-p3scan-1.1.0-1.ns7.noarch conflicts with file from package nethserver-spamd-1.0.0-1.ns7.noarch
file /etc/e-smith/templates/etc/mail/spamassassin/bwlist.cf/10wbl from install of nethserver-p3scan-1.1.0-1.ns7.noarch conflicts with file from package nethserver-spamd-1.0.0-1.ns7.noarch

1 Like

The first reset failed, so for giggles I reset it again and that was successful, I have been able to create users and groups and this and that.

log from failure to reset…

Aug 30 14:34:23 server7c kernel: br0: port 2(vb-nsdc) entered forwarding state Aug 30 14:36:03 server7c systemd: Starting Cleanup of Temporary Directories... Aug 30 14:36:03 server7c systemd: Started Cleanup of Temporary Directories. Aug 30 14:46:12 server7c dhclient[834]: DHCPREQUEST on br0 to 192.168.124.2 port 67 (xid=0x1c838f10) Aug 30 14:46:12 server7c dhclient[834]: DHCPACK from 192.168.124.2 (xid=0x1c838f10) Aug 30 14:46:14 server7c dhclient[834]: bound to 192.168.124.227 -- renewal in 1348 seconds. Aug 30 14:46:32 server7c smbd[2399]: [2016/08/30 14:46:32.812281, 0] ../source3/printing/print_cups.c:151(cups_connect) Aug 30 14:46:32 server7c smbd[2399]: Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected Aug 30 14:46:32 server7c smbd[1338]: [2016/08/30 14:46:32.812976, 0] ../source3/printing/print_cups.c:529(cups_async_callback) Aug 30 14:46:32 server7c smbd[1338]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL Aug 30 14:54:09 server7c esmith::event[1975]: [ERROR] could not connect to Samba Domain Controller Aug 30 14:54:09 server7c esmith::event[1975]: Action: /etc/e-smith/events/nethserver-dc-save/S95nethserver-dc-waitstart FAILED: 1 [1201.016324] Aug 30 14:54:09 server7c /sbin/e-smith/db[2609]: /var/lib/nethserver/db/configuration: OLD sssd=service|AdDns|192.168.124.228|LdapURI||Provider|none|status|disabled Aug 30 14:54:09 server7c /sbin/e-smith/db[2609]: /var/lib/nethserver/db/configuration: NEW sssd=service|AdDns|192.168.124.228|LdapURI||Provider|ad|status|disabled Aug 30 14:54:09 server7c dbus[589]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' Aug 30 14:54:09 server7c dbus-daemon: dbus[589]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' Aug 30 14:54:09 server7c systemd: Starting Time & Date Service... Aug 30 14:54:09 server7c dbus[589]: [system] Successfully activated service 'org.freedesktop.timedate1' Aug 30 14:54:09 server7c dbus-daemon: dbus[589]: [system] Successfully activated service 'org.freedesktop.timedate1' Aug 30 14:54:09 server7c systemd: Started Time & Date Service. Aug 30 14:54:09 server7c /sbin/e-smith/db[2609]: /var/lib/nethserver/db/configuration: OLD sssd=service|AdDns|192.168.124.228|LdapURI||Provider|ad|status|disabled Aug 30 14:54:09 server7c /sbin/e-smith/db[2609]: /var/lib/nethserver/db/configuration: NEW sssd=service|AdDns|192.168.124.228|LdapURI||Provider|ad|status|enabled Aug 30 14:54:10 server7c dnsmasq[1998]: exiting on receipt of SIGTERM Aug 30 14:54:10 server7c systemd: Stopping DNS caching server.... Aug 30 14:54:10 server7c systemd: Started DNS caching server.. Aug 30 14:54:10 server7c systemd: Starting DNS caching server.... Aug 30 14:54:10 server7c dnsmasq[2614]: started, version 2.66 cachesize 4000 Aug 30 14:54:10 server7c dnsmasq[2614]: compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth Aug 30 14:54:10 server7c dnsmasq-tftp[2614]: TFTP root is /var/lib/tftpboot Aug 30 14:54:10 server7c dnsmasq[2614]: using nameserver 192.168.124.228#53 for domain ad.test.lab.local Aug 30 14:54:10 server7c dnsmasq[2614]: using nameserver 192.168.124.2#53 Aug 30 14:54:10 server7c dnsmasq[2614]: read /etc/hosts - 2 addresses Aug 30 14:54:10 server7c dbus[589]: [system] Activating service name='org.freedesktop.realmd' (using servicehelper) Aug 30 14:54:10 server7c dbus-daemon: dbus[589]: [system] Activating service name='org.freedesktop.realmd' (using servicehelper) Aug 30 14:54:10 server7c dbus[589]: [system] Successfully activated service 'org.freedesktop.realmd' Aug 30 14:54:10 server7c dbus-daemon: dbus[589]: [system] Successfully activated service 'org.freedesktop.realmd' Aug 30 14:54:10 server7c dbus[589]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' Aug 30 14:54:10 server7c dbus-daemon: dbus[589]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' Aug 30 14:54:10 server7c systemd: Starting Authorization Manager... Aug 30 14:54:10 server7c polkitd[2625]: Started polkitd version 0.112 Aug 30 14:54:10 server7c dbus-daemon: dbus[589]: [system] Successfully activated service 'org.freedesktop.PolicyKit1' Aug 30 14:54:10 server7c dbus[589]: [system] Successfully activated service 'org.freedesktop.PolicyKit1' Aug 30 14:54:10 server7c systemd: Started Authorization Manager. Aug 30 14:54:10 server7c realmd: * Resolving: _ldap._tcp.ad.test.lab.local Aug 30 14:54:26 server7c realmd: ! Discovery timed out after 15 seconds Aug 30 14:54:26 server7c esmith::event[1975]: realm: No such realm found Aug 30 14:54:26 server7c esmith::event[1975]: [ERROR] DC join failed Aug 30 14:54:26 server7c esmith::event[1975]: Action: /etc/e-smith/events/nethserver-dc-save/S96nethserver-dc-join FAILED: 1 [16.561848] Aug 30 14:54:30 server7c esmith::event[1975]: Minimum password age changed! Aug 30 14:54:30 server7c esmith::event[1975]: Maximum password age changed! Aug 30 14:54:30 server7c esmith::event[1975]: All changes applied successfully! Aug 30 14:54:31 server7c esmith::event[1975]: Action: /etc/e-smith/events/nethserver-dc-save/S97nethserver-dc-password-policy SUCCESS [5.523482] Aug 30 14:54:31 server7c esmith::event[1975]: Event: nethserver-dc-save FAILED

ads_connect: No logon servers ads_connect: No logon servers Didn't find the ldap server! ads_connect: No logon servers Join to domain is not valid: No logon servers

My bad, I forgot to release the updated nethserver-p3scan rpm.

I just pushed the new release to updates (nethserver-p3scan-1.1.1-1.ns7.noarch.rpm).
In the meanwhile, you can use the package from testing which is already fixed since time ago ( https://github.com/NethServer/dev/issues/5021 ).

Anyway, great catch! :clap:

3 Likes

That action waits for the Samba Active Directory DNS service to respond.

It seems nsdc didn’t come up. Perhaps the lines from journalctl -u nsdc before Aug 30 14:54:09 provide some clues.

1 Like

too late I guess…

[root@server7c ~]# journalctl -u nsdc -- Logs begin at Tue 2016-08-30 15:09:59 MST, end at Wed 2016-08-31 09:41:57 MST. --

1 Like

Beta2 ISO is available! Update existing beta1 installations from the Software Center