Menu

#72 service status disabled for radius and mysql

v0.9
open
nobody
None
1
2023-08-18
2017-01-16
Anonymous
No

Hi all
i installed dolaradius v0.9 with freeradius v 3 on centos 7
i can login via web interface and i found service status disabled for radius and mysql
any help for what could make this happened
thanks

1 Attachments

Discussion

  • Liran Tal

    Liran Tal - 2017-01-16

    One of:

    1. The processes aren't running
    2. They are running in another machine that is not the server you run daloRADIUS on
    3. daloRADIUS isn't able to recognize that the processes are actually running
     
  • Anonymous

    Anonymous - 2017-01-17

    thanks Larin

    1- dolaradius and free radius on the same PC with PHP v7
    2- free radius status is running and active but after deleting the sql softlink from raddb/mods-enabled/ as it wasn't work before
    3- i changed freeradius v from 2 to 3 in /var/www/html/daloradius/library/daloradius.conf.php

    $configValues['DALORADIUS_VERSION'] = '0.9-9';
    $configValues['FREERADIUS_VERSION'] = '3';
    $configValues['CONFIG_DB_ENGINE'] = 'mysqli';
    $configValues['CONFIG_DB_HOST'] = 'localhost';
    $configValues['CONFIG_DB_PORT'] = '3306';
    $configValues['CONFIG_DB_USER'] = 'root';
    $configValues['CONFIG_DB_PASS'] = '123';
    $configValues['CONFIG_DB_NAME'] = 'radius';
    $configValues['CONFIG_DB_TBL_RADCHECK'] = 'radcheck';
    $configValues['CONFIG_DB_TBL_RADREPLY'] = 'radreply';
    $configValues['CONFIG_DB_TBL_RADGROUPREPLY'] = 'radgroupreply';
    $configValues['CONFIG_DB_TBL_RADGROUPCHECK'] = 'radgroupcheck';
    $configValues['CONFIG_DB_TBL_RADUSERGROUP'] = 'radusergroup'

    any help please :)

     
  • Anonymous

    Anonymous - 2017-09-20

    Hello,

    I am seeing the same thing here, running centOS7 and Freeradius 3.0.13 . Both the Radius and MySQL services show disabled even though they are running on the server.

    [root@freeradius library]# pgrep mysql
    1255
    [root@freeradius library]# pgrep radius
    1458

    And it looks like it should work according to the code. Any ideas here?

    [root@freeradius library]# systemctl status radiusd
    â radiusd.service - FreeRADIUS high performance RADIUS server.
    Loaded: loaded (/usr/lib/systemd/system/radiusd.service; enabled; vendor preset: disabled)
    Active: active (running) since Wed 2017-09-20 11:35:33 CDT; 15min ago

    [root@freeradius library]# systemctl status mysqld
    â mariadb.service - MariaDB database server
    Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
    Drop-In: /etc/systemd/system/mariadb.service.d
    ââmigrated-from-my.cnf-settings.conf
    Active: active (running) since Wed 2017-09-20 11:35:33 CDT; 16min ago

     
  • Anonymous

    Anonymous - 2017-11-05

    Hi Liran, The radius and mysql process says disabled. I have checked the url - https://github.com/lirantal/daloradius/blob/ed4fea937c2b9b32b952e946bd417669a42eeb43/library/exten-radius_server_info.php. My settings are same as mentione don this url. Could you please assist with identifying why it is not working.

     
  • Anonymous

    Anonymous - 2018-08-23

    Hi,

    i can login my daloradius server via CLI, but i can not access it via web interface. when i check the freeradius service it says is running. when i check mysql service status it says: mysql start/running, process 1225. is there any one who can help me? iam new here.

    thanks in advance.

     
  • Anonymous

    Anonymous - 2018-08-23

    Please,

    is there anyone who can help me? iam really in need. Iam a new comer to these issue.

     
  • Anonymous

    Anonymous - 2018-08-23

    Dear Friends,

    it is working now. the prolbem was that the apache2 service was not running.

     
  • Anonymous

    Anonymous - 2019-01-15

    I have something similar, Free Radius and Dalorradius are running in same centos machine but the sql database is on second machine. the freeradius machine connects to the database autmatically but the SQL databse shows Disabled, but when I manually conncets the freeradius machine with database it shows enabled

     
  • Buang Yulianto

    Buang Yulianto - 2019-04-29

    please check with: journalctl -xe
    you will see:
    rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail
    Apr 29 09:24:55 001-srv freeradius[3243]: Unable to check file "/etc/freeradius/certs/dh": No such file or directory
    Apr 29 09:24:55 001-srv freeradius[3243]: rlm_eap_tls: Failed initializing SSL context

    do:
    mkdir /etc/freeradius/certs/dh
    and confirm it by:
    ls -l /etc/freeradius/certs/
    and you will see
    drwxr-sr-x 2 root freerad 4096 Apr 29 09:26 dh

    do:
    service freeradius start
    service freeradius status

    and you will see
    Active: active (running) since Mon 2019-04-29 09:26:19 WIB; 27s ago

    confirm it by daloradius service on dashboard
    home > services status

    it should enabled

     
  • Anonymous

    Anonymous - 2023-08-18
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB