Error while installing API-Portal

Hi,
I am trying to install API-Portal (v9.9) on Linux machine but it giving below error:

Error during: Configuring PostgresSQL… Error while writing the following ACC commands: configure postgres_m postgres_m zookeeper.connect.string=“localhost:18048” postgres.ports=“18847” plugin.apptypes=“db”, “postgressql.ecp”

I am not sure if it is using postgres sql internally but i am expecting that it will configure it automatically without any manual configuration

Could you please help here.
Thanks.

Hello Ravi,

Can you check if the ports are available for the installations?

Regards,
Srikanth

Hi Srikanth,
Issue got resolved now. The ports are available but the process to start API-Portal in Windows and Linux is little different. Just followed the product manual and executed the Linux based steps and server is starting now.
Thanks.

Hi All,

I am trying to install API-Portal from docker on Ubuntu OracleVirtualBox but it’s giving below error:
I have followed the: http://techcommunity.softwareag.com/pwiki/-/wiki/Main/Getting%20started%20with%20webMethods%20API%20Portal%20using%20Docker%20images
Note: I have tried installing using normal user and root, giving same error:

root@veeru-VirtualBox:~/api/scripts# ./deploy.sh api
Value for vm.max_map_count is OK.
vm.max_map_count = 262144
+++++++ setenv +++++++
+++++++ delete logs +++++++
removed ‘/var/log/docker_deploy.log’
removed ‘/var/log/docker_compose.log’
+++++++ refresh ARIS Docker +++++++
+++ docker clean ARIS network +++
Installing product API Portal
Standard database system (Postgres) will be installed
All docker volume will remain with existing data.
+++++ Start aris docker refresh +++++
++++++ create compose ++++++
Installing product API Portal
Standard database system (Postgres) will be installed
All docker volume will remain with existing data.
++++ start: clean system
Installing product API Portal
Standard database system (Postgres) will be installed
All docker volume will remain with existing data.
++++ start: docker-compose -p api -f docker-compose.yml down --rmi all ++++
Top level object in ‘./docker-compose.yml’ needs to be an object not ‘<type ‘NoneType’>’.
++++ end: tear down
++++ docker remove ARIS images ++++
++++ end: clean system ++++
Installing product API Portal
Standard database system (Postgres) will be installed
All docker volume will remain with existing data.
++++ start: docker-compose -p api up ++++
Top level object in ‘./docker-compose.yml’ needs to be an object not ‘<type ‘NoneType’>’.
++++ end: docker-compose up
+++++ End aris docker refresh +++++
+++++++ copy scripts to be used on the host from the admin-tools container +++++++
Unable to find image ‘store/softwareag/aris-admin-tools:10.0.4.1’ locally
10.0.4.1: Pulling from store/softwareag/aris-admin-tools
ff3a5c916c92: Already exists
c245b368da47: Already exists
e9a16d931d31: Already exists
ad0975e7117b: Already exists
9b2115eae7fa: Already exists
bd900b714ca1: Pull complete
5c919b437c69: Pull complete
b16a85dba7f3: Pull complete
6e4a790c0673: Pull complete
Digest: sha256:c2e0218994ee166e45c049eef300217e53c79f41ebcaf83bdedc8d0cc2b4000d
Status: Downloaded newer image for store/softwareag/aris-admin-tools:10.0.4.1
Executing script deployment…
+++++++ check if all container up +++++++
ERROR: Top level object in ‘/root/api//docker-compose.yml’ needs to be an object not ‘<type ‘NoneType’>’.
No Container found for /root/api//docker-compose.yml.
+++ DONE (deploy.sh) +++
return : 9

Could you please help here.
Thanks.

deploy tools internally uses docker compose. did you install docker compose as well on the docker host?

Yes Arul, i have installed docker compose.

veeru@veeru-VirtualBox:~$ sudo apt-get install docker-compose
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
python-backports.ssl-match-hostname python-cached-property python-cffi-backend python-chardet
python-cryptography python-docker python-dockerpty python-docopt python-enum34 python-funcsigs
python-functools32 python-idna python-ipaddress python-jsonschema python-mock
python-ndg-httpsclient python-openssl python-pbr python-pkg-resources python-pyasn1 python-requests
python-six python-texttable python-urllib3 python-websocket python-yaml
Suggested packages:
python-cryptography-doc python-cryptography-vectors python-enum34-doc python-funcsigs-doc
python-mock-doc python-openssl-doc python-openssl-dbg python-setuptools python-ntlm
Recommended packages:
docker.io
The following NEW packages will be installed:
docker-compose python-backports.ssl-match-hostname python-cached-property python-cffi-backend
python-chardet python-cryptography python-docker python-dockerpty python-docopt python-enum34
python-funcsigs python-functools32 python-idna python-ipaddress python-jsonschema python-mock
python-ndg-httpsclient python-openssl python-pbr python-pkg-resources python-pyasn1 python-requests
python-six python-texttable python-urllib3 python-websocket python-yaml
0 upgraded, 27 newly installed, 0 to remove and 305 not upgraded.
Need to get 1,439 kB of archives.
After this operation, 7,410 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-cached-property all 1.3.0-1 [6,976 B]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-six all 1.10.0-3 [10.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-urllib3 all 1.13.1-2ubuntu0.16.04.2 [57.9 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-chardet all 2.3.0-2 [96.3 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-requests all 2.9.1-3 [55.6 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-backports.ssl-match-hostname all 3.4.0.2-1 [6,258 B]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-websocket all 0.18.0-2 [165 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-ipaddress all 1.0.16-1 [18.0 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-docker all 1.9.0-1~16.04.1 [29.9 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-dockerpty all 0.4.1-1~16.04.1 [10.9 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-docopt all 0.6.2-1build1 [25.6 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-enum34 all 1.1.2-1 [35.8 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-functools32 all 3.2.3.2-2 [10.7 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-funcsigs all 0.4-2 [12.6 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-pbr all 1.8.0-4ubuntu1 [46.6 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-mock all 1.3.0-2.1ubuntu1 [46.5 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-jsonschema all 2.5.1-4 [30.5 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 python-texttable all 0.8.1-1 [7,566 B]
Get:20 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-yaml amd64 3.11-3build1 [105 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker-compose all 1.8.0-2~16.04.1 [107 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-cffi-backend amd64 1.5.2-1ubuntu1 [58.1 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-idna all 2.0-3 [35.1 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-pyasn1 all 0.1.9-1 [45.1 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-cryptography amd64 1.2.3-1ubuntu0.1 [199 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-openssl all 0.15.1-2build1 [84.1 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-ndg-httpsclient all 0.4.0-3 [25.1 kB]
Fetched 1,439 kB in 1s (863 kB/s)
Selecting previously unselected package python-pkg-resources.
(Reading database … 217295 files and directories currently installed.)
Preparing to unpack …/python-pkg-resources_20.7.0-1_all.deb …
Unpacking python-pkg-resources (20.7.0-1) …
Selecting previously unselected package python-cached-property.
Preparing to unpack …/python-cached-property_1.3.0-1_all.deb …
Unpacking python-cached-property (1.3.0-1) …
Selecting previously unselected package python-six.
Preparing to unpack …/python-six_1.10.0-3_all.deb …
Unpacking python-six (1.10.0-3) …
Selecting previously unselected package python-urllib3.
Preparing to unpack …/python-urllib3_1.13.1-2ubuntu0.16.04.2_all.deb …
Unpacking python-urllib3 (1.13.1-2ubuntu0.16.04.2) …
Selecting previously unselected package python-chardet.
Preparing to unpack …/python-chardet_2.3.0-2_all.deb …
Unpacking python-chardet (2.3.0-2) …
Selecting previously unselected package python-requests.
Preparing to unpack …/python-requests_2.9.1-3_all.deb …
Unpacking python-requests (2.9.1-3) …
Selecting previously unselected package python-backports.ssl-match-hostname.
Preparing to unpack …/python-backports.ssl-match-hostname_3.4.0.2-1_all.deb …
Unpacking python-backports.ssl-match-hostname (3.4.0.2-1) …
Selecting previously unselected package python-websocket.
Preparing to unpack …/python-websocket_0.18.0-2_all.deb …
Unpacking python-websocket (0.18.0-2) …
Selecting previously unselected package python-ipaddress.
Preparing to unpack …/python-ipaddress_1.0.16-1_all.deb …
Unpacking python-ipaddress (1.0.16-1) …
Selecting previously unselected package python-docker.
Preparing to unpack …/python-docker_1.9.0-1~16.04.1_all.deb …
Unpacking python-docker (1.9.0-1~16.04.1) …
Selecting previously unselected package python-dockerpty.
Preparing to unpack …/python-dockerpty_0.4.1-1~16.04.1_all.deb …
Unpacking python-dockerpty (0.4.1-1~16.04.1) …
Selecting previously unselected package python-docopt.
Preparing to unpack …/python-docopt_0.6.2-1build1_all.deb …
Unpacking python-docopt (0.6.2-1build1) …
Selecting previously unselected package python-enum34.
Preparing to unpack …/python-enum34_1.1.2-1_all.deb …
Unpacking python-enum34 (1.1.2-1) …
Selecting previously unselected package python-functools32.
Preparing to unpack …/python-functools32_3.2.3.2-2_all.deb …
Unpacking python-functools32 (3.2.3.2-2) …
Selecting previously unselected package python-funcsigs.
Preparing to unpack …/python-funcsigs_0.4-2_all.deb …
Unpacking python-funcsigs (0.4-2) …
Selecting previously unselected package python-pbr.
Preparing to unpack …/python-pbr_1.8.0-4ubuntu1_all.deb …
Unpacking python-pbr (1.8.0-4ubuntu1) …
Selecting previously unselected package python-mock.
Preparing to unpack …/python-mock_1.3.0-2.1ubuntu1_all.deb …
Unpacking python-mock (1.3.0-2.1ubuntu1) …
Selecting previously unselected package python-jsonschema.
Preparing to unpack …/python-jsonschema_2.5.1-4_all.deb …
Unpacking python-jsonschema (2.5.1-4) …
Selecting previously unselected package python-texttable.
Preparing to unpack …/python-texttable_0.8.1-1_all.deb …
Unpacking python-texttable (0.8.1-1) …
Selecting previously unselected package python-yaml.
Preparing to unpack …/python-yaml_3.11-3build1_amd64.deb …
Unpacking python-yaml (3.11-3build1) …
Selecting previously unselected package docker-compose.
Preparing to unpack …/docker-compose_1.8.0-2~16.04.1_all.deb …
Unpacking docker-compose (1.8.0-2~16.04.1) …
Selecting previously unselected package python-cffi-backend.
Preparing to unpack …/python-cffi-backend_1.5.2-1ubuntu1_amd64.deb …
Unpacking python-cffi-backend (1.5.2-1ubuntu1) …
Selecting previously unselected package python-idna.
Preparing to unpack …/python-idna_2.0-3_all.deb …
Unpacking python-idna (2.0-3) …
Selecting previously unselected package python-pyasn1.
Preparing to unpack …/python-pyasn1_0.1.9-1_all.deb …
Unpacking python-pyasn1 (0.1.9-1) …
Selecting previously unselected package python-cryptography.
Preparing to unpack …/python-cryptography_1.2.3-1ubuntu0.1_amd64.deb …
Unpacking python-cryptography (1.2.3-1ubuntu0.1) …
Selecting previously unselected package python-openssl.
Preparing to unpack …/python-openssl_0.15.1-2build1_all.deb …
Unpacking python-openssl (0.15.1-2build1) …
Selecting previously unselected package python-ndg-httpsclient.
Preparing to unpack …/python-ndg-httpsclient_0.4.0-3_all.deb …
Unpacking python-ndg-httpsclient (0.4.0-3) …
Processing triggers for man-db (2.7.5-1) …
Processing triggers for doc-base (0.10.7) …
Processing 1 added doc-base file…
Setting up python-pkg-resources (20.7.0-1) …
Setting up python-cached-property (1.3.0-1) …
Setting up python-six (1.10.0-3) …
Setting up python-urllib3 (1.13.1-2ubuntu0.16.04.2) …
Setting up python-chardet (2.3.0-2) …
Setting up python-requests (2.9.1-3) …
Setting up python-backports.ssl-match-hostname (3.4.0.2-1) …
Setting up python-websocket (0.18.0-2) …
Setting up python-ipaddress (1.0.16-1) …
Setting up python-docker (1.9.0-1~16.04.1) …
Setting up python-dockerpty (0.4.1-1~16.04.1) …
Setting up python-docopt (0.6.2-1build1) …
Setting up python-enum34 (1.1.2-1) …
Setting up python-functools32 (3.2.3.2-2) …
Setting up python-funcsigs (0.4-2) …
Setting up python-pbr (1.8.0-4ubuntu1) …
update-alternatives: using /usr/bin/python2-pbr to provide /usr/bin/pbr (pbr) in auto mode
Setting up python-mock (1.3.0-2.1ubuntu1) …
Setting up python-jsonschema (2.5.1-4) …
update-alternatives: using /usr/bin/python2-jsonschema to provide /usr/bin/jsonschema (jsonschema) in auto mode
Setting up python-texttable (0.8.1-1) …
Setting up python-yaml (3.11-3build1) …
Setting up docker-compose (1.8.0-2~16.04.1) …
Setting up python-cffi-backend (1.5.2-1ubuntu1) …
Setting up python-idna (2.0-3) …
Setting up python-pyasn1 (0.1.9-1) …
Setting up python-cryptography (1.2.3-1ubuntu0.1) …
Setting up python-openssl (0.15.1-2build1) …
Setting up python-ndg-httpsclient (0.4.0-3) …

Can i have your email address, i’ll contact you directly or email me to veerudontha@gmail.com

Thanks,
Veeru

Can you please retry the installation as non-root user. We generally recommend not to use root. BUT the install user should have sudo privilege.