Install error


#1

I’m trying to build and install scidb-13.12.0.6872 on Centos 6.4 (Final).
I had a glitch in “yum install mock” which I was able to work around by changing (prepare_chroot.sh).
I’m good until “run.py install” where I get an error here…

[size=11][color=#0000FF]Cleaning up old logs and storage files.
Removing data directory /builds/src/SciDB/scidb-13.12.0.6872/stage/DB-mydb/000/0 on server 0 (localhost), local instance 0
Abnormal return code: 1
error in command /opt/scidb/scidb-13.12.0.6872/bin/scidb --register -p 1239 --initialize -i localhost -s /builds/src/SciDB/scidb-13.12.0.6872/stage/DB-mydb/000/0/storage.cfg -l /opt/scidb/scidb-13.12.0.6872/share/scidb/log1.properties --rle-chunk-format=True -c host=localhost port=5432 dbname=mydb user=mydb password=mydb:
Check logs in init-stderr.log init-stdout.log[/color]
./run.py: [color=#BF0000]ERROR: Command install failed: Abnormal return code: 1 on command [’/opt/scidb/scidb-13.12.0.6872/bin/scidb.py’, ‘initall-force’, ‘mydb’, ‘/opt/scidb/scidb-13.12.0.6872/etc/config.ini’][/color][color=#0000FF]
Make sure commands setup,make,install,start are performed (in that order) before stop,stopForce,tests[/color][/size]

Not sure how to debug the issue.
Let me know if you have any ideas.

** Solved
The crux of the problem prob lies in the fact that I did not run the postgresql install process, because it already installed on my system.
I had to add mydb to pg_hba.conf so that it had network access to postgresql.