Hi,
These messages are cosmetic and there is no need to worry about them.
Whenever a remote user logs in (via RADIUS/TACACS+), authorization attributes are saved on the box as .perm file (/var/run/<login-pid>.perm).
The same file is deleted on logout. There are few sanity checks to verify whether .perm file is deleted successfully, if not we get unlink () failure messages.
.perm files are not created for local users i.e, users configured on Junos device. But still we hit unlink on logout and hence see messages like: Unlink (): failed to delete .perm file: No such file or directory.
This is a cosmetic issue either you can ignore or filter this log message.
For Example:
[edit system syslog]
root# show
file test {
any any;
match "!unlink(): failed to delete .perm file: No such file or directory ";
}
Hope that helps !
Regards,
Sahil Sharma
---------------------------------------------------
Please mark my solution as accepted if it helped, Kudos are appreciated as well.