Deleted /var/lib/pulp/sn.dat by mistake and pulp-admin fails to login
My mistake i deleted the file sn.dat and now my pulp-admin commands are not working.
Is there a way to recover for this? I tried the following without success:
1. Restart Services
2. Reboot VM
An internal error occurred on the Pulp server: RequestException: POST request on /pulp/api/v2/actions/login/ failed with 500 - [Errno 13] Permission denied: '/var/lib/pulp/sn.dat'
Updated by email@example.com over 6 years ago
- Status changed from NEW to CLOSED - NOTABUG
That file is used for the client certificate serial numbers issued by Pulp. You should be able to recover by touching the file and making sure the proper permissions are set. I believe you want it to be at least mode 600, owned by apache, and with the SELinux context of ``system_u:object_r:httpd_var_lib_t:s0``.
If you run into trouble, feel free to drop by in #pulp on Freenode!