Skip to content

pg_ctl: cannot be run as root Please log in (using, e.g., "su")  #36

@hamza719

Description

@hamza719

Hi Dears,

I am trying to start the pgsql cluster in the ubuntu server by using the following command. but it's giving me the error mentioned in the subject.
/usr/lib/postgresql/9.5/bin/pg_ctl -D /path/
I am using server image at a different host not at original one to restore DB, but unsuccessful.
please help.
thanks

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