Hi, i'm trying to setup daloradius on a new ubuntu server 14.04.1 virtual machine.
I found two problems:
1) log files seem not exist
error reading log file: /tmp/daloradius.log
looked for log file in /tmp/daloradius.log but couldn't find it.
if you know where your daloradius log file is located, set it's location in your library/daloradius.conf file
error reading log file:
looked for log file in '/var/log/freeradius/radius.log, /usr/local/var/log/radius/radius.log, /var/log/radius/radius.log' but couldn't find it.
if you know where your freeradius log file is located, set it's location in /daloradius/rep-logs-radius.php
error reading log file: /var/log/syslog
possible cause is file premissions or file doesn't exist.
error reading log file: /var/log/dmesg
possible cause is file premissions or file doesn't exist.
I have to create them manually?
2) I can't see the online users connected in Reports->Online Users, even though the are some users actually connected; also the other reports with day filter don't work.
Can you help me?
Thanks!
Cheers, D.
Anonymous
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
for syslog and radius log try to chmod777 your /var/log/syslog and /var/log/freeradius
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
I had the exact same issue, chmod 777 worked for me but I still have the same issue as you, with the users not showing up as connected etc, which makes it impossible to limit sessions etc.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
I'm having the same problem not seeing the users
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
i have a problem
error reading log file: /tmp/daloradius.log
looked for log file in /tmp/daloradius.log but couldn't find it.
if you know where your daloradius log file is located, set it's location in your library/daloradius.conf file
help me
Probably a permissions OS issue?
As long as you configured the correct log file location in library/daloradius.conf.php, just make sure the web server is allowed to log to it.
Hi Liran,
Would you please guide us on how make sure the web server is allowed to log to it. Would you please send me the CLI command for giving access to the folder and Web User?
Thanks/.
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
do chmod +x attitribute to the radius folder will fix the log problem
Perfect, it did solve the problem
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
chmod 755 /var/log/radius/radius
chmod 644 /var/log/radius/radius/radius.log
touch /tmp/daloradius.log
Hope, this will fix the issue!
the above two working ok , but /tmp/daloradius.log still not working
Last edit: Anonymous 2023-07-05
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Thanks you.
Frrom Colombia Byron Schmalbach. That's Ok.
i have same issue but this solution dont work
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
While I am still banging my head on locating the daloradius.log, I do find the radius.log at /usr/local/var/log/radius/radius.log. I am running freeradius at RHEL 7.3 development version.
It is also strange my mysql's general-log can only be located at /var/lib/mysql/mysql/general-log.csv. Any other method, such as configuring the mysgl-general-log at /tmp/, or setting /var/log/ to drwxr-xr-x, chown mysql:mysql does not work.I believe this may involve a similar issue here?
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
touch /tmp/daloradius.log
chown apache.apache /tmp/daloradius.log
For error: daloradius not shown anything.
Can write to /tmp/daloradius.log, but not shown anything on "daloRADIUS log" page and no warning, please add "}" before the end of php tag "?>" on exten-daloradius_log.php file.
I was check on httpd error log, and shown like this:
[xxx xxx xx xx:xx:xx.xxxxxx xxxx] [:error] [pid 6667] [client x.x.x.x:x] PHP Parse error: syntax error, unexpected end of file in /var/www/html/daloradius/library/exten-daloradius_log.php on line 75, referer: http://x.x.x.x:x/rep-logs-daloradius.php?daloradiusLineCount=50&daloradiusFilter=.
Same here. New install on Ubuntu 16.04 and there is no /tmp/daloradius.log file. the "touch" command executes but does not create the file. I looked everywhere I could think, but no daloradius.log file exists unless Liran can shed any light on this. So I just did a nano /tmp/daloradius.log to create the file and now no error messages, but I doubt actual logs will be stored here...
hey guys, check the web logs, if perm are ok & page for daloradius.log (acccess logs) are blank, my issue was missing } at end of file in library/exten-daloradius_log.php Centos 7 mariadb
chmod [root@bogon radius]# chmod 755 /var/log/radius/
chmod 755 /var/log/radius/radius.log
this problem is solved
anyone found the solution for this? I am facing problems reading log files and setting config files from daloradius. i double checked that apache has the proper permissions to write to config and still i get the error:
"Could not open the file for writing: /var/www/html/daloradius/library/daloradius.conf.php
Check file permissions. The file should be writable by the webserver's user/group"
I am also facing same issue .if any one can help me to resolve the same
had alredy tryed above steps
Please help
chmod 755 /var/log/freeradius/
chmod 644 /var/log/freeradius/radius.log
touch /tmp/daloradius.log
chown www-data:www-data daloradius.log
chmod 644 /tmp/daloradius.log
chmod 644 /var/log/syslog
for radius log and syslog use chmod +r
while for daloradius.log you have to follow these steps
cd /var/log/
touch daloradius.log
then go to cd/var/www/html/daloradius/library/daloradius.conf and edit the [CONFIG_LOG_FILE] = "/var/log/daloradius.log"
Last edit: Fahad Ali 2023-07-05