Open zhang-shengping opened 6 years ago
Barbican can not start up after server restart
Oct 24 22:35:38 localhost.localdomain systemd[1]: Unit openstack-barbican-api.service entered failed state. Oct 24 22:35:38 localhost.localdomain systemd[1]: openstack-barbican-api.service failed. Oct 24 22:35:39 localhost.localdomain systemd[1]: openstack-barbican-api.service holdoff time over, scheduling restart. Oct 24 22:35:39 localhost.localdomain systemd[1]: Started Openstack Barbican API server. Oct 24 22:35:39 localhost.localdomain systemd[1]: Starting Openstack Barbican API server... Oct 24 22:35:40 localhost.localdomain gunicorn[15054]: 2018-10-24 22:35:40 [15054] [INFO] Starting gunicorn 18.0 Oct 24 22:35:40 localhost.localdomain gunicorn[15054]: Error: /run/barbican doesn't exist. Can't create pidfile. Oct 24 22:35:40 localhost.localdomain systemd[1]: openstack-barbican-api.service: main process exited, code=exited, status=1/FAILURE
we need to create a new file name /run/barbican and change its owner to barbican:barbican after we restart server.
we may need to add this command as well: systemctl enable openstack-barbican-api.service
Barbican can not start up after server restart