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

setup_pemserver waits forever #622

Open
martijnpronkAMIS opened this issue Mar 13, 2024 · 0 comments
Open

setup_pemserver waits forever #622

martijnpronkAMIS opened this issue Mar 13, 2024 · 0 comments

Comments

@martijnpronkAMIS
Copy link

When installing the role setup_pemserver the Ansible task seems to hang.
Running the exact command interactively will reveal the configure-pem-server.sh script will ask for a certificate subject:
vagrant@postgres-pem ~]$ sudo /bin/bash /usr/edb/pem/bin/configure-pem-server.sh --pemagent-certificate-path /root/.pem/ --db-install-path /usr/edb/as15 --cidr-address 0.0.0.0/0 --db-unitfile edb-as-15 --host 192.168.1.10 --port 5444 --superuser pemadmin --superpassword --type 1


EDB Postgres Enterprise Manager

--> [Info] --> [Info] Existing Installion type 1 (Web Services and Database) will be used
--> [Info] --> [Info] Existing local database server installation path /usr/edb/as15 will be used
--> [Info] --> [Info] Existing database super user name pemadmin will be used
--> [Info] --> [Info] Existing database server port number 5444 will be used
--> [Info] --> [Info] Checking database server port number: 5444
--> [Info] --> [Info] Existing CIDR formatted network address range that agents will connect to the server from, to be added to the server's pg_hba.conf file 0.0.0.0/0 will be used
--> [Info] --> [Info] Existing database systemd unit file or init script name edb-as-15 will be used
--> [Info] --> [Info] Existing agent certificate path /root/.pem/ will be used
Please specify PEM web server (openssl) certificate subject, template: /C=CountryCode/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname/emailAddress=EmailAddress [ ] :

I think the solution could be to include the argument --server-certificate-subject to fill in the requested information.

Thanks for the good work here :)

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