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

Database startup error #2884

Open
im76ix opened this issue Aug 28, 2024 · 3 comments
Open

Database startup error #2884

im76ix opened this issue Aug 28, 2024 · 3 comments

Comments

@im76ix
Copy link

im76ix commented Aug 28, 2024

Hello, I have run the project and found that the database is in a closed state. When I check the logs, it shows that the configuration file /etc/postgresql/postgresql.conf cannot be found. I am running the project on a Windows system.

2024-08-28 17:56:38 The files belonging to this database system will be owned by user "postgres".
2024-08-28 17:56:38 This user must also own the server process.
2024-08-28 17:56:38 
2024-08-28 17:56:38 The database cluster will be initialized with locale "en_US.utf8".
2024-08-28 17:56:38 The default database encoding has accordingly been set to "UTF8".
2024-08-28 17:56:38 The default text search configuration will be set to "english".
2024-08-28 17:56:38 
2024-08-28 17:56:38 Data page checksums are disabled.
2024-08-28 17:56:38 
2024-08-28 17:56:38 fixing permissions on existing directory /var/lib/postgresql/data ... ok
2024-08-28 17:56:38 creating subdirectories ... ok
2024-08-28 17:56:38 selecting dynamic shared memory implementation ... posix
2024-08-28 17:56:38 selecting default max_connections ... 100
2024-08-28 17:56:38 selecting default shared_buffers ... 128MB
2024-08-28 17:56:38 selecting default time zone ... Etc/UTC
2024-08-28 17:56:38 creating configuration files ... ok
2024-08-28 17:56:39 running bootstrap script ... ok
2024-08-28 17:56:39 performing post-bootstrap initialization ... ok
2024-08-28 17:56:41 syncing data to disk ... ok
2024-08-28 17:56:41 
2024-08-28 17:56:41 
2024-08-28 17:56:41 Success. You can now start the database server using:
2024-08-28 17:56:41 
2024-08-28 17:56:41     pg_ctl -D /var/lib/postgresql/data -l logfile start
2024-08-28 17:56:41 
2024-08-28 17:57:27 
2024-08-28 17:57:27 PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-08-28 17:56:41 initdb: warning: enabling "trust" authentication for local connections
2024-08-28 17:56:41 You can change this by editing pg_hba.conf or using the option -A, or
2024-08-28 17:56:41 --auth-local and --auth-host, the next time you run initdb.
2024-08-28 17:56:41 postgres: could not access the server configuration file "/etc/postgresql/postgresql.conf": No such file or directory
2024-08-28 17:57:27 postgres: could not access the server configuration file "/etc/postgresql/postgresql.conf": No such file or directory
2024-08-28 17:57:27
Copy link

boring-cyborg bot commented Aug 28, 2024

Thanks for opening your first issue in the Marquez project! Please be sure to follow the issue template!

@im76ix im76ix closed this as completed Aug 28, 2024
@im76ix
Copy link
Author

im76ix commented Aug 28, 2024

marquez-search  | ### or run ./securityadmin_demo.sh
marquez-search  | ### To use the Security Plugin ConfigurationGUI
marquez-search  | ### To access your secured cluster open https://<hostname>:<HTTP port> and log in with admin/admin.
marquez-search  | ### (Ignore the SSL certificate warning because we installed self-signed demo certificates)
marquez-search  | Enabling OpenSearch Security Plugin
marquez-search  | Enabling execution of OPENSEARCH_HOME/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli for OpenSearch Performance Analyzer Plugin
marquez-db      | The files belonging to this database system will be owned by user "postgres".
marquez-db      | This user must also own the server process.
marquez-db      |
marquez-db      | The database cluster will be initialized with locale "en_US.utf8".
marquez-db      | The default database encoding has accordingly been set to "UTF8".
marquez-db      | The default text search configuration will be set to "english".
marquez-db      |
marquez-db      | Data page checksums are disabled.
marquez-db      |
marquez-db      | fixing permissions on existing directory /var/lib/postgresql/data ... ok
marquez-db      | creating subdirectories ... ok
marquez-db      | selecting dynamic shared memory implementation ... posix
marquez-db      | selecting default max_connections ... 100
marquez-db      | selecting default shared_buffers ... 128MB
marquez-db      | selecting default time zone ... Etc/UTC
marquez-db      | creating configuration files ... ok
marquez-db      | running bootstrap script ... ok
Gracefully stopping... (press Ctrl+C again to force)
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/opt/marquez/wait-for-it.sh": stat /opt/marquez/wait-for-it.sh: no such file or directory: unknown

@im76ix im76ix reopened this Aug 28, 2024
@wslulciuc
Copy link
Member

@im76ix can you try running Marquez using our windows guide for docker?

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

3 participants
@wslulciuc @im76ix and others