talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Automated Installer problem

AK
Amandeep Kapila
Fri, Jun 28, 2019 3:07 AM

Dear All,

I was trying to setup a new CSpace server on Ubuntu LTE 18.04.2 on
VirtualBox VM remotely using a ssh client using automated installer,
unattended. Everything seeded to be going fine until about half an hour
later when due to some local networking issues I was disconnected from
server and my session broke, though server was working fine. Was stupid
enough not to use a session manager like tmux, so, I couldn't find if the
installation completed successfully or not. However, I waited for around
another hour so that any pending jobs may complete and then checked through
browser and tomcat displays the Collection Space home page, but, I am not
able to login either using the admin or reader password.

I checked in the tomcat logs and the manager log says,
192.168.0.101 - - [28/Jun/2019:07:52:37 +0530] "GET /cspace/core/login
HTTP/1.1" 200 405
192.168.0.101 - - [28/Jun/2019:07:52:50 +0530] "GET
/cspace-services/systeminfo HTTP/1.1" 404 1003
192.168.0.101 - - [28/Jun/2019:07:53:46 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:07:54:00 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:06:28 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:08:01 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:14:45 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:15:54 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:15:56 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:15:59 +0530] "POST
/cspace-services/oauth/token HTTP/1.1" 404 1005

My questions are,

  1. Can I verify from the installation logs for CSpace whether the
    installation process went though fine or were there any issues? Where are
    the log files stored? I am unable to locate.
  2. From the Manager log entries above were all the services installed or
    something is missing?
  3. Should I rerun the installer, this time in the attended/interactive
    mode? Do I need to remove the previous installation directories before
    doing this?

Kindly help.

Regards,

Aman
[Amandeep Kapila],
N. Delhi.
Cell: 98683-13203
http://www.amandeepkapila.webs.com/

Dear All, I was trying to setup a new CSpace server on Ubuntu LTE 18.04.2 on VirtualBox VM remotely using a ssh client using automated installer, unattended. Everything seeded to be going fine until about half an hour later when due to some local networking issues I was disconnected from server and my session broke, though server was working fine. Was stupid enough not to use a session manager like tmux, so, I couldn't find if the installation completed successfully or not. However, I waited for around another hour so that any pending jobs may complete and then checked through browser and tomcat displays the Collection Space home page, but, I am not able to login either using the admin or reader password. I checked in the tomcat logs and the manager log says, 192.168.0.101 - - [28/Jun/2019:07:52:37 +0530] "GET /cspace/core/login HTTP/1.1" 200 405 192.168.0.101 - - [28/Jun/2019:07:52:50 +0530] "GET /cspace-services/systeminfo HTTP/1.1" 404 1003 192.168.0.101 - - [28/Jun/2019:07:53:46 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:07:54:00 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:06:28 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:08:01 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:14:45 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:15:54 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:15:56 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:15:59 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 My questions are, 1. Can I verify from the installation logs for CSpace whether the installation process went though fine or were there any issues? Where are the log files stored? I am unable to locate. 2. From the Manager log entries above were all the services installed or something is missing? 3. Should I rerun the installer, this time in the attended/interactive mode? Do I need to remove the previous installation directories before doing this? Kindly help. Regards, -- Aman [Amandeep Kapila], N. Delhi. Cell: 98683-13203 <http://www.amandeepkapila.webs.com/>
RL
Ray Lee
Sat, Jun 29, 2019 6:19 AM

Hi Aman,
I could be wrong, but I think messages from the installer are only printed to the console, not logged to any file.

Do you get a response from http://localhost:8180/cspace-services/systeminfo? If so, the services are installed and running, but something may have gone wrong with installing the admin and reader users and permissions. Do any errors appear in catalina.out or cspace-services.log when you try to log in?

If you rerun the installer, you should not need to remove anything that was previously installed.

Ray


From: Talk talk-bounces@lists.collectionspace.org on behalf of Amandeep Kapila amandeep.kapila@gmail.com
Sent: Thursday, June 27, 2019 8:07:08 PM
To: Talk@lists.collectionspace.org
Subject: [Talk] Automated Installer problem

