Description

Customer notice "eventd: Could not create jail socket: /jail/var/run/log: No such file or directory" logs continuously appeared on the device.

Symptoms

No issues were noticed.

Only below errors were seen randomly on the device.

eventd: Could not create jail socket: /jail/var/run/log: No such file or directory

 

Solution

Whenever a /jail directory is present, the event-daemon logic thinks that a /jail socket needs to be created. However, the partition has only the /jail directory and not /jail/var/run. Hence, the event-daemon jail socket creation fails, resulting in the above error.

There are two workarounds for this issue: 

1.Creating the /jail/var/run/ directory manually will clear the eventd jail error messages. After creating the directory manually, the eventd process needs to be restarted by using the following command: 

    cli> restart event-processing

2.Reinstalling the image will resolve the directory issues and clear this message. Also reinstalling the image will take care of the other missing directories under /jail as well, if there are any. 

Modification History

2024-07-18 : Article Created
2025-11-07 : Editing categories & publishing external