My Community Dashboard

  • Faucon
    Faucon replied to a discussion, Radius server not starting

    Dave Loper wrote:

    For those wanting to try out the package in testing and can provide me with feedback, please test the package by running:

    yum --enablerepo=clearos-updates-testing upgrade app-radius

    You should be getting version 2.2.0-2.v7

    Let me know so we can generally release this and then put it back in the marketplace.


    it's still not starting. i uninstalled the old version, then, from the marketplace, it installed 2.2.0-2 without having to specify repository.

    then i added a client, and can't start it .

    here is the /var/log/message:

    May 2 22:28:03 pingouin webconfig: Redirecting to /bin/systemctl start radiusd.service
    May 2 22:28:03 pingouin systemd: Starting FreeRADIUS high performance RADIUS server....
    May 2 22:28:03 pingouin systemd: radiusd.service: control process exited, code=exited status=1
    May 2 22:28:03 pingouin systemd: Failed to start FreeRADIUS high performance RADIUS server..
    May 2 22:28:03 pingouin systemd: Unit radiusd.service entered failed state.
    May 2 22:28:03 pingouin systemd: radiusd.service failed.
    May 2 22:28:03 pingouin webconfig: Job for radiusd.service failed because the control process exited with error code. See "systemctl status radiusd.service" and "journalctl -xe" for details.

    here is /var/log/radius/radius.log

    Mon May 2 22:32:29 2016 : Warning: No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 10.195.198.3. Please fix your configuration
    Mon May 2 22:32:29 2016 : Warning: Support for old-style clients will be removed in a future release
    Mon May 2 22:32:29 2016 : Warning: rlm_ldap: Falling back to build time libldap version info. Query for LDAP_OPT_API_INFO returned: -1
    Mon May 2 22:32:29 2016 : Info: rlm_ldap: libldap vendor: OpenLDAP version: 20439
    Mon May 2 22:32:29 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for accounting, will return NOOP for calls from this section
    Mon May 2 22:32:29 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for post-auth, will return NOOP for calls from this section
    Mon May 2 22:32:29 2016 : Info: Loaded virtual server <default>
    Mon May 2 22:32:29 2016 : Info: Loaded virtual server default
    Mon May 2 22:32:29 2016 : Info: Loaded virtual server clearos-inner-tunnel
    Mon May 2 22:32:29 2016 : Warning: Ignoring "sql" (see raddb/mods-available/README.rst)
    Mon May 2 22:32:29 2016 : Info: Loaded virtual server inner-tunnel
    Mon May 2 22:32:29 2016 : Warning: No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 10.195.198.3. Please fix your configuration
    Mon May 2 22:32:29 2016 : Warning: Support for old-style clients will be removed in a future release
    Mon May 2 22:32:29 2016 : Warning: rlm_ldap: Falling back to build time libldap version info. Query for LDAP_OPT_API_INFO returned: -1
    Mon May 2 22:32:29 2016 : Info: rlm_ldap: libldap vendor: OpenLDAP version: 20439
    Mon May 2 22:32:29 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for accounting, will return NOOP for calls from this section
    Mon May 2 22:32:29 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for post-auth, will return NOOP for calls from this section
    Mon May 2 22:32:29 2016 : Info: rlm_ldap (ldap): Opening additional connection (0)
    Mon May 2 22:32:29 2016 : Error: rlm_ldap (ldap): Bind credentials incorrect: Invalid credentials
    Mon May 2 22:32:29 2016 : Error: rlm_ldap (ldap): Opening connection failed (0)
    Mon May 2 22:32:29 2016 : Error: /etc/raddb/mods-enabled/ldap[1]: Instantiation failed for module "ldap"


    in /etc/raddb/clearos-client, it seems that the web interface is entering the ip address in the name...

    client 10.195.198.3 {
    secret = wifi5630
    shortname = AP
    }

    even when i change the file to this:

    client AP {
    ipaddr = 10.195.198.3
    secret = wifi5630
    }

    i still got :


    Mon May 2 22:38:29 2016 : Warning: rlm_ldap: Falling back to build time libldap version info. Query for LDAP_OPT_API_INFO returned: -1
    Mon May 2 22:38:29 2016 : Info: rlm_ldap: libldap vendor: OpenLDAP version: 20439
    Mon May 2 22:38:29 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for accounting, will return NOOP for calls from this section
    Mon May 2 22:38:29 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for post-auth, will return NOOP for calls from this section
    Mon May 2 22:38:29 2016 : Info: Loaded virtual server <default>
    Mon May 2 22:38:29 2016 : Info: Loaded virtual server default
    Mon May 2 22:38:29 2016 : Info: Loaded virtual server clearos-inner-tunnel
    Mon May 2 22:38:29 2016 : Warning: Ignoring "sql" (see raddb/mods-available/README.rst)
    Mon May 2 22:38:29 2016 : Info: Loaded virtual server inner-tunnel
    Mon May 2 22:38:30 2016 : Warning: rlm_ldap: Falling back to build time libldap version info. Query for LDAP_OPT_API_INFO returned: -1
    Mon May 2 22:38:30 2016 : Info: rlm_ldap: libldap vendor: OpenLDAP version: 20439
    Mon May 2 22:38:30 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for accounting, will return NOOP for calls from this section
    Mon May 2 22:38:30 2016 : Info: rlm_ldap (ldap): Couldn't find configuration for post-auth, will return NOOP for calls from this section
    Mon May 2 22:38:30 2016 : Info: rlm_ldap (ldap): Opening additional connection (0)
    Mon May 2 22:38:30 2016 : Error: rlm_ldap (ldap): Bind credentials incorrect: Invalid credentials
    Mon May 2 22:38:30 2016 : Error: rlm_ldap (ldap): Opening connection failed (0)
    Mon May 2 22:38:30 2016 : Error: /etc/raddb/mods-enabled/ldap[1]: Instantiation failed for module "ldap"


    thanks