Dear All,

I was trying to setup a new CSpace server on Ubuntu LTE 18.04.2 on VirtualBox VM remotely using a ssh client using automated installer, unattended. Everything seeded to be going fine until about half an hour later when due to some local networking issues I was disconnected from server and my session broke, though server was working fine. Was stupid enough not to use a session manager like tmux, so, I couldn't find if the installation completed successfully or not. However, I waited for around another hour so that any pending jobs may complete and then checked through browser and tomcat displays the Collection Space home page, but, I am not able to login either using the admin or reader password.

I checked in the tomcat logs and the manager log says,
192.168.0.101 - - [28/Jun/2019:07:52:37 +0530] "GET /cspace/core/login HTTP/1.1" 200 405
192.168.0.101 - - [28/Jun/2019:07:52:50 +0530] "GET /cspace-services/systeminfo HTTP/1.1" 404 1003
192.168.0.101 - - [28/Jun/2019:07:53:46 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:07:54:00 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:06:28 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:08:01 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:14:45 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:15:54 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:15:56 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005
192.168.0.101 - - [28/Jun/2019:08:15:59 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005

My questions are,

  1. Can I verify from the installation logs for CSpace whether the installation process went though fine or were there any issues? Where are the log files stored? I am unable to locate.
  2. From the Manager log entries above were all the services installed or something is missing?
  3. Should I rerun the installer, this time in the attended/interactive mode? Do I need to remove the previous installation directories before doing this?

Kindly help.

Regards,

Aman
[Amandeep Kapila],
N. Delhi.
Cell: 98683-13203
http://www.amandeepkapila.webs.com/

Hi Aman, I could be wrong, but I think messages from the installer are only printed to the console, not logged to any file. Do you get a response from http://localhost:8180/cspace-services/systeminfo? If so, the services are installed and running, but something may have gone wrong with installing the admin and reader users and permissions. Do any errors appear in catalina.out or cspace-services.log when you try to log in? If you rerun the installer, you should not need to remove anything that was previously installed. Ray ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of Amandeep Kapila <amandeep.kapila@gmail.com> Sent: Thursday, June 27, 2019 8:07:08 PM To: Talk@lists.collectionspace.org Subject: [Talk] Automated Installer problem Dear All, I was trying to setup a new CSpace server on Ubuntu LTE 18.04.2 on VirtualBox VM remotely using a ssh client using automated installer, unattended. Everything seeded to be going fine until about half an hour later when due to some local networking issues I was disconnected from server and my session broke, though server was working fine. Was stupid enough not to use a session manager like tmux, so, I couldn't find if the installation completed successfully or not. However, I waited for around another hour so that any pending jobs may complete and then checked through browser and tomcat displays the Collection Space home page, but, I am not able to login either using the admin or reader password. I checked in the tomcat logs and the manager log says, 192.168.0.101 - - [28/Jun/2019:07:52:37 +0530] "GET /cspace/core/login HTTP/1.1" 200 405 192.168.0.101 - - [28/Jun/2019:07:52:50 +0530] "GET /cspace-services/systeminfo HTTP/1.1" 404 1003 192.168.0.101 - - [28/Jun/2019:07:53:46 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:07:54:00 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:06:28 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:08:01 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:14:45 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:15:54 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:15:56 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 192.168.0.101 - - [28/Jun/2019:08:15:59 +0530] "POST /cspace-services/oauth/token HTTP/1.1" 404 1005 My questions are, 1. Can I verify from the installation logs for CSpace whether the installation process went though fine or were there any issues? Where are the log files stored? I am unable to locate. 2. From the Manager log entries above were all the services installed or something is missing? 3. Should I rerun the installer, this time in the attended/interactive mode? Do I need to remove the previous installation directories before doing this? Kindly help. Regards, -- Aman [Amandeep Kapila], N. Delhi. Cell: 98683-13203 <http://www.amandeepkapila.webs.com/>