You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/14 23:30:12 UTC

[GitHub] [pulsar-manager] nikeshhajari opened a new issue #336: Postgres DB not created when starting up Pulsar Manager

nikeshhajari opened a new issue #336:
URL: https://github.com/apache/pulsar-manager/issues/336


   Hi -
   
   I was following the tutorial, but on start-up of the docker container I receive this message ---
   
   running bootstrap script ... 2020-09-14 23:26:07.962 UTC [41] FATAL:  data directory "/data/postgresql" has wrong ownership
   2020-09-14 23:26:07.962 UTC [41] HINT:  The server must be started by the user that owns the data directory.
   child process exited with exit code 1
   initdb: removing contents of data directory "/data/postgresql"
   pg_ctl: directory "/data/postgresql" is not a database cluster directory
   createdb: could not connect to database template1: could not connect to server: No such file or directory
           Is the server running locally and accepting
           connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
   psql: could not connect to server: No such file or directory
           Is the server running locally and accepting
           connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
   
   My understanding is the pulsar manager has its own PostGres database built in. I can login to the manager, but nothing works because the DB isn't initialized.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-manager] tuteng closed issue #336: Postgres DB not created when starting up Pulsar Manager

Posted by GitBox <gi...@apache.org>.
tuteng closed issue #336:
URL: https://github.com/apache/pulsar-manager/issues/336


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-manager] jiazhai commented on issue #336: Postgres DB not created when starting up Pulsar Manager

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #336:
URL: https://github.com/apache/pulsar-manager/issues/336#issuecomment-692414006


   @nikeshhajari You are right, seems the db not initialized.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org