[sysrepo-announce] ?==?utf-8?q? a question about sysrepo when forced power off the device

Michal Vaško mvasko at cesnet.cz
Thu Jun 25 06:09:15 UTC 2020


Hi,
I believe you can ignore these errors as they should be harmless and not cause any problems except for the error messages.

Regards,
Michal

On Wednesday, June 24, 2020 10:02 CEST, dx <dengxunaaa at 163.com> wrote: 
 
> i have call sr_unsubscribe when device shutdown or reboot normally,but when i force power off the device.
> the program will not call sr_unsubscribe. there will be some residual files in the system. what should i do to  when device force power off to deal with these problems?
> 
> 
> for  example: 
> there are some residual  content in ietf-keystore.persist in /etc/sysrepo/data
> and there are residual socks : 2127.yargFz.sock in /var/run/sysrepo-subscriptions/ietf-keystore
> 
> 
> 
> 
> 
> 
> when the device restart, there will be some errors as below:
>  calhost sysrepod[1533]: [ERR] (pm_save_persistent_data:409) Unable to modify persist data tree.
> Jun 23 14:54:13 localhost sysrepod[1533]: [ERR] (np_unsubscribe_destination:1178) Unable to remove subscriptions for destination '/var/run/sysrepo-subscriptions/ietf-keystore/2125.aIQVaa.sock' from 'ietf-keystore'.
> Jun 23 14:54:13 localhost sysrepod[1533]: [ERR] (pm_save_persistent_data:409) Unable to modify persist data tree.
> Jun 23 14:54:13 localhost sysrepod[1533]: [ERR] (np_unsubscribe_destination:1178) Unable to remove subscriptions for destination '/var/run/sysrepo-subscriptions/ietf-keystore/2125.aIQVaa.sock' from 'ietf-keystore'.
> Jun 23 14:54:13 localhost sysrepod[1533]: [ERR] (pm_save_persistent_data:409) Unable to modify persist data tree.
> 
> 
> Jun 23 14:54:13 localhost sysrepod[1533]: [ERR] (np_notification_subscribe:1046) Unable to enable the subtree in the running datastore.
> Jun 23 14:54:13 localhost sysrepo-sysrepo-plugind[2102]: [ERR] (sr_subtree_change_subscribe:2617) Error by processing of the request.
> Jun 23 14:54:13 localhost sysrepod[1533]: [ERR] (pm_save_persistent_data:409) Unable to modify persist data tree.
> Jun 23 14:54:13 localhost sysrepo-sysrepo-plugind[2102]: [ERR] (cl_request_process:543) Error by processing of the unsubscribe request (session id=603730676): The item expected to exist is missing. 
 



More information about the sysrepo-announce mailing list