LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FreeRadius: Failed to open file '/etc/freeradius/sql/mysql/schema.sql', error: 13 (https://www.linuxquestions.org/questions/linux-networking-3/freeradius-failed-to-open-file-etc-freeradius-sql-mysql-schema-sql-error-13-a-4175584692/)

firewallengineer 07-15-2016 01:06 AM

FreeRadius: Failed to open file '/etc/freeradius/sql/mysql/schema.sql', error: 13
 
I’m having the following error message when trying to setup FreeRadius on Ubuntu.
I’ve been trying to change different owners on the file (/etc/freeradius/sql/mysql/schema.sql) but doesn’t work too.
Please let me know how to fix this issue.
Quote:

mysql> SOURCE /etc/freeradius/sql/mysql/schema.sql
ERROR:
Failed to open file '/etc/freeradius/sql/mysql/schema.sql', error: 13
mysql>
Quote:

firewallengineer@ubuntu:~$ mysql -u root -p radius < /etc/freeradius/sql/mysql/schema.sql
-bash: /etc/freeradius/sql/mysql/schema.sql: Permission denied
firewallengineer@ubuntu:~$
REFERENCE:
https://www.unixmen.com/installation...centos-ubuntu/

nini09 07-20-2016 02:43 PM

What's output, ls -l /etc/freeradius/sql/mysql/schema.sql?


All times are GMT -5. The time now is 05:03 PM.