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- 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
The code is really really simple. Can you take a look at how the PHP part attempts to detect that FreeRADIUS is running and see if there's a bug to fix there?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-08-23
Please,
is there anyone who can help me? iam really in need. Iam a new comer to these issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-08-23
Dear Friends,
it is working now. the prolbem was that the apache2 service was not running.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2023-08-18
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One of:
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
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 :)
The code is really really simple. Can you take a look at how the PHP part attempts to detect that FreeRADIUS is running and see if there's a bug to fix there?
It's here: https://github.com/lirantal/daloradius/blob/ed4fea937c2b9b32b952e946bd417669a42eeb43/library/exten-radius_server_info.php
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
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.
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.
Please,
is there anyone who can help me? iam really in need. Iam a new comer to these issue.
Dear Friends,
it is working now. the prolbem was that the apache2 service was not running.
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
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