talk@lists.collectionspace.org

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

View all threads

Re: [Talk] start up error

RM
Richard Millet
Thu, Oct 12, 2017 2:58 PM

Myron,

It looks like you sent/attached only screenshots of the logs directory.  I'll need the actual log files themselves.  You can run this command to get a "tar" file containing all the log files:

tar cvf logs.tar /usr/local/share/apache-tomcat-7.0.64/logs

The output of the command will be a file named "logs.tar" which you can then email me.

-Richard


From: myron rodrigues rod.myron@gmail.com
Sent: Thursday, October 12, 2017 12:18 AM
To: Richard Millet
Subject: Re: [Talk] start up error

this is one more attachment with regard to the PID file

On 12 October 2017 at 10:34, myron rodrigues <rod.myron@gmail.commailto:rod.myron@gmail.com> wrote:
hi Richard,

Sorry for the delayed response.

Firstly Thanks for the support much appreciate it.

i have attached the log files for you to view.

regards,

On 10 October 2017 at 17:54, Richard Millet <richard.millet@lyrasis.orgmailto:richard.millet@lyrasis.org> wrote:
Myron,

It appears the CollectionSpace server is not starting up.  The log files at /usr/local/share/apache-tomcat-7.0.64/logs may contain some error messages and could help resolve the problem.

Feel free to respond to this email with a copy of your log files and I'll take a quick look to see if I can help.  You can "tar" the entire logs directory in a single file using the following command:

tar cvf logs.tar /usr/local/share/apache-tomcat-7.0.64/logs

-Richard


From: Talk <talk-bounces@lists.collectionspace.orgmailto:talk-bounces@lists.collectionspace.org> on behalf of myron rodrigues <rod.myron@gmail.commailto:rod.myron@gmail.com>
Sent: Tuesday, October 10, 2017 5:09 AM
To: talk@lists.collectionspace.orgmailto:talk@lists.collectionspace.org
Subject: [Talk] start up error

Dear Sir/Madam,

I have completed all the steps indicated to install collection space on my Linode VPS.

i am getting a final error when i try to test if the the installation was successfull.

the error is as follows:

root@localhost:~# sudo su - cspace
cspace@localhost:~$ $CSPACE_JEESERVER_HOME/bin/startup.sh
Setting NUXEO_HOME
Setting JAVA_OPTS
Using JAVA_OPTS= -Dslf4j.detectLoggerNameMismatch=true -Dlog4j.debug=true -Dnuxeo.home.dir=/usr/local/share/apache-tomcat-7.0.64/nxserver -Dnuxeo.log.dir=/usr/local/share/apache-tomcat-7.0.64/nxserver/log -Dfile.encoding=UTF-8 -Xms512m -Xmx1024m -XX:MaxPermSize=256m to launch Tomcat
Using CATALINA_BASE:  /usr/local/share/apache-tomcat-7.0.64
Using CATALINA_HOME:  /usr/local/share/apache-tomcat-7.0.64
Using CATALINA_TMPDIR: /usr/local/share/apache-tomcat-7.0.64/temp
Using JRE_HOME:        /usr/lib/jvm/java-8-openjdk-amd64/
Using CLASSPATH:      /usr/local/share/apache-tomcat-7.0.64/bin/bootstrap.jar:/usr/local/share/apache-tomcat-7.0.64/bin/tomcat-juli.jar
Using CATALINA_PID:    /usr/local/share/apache-tomcat-7.0.64/bin/tomcat.pid
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.
cspace@localhost:~$ curl -i http://localhost:8180/cspace-services/collectionobjects -u admin@core.collectionspace.orgmailto:admin@core.collectionspace.org:Administrator
curl: (7) Failed to connect to localhost port 8180: Connection refused

could you please assist me on what i have to do in order to fix the issue.

P.S. i am a first timer.

Regards,

Myron, It looks like you sent/attached only screenshots of the logs directory. I'll need the actual log files themselves. You can run this command to get a "tar" file containing all the log files: tar cvf logs.tar /usr/local/share/apache-tomcat-7.0.64/logs The output of the command will be a file named "logs.tar" which you can then email me. -Richard ________________________________________ From: myron rodrigues <rod.myron@gmail.com> Sent: Thursday, October 12, 2017 12:18 AM To: Richard Millet Subject: Re: [Talk] start up error this is one more attachment with regard to the PID file On 12 October 2017 at 10:34, myron rodrigues <rod.myron@gmail.com<mailto:rod.myron@gmail.com>> wrote: hi Richard, Sorry for the delayed response. Firstly Thanks for the support much appreciate it. i have attached the log files for you to view. regards, On 10 October 2017 at 17:54, Richard Millet <richard.millet@lyrasis.org<mailto:richard.millet@lyrasis.org>> wrote: Myron, It appears the CollectionSpace server is not starting up. The log files at /usr/local/share/apache-tomcat-7.0.64/logs may contain some error messages and could help resolve the problem. Feel free to respond to this email with a copy of your log files and I'll take a quick look to see if I can help. You can "tar" the entire logs directory in a single file using the following command: tar cvf logs.tar /usr/local/share/apache-tomcat-7.0.64/logs -Richard ________________________________________ From: Talk <talk-bounces@lists.collectionspace.org<mailto:talk-bounces@lists.collectionspace.org>> on behalf of myron rodrigues <rod.myron@gmail.com<mailto:rod.myron@gmail.com>> Sent: Tuesday, October 10, 2017 5:09 AM To: talk@lists.collectionspace.org<mailto:talk@lists.collectionspace.org> Subject: [Talk] start up error Dear Sir/Madam, I have completed all the steps indicated to install collection space on my Linode VPS. i am getting a final error when i try to test if the the installation was successfull. the error is as follows: root@localhost:~# sudo su - cspace cspace@localhost:~$ $CSPACE_JEESERVER_HOME/bin/startup.sh Setting NUXEO_HOME Setting JAVA_OPTS Using JAVA_OPTS= -Dslf4j.detectLoggerNameMismatch=true -Dlog4j.debug=true -Dnuxeo.home.dir=/usr/local/share/apache-tomcat-7.0.64/nxserver -Dnuxeo.log.dir=/usr/local/share/apache-tomcat-7.0.64/nxserver/log -Dfile.encoding=UTF-8 -Xms512m -Xmx1024m -XX:MaxPermSize=256m to launch Tomcat Using CATALINA_BASE: /usr/local/share/apache-tomcat-7.0.64 Using CATALINA_HOME: /usr/local/share/apache-tomcat-7.0.64 Using CATALINA_TMPDIR: /usr/local/share/apache-tomcat-7.0.64/temp Using JRE_HOME: /usr/lib/jvm/java-8-openjdk-amd64/ Using CLASSPATH: /usr/local/share/apache-tomcat-7.0.64/bin/bootstrap.jar:/usr/local/share/apache-tomcat-7.0.64/bin/tomcat-juli.jar Using CATALINA_PID: /usr/local/share/apache-tomcat-7.0.64/bin/tomcat.pid Existing PID file found during start. Removing/clearing stale PID file. Tomcat started. cspace@localhost:~$ curl -i http://localhost:8180/cspace-services/collectionobjects -u admin@core.collectionspace.org<mailto:admin@core.collectionspace.org>:Administrator curl: (7) Failed to connect to localhost port 8180: Connection refused could you please assist me on what i have to do in order to fix the issue. P.S. i am a first timer. Regards,