I need to install stellar-core and horizon in Production.

I got the ERROR mention it need pg_ctl or pg_ctlcluster.

I choose AWS as following:

  1. AWS EC2 t3a.medium. 2vcpu + 4GB RAM
  2. AWS RDS PostgreSQL Service
  3. Ubuntu 18-04LTS

Do I need to install PostgreSQL-10 client?

I tried to follow the [Installation Instructions][1]

   32  sudo apt-get install software-properties-common
   33  sudo add-apt-repository ppa:ubuntu-toolchain-r/test
   34  vim /etc/profile.d/stellar-core.sh
   35  sudo vim /etc/profile.d/stellar-core.sh
   39  clang -v
   43  clang++ --version
   44  sudo apt-get install libc++-dev libc++abi-dev 
   45  vim /etc/profile.d/stellar-core.sh 
   46  sudo vim /etc/profile.d/stellar-core.sh 
   47  ./autogen.sh && ./configure && make -j2
   53  git clone https://github.com/stellar/stellar-core.git
   54  cd stellar-core
   55  git branch
   56  git checkout prod
   57  ./autogen.sh && ./configure && make -j2
   58  ls
   59  make check

I got errors as following

PASS: tests/test-stacklim
PASS: tests/test-msgsock
PASS: tests/test-printer
PASS: tests/test-compare
PASS: tests/test-types
PASS: tests/test-validate
Testsuite summary for xdrpp 0
# TOTAL: 6
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
make[5]: Leaving directory '/home/ubuntu/stellar-core/lib/xdrpp'
make[4]: Leaving directory '/home/ubuntu/stellar-core/lib/xdrpp'
make[3]: Leaving directory '/home/ubuntu/stellar-core/lib/xdrpp'
make[2]: Leaving directory '/home/ubuntu/stellar-core/lib/xdrpp'
make[2]: Entering directory '/home/ubuntu/stellar-core/lib'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/home/ubuntu/stellar-core/lib'
make[1]: Leaving directory '/home/ubuntu/stellar-core/lib'
Making check in src
make[1]: Entering directory '/home/ubuntu/stellar-core/src'
make  check-am
make[2]: Entering directory '/home/ubuntu/stellar-core/src'
make  check-TESTS
make[3]: Entering directory '/home/ubuntu/stellar-core/src'
Academic tradition requires you to cite works you base your article on.
When using programs that use GNU Parallel to process data for publication
please cite:

  O. Tange (2011): GNU Parallel - The Command-Line Power Tool,
  ;login: The USENIX Magazine, February 2011:42-47.

This helps funding further development; AND IT WON'T COST YOU A CENT.
If you pay 10000 EUR you should feel free to use GNU Parallel without citing.

To silence this citation notice: run 'parallel --citation'.

Computers / CPU cores / Max jobs to run
1:local / 2 / 1

Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete
local:1/0/100%/0.0s 1   Could not find pg_ctl or pg_ctlcluster
parallel: This job failed:
runpart 1 quorum\ non\ intersection\ basic\ 6-node available\ balance\ and\ limit crank\ returns\ correct\ value create\ peer\ record Exchange
FAIL: test/selftest-pg
1 of 1 test failed
Makefile:2312: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory '/home/ubuntu/stellar-core/src'
Makefile:2435: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/ubuntu/stellar-core/src'
Makefile:2437: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/ubuntu/stellar-core/src'
Makefile:569: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

Does anyone know how to fix this issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.