error when starting up radius using systemctl start radiusd.service command

Conrad Classen conrad.classen at gmail.com
Thu Jul 18 06:18:46 UTC 2024


If starting using radiusd -X as root user with no error's means that you 
have a problem with file/folder permissions if the service has errors.

Check as which user the radiusd service starts and that that user has 
full permissions to write to and read from files, such as the 
/var/log/radius folder and the contents of that folder.

If the radiusd service is run as the radius user and radius group, then:

chown -R radius:radius /var/log/radius

Should resolve the issue.


On 2024/07/18 07:55, Hermann.Lauer at uni-heidelberg.de wrote:
> Hi,
>
> On Thu, Jul 18, 2024 at 10:11:41AM +0800, (null) (null) wrote:
> -------------------------------------------^
> you have a strange email setup...
>
>> When I startup using radiusd -X, it doesn't give me the error and radius server start successfully attached is the debug log details.
> ...
>> # systemctl start radiusd.service
>> Job for radiusd.service failed because the control process exited with error code. See "systemctl status radiusd.service" and "journalctl -xe" for details.
> ...
>> Thu Jul 18 09:59:19 2024 : Error: rlm_sql_mysql: Couldn't connect to MySQL serverroot at 10.0.0.3:radius
>> Thu Jul 18 09:59:19 2024 : Error: rlm_sql_mysql: MySQL error: Can't connect to MySQL server on '10.0.0.3' (13)
> look for permission differences, for example: Are you using for debugging the same user as configured in the
> systemd units config?
>
> Greetings
>    Hermann
> -
> List info/subscribe/unsubscribe? Seehttp://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list