Opened 11 years ago
Closed 10 years ago
#632 closed defect (duplicate)
petascope_insertdemo.sh doesn't work on default 8.5.2 rpm installation.
Reported by: | Alexander Sibetheros | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | RPM | Version: | 8.5 |
Keywords: | RPM, insertdemo, default install | Cc: | |
Complexity: | Medium |
Description
On fresh CentOS 6.5, installed most recent eox rasdaman RPM(8.5.2).
Ran:
service rasdaman initdb
service rasdaman initpetascopedb
service rasdaman start
rasdaman_insertdemo.sh →Got an error that has already been fixed in next release.
When running: sudo petascope_insertdemo.sh or sudo -u rasdaman petascope_insertdemo.sh
I get:
petascope_insertdemo.sh: postgres settings read from /etc/rasdaman/petascope.properties
petascope_insertdemo.sh: user: tomcat
petascope_insertdemo.sh: port: 5432
petascope_insertdemo.sh: db: petascopedb
petascope_insertdemo.sh: no petascope database found, please run update_petascopedb.sh first.
petascope_insertdemo.sh: exiting.
When running: sudo -u tomcat petascope_insertdemo.sh
I get:
/usr/bin/petascope_insertdemo.sh: line 138: /usr/share/tomcat6/.pgpass: Permission denied
chmod: cannot access `/usr/share/tomcat6/.pgpass': No such file or directory
petascope_insertdemo.sh: postgres settings read from /etc/rasdaman/petascope.properties
petascope_insertdemo.sh: user: tomcat
petascope_insertdemo.sh: port: 5432
petascope_insertdemo.sh: db: petascopedb
petascope_insertdemo.sh: rasdaman settings
petascope_insertdemo.sh: user: rasadmin
petascope_insertdemo.sh: host: localhost
petascope_insertdemo.sh: port: 7001
petascope_insertdemo.sh: db: RASBASE
petascope_insertdemo.sh: sample coverage mean_summer_airtemp
petascope_insertdemo.sh: inserting into rasdaman… rasdaman error 0: Exception: Transfer Failed
failed creating collection.
/usr/bin/rasql: rasdaman query tool v1.0, rasdaman v8.4 — generated on 03.02.2014 13:36:55.
opening database RASBASE at localhost:7001...rasdaman error 0: Exception: Transfer Failed
/usr/bin/rasql done.