<div dir="ltr">Thanks a lot for your help!<div>I tried changing the password by your suggested method but didn't have so much success with that. In the end I just enabled the root login in the sshd config (bad I know, will change it back again later).</div><div>I can access it now via SSH and the user root. The LDAP server seems to run:</div><div><div><br></div><div>root@momafreedom:~# systemctl status slapd</div><div>● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)</div><div>   Loaded: loaded (/etc/init.d/slapd; bad; vendor preset: enabled)</div><div>   Active: active (exited) since Thu 1970-01-01 08:00:13 HKT; 46 years 0 months ago</div><div>     Docs: man:systemd-sysv-generator(8)</div><div>  Process: 438 ExecStart=/etc/init.d/slapd start (code=exited, status=0/SUCCESS)</div><div><br></div><div>Jan 01 08:00:12 momafreedom systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...</div><div>Jan 01 08:00:13 momafreedom systemd[1]: Started LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).</div><div><br></div><div>But the journalctl -xe command contains some worrysome lines about the LDAP not being able to bind to the server. Unfortunately I don't know anything about LDAP. Maybe you already have an idea for me how to fix this?</div><div><br></div><div>root@momafreedom:~# journalctl -xe<br></div><div><div>Jan 21 12:27:45 momafreedom ntpd[484]: Soliciting pool server 59.149.185.193</div><div>Jan 21 12:27:46 momafreedom ntpd[484]: Soliciting pool server 2403:5000:171:11::2</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [d062c2] <group/member="www-data"> failed to bind to LDAP server ldapi:///: Can't contact LDAP server: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [d062c2] <group/member="www-data"> no available LDAP server found: Can't contact LDAP server: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [d062c2] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [200854] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [200854] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [b127f8] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [b127f8] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [16231b] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [16231b] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [16e9e8] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [16e9e8] <group/member="www-data"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [90cde7] <group/member="nslcd"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [90cde7] <group/member="nslcd"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [ef438d] <group/member="nobody"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [ef438d] <group/member="nobody"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [0e0f76] <group/member="root"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [0e0f76] <group/member="root"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [52255a] <group/member="postgres"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [52255a] <group/member="postgres"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [9cf92e] <group/member="ntp"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [9cf92e] <group/member="ntp"> no available LDAP server found: Server is unavailable: No such file or directory</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [ed7263] <group/member="debian-deluged"> no available LDAP server found: Server is unavailable: Resource temporarily unavailable</div><div>Jan 21 12:27:47 momafreedom nslcd[545]: [ed7263] <group/member="debian-deluged"> no available LDAP server found: Server is unavailable: Resource temporarily unavailable</div><div>Jan 21 12:28:40 momafreedom systemd[1]: tor@default.service: Start operation timed out. Terminating.</div><div>Jan 21 12:28:50 momafreedom NetworkManager[416]: <info>  Activation (enxb827ebc73b2b) Beginning DHCPv6 transaction (timeout in 45 seconds)</div><div>Jan 21 12:28:50 momafreedom NetworkManager[416]: <info>  dhclient started with pid 1492</div><div>Jan 21 12:28:50 momafreedom dhclient[1492]: XMT: Info-Request on enxb827ebc73b2b, interval 960ms.</div><div>Jan 21 12:28:51 momafreedom dhclient[1492]: XMT: Info-Request on enxb827ebc73b2b, interval 2000ms.</div><div>Jan 21 12:28:51 momafreedom ntpd[484]: Soliciting pool server 2401:1800:7800:101:be76:4eff:fe1c:28a1</div><div>Jan 21 12:28:53 momafreedom dhclient[1492]: XMT: Info-Request on enxb827ebc73b2b, interval 4040ms.</div></div><div><br></div><div>Thanks, I appreciate any help so much! I really hope this might be fixable...?</div><div>Best regards</div><div>Preexo</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 January 2016 at 01:38, Sunil Mohan Adapa <span dir="ltr"><<a href="mailto:sunil@medhas.org" target="_blank">sunil@medhas.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Friday 15 January 2016 10:02 PM, Tim Mohrbach wrote:<br>
> Hi,<br>
><br>
> I noticed that I don’t get inside my box anymore via SSH.<br>
> When running the user module diagnostics in plinth, it fails with all tests:<br>
><br>
> Diagnostic Results<br>
> Module: users<br>
> Test  Result<br>
> Listening on tcp4 port 389    failed<br>
> Listening on tcp6 port 389    failed<br>
> Check LDAP entry "dc=thisbox" failed<br>
> Check LDAP entry "ou=people"  failed<br>
> Check LDAP entry "ou=groups"  failed<br>
><br>
> When saving the user again as admin in plinth again, it said that it failed adding the user as admin: “Failed to add user to group."<br>
> Changing the password via plinth works, but still no access via SSH.<br>
><br>
> Any idea what happened? How I can gain access via SSH again?<br>
<br>
</span>It looks bad.  I believe slapd (the LDAP server) is not running for some<br>
reason.  (Could be a DB corruption)<br>
<br>
To gain access: you can shutdown, insert SD card into desktop/laptop and<br>
set the password inside the SD card for 'fbx' user using `passwd<br>
--root=/mount/path fbx`.  Then boot the FreedomBox and login via SSH<br>
using 'fbx' user.<br>
<br>
After that check why slapd is not running:<br>
<br>
$ systemctl status slapd<br>
<br>
$ systemctl start slapd<br>
(if not already running)<br>
<br>
$ systemctl status slapd<br>
$ journalctl -xe<br>
$ journalctl -u slapd<br>
<span class=""><font color="#888888"><br>
--<br>
Sunil<br>
<br>
</font></span></blockquote></div><br></div></div></div>