Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors while Starting PostgreSQL Master initdb. #27

Open
sonamish99 opened this issue Aug 27, 2024 · 0 comments
Open

errors while Starting PostgreSQL Master initdb. #27

sonamish99 opened this issue Aug 27, 2024 · 0 comments

Comments

@sonamish99
Copy link

sonamish99 commented Aug 27, 2024

we see the below errors when postgresql_master_initdb.sh gets executed:

null_resource.postgresql_master_initdb (remote-exec): #####################################
null_resource.postgresql_master_initdb (remote-exec): Starting PostgreSQL Master initdb.
null_resource.postgresql_master_initdb (remote-exec): #####################################
null_resource.postgresql_master_initdb (remote-exec): --> Optionally initialize the database and enable automatic start...
null_resource.postgresql_master_initdb (remote-exec): sudo: /usr/pgsql-14/bin/postgresql-14-setup: command not found
null_resource.postgresql_master_initdb (remote-exec): -[100%]-> PostgreSQL Setup InitDB successfully finished.
null_resource.postgresql_master_initdb (remote-exec): --> Adding iSCSI volume to PostgreSQL configuration...
null_resource.postgresql_master_initdb (remote-exec): chown: invalid user: 'postgres:postgres'
null_resource.postgresql_master_initdb (remote-exec): sudo: unknown user: postgres
null_resource.postgresql_master_initdb (remote-exec): sudo: error initializing audit plugin sudoers_audit
null_resource.postgresql_master_initdb (remote-exec): sed: can't read /usr/lib/systemd/system/postgresql-14.service: No such file or directory
null_resource.postgresql_master_initdb (remote-exec): -[100%]-> iSCSI volume added to PostgreSQL configuration.
null_resource.postgresql_master_initdb (remote-exec): --> Enabling and starting PostgreSQL systemctl service...
null_resource.postgresql_master_initdb (remote-exec): Failed to enable unit: Unit file postgresql-14.service does not exist.
null_resource.postgresql_master_initdb (remote-exec): Failed to start postgresql-14.service: Unit postgresql-14.service not found.
null_resource.postgresql_master_initdb (remote-exec): Unit postgresql-14.service could not be found.
null_resource.postgresql_master_initdb (remote-exec): -[100%]-> PostgreSQL service started.
null_resource.postgresql_master_initdb (remote-exec): --> Showing the logs of PostgreSQL with tail -5 command...
null_resource.postgresql_master_initdb (remote-exec): tail: cannot open '/data/pgsql/log/postgresql-*.log' for reading: No such file or directory
null_resource.postgresql_master_initdb (remote-exec): -[100%]-> PostgreSQL logs printed out.
null_resource.postgresql_master_initdb (remote-exec): #####################################
null_resource.postgresql_master_initdb (remote-exec): PostgreSQL Master initdb finished.
null_resource.postgresql_master_initdb (remote-exec): #####################################

followed by the attached failure alerts
image (86)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant