Freeradius service does not start

Dumitru ghid777 at yahoo.com
Fri Jan 26 09:05:57 UTC 2024


Hello Alan,
 after installing the freeradius server, the Process error appears: 23574 ExecStart=/usr/sbin/freeradius -f $FREERADIUS_OPTIONS (code=exited, status=1/FAILURE). :

This is end of output afther installation:

Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
..................................+..............+.......................................+...........+......+....................................++*++*++*++*++*
Setting up freeradius (3.0.21+dfsg-2.2+deb11u1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for freeradius.service failed because the control process exited with error code.
See "systemctl status freeradius.service" and "journalctl -xe" for details.
invoke-rc.d: initscript freeradius, action "start" failed.
● freeradius.service - FreeRADIUS multi-protocol policy server
     Loaded: loaded (/lib/systemd/system/freeradius.service; disabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2024-01-26 09:16:27 CET; 32ms ago
       Docs: man:radiusd(8)
             man:radiusd.conf(5)
             http://wiki.freeradius.org/
             http://networkradius.com/doc/
    Process: 2564 ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout (code=exited, status=0/SUCCESS)
    Process: 2573 ExecStart=/usr/sbin/freeradius -f $FREERADIUS_OPTIONS (code=exited, status=1/FAILURE)
   Main PID: 2573 (code=exited, status=1/FAILURE)
        CPU: 762ms
Created symlink /etc/systemd/system/multi-user.target.wants/freeradius.service → /lib/systemd/system/freeradius.service.
Setting up freeradius-utils (3.0.21+dfsg-2.2+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...




then I open journalctl -xe:



 journalctl -xe
Subject: A stop job for unit freeradius.service has finished
 Defined-By: systemd
 Support: https://www.debian.org/support

 A stop job for unit freeradius.service has finished.

 The job identifier is 15156 and the job result is done.
Jan 26 09:37:38 test systemd[1]: Starting FreeRADIUS multi-protocol policy server...
 Subject: A start job for unit freeradius.service has begun execution
 Defined-By: systemd
 Support: https://www.debian.org/support

 A start job for unit freeradius.service has begun execution.

 The job identifier is 15156.
Jan 26 09:37:38 test freeradius[9025]: FreeRADIUS Version 3.0.21
Jan 26 09:37:38 test freeradius[9025]: Copyright (C) 1999-2019 The FreeRADIUS server project and contribut>
Jan 26 09:37:38 test freeradius[9025]: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Jan 26 09:37:38 test freeradius[9025]: PARTICULAR PURPOSE
Jan 26 09:37:38 test freeradius[9025]: You may redistribute copies of FreeRADIUS under the terms of the
Jan 26 09:37:38 test freeradius[9025]: GNU General Public License
Jan 26 09:37:38 test freeradius[9025]: For more information about these matters, see the file named COPYRI>
Jan 26 09:37:38 test freeradius[9025]: Starting - reading configuration files ...
Jan 26 09:37:38 test freeradius[9025]: Debug state unknown (cap_sys_ptrace capability not set)
Jan 26 09:37:38 test freeradius[9025]: Creating attribute Unix-Group
Jan 26 09:37:38 test freeradius[9025]: rlm_detail (auth_log): 'User-Password' suppressed, will not appear >
Jan 26 09:37:38 test freeradius[9025]: rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rb>
Jan 26 09:37:38 test freeradius[9025]: Please use tls_min_version and tls_max_version instead of disable_t>
Jan 26 09:37:38 test freeradius[9025]: Please use tls_min_version and tls_max_version instead of disable_t>
Jan 26 09:37:38 test freeradius[9025]: tls: Using cached TLS configuration from previous invocation
Jan 26 09:37:38 test freeradius[9025]: tls: Using cached TLS configuration from previous invocation
Jan 26 09:37:38 test freeradius[9025]: rlm_mschap (mschap): using internal authentication
Jan 26 09:37:38 test freeradius[9025]: Ignoring "sql" (see raddb/mods-available/README.rst)
Jan 26 09:37:38 test freeradius[9025]: Ignoring "ldap" (see raddb/mods-available/README.rst)
Jan 26 09:37:38 test freeradius[9025]:  # Skipping contents of 'if' as it is always 'false' -- /etc/freera>
Jan 26 09:37:38 test freeradius[9025]: radiusd: #### Skipping IP addresses and Ports ####
Jan 26 09:37:38 test freeradius[9025]: Configuration appears to be OK
Jan 26 09:37:39 test systemd[1]: freeradius.service: Main process exited, code=exited, status=1/FAILURE
 Subject: Unit process exited
 Defined-By: systemd
 Support: https://www.debian.org/support

 An ExecStart= process belonging to unit freeradius.service has exited.

 The process' exit code is 'exited' and its exit status is 1.
Jan 26 09:37:39 test systemd[1]: freeradius.service: Failed with result 'exit-code'.
 Subject: Unit failed
 Defined-By: systemd
 Support: https://www.debian.org/support

 The unit freeradius.service has entered the 'failed' state with result 'exit-code'.
Jan 26 09:37:39 test systemd[1]: Failed to start FreeRADIUS multi-protocol policy server.
 Subject: A start job for unit freeradius.service has failed
 Defined-By: systemd
 Support: https://www.debian.org/support

 A start job for unit freeradius.service has finished with a failure.

 The job identifier is 15156 and the job result is failed.










Sometimes after installation the error appears

    Process: 24003 ExecStartPre=/usr/sbin/freeradius $FREERADIUS_OPTIONS -Cx -lstdout (code=exited, status=226/NAMESPACE)

after uninstalling with apt purge freeradius / apt autoremove then I install freeradius after sometimes the freeradius server starts for a period of time. But after starting freeradius with command :systemctl start freeradius , the error appears sometimes again.


OS : "Raspbian GNU/Linux 11 (bullseye)

Do you have any idea why these errors could appear?

Best Regards,Dumitru
(Attached NotepadVersion.txt with output from command freeradius -X to avoid unreadable version)



    On Tuesday, January 23, 2024 at 12:55:34 PM GMT+1, Alan DeKok <aland at deployingradius.com> wrote:  
 
 On Jan 23, 2024, at 4:03 AM, Dumitru via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> 
> Below I place the debug output :
> radiusd -X 2>&1 | tee debugfileFreeRADIUS Version 3.0.21Copyright (C) 1999-2019 The FreeRADIUS server project and contributorsThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSEYou may redistribute copies of FreeRADIUS under the terms of theGNU General Public LicenseFor more information about these matters, see the file named COPYRIGHTStarting - reading configuration files ...including dictionary file /usr/share/freeradius/dictionaryincluding dictionary file /usr/share/freeradius/dictionary.dhcpincluding dictionary file /usr/share/freeradius/dictionary.vqpincluding dictionary file /etc/freeradius/3.0/dictionaryincluding configuration file /etc/freeradius/3.0/radiusd.confincluding configuration file /etc/freeradius/3.0/proxy.confincluding configuration file /etc/freeradius/3.0/clients.confincluding files in directory 

  Please post a version with correct line wrapping.  This version is essentially unreadable.

> Ready to process requests

  i.e. no errors.

  Is there a problem you're running into?  Do you have a question?

  Alan DeKok.

  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: NotepadVersion.txt
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20240126/15a0e077/attachment-0001.txt>


More information about the Freeradius-Users mailing list