Description

This article explains what the log "dot1xd[2192]: task_connect: task PNACAUTH./var/run/authd_control addr /var/run/authd_control: Connection refused" means and how to stop the log.

Symptoms

As soon as a configuration of DHCP server is deleted,  the syslog "dot1xd[2192]: task_connect: task PNACAUTH./var/run/authd_control addr /var/run/authd_control: Connection refused" is generated repeatedly. When deleted dhcp configuration, it makes authd terminated and dot1xd fails connecting to authd and it started genearting the log.

user@device# delete system services dhcp-local-server
user@device# delete access address-assignment pool p4
user@device# commit
 mgd[2297]: UI_COMMIT: User 'root' requested 'commit' operation (comment: none)
 mgd[2297]: UI_COMMIT_NO_MASTER_PASSWORD: No 'system master-password' set
 mgd[2297]: UI_CHILD_EXITED: Child exited: PID 2395, status 7, command '/usr/sbin/mustd'
fpc0:
configuration check succeeds
fpc1:
commit complete
 init: dhcp-service (PID 2170) terminate signal 15 sent
 init: general-authentication-service (PID 2175) terminate signal 15 sent Authd deamon is terminated.
 init: can not access /usr/sbin/gstatd: No such file or directory
 init: commit-batch (PID 2816) started
fpc0:
commit complete

 

The following logs are generated.
dot1xd[2192]: task_connect: task PNACAUTH./var/run/authd_control addr /var/run/authd_control: Connection refused
dot1xd[2192]: task_connect: task PNACAUTH./var/run/authd_control addr /var/run/authd_control: Connection refused


 

Solution

This has been fixed by PR1406965. https://prsearch.juniper.net/problemreport/PR1406965

As a workaround, in case issue is noticed without dot1x configuration ensure authd is running, we can enable it by just configuring traceoptions for it.

set system processes general-authentication-service traceoptions file authd.trace size 1m
set system processes general-authentication-service traceoptions flag configuration

Modification History

2023-05-09 : First Version
2023-05-09 : Fixed typo.
2023-05-29 : Added EX in the Affected Categories section