CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
299 stars 188 forks source link

Failed to unlink SHM sub_ietf-subscribed-notifications.oper (No such file or directory) #1634

Open rydy opened 3 weeks ago

rydy commented 3 weeks ago

Hi, I'm using version 2.2.19, When "Failed to unlink SHM sub_ietf-subscribed-notifications.oper (No such file or directory)" occurs, netopeer2-server cannot be started. Is there any other way except redeploy sysrepo? What causes this error?

[INF]: SR: Connection 16683 created.
[INF]: SR: Session 16694 (user "root", CID 16683) created.
[WRN]: SR: Recovering module "ietf-subscribed-notifications" operational get subscription of CID 12.
[ERR]: SR: Failed to unlink "/dev/shm/OM_DUsub_ietf-subscribed-notifications.oper.d4cc6de2" SHM (No such file or directory).
[ERR]: NP: Subscribing for providing "ietf-subscribed-notifications" state data failed (System function call failed).
[ERR]: NP: Server data subscribe failed.
[INF]: NP: Server terminated.

thanks.

rydy commented 3 weeks ago

Is it possible that sysrepo will delete these files?

michalvasko commented 2 weeks ago

Please update sysrepo to the latest release and try again.

rydy commented 2 weeks ago

Please update sysrepo to the latest release and try again.

Can you provide this fix commit? I want to update only this fix.

rydy commented 2 weeks ago

Please update sysrepo to the latest release and try again.

Can you provide this fix commit? I want to update only this fix.

michalvasko commented 2 weeks ago

Can you provide this fix commit?

I cannot because I really do not know, there were hundreds of commits since the version you are using, sorry.