Profile Details

Toggle Sidebar
Recent updates
  • Just applied all the latest updates and still having the same problem. Did you still want to do remote session?

  • Hi Peter

    I clicked on the link and loggged on to Clear Centre, submitted the details and got an "Invalid Ticket" response :(

    Please advise
    Malcolm

  • FWIW the latest batch of updates hasn't fixed this issue :(

  • The ONLY reference to slapd in cat /var/log/messages |grep is

    Jun 23 06:57:27 tester prestart.sh: Configuration directory '/etc/openldap/slap .d' does not exist.

    The 2 prestart messages are visible when running status thus:

    [root@tester ~]# service slapd status -l
    Redirecting to /bin/systemctl status -l slapd.service
    ● slapd.service - OpenLDAP Server Daemon
    Loaded: loaded (/usr/lib/systemd/system/slapd.service; enabled; vendor preset: disabled)
    Active: active (running) since Thu 2016-06-23 07:04:52 AEST; 53s ago
    Docs: man:slapd
    man:slapd-config
    man:slapd-hdb
    man:slapd-mdb
    file:///usr/share/doc/openldap-servers/guide.html
    Process: 1578 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=0/SUCCESS)
    Process: 1048 ExecStartPre=/usr/libexec/openldap/prestart.sh (code=exited, status=0/SUCCESS)
    Main PID: 1590 (slapd)
    CGroup: /system.slice/slapd.service
    └─1590 /usr/sbin/slapd -u ldap -h ldap://127.0.0.1/

    Jun 23 07:04:50 tester.example.com systemd[1]: Starting OpenLDAP Server Daemon...
    Jun 23 07:04:50 tester.example.com prestart.sh[1048]: Configuration directory '/etc/openldap/slapd.d' does not exist.
    Jun 23 07:04:50 tester.example.com prestart.sh[1048]: Warning: Usage of a configuration file is obsolete!

  • Assuming you've got the ClearOS box set up as a gateway, which I think you must have from what you said, the modem can have any size address range and it will only supply the single IP you need to connect all your devices on the LAN side to the Internet. The only requirement is that it is a different subnet from the LAN ports.

    I would also try turning off DMZ as that is normally for a web server.

    Your Clearos box on the 2 LAN ports should each have a static IP address defined and DHCP enabled with an address range to give out to the clients.

    Perhaps try setting up one on the LAN segments first and getting that working, then add the second?

    Hope that helps :)

  • Hi Peter

    This is output /var/log/messages immediately after a reboot, of this helps?

    [root@tester ~]# tail /var/log/messages -n 100
    Jun 22 16:58:42 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:42 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:43 tester nslcd[1608]: [8b4567] <group/member="nslcd"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:43 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:43 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:43 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:43 tester nslcd[1608]: [495cff] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:43 tester nslcd[1608]: [495cff] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:43 tester systemd: Started ClamAV daemon.
    Jun 22 16:58:43 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:43 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:44 tester nslcd[1608]: [8b4567] <group/member="nslcd"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:44 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:44 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:44 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:44 tester nslcd[1608]: [495cff] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:44 tester nslcd[1608]: [495cff] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:44 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:44 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:45 tester nslcd[1608]: [8b4567] <group/member="nslcd"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:45 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:45 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:45 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:45 tester nslcd[1608]: [e8944a] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:45 tester nslcd[1608]: [e8944a] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:45 tester nslcd[1608]: [495cff] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:45 tester nslcd[1608]: [495cff] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:45 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:45 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:46 tester nslcd[1608]: [8b4567] <group/member="nslcd"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:46 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:46 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:46 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:46 tester nslcd[1608]: [e8944a] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:46 tester nslcd[1608]: [e8944a] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:46 tester nslcd[1608]: [495cff] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:46 tester nslcd[1608]: [495cff] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:46 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:46 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:47 tester nslcd[1608]: [8b4567] <group/member="nslcd"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [8b4567] <group/member="nslcd"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:47 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:47 tester nslcd[1608]: [e8944a] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [e8944a] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:47 tester nslcd[1608]: [495cff] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [495cff] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:47 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:47 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:48 tester nslcd[1608]: [8b4567] <group/member="nslcd"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:48 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:48 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:48 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:48 tester nslcd[1608]: [e8944a] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:48 tester nslcd[1608]: [e8944a] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:48 tester nslcd[1608]: [495cff] <passwd="guest"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:48 tester nslcd[1608]: [495cff] <passwd="guest"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:48 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:48 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:48 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:48 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found, sleeping 1 seconds
    Jun 22 16:58:49 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP server
    Jun 22 16:58:49 tester nslcd[1608]: [3c9869] <group/member="clearconsole"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:49 tester nslcd[1608]: [8b4567] <group/member="nslcd"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:49 tester systemd: Created slice user-0.slice.
    Jun 22 16:58:49 tester systemd: Starting user-0.slice.
    Jun 22 16:58:49 tester systemd: Started Session 1 of user root.
    Jun 22 16:58:49 tester systemd-logind: New session 1 of user root.
    Jun 22 16:58:49 tester systemd: Starting Session 1 of user root.
    Jun 22 16:58:49 tester nslcd[1608]: [e8944a] <passwd="guest"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:49 tester nslcd[1608]: [e87ccd] <passwd="GUEST"> no available LDAP server found: Server is unavailable
    Jun 22 16:58:49 tester nslcd[1608]: [495cff] <passwd="guest"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:49 tester systemd: smb.service: main process exited, code=exited, status=255/n/a
    Jun 22 16:58:49 tester systemd: Failed to start Samba SMB Daemon.
    Jun 22 16:58:49 tester systemd: Unit smb.service entered failed state.
    Jun 22 16:58:49 tester systemd: smb.service failed.
    Jun 22 16:58:49 tester systemd: Reached target Multi-User System.
    Jun 22 16:58:49 tester systemd: Starting Multi-User System.
    Jun 22 16:58:49 tester systemd: Started Stop Read-Ahead Data Collection 10s After Completed Startup.
    Jun 22 16:58:49 tester systemd: Starting Update UTMP about System Runlevel Changes...
    Jun 22 16:58:49 tester systemd: Started Update UTMP about System Runlevel Changes.
    Jun 22 16:58:49 tester systemd: Startup finished in 462ms (kernel) + 1.624s (initrd) + 24.346s (userspace) = 26.433s.
    Jun 22 16:58:49 tester nslcd[1608]: [b0dc51] <group/member="clearconsole"> no available LDAP server found: Can't contact LDAP server
    Jun 22 16:58:50 tester systemd: Created slice user-991.slice.
    Jun 22 16:58:50 tester systemd: Starting user-991.slice.
    Jun 22 16:58:50 tester systemd: Started Session 2 of user clearconsole.
    Jun 22 16:58:50 tester systemd-logind: New session 2 of user clearconsole.
    Jun 22 16:58:50 tester systemd: Starting Session 2 of user clearconsole.
    Jun 22 16:58:51 tester systemd: Stopping SYSV: ClearOS firewall...
    Jun 22 16:58:51 tester firewall: nat mangle filter
    Jun 22 16:58:51 tester firewall: [ OK ]#015[ OK ]#015Resetting built-in chains to the default ACCEPT policy:[ OK ]
    Jun 22 16:58:51 tester systemd: Starting SYSV: ClearOS firewall...
    Jun 22 16:58:51 tester clearsyncd[663]: System Events: Socket hang-up: 29
    Jun 22 16:58:51 tester firewall: Starting firewall: [ OK ]
    Jun 22 16:58:51 tester systemd: Started SYSV: ClearOS firewall.
    Jun 22 16:59:02 tester chronyd[616]: Selected source 192.189.54.17
    [root@tester ~]#

  • Hey Bill

    I'm no expert by any means but I wonder if this could be something to do with how the DNS is configured?

    What happens if the modem is set to be the DHCP server for eth0 ?

    Cheers!
    Malcolm

  • If you to remote into my VM just say the word :)

  • A bit of detective work and I found the file for anyone else following this thread:

    /etc/systemd/system/multi-user.target.wants/slapd.service