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

Waiting postgres ready. #9

Open
JackTan-TT opened this issue Apr 18, 2020 · 0 comments
Open

Waiting postgres ready. #9

JackTan-TT opened this issue Apr 18, 2020 · 0 comments

Comments

@JackTan-TT
Copy link

Dear expert,

I'm trying to run ~/ci/run.sh to install gerrit on my server, and found that it stucked in "Waiting postgres ready." Please see below messages, I have configured the ~/ci/config to my server IP.

Can you please share some suggestions?

root@csgle:~# ~/ci/run.sh
09aba648abf5edd81c60d5120f2882c5dc35bdfae998e6f31cfd555cf6035cba
ab84d22869224659f7ede25f27f46b40a19c657857fa05b6e98825a97c0b3bc4
openldap-etc-volume
openldap-repo-volume
e172cacddb1e5194e514fe729c500ad68f67acb4cc642871c3fe865a59735eea
Waiting openldap ready.
Waiting openldap ready.
Waiting openldap ready.
Waiting openldap ready.
adding new entry "ou=gerrit,dc=example,dc=com"

adding new entry "ou=accounts,dc=example,dc=com"

adding new entry "cn=group,ou=accounts,dc=example,dc=com"

adding new entry "uid=admin,ou=accounts,dc=example,dc=com"

8795ce7ca6bb3320728c2197d37d58f1935e58b0cadca818821688a2123b93ab
pg-gerrit-volume
e0b1a7b1fbf80687b1390bdbb11600913dff00ce539c7eec0fdef1152ba652e3
Waiting postgres ready.
Waiting postgres ready.

After reviewing the logs of pg-gerrit container, I get the below logs.

PostgreSQL init process complete; ready for start up.

2020-04-18 02:54:00.667 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2020-04-18 02:54:00.667 UTC [1] LOG: listening on IPv6 address "::", port 5432
2020-04-18 02:54:00.990 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-04-18 02:54:01.294 UTC [66] LOG: database system was shut down at 2020-04-18 02:54:00 UTC
2020-04-18 02:54:01.428 UTC [1] LOG: database system is ready to accept connections
2020-04-18 02:56:22.709 UTC [75] LOG: invalid length of startup packet
2020-04-18 02:56:22.712 UTC [76] LOG: invalid length of startup packet
2020-04-18 02:56:22.716 UTC [77] LOG: invalid length of startup packet
2020-04-18 02:56:23.269 UTC [78] LOG: invalid length of startup packet
2020-04-18 02:56:25.080 UTC [79] LOG: invalid length of startup packet
2020-04-18 02:56:25.082 UTC [80] LOG: invalid length of startup packet
2020-04-18 02:56:25.086 UTC [81] LOG: invalid length of startup packet

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