root@rituparna-inspiron-n5110:/opt/dvinstall# ./install Welcome to the Dataverse installer. You will be guided through the process of setting up a NEW instance of the dataverse application This appears to be a non-RedHat Linux system; this installation *may* succeed; but we're not making any promises! Please enter the following configuration values: (hit [RETURN] to accept the default value) Fully Qualified Domain Name of your host: (enter numeric IP address, if FQDN is unavailable) [rituparna-inspiron-n5110] localhsot Glassfish Directory: [/usr/local/glassfish4] /opt/glassfish4 Checking your Glassfish installation...OK! Administrator email address for this Dataverse: (please enter a valid email address!) [] a@b.com SMTP (mail) server to relay notification messages: [mail.hmdc.harvard.edu] Postgres Server Address: [127.0.0.1] Postgres Server Port: [5432] Postgres ADMIN password: - We will need this to create the user and database that the Dataverse application will be using. (Hit RETURN if access control is set to "trust" for this connection in pg_hba.conf) : [secret] Name of the Postgres Database: [dvndb] Name of the Postgres User: - This is the Postgres user that the Dataverse app will be using to talk to the database : [dvnapp] Postgres user password: [secret] Remote SOLR indexing service? - Leave this set to "LOCAL" if the SOLR will be running on the same (this) server. Otherwise, please enter the host AND THE PORT NUMBER of the remote SOLR service, colon-separated (for example: foo.edu:8983) : [LOCAL] Will this Dataverse be using TwoRavens application? - If so, please provide the complete URL of the TwoRavens GUI under rApache, for example, "https://foo.edu/dataexplore/gui.html". (PLEASE NOTE, TwoRavens will need to be installed separately! - see the installation docs for more info) : [NOT INSTALLED] Rserve Server: [localhost] Rserve Server Port: [6311] Rserve User Name: [rserve] Rserve User Password: [rserve] OK, please confirm what you've entered: Fully Qualified Domain Name of your host: localhsot Glassfish Directory: /opt/glassfish4 Administrator email address for this Dataverse: a@b.com SMTP (mail) server to relay notification messages: mail.hmdc.harvard.edu Postgres Server Address: 127.0.0.1 Postgres Server Port: 5432 Postgres ADMIN password: secret Name of the Postgres Database: dvndb Name of the Postgres User: dvnapp Postgres user password: secret Remote SOLR indexing service: LOCAL Will this Dataverse be using TwoRavens application: NOT INSTALLED Rserve Server: localhost Rserve Server Port: 6311 Rserve User Name: rserve Rserve User Password: rserve Is this correct? [y/n] y Checking if the application .war file is available... Yes, it is! Found Postgres psql command, version 9.5.3. (We'll be Using psql version 9.5) Checking if we can talk to Postgres as the admin user... Yes, we can! Configuring Postgres Database: User (role) dvnapp already exists; Proceeding. Creating Postgres database: Proceeding with the Glassfish setup. Setting the heap limit for Glassfish to 1447MB. You may need to adjust this setting to better suit your system. Installing the Glassfish PostgresQL driver... done! ********************* PLEASE NOTE, SOME OF THE ASADMIN COMMANDS ARE GOING TO FAIL, FOR EXAMPLE, IF A CONFIGURATION SETTING THAT WE ARE TRYING TO CREATE ALREADY EXISTS; OR IF A JVM OPTION THAT WE ARE DELETING DOESN'T. THESE "FAILURES" ARE NORMAL! ********************* When/if asadmin asks you to "Enter admin user name", it should be safe to hit return and accept the default (which is "admin"). Press any key to continue... java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) domain1 not running Trying to start domain up... Waiting for domain1 to start ...... Successfully started the domain : domain1 domain Location: /opt/glassfish4/glassfish/domains/domain1 Log File: /opt/glassfish4/glassfish/domains/domain1/logs/server.log Admin Port: 4848 Command start-domain executed successfully. Enter admin user name [Enter to accept default]> Admin login information for host [localhost] and port [4848] is being overwritten with credentials provided. This is because the --savelogin option was used during create-domain command. Login information relevant to admin user name [admin] for host [localhost] and admin port [4848] stored at [/root/.gfclient/pass] successfully. Make sure that this file remains protected. Information stored in this file will be used by administration commands to manage associated domain. Command login executed successfully. checking glassfish root:/opt/glassfish4 checking glassfish domain:/opt/glassfish4/glassfish/domains/domain1 Setting up your glassfish4 to support Dataverse Glassfish directory: /opt/glassfish4 Domain directory: /opt/glassfish4/glassfish/domains/domain1 /opt/glassfish4/bin /opt/dvinstall domain running remote failure: Application dataverse-4.0 is not deployed on this target [server] Command undeploy failed. No jvm-options were deleted (perhaps they never existed in the configuration) Command delete-jvm-options executed successfully. remote failure: JVM option -XX:MaxPermSize=512m already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -XX:PermSize=256m already exists in the configuration. Command create-jvm-options failed. No jvm-options were deleted (perhaps they never existed in the configuration) Command delete-jvm-options executed successfully. remote failure: JVM option -Xmx1447m already exists in the configuration. Command create-jvm-options failed. No jvm-options were deleted (perhaps they never existed in the configuration) Command delete-jvm-options executed successfully. Deprecated syntax, instead use: asadmin --secure --echo create-jvm-options [options] ... asadmin --host localhost --port 4848 --user admin --secure --interactive=true --echo=true --terse=false create-jvm-options --target server -server NCLS-ADMIN-00010 javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake Command create-jvm-options failed. JDBC Connection pool dvnDbPool deleted successfully Command delete-jdbc-connection-pool executed successfully. JDBC connection pool dvnDbPool created successfully. Command create-jdbc-connection-pool executed successfully. JDBC resource jdbc/VDCNetDS created successfully. Command create-jdbc-resource executed successfully. configs.config.server-config.ejb-container.ejb-timer-service.timer-datasource=jdbc/VDCNetDS Command set executed successfully. remote failure: JVM option -Ddataverse.files.directory=/opt/glassfish4/glassfish/domains/domain1/files already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Ddataverse.rserve.host=localhost already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Ddataverse.rserve.port=6311 already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Ddataverse.rserve.user=rserve already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Ddataverse.rserve.password=rserve already exists in the configuration. Command create-jvm-options failed. Created 1 option(s) Command create-jvm-options executed successfully. remote failure: JVM option -Ddataverse.auth.password-reset-timeout-in-minutes=60 already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Ddoi.password=apitest already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Ddoi.username=apitest already exists in the configuration. Command create-jvm-options failed. remote failure: JVM option -Ddoi.baseurlstring=https://ezid.cdlib.org already exists in the configuration. Command create-jvm-options failed. server-config.network-config.protocols.protocol.http-listener-1.http.comet-support-enabled=true Command set executed successfully. remote failure: A connector connection pool named jms/__defaultConnectionFactory-Connection-Pool does not exist. Command delete-connector-connection-pool failed. remote failure: A resource named jms/IngestQueueConnectionFactoryPool already exists. Command create-connector-connection-pool failed. remote failure: A ConnectorResource by name jms/IngestQueueConnectionFactory already exists with resource-ref in target server. Command create-connector-resource failed. remote failure: A AdminObjectResource by name jms/DataverseIngest already exists with resource-ref in target server. Command create-admin-object failed. remote failure: A MailResource by name mail/notifyMailSession already exists with resource-ref in target server. Command create-javamail-resource failed. remote failure: Network Listener named jk-connector already exists. Command create-network-listener failed. Updates done. Restarting... Successfully restarted the domain Command restart-domain executed successfully. /opt/dvinstall Glassfish setup complete Tue May 31 16:31:28 IST 2016 Copying additional configuration files... done! Attempting to deploy the application. Command line: /opt/glassfish4/bin/asadmin deploy dataverse.war PER01003: Deployment encountered SQL Exceptions: PER01000: Got SQLException executing statement "CREATE INDEX INDEX_DATAVERSE_fk_dataverse_id ON DATAVERSE (fk_dataverse_id)": org.postgresql.util.PSQLException: ERROR: column "fk_dataverse_id" does not exist Command deploy completed with warnings. Pre-populating the database: INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 CREATE INDEX CREATE INDEX CREATE INDEX CREATE INDEX INSERT 0 1 OK, done! OK, the Dataverse application appears to be running... Executing post-deployment setup script setup-all.sh... done! Making additional configuration changes... Executing curl -X PUT -d a@b.com http://localhost:8080/api/admin/settings/:SystemEmail {"status":"OK","data":{":SystemEmail":"a@b.com"}}OK. Executing curl -X PUT -d false http://localhost:8080/api/admin/settings/:TwoRavensTabularView {"status":"OK","data":{":TwoRavensTabularView":"false"}}OK. You should now have a running DVN instance at http://localhsot:8080 root@rituparna-inspiron-n5110:/opt/dvinstall#