Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "1 INFO": "Checking if installer needs to be updated...",
- "2 INFO": "Installer is at latest version.",
- "3 TITLE": "Review the installation settings:",
- "4 INFO": "
- Install path: /opt/rasdaman/
- User: rasdaman
- Database: sqlite, /opt/rasdaman/data/
- Install webapps: True
- Petascopedb url: jdbc:postgresql://localhost:5432/petascopedb
- Petascopedb user: petauser
- Deployment: external
- Webapps path: /var/lib/tomcat8/webapps
- Webapps logs: /var/log/tomcat8
- Insert demos: True
- Run systemtest: False
- Generate package: False",
- "5 TITLE": "Validating system...",
- "6 TITLE": "System was validated.",
- "7 TITLE": "Installing third party dependencies on Ubuntu 18.04...",
- "8 INFO": "Installing pip packages ['glob2', 'grpcio', 'pygrib', 'protobuf']... ",
- "9 pip install --upgrade pip": {
- "code": 0,
- "err": "",
- "execution_time": 3.792354106903076,
- "start_time": "2018-07-18 13:51:07",
- "user": "root",
- "out": "Collecting pip
- Downloading https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB)
- Installing collected packages: pip
- Found existing installation: pip 9.0.1
- Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
- Successfully installed pip-10.0.1
- "
- },
- "10 pip install glob2 grpcio pygrib protobuf": {
- "code": 1,
- "err": "Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-install-iprEBu/glob2/
- ",
- "execution_time": 0.864875078201294,
- "start_time": "2018-07-18 13:51:10",
- "user": "root",
- "out": "Collecting glob2
- Downloading https://files.pythonhosted.org/packages/f0/e8/970c7a031b2d7f9a21fefaa8c9d5c38001f8f25055f4ffcb32b3dbecd1ea/glob2-0.6.tar.gz
- Complete output from command python setup.py egg_info:
- Traceback (most recent call last):
- File \"<string>\", line 1, in <module>
- ImportError: No module named setuptools
- ----------------------------------------
- "
- },
- "11 INFO": "Pip packages installed successfully.",
- "12 INFO": "Increasing tomcat memory limit to 2GB...",
- "13 cp -a /etc/default/tomcat8 /etc/default/tomcat8.2018-07-18_13-51-11.bak": {
- "code": 0,
- "err": "",
- "execution_time": 0.0040819644927978516,
- "start_time": "2018-07-18 13:51:11",
- "user": "root",
- "out": ""
- },
- "14 INFO": "Existing configuration saved at '/etc/default/tomcat8.2018-07-18_13-51-11.bak'",
- "15 systemctl restart tomcat8.service": {
- "code": 0,
- "err": "",
- "execution_time": 5.112572908401489,
- "start_time": "2018-07-18 13:51:11",
- "user": "root",
- "out": ""
- },
- "16 INFO": "Tomcat memory increased succesfully.",
- "17 INFO": "Checking user rasdaman....",
- "18 id -u rasdaman": {
- "code": 0,
- "err": "",
- "execution_time": 0.00801396369934082,
- "start_time": "2018-07-18 13:51:16",
- "user": "root",
- "out": "1000
- "
- },
- "19 INFO": "User rasdaman checked successfully.",
- "20 INFO": "Creating directory structure...",
- "21 mkdir -p /opt/rasdaman/": {
- "code": 0,
- "err": "",
- "execution_time": 0.008461952209472656,
- "start_time": "2018-07-18 13:51:16",
- "user": "root",
- "out": ""
- },
- "22 chown -R rasdaman: /opt/rasdaman/": {
- "code": 0,
- "err": "",
- "execution_time": 0.0431210994720459,
- "start_time": "2018-07-18 13:51:16",
- "user": "root",
- "out": ""
- },
- "23 chmod +x /opt/rasdaman": {
- "code": 0,
- "err": "",
- "execution_time": 0.015755176544189453,
- "start_time": "2018-07-18 13:51:16",
- "user": "root",
- "out": ""
- },
- "24 chmod +x /opt": {
- "code": 0,
- "err": "",
- "execution_time": 0.00279998779296875,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "25 chmod +x /": {
- "code": 0,
- "err": "",
- "execution_time": 0.0029327869415283203,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "26 mkdir -p /opt/rasdaman/third_party/": {
- "code": 0,
- "err": "",
- "execution_time": 0.0066988468170166016,
- "start_time": "2018-07-18 13:51:17",
- "user": "rasdaman",
- "out": ""
- },
- "27 INFO": "Directory structure created successfully.",
- "28 INFO": "Setting up the PATH environment variable in '/etc/profile.d/rasdaman.sh'...",
- "29 chmod -R +x /etc/profile.d/rasdaman.sh": {
- "code": 0,
- "err": "",
- "execution_time": 0.0062220096588134766,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "30 INFO": "The PATH environment variable was set up successfully.",
- "31 ldconfig": {
- "code": 0,
- "err": "",
- "execution_time": 0.0901949405670166,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "32 TITLE": "Third party dependencies installed successfully.",
- "33 TITLE": "Retrieving rasdaman...",
- "34 TITLE": "Rasdaman retrieved successfully",
- "35 TITLE": "Building rasdaman...",
- "36 INFO": "Deploying def.war...",
- "37 mkdir -p /var/lib/tomcat8/webapps/secoredb": {
- "code": 0,
- "err": "",
- "execution_time": 0.006801128387451172,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "38 chmod 777 /var/lib/tomcat8/webapps/secoredb": {
- "code": 0,
- "err": "",
- "execution_time": 0.012029886245727539,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "39 cp /opt/rasdaman/share/rasdaman/war/def.war /var/lib/tomcat8/webapps": {
- "code": 0,
- "err": "",
- "execution_time": 0.06812119483947754,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "40 rm -rf def": {
- "code": 0,
- "err": "",
- "execution_time": 0.007395029067993164,
- "start_time": "2018-07-18 13:51:17",
- "user": "root",
- "out": ""
- },
- "41 INFO": "def.war deployed successfully.",
- "42 INFO": "Deploying rasdaman.war...",
- "43 cp /opt/rasdaman/share/rasdaman/war/rasdaman.war /var/lib/tomcat8/webapps": {
- "code": 0,
- "err": "",
- "execution_time": 0.1768169403076172,
- "start_time": "2018-07-18 13:51:37",
- "user": "root",
- "out": ""
- },
- "44 rm -rf rasdaman": {
- "code": 0,
- "err": "",
- "execution_time": 0.0036950111389160156,
- "start_time": "2018-07-18 13:51:37",
- "user": "root",
- "out": ""
- },
- "45 INFO": "rasdaman.war deployed successfully.",
- "46 TITLE": "Rasdaman was built successfully.",
- "47 TITLE": "Preparing rasdaman...",
- "48 INFO": "Preparing rasmgr.conf...",
- "49 INFO": "rasmgr.conf prepared successfully.",
- "50 INFO": "Preparing Rasdaman SQLite database...",
- "51 mkdir -p /opt/rasdaman/data/": {
- "code": 0,
- "err": "",
- "execution_time": 0.011965036392211914,
- "start_time": "2018-07-18 13:51:57",
- "user": "root",
- "out": ""
- },
- "52 chown -R rasdaman: /opt/rasdaman/data/": {
- "code": 0,
- "err": "",
- "execution_time": 0.008498907089233398,
- "start_time": "2018-07-18 13:51:57",
- "user": "root",
- "out": ""
- },
- "53 /opt/rasdaman/bin/create_db.sh": {
- "code": 0,
- "err": "",
- "execution_time": 0.3612539768218994,
- "start_time": "2018-07-18 13:51:57",
- "user": "rasdaman",
- "out": "create_db.sh: creating database, rasdaman v9.7 on base DBMS sqlite
- create_db.sh: rasdaman dictionary initialization...
- create_db.sh: creating RASBASE... ok.
- create_db.sh: inserting standard types... ok.
- create_db.sh: done.
- "
- },
- "54 INFO": "Rasdaman SQLite database was prepared.",
- "55 INFO": "Preparing petascope...",
- "56 psql -c SELECT 'rasdaman_user_exists_already' FROM pg_roles WHERE rolname='petauser'": {
- "code": 0,
- "err": "",
- "execution_time": 0.20592713356018066,
- "start_time": "2018-07-18 13:51:57",
- "user": "postgres",
- "out": " ?column?
- ----------
- (0 rows)
- "
- },
- "57 createuser -s petauser": {
- "code": 0,
- "err": "",
- "execution_time": 0.13214683532714844,
- "start_time": "2018-07-18 13:51:58",
- "user": "postgres",
- "out": ""
- },
- "58 psql -c ALTER USER \"petauser\" WITH PASSWORD 'af6737f8db10482f9535a334763500c7'": {
- "code": 0,
- "err": "",
- "execution_time": 0.11508798599243164,
- "start_time": "2018-07-18 13:51:58",
- "user": "postgres",
- "out": "ALTER ROLE
- "
- },
- "59 INFO": "Petascope was prepared.",
- "60 INFO": "Preparing for external server deployment...",
- "61 INFO": "Config updated for external server deployment.",
- "62 INFO": "Updated path of petascope.log to /var/log/tomcat8/petascope.log.",
- "63 INFO": "Updated path of secore.log to /var/log/tomcat8/secore.log.",
- "64 INFO": "Installing service scripts...",
- "65 cp -v -r /tmp/rasdaman.sh /etc/init.d/rasdaman": {
- "code": 0,
- "err": "",
- "execution_time": 0.012350082397460938,
- "start_time": "2018-07-18 13:51:58",
- "user": "root",
- "out": "'/tmp/rasdaman.sh' -> '/etc/init.d/rasdaman'
- "
- },
- "66 chmod -R 755 /etc/init.d/rasdaman": {
- "code": 0,
- "err": "",
- "execution_time": 0.007647991180419922,
- "start_time": "2018-07-18 13:51:58",
- "user": "root",
- "out": ""
- },
- "67 rm -r -f /tmp/rasdaman.sh": {
- "code": 0,
- "err": "",
- "execution_time": 0.009280920028686523,
- "start_time": "2018-07-18 13:51:58",
- "user": "root",
- "out": ""
- },
- "68 DEBUG": "Installed SysV init script at /etc/init.d/rasdaman",
- "69 cp -v -r /opt/rasdaman/share/rasdaman/installer/preparer/rasdaman.service /etc/systemd/system/rasdaman.service": {
- "code": 0,
- "err": "",
- "execution_time": 0.0071909427642822266,
- "start_time": "2018-07-18 13:51:58",
- "user": "root",
- "out": "'/opt/rasdaman/share/rasdaman/installer/preparer/rasdaman.service' -> '/etc/systemd/system/rasdaman.service'
- "
- },
- "70 chmod -R 644 /etc/systemd/system/rasdaman.service": {
- "code": 0,
- "err": "",
- "execution_time": 0.009354114532470703,
- "start_time": "2018-07-18 13:51:58",
- "user": "root",
- "out": ""
- },
- "71 DEBUG": "Installed systemd init script at /etc/systemd/system/rasdaman.service",
- "72 systemctl enable rasdaman.service": {
- "code": 0,
- "err": "Synchronizing state of rasdaman.service with SysV service script with /lib/systemd/systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install enable rasdaman
- ",
- "execution_time": 1.5109188556671143,
- "start_time": "2018-07-18 13:51:58",
- "user": "root",
- "out": ""
- },
- "73 systemctl daemon-reload": {
- "code": 0,
- "err": "",
- "execution_time": 0.5066399574279785,
- "start_time": "2018-07-18 13:52:00",
- "user": "root",
- "out": ""
- },
- "74 INFO": "Service scripts installed successfully.",
- "75 INFO": "Migrating configuration files from deprecated packages...",
- "76 mkdir -p /tmp/rasdaman-backup/etc/": {
- "code": 0,
- "err": "",
- "execution_time": 0.010991096496582031,
- "start_time": "2018-07-18 13:52:00",
- "user": "rasdaman",
- "out": ""
- },
- "77 INFO": "No previous configuration files found to migrate.",
- "78 INFO": "Migrating configuration files from previous version...",
- "79 INFO": "No previous configuration files found to migrate.",
- "80 chown -R rasdaman: /opt/rasdaman/": {
- "code": 0,
- "err": "",
- "execution_time": 0.03842592239379883,
- "start_time": "2018-07-18 13:52:00",
- "user": "root",
- "out": ""
- },
- "81 INFO": "Starting rasdaman and external Tomcat...",
- "82 mkdir -p /opt/rasdaman/log": {
- "code": 0,
- "err": "",
- "execution_time": 0.007358074188232422,
- "start_time": "2018-07-18 13:52:00",
- "user": "root",
- "out": ""
- },
- "83 chown -R rasdaman: /opt/rasdaman/log": {
- "code": 0,
- "err": "",
- "execution_time": 0.01968097686767578,
- "start_time": "2018-07-18 13:52:00",
- "user": "root",
- "out": ""
- },
- "84 /opt/rasdaman/bin/start_rasdaman.sh": {
- "code": -1,
- "err": "",
- "execution_time": 0.0024118423461914062,
- "start_time": "2018-07-18 13:52:01",
- "user": "rasdaman",
- "out": ""
- },
- "85 systemctl restart tomcat8.service": {
- "code": 0,
- "err": "",
- "execution_time": 25.11714196205139,
- "start_time": "2018-07-18 13:52:36",
- "user": "root",
- "out": ""
- },
- "86 wget -q http://localhost:8080/def/crs/EPSG/0/4326 -O /dev/null": {
- "code": -1,
- "err": "
- Command execution timed out after 200 seconds.",
- "execution_time": 200.01143193244934,
- "start_time": "2018-07-18 13:53:42",
- "user": "rasdaman",
- "out": ""
- },
- "87 wget -q http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=GetCapabilities -O /dev/null": {
- "code": -1,
- "err": "
- Command execution timed out after 200 seconds.",
- "execution_time": 200.02576112747192,
- "start_time": "2018-07-18 13:57:02",
- "user": "rasdaman",
- "out": ""
- },
- "88 /opt/rasdaman/bin//rasql -q SELECT C FROM RAS_COLLECTIONNAMES AS C": {
- "code": 0,
- "err": "",
- "execution_time": 0.03315401077270508,
- "start_time": "2018-07-18 14:00:22",
- "user": "rasdaman",
- "out": "/opt/rasdaman/bin//rasql: rasdaman query tool v1.0, rasdaman 9.7.0.
- Opening database RASBASE at localhost:7001... ok.
- Executing retrieval query... ok.
- /opt/rasdaman/bin//rasql done.
- "
- },
- "89 INFO": "Services successfully started.",
- "90 TITLE": "Rasdaman prepared successfully.",
- "91 TITLE": "Finalizing installation...",
- "92 /opt/rasdaman/bin/rasql --out string -q SELECT C FROM RAS_COLLECTIONNAMES AS C": {
- "code": 0,
- "err": "",
- "execution_time": 0.038136959075927734,
- "start_time": "2018-07-18 14:00:22",
- "user": "rasdaman",
- "out": "/opt/rasdaman/bin/rasql: rasdaman query tool v1.0, rasdaman 9.7.0.
- Opening database RASBASE at localhost:7001... ok.
- Executing retrieval query... ok.
- Query result collection has 0 element(s):
- /opt/rasdaman/bin/rasql done.
- "
- },
- "93 INFO": "Ingesting rasdaman demo data...",
- "94 /opt/rasdaman/bin//rasql -q SELECT C FROM RAS_COLLECTIONNAMES AS C": {
- "code": 0,
- "err": "",
- "execution_time": 0.0445859432220459,
- "start_time": "2018-07-18 14:00:22",
- "user": "rasdaman",
- "out": "/opt/rasdaman/bin//rasql: rasdaman query tool v1.0, rasdaman 9.7.0.
- Opening database RASBASE at localhost:7001... ok.
- Executing retrieval query... ok.
- /opt/rasdaman/bin//rasql done.
- "
- },
- "95 /opt/rasdaman/bin/rasdaman_insertdemo.sh localhost 7001 /opt/rasdaman/share/rasdaman/examples/images rasadmin rasadmin": {
- "code": 0,
- "err": "",
- "execution_time": 1.0215718746185303,
- "start_time": "2018-07-18 14:00:22",
- "user": "rasdaman",
- "out": "rasdaman_insertdemo.sh: rasdaman demo data insert script
- rasdaman_insertdemo.sh: using host localhost, image directory /opt/rasdaman/share/rasdaman/examples/images, and user/passwd rasadmin/rasadmin
- rasdaman_insertdemo.sh: ingesting mr... ok.
- rasdaman_insertdemo.sh: ingesting mr2... ok.
- rasdaman_insertdemo.sh: ingesting rgb... ok.
- rasdaman_insertdemo.sh: done.
- "
- },
- "96 INFO": "Rasdaman demo data ingested successfully.",
- "97 /opt/rasdaman/bin/rasql --out string -q SELECT C FROM RAS_COLLECTIONNAMES AS C": {
- "code": 0,
- "err": "",
- "execution_time": 0.04558587074279785,
- "start_time": "2018-07-18 14:00:23",
- "user": "rasdaman",
- "out": "/opt/rasdaman/bin/rasql: rasdaman query tool v1.0, rasdaman 9.7.0.
- Opening database RASBASE at localhost:7001... ok.
- Executing retrieval query... ok.
- Query result collection has 3 element(s):
- Result object 1: mr2\u0000
- Result object 2: rgb\u0000
- Result object 3: mr\u0000
- /opt/rasdaman/bin/rasql done.
- "
- },
- "98 INFO": "Ingesting petascope demo data...",
- "99 /opt/rasdaman/bin//rasql -q SELECT C FROM RAS_COLLECTIONNAMES AS C": {
- "code": 0,
- "err": "",
- "execution_time": 0.04236316680908203,
- "start_time": "2018-07-18 14:00:23",
- "user": "rasdaman",
- "out": "/opt/rasdaman/bin//rasql: rasdaman query tool v1.0, rasdaman 9.7.0.
- Opening database RASBASE at localhost:7001... ok.
- Executing retrieval query... ok.
- /opt/rasdaman/bin//rasql done.
- "
- },
- "100 /opt/rasdaman/bin/petascope_insertdemo.sh": {
- "code": 0,
- "err": "Traceback (most recent call last):
- File \"/opt/rasdaman/share/rasdaman/wcst_import/wcst_import.py\", line 37, in <module>
- from master.recipe.recipe_registry import RecipeRegistry
- File \"/opt/rasdaman/share/rasdaman/wcst_import/master/recipe/recipe_registry.py\", line 29, in <module>
- from master.recipe.base_recipe import BaseRecipe
- File \"/opt/rasdaman/share/rasdaman/wcst_import/master/recipe/base_recipe.py\", line 30, in <module>
- from session import Session
- File \"/opt/rasdaman/share/rasdaman/wcst_import/session.py\", line 25, in <module>
- import glob2 as glob
- ImportError: No module named glob2
- Traceback (most recent call last):
- File \"/opt/rasdaman/share/rasdaman/wcst_import/wcst_import.py\", line 37, in <module>
- from master.recipe.recipe_registry import RecipeRegistry
- File \"/opt/rasdaman/share/rasdaman/wcst_import/master/recipe/recipe_registry.py\", line 29, in <module>
- from master.recipe.base_recipe import BaseRecipe
- File \"/opt/rasdaman/share/rasdaman/wcst_import/master/recipe/base_recipe.py\", line 30, in <module>
- from session import Session
- File \"/opt/rasdaman/share/rasdaman/wcst_import/session.py\", line 25, in <module>
- import glob2 as glob
- ImportError: No module named glob2
- Traceback (most recent call last):
- File \"/opt/rasdaman/share/rasdaman/wcst_import/wcst_import.py\", line 37, in <module>
- from master.recipe.recipe_registry import RecipeRegistry
- File \"/opt/rasdaman/share/rasdaman/wcst_import/master/recipe/recipe_registry.py\", line 29, in <module>
- from master.recipe.base_recipe import BaseRecipe
- File \"/opt/rasdaman/share/rasdaman/wcst_import/master/recipe/base_recipe.py\", line 30, in <module>
- from session import Session
- File \"/opt/rasdaman/share/rasdaman/wcst_import/session.py\", line 25, in <module>
- import glob2 as glob
- ImportError: No module named glob2
- ",
- "execution_time": 0.36806488037109375,
- "start_time": "2018-07-18 14:00:23",
- "user": "rasdaman",
- "out": "petascope_insertdemo.sh: Petascope service endpoint is: http://localhost:8080/rasdaman/ows
- petascope_insertdemo.sh: Secore service endpoint is: http://localhost:8080/def
- petascope_insertdemo.sh: Starting to ingest example coverages to petascope...
- petascope_insertdemo.sh: Ingesting AverageChlorophyll to petascope by wcst_import...Done.
- petascope_insertdemo.sh: Cleaning temporary files...Done.
- petascope_insertdemo.sh: Ingesting AverageTemperature to petascope by wcst_import...Done.
- petascope_insertdemo.sh: Cleaning temporary files...Done.
- petascope_insertdemo.sh: Ingesting mean_summer_airtemp to petascope by wcst_import...Done.
- petascope_insertdemo.sh: Cleaning temporary files...Done.
- petascope_insertdemo.sh: All coverages are imported correctly. Done.
- petascope_insertdemo.sh: Ok.
- "
- },
- "101 INFO": "Petascope demo data ingested successfully.",
- "102 TITLE": "Installation finalized successfully.",
- "103 TITLE": "Testing rasdaman...",
- "104 INFO": "STATUS: SUCCESS",
- "105 TITLE": "Rasdaman was tested successfully.",
- "106 INFO": "No packaging requested.",
- "107 SUCCESS": "Rasdaman installed and configured successfully.",
- "108 TITLE": "Next steps",
- "109 INFO": " * Make sure that rasql is on the PATH first:
- $ source /etc/profile.d/rasdaman.sh",
- "110 INFO": " * Then try some rasql queries using the rasql CLI, e.g:
- $ rasql -q 'select encode( mr, \"png\" ) from mr' --out file",
- "111 INFO": " * Try the WCS client in your browser at http://localhost:8080/rasdaman/ows
- ",
- "112 INFO": "More information can be found at http://rasdaman.org. Have fun!"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement