set the IPv4 local connections and password authority if necessary, METHOD -> md5
sudo vi /var/lib/pgsql/data/pg_hba.conf
restart the postgresql service
sudo systemctl restart postgresql
4. login as spotfire, and download the spotfire installer, unzip it
tar -xvf TIB_sfire_server_12.0.0_linux.tar
5. creat databases for spotfire server
change the content in /scripts/postgres_install/create_databases.sh as below:
# Uncomment to set variables:
PGHOST=localhost
PGPORT=5432
DBSERVER_ADMIN_USERNAME=postgres
DBSERVER_ADMIN_PASSWORD=manager2
SPOTFIREDB_DBNAME=spotfire_server
SPOTFIREDB_USERNAME=spotfire
SPOTFIREDB_PASSWORD=spotfire
execute it
postgres_install$./create_databases.sh
you got log as below:
CREATE DATABASE
CREATE ROLE
ALTER DATABASE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE VIEW
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE TABLE
ALTER TABLE
CREATE INDEX
ALTER TABLE
CREATE INDEX
CREATE INDEX
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
ALTER TABLE
CREATE FUNCTION
CREATE FUNCTION
CREATE TRIGGER
CREATE TRIGGER
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
CREATE VIEW
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE VIEW
CREATE FUNCTION
CREATE FUNCTION
CREATE TRIGGER
CREATE TRIGGER
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE VIEW
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
ALTER TABLE
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE VIEW
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE VIEW
CREATE TABLE
CREATE INDEX
CREATE TABLE
psql:create_server_db.sql:913: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:913: NOTICE: type reference lib_current_items.version_id%TYPE converted to character
psql:create_server_db.sql:913: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:913: NOTICE: type reference lib_current_items.version_id%TYPE converted to character
psql:create_server_db.sql:913: NOTICE: type reference lib_current_items.parent_id%TYPE converted to character
psql:create_server_db.sql:913: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
psql:create_server_db.sql:913: NOTICE: type reference lib_current_items.title%TYPE converted to character varying
CREATE FUNCTION
psql:create_server_db.sql:943: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:943: NOTICE: type reference lib_current_items.parent_id%TYPE converted to character
psql:create_server_db.sql:943: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
psql:create_server_db.sql:943: NOTICE: type reference lib_current_items.title%TYPE converted to character varying
CREATE FUNCTION
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.title%TYPE converted to character varying
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.description%TYPE converted to character varying
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.item_type%TYPE converted to character
psql:create_server_db.sql:1111: NOTICE: type reference lib_item_versions.format_version%TYPE converted to character varying
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.created_by%TYPE converted to character
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.created%TYPE converted to timestamp without time zone
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.modified%TYPE converted to timestamp without time zone
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.accessed%TYPE converted to timestamp without time zone
psql:create_server_db.sql:1111: NOTICE: type reference lib_data.content_size%TYPE converted to bigint
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.parent_id%TYPE converted to character
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.hidden%TYPE converted to boolean
psql:create_server_db.sql:1111: NOTICE: type reference lib_current_items.version_id%TYPE converted to character
psql:create_server_db.sql:1111: NOTICE: type reference lib_data.data_id%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:1155: NOTICE: type reference lib_resolved_depend_ver.dependent_version_id%TYPE converted to character
psql:create_server_db.sql:1155: NOTICE: type reference lib_resolved_depend_ver.required_id%TYPE converted to character
psql:create_server_db.sql:1155: NOTICE: type reference lib_resolved_depend_ver.description%TYPE converted to character varying
psql:create_server_db.sql:1155: NOTICE: type reference lib_resolved_depend_ver.cascading_delete%TYPE converted to boolean
psql:create_server_db.sql:1155: NOTICE: type reference lib_resolved_depend_ver.original_required_id%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:1209: NOTICE: type reference lib_access.item_id%TYPE converted to character
psql:create_server_db.sql:1209: NOTICE: type reference lib_access.user_id%TYPE converted to character
psql:create_server_db.sql:1209: NOTICE: type reference lib_access.permission%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:1290: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:1290: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.version_id%TYPE converted to character
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.title%TYPE converted to character varying
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.description%TYPE converted to character varying
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.item_type%TYPE converted to character
psql:create_server_db.sql:1440: NOTICE: type reference lib_item_versions.data_id%TYPE converted to character
psql:create_server_db.sql:1440: NOTICE: type reference lib_item_versions.format_version%TYPE converted to character varying
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.parent_id%TYPE converted to character
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.hidden%TYPE converted to boolean
psql:create_server_db.sql:1440: NOTICE: type reference lib_current_items.created_by%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:1529: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:1529: NOTICE: type reference lib_current_items.version_id%TYPE converted to character
psql:create_server_db.sql:1529: NOTICE: type reference lib_current_items.title%TYPE converted to character varying
psql:create_server_db.sql:1529: NOTICE: type reference lib_current_items.description%TYPE converted to character varying
psql:create_server_db.sql:1529: NOTICE: type reference lib_item_versions.data_id%TYPE converted to character
psql:create_server_db.sql:1529: NOTICE: type reference lib_item_versions.format_version%TYPE converted to character varying
psql:create_server_db.sql:1529: NOTICE: type reference lib_current_items.hidden%TYPE converted to boolean
psql:create_server_db.sql:1529: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:1681: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:1681: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
CREATE FUNCTION
CREATE FUNCTION
psql:create_server_db.sql:1742: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:1742: NOTICE: type reference lib_current_items.version_id%TYPE converted to character
psql:create_server_db.sql:1742: NOTICE: type reference lib_current_items.version_id%TYPE converted to character
psql:create_server_db.sql:1742: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:1796: NOTICE: type reference lib_item_versions.item_id%TYPE converted to character
psql:create_server_db.sql:1796: NOTICE: type reference lib_item_versions.version_id%TYPE converted to character
psql:create_server_db.sql:1796: NOTICE: type reference lib_current_items.modified_by%TYPE converted to character
CREATE FUNCTION
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE TABLE
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE TABLE
ALTER TABLE
CREATE TABLE
ALTER TABLE
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE TABLE
ALTER TABLE
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
ALTER TABLE
CREATE TABLE
ALTER TABLE
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
ALTER TABLE
CREATE INDEX
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
ALTER TABLE
CREATE TABLE
CREATE INDEX
ALTER TABLE
CREATE TABLE
ALTER TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
psql:create_server_db.sql:2513: NOTICE: type reference routing_rules.id%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:2557: NOTICE: type reference routing_rules.id%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:2619: NOTICE: type reference users.user_id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference lib_current_items.item_id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference sites.site_id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.name%TYPE converted to character varying
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.lib_item_id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.group_id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.user_id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.resource_pool_id%TYPE converted to character
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.priority%TYPE converted to integer
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.status%TYPE converted to smallint
psql:create_server_db.sql:2619: NOTICE: type reference routing_rules.type%TYPE converted to character
CREATE FUNCTION
psql:create_server_db.sql:2648: NOTICE: type reference sites.site_id%TYPE converted to character
CREATE FUNCTION
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE TABLE
CREATE TABLE
ALTER TABLE
ALTER TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
CREATE VIEW
CREATE VIEW
CREATE TABLE
CREATE TABLE
CREATE INDEX
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
INSERT 0 1
6. copy it to /opt/tibco/ and unzip it
mkdir -p /opt/tibco/
sudo cp -a ./tss-12.0.0.x86_64.tar.gz /opt/tibco/
sudo tar xzf tss-12.0.0.x86_64.tar.gz
if you don’t unzip to /opt/tibco there will be error like:
$sudo systemctl status tss-12.0.0.service
● tss-12.0.0.service - TIBCO Spotfire Server 12.0.0
Loaded: loaded (/usr/lib/systemd/system/tss-12.0.0.service; disabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2022-07-29 18:23:51 JST; 5s ago
Process: 3768 ExecStartPre=/bin/chown -R spotfire:spotfire /home/spotfire/tss-12.0.0.x86_64 (code=exited, status=0/SUCCESS)
Process: 3769 ExecStart=/home/spotfire/tss-12.0.0.x86_64/tomcat/bin/startup.sh (code=exited, status=203/EXEC)
CPU: 13ms
$ journalctl -xeu tss-12.0.0.service
░░ Subject: A start job for unit tss-12.0.0.service has begun execution
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ A start job for unit tss-12.0.0.service has begun execution.
░░
░░ The job identifier is 16127.
Aug 16 18:25:53 rocky9 systemd[3908]: tss-12.0.0.service: Failed to locate executable /home/spotfire/tss-12.0.0.x86_64/tomcat/bin/startup.sh: Permission denied
░░ Subject: Process /home/spotfire/tss-12.0.0.x86_64/tomcat/bin/startup.sh could not be executed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ The process /home/spotfire/tss-12.0.0.x86_64/tomcat/bin/startup.sh could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Aug 16 18:25:53 rocky9 systemd[3908]: tss-12.0.0.service: Failed at step EXEC spawning /home/spotfire/tss-12.0.0.x86_64/tomcat/bin/startup.sh: Permission denied
░░ Subject: Process /home/spotfire/tss-12.0.0.x86_64/tomcat/bin/startup.sh could not be executed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ The process /home/spotfire/tss-12.0.0.x86_64/tomcat/bin/startup.sh could not be executed and failed.
░░
░░ The error number returned by this process is ERRNO.
Aug 16 18:25:53 rocky9 systemd[1]: tss-12.0.0.service: Control process exited, code=exited, status=203/EXEC
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ An ExecStart= process belonging to unit tss-12.0.0.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 203.
Aug 16 18:25:53 rocky9 systemd[1]: tss-12.0.0.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ The unit tss-12.0.0.service has entered the 'failed' state with result 'exit-code'.
Aug 16 18:25:53 rocky9 systemd[1]: Failed to start TIBCO Spotfire Server 12.0.0.
░░ Subject: A start job for unit tss-12.0.0.service has failed
░░ Defined-By: systemd
░░ Support: https://access.redhat.com/support
░░
░░ A start job for unit tss-12.0.0.service has finished with a failure.
░░
░░ The job identifier is 16127 and the job result is failed.
# Before using this script you need to set the variables below:
set SPOTFIREDB_DRIVER = "org.postgresql.Driver"
set SPOTFIREDB_URL = "jdbc:postgresql://localhost:5432/spotfire_server"
#set SPOTFIREDB_DRIVER = "tibcosoftwareinc.jdbc.oracle.OracleDriver"
#set SPOTFIREDB_URL = "jdbc:tibcosoftwareinc:oracle://<server>:<port>;SID=<SID>"
#set SPOTFIREDB_URL = "jdbc:tibcosoftwareinc:oracle://<server>:<port>;ServiceName=<pdborcl.example.com>"
#set SPOTFIREDB_DRIVER = "tibcosoftwareinc.jdbc.sqlserver.SQLServerDriver"
#set SPOTFIREDB_URL = "jdbc:tibcosoftwareinc:sqlserver://<server>:<port>;DatabaseName=<database name>"
set SPOTFIREDB_USERNAME = "spotfire"
set SPOTFIREDB_PASSWORD = "spotfire"
set CONFIG_TOOL_PASSWORD = "spotfire"
set ADMIN_USERNAME = "spotfire"
set ADMIN_PASSWORD = "spotfire"
Then execute to set the db driver information.
cd tomcat/spotfire-bin/
spotfire-bin$./config.sh run simple-config.txt
log is as below:
Creating the database connection configuration
Successfully created the bootstrap configuration file /opt/tibco/tss-12.0.0.x86_64/tomcat/webapps/spotfire/WEB-INF/bootstrap.xml
The following addresses were automatically configured for the server:
rocky9
192.168.81.152
To update the addresses please use the 'set-addresses' command.
Creating the default configuration
Successfully exported the default server configuration to file /opt/tibco/tss-12.0.0.x86_64/tomcat/spotfire-bin/configuration.xml
Importing the configuration
Successfully imported the server configuration with hash: 727d5529f9d780c08f5c0500425cb293c0006fa4
The imported configuration has been set as active.
Don't forget to deploy client packages to the server.
See the TIBCO Spotfire Deployment and Administration Manual for more information.
Creating the 'spotfire' user to become administrator
Successfully created the new user 'spotfire'
Promoting the user 'spotfire' to administrator
Successfully assigned administrator privileges to the 'spotfire' user
Last metadata expiration check: 0:39:32 ago on Thu 18 Aug 2022 11:43:14 AM JST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
xorg-x11-server-Xvfb x86_64 1.20.11-10.el9 appstream 894 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 894 k
Installed size: 2.0 M
Is this ok [y/N]: y
Downloading Packages:
xorg-x11-server-Xvfb-1.20.11-10.el9.x86_64.rpm 1.2 MB/s | 894 kB 00:00
--------------------------------------------------------------------------------
Total 547 kB/s | 894 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : xorg-x11-server-Xvfb-1.20.11-10.el9.x86_64 1/1
Running scriptlet: xorg-x11-server-Xvfb-1.20.11-10.el9.x86_64 1/1
Verifying : xorg-x11-server-Xvfb-1.20.11-10.el9.x86_64 1/1
Installed:
xorg-x11-server-Xvfb-1.20.11-10.el9.x86_64
Complete!
17. install web player instance
error if you haven’y install .net:
Status notified as FAILED. The service exited with error code 127. Recent Logs:/usr/bin/xvfb-run: line 181: dotnet: command not found
error if you haven’y install xvfb:
Status notified as FAILED. The service exited with error code 127. Recent Logs: Error: /opt/tibco/tsnm-12.0.0.x86_64//nm/services/WebWorker NET Core-56.0.17330.5624-daaf80d7-f5d2-4972-9f3f-eb06f4071c33/Spotfire.Dxp.Worker.Host.sh:line5:xvfb-run:command not found
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
D:\Program Files\nodejs\npm_global\remixd -> D:\Program Files\nodejs\npm_global\node_modules\@remix-project\remixd\bin\remixd.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules\@remix-project\remixd\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ @remix-project/remixd@0.5.1
added 186 packages from 130 contributors in 8.704s
then remixd -s “project folder path” –remix-ide https://remix.ethereum.org or remixd -s . to start the server.
[WARN] latest version of remixd is 0.5.3, you are using 0.5.1
[WARN] please update using the following command:
[WARN] npm install @remix-project/remixd -g
[WARN] You can only connect to remixd from one of the supported origins.
[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.
[WARN] Symbolic links are not forwarded to Remix IDE
to mirror on the remix online IDE: https://remix.ethereum.org/, you need to choose your localhost and connect.
after the first boot up, rootfs-expand, then reboot.
Insert the LAN cable,nmcli d to check the state, set the wifi by nmtui, then yum -y update,yum -y upgrade, install GNOME GUI for CentOS 7 by sudo yum -y groups install "GNOME Desktop", echo "exec gnome-session" >> ~/.xinitrc, startx, systemctl set-default graphical.target, you can see the link below:
settings.json location changed: /var/lib/transmission-daemon/.config/transmission-daemon/settings.json
(you need to stop the service and then change those files)
set inbount IP address:
you may meet the issue when install pivpn after ufw set:
$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
ERROR: problem running ufw-init
Bad argument `COMMIT'
Error occurred at line: 14
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
ip6tables-restore v1.8.7 (nf_tables): host/network `' not found
Error occurred at line: 13
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
Problem running '/etc/ufw/before.rules'
Problem running '/etc/ufw/before6.rules'
SELECT
volume_mount_point AS [Drive],
total_bytes / 1024 / 1024 / 1024 AS [Total Size (GB)],
available_bytes / 1024 / 1024 / 1024 AS [Available Space (GB)],
(available_bytes * 1.0 / total_bytes) * 100 AS [Free Space %]
FROM sys.master_files AS f
CROSS APPLY sys.dm_os_volume_stats(f.database_id, f.file_id)
GROUP BY volume_mount_point, total_bytes, available_bytes
ORDER BY volume_mount_point;
GO
Create docker user group: sudo groupadd docker set group password and make user become group administrator: sudo gpasswd -a $USER docker put user into a group: sudo usermod -aG docker $USER Switch the current non-root user group to the docker user group: exec newgrp docker veryfy it: docker run hello-world
down load the container image: docker pull imageName
stop the container: docker stop containerID
start the container: docker start containerID
delete the container: docker rm containerID
delete the container image: docker rmi containerID:version
Dockerfile example(use ubuntu 20.04, as root, set env variable envVariableName, set work directory, use add to copy the file from internet, execute script.py then end container):
FROM ubuntu:20.04
USER root
RUN apt update
RUN apt install -y python3.9
RUN apt install -y python3-pip
COPY requirements.txt .
RUN python3.9 -m pip install -r requirements.txt
ENV envVariableName=xxx
WORKDIR /absolutePath
ADD https://xxx.xxx .
COPY script.py .
ENTRYPOINT ["python3.9", "script.py"]