Skip to content

Starting the container errors on old lock file. #13

@mauvm

Description

@mauvm

When I start the container (with Vagrant) it exists wit an error code (Exited (1)). This is what the log looks like:

POSTGRES_USER=postgres
POSTGRES_PASS=somepassword
POSTGRES_DATA_DIR=/data
POSTGRES_DATABASE=UNWDMI
Initializing PostgreSQL at /data
Starting PostgreSQL...
Creating the superuser: postgres
2014-05-08 10:12:25 UTC FATAL:  could not remove old lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Operation not permitted
2014-05-08 10:12:25 UTC HINT:  The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again.

Any idea what might cause this/how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions