Project

Profile

Help

Issue #2053

closed

Deleted /var/lib/pulp/sn.dat by mistake and pulp-admin fails to login

Added by Anonymous almost 8 years ago. Updated about 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.5
Platform Release:
OS:
RHEL 7
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

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'
Actions #1

Updated by jcline@redhat.com almost 8 years ago

  • Status changed from NEW to CLOSED - NOTABUG

Hi,

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!

Actions #2

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF