Hello,
I tried to install these codes followed the instruction from http://www.portavitabenchmark.com/installation.html
But I never could get it worked out. It's likely some files are missing or some files are not updated.
I set up CentOS6 on my virtualbox.
1rst try:
Exactly follow the instruction to "make -C bootstrap start"
It prompts the readline library is missing. After readline installed, the additional ones are missing.
2nd try:
Installed all the packaged mentioned in https://github.com/AXLEproject/axle-healthcare-benchmark/blob/master/bootstrap/centos-setup-lake.sh:
Add EPEL repository
rpm -Uvh http://mirrors.nl.eu.kernel.org/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/epel.repo
yum install -y curl wget htop mc joe
packages for building postgresql
yum install -y git gcc bison flex gdb make readline-devel zlib-devel uuid-devel
packages for profiling
yum install -y perf graphviz readline-devel zlib-devel pgagent_92 libxslt-devel
Then try "make -C bootstrap start" again. I got this:
creating directory /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
creating template1 database in /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating collations ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
loading PL/pgSQL server-side language ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
pg_ctl -D /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data -l logfile start
/home/vagrant/axle-healthcare-benchmark/bootstrap/../database/pgtune/pgtune -i /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data/postgresql.conf -o /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data/postgresql.conf -T DW -P Linux -c 4 || rm -rf /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data
PATH=/home/vagrant/axle-healthcare-benchmark/bootstrap/../database/pgserver/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vagrant/bin test "pg_config --version" != "PostgreSQL 9.5devel" || sed -i '/checkpoint_segments/c\max_wal_size = 1GB' /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data/postgresql.conf
/bin/sh: pg_config: command not found
PATH=/home/vagrant/axle-healthcare-benchmark/bootstrap/../database/pgserver/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vagrant/bin pg_isready -p 5432 -h localhost -U vagrant -d "dbname=postgres" || PATH=/home/vagrant/axle-healthcare-benchmark/bootstrap/../database/pgserver/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vagrant/bin pg_ctl -w -D /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data -l /home/vagrant/axle-healthcare-benchmark/bootstrap/../database/data/logfile start
localhost:5432 - no response
waiting for server to start........ stopped waiting
pg_ctl: could not start server
Examine the log output.
make: *** [start] Error 1
make: Leaving directory `/home/vagrant/axle-healthcare-benchmark/bootstrap'
[vagrant@centos6 axle-healthcare-benchmark]$ find -name "pg_hba.conf"
./database/data/pg_hba.conf
Anyone can help? Thank you!
Hello,
I tried to install these codes followed the instruction from http://www.portavitabenchmark.com/installation.html
But I never could get it worked out. It's likely some files are missing or some files are not updated.
I set up CentOS6 on my virtualbox.
1rst try:
Exactly follow the instruction to "make -C bootstrap start"
It prompts the readline library is missing. After readline installed, the additional ones are missing.
2nd try:
Installed all the packaged mentioned in https://github.com/AXLEproject/axle-healthcare-benchmark/blob/master/bootstrap/centos-setup-lake.sh:
Then try "make -C bootstrap start" again. I got this:
Anyone can help? Thank you!