Command FITS failed

188 views
Skip to first unread message

sam...@willamette.edu

unread,
Feb 23, 2015, 5:32:14 PM2/23/15
to archiv...@googlegroups.com
Just installed 1.3 and am testing ingesting a simple small file, and everything seems to work fine except for this step in ingestion:

 
Job: Characterize and extract metadata on submission documentation 

Command FITS failed with exit status 230; stderr: connect: Connection refused
Any ideas why this would happen?  The AIP did successfully store after this.   And the following test of fits on the ingest file at the command line worked:

/usr/bin/fits.sh -i /media/mohfiles/archivematicaIngest/test/193.jp2

Justin Simpson

unread,
Feb 23, 2015, 6:11:41 PM2/23/15
to archiv...@googlegroups.com
It sounds like the fits daemon is not running.  Can you try doing this on the command line:

sudo start fits




Justin Simpson
Director of Archivematica Technical Services
www.artefactual.com
604-527-2056

--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematic...@googlegroups.com.
To post to this group, send email to archiv...@googlegroups.com.
Visit this group at http://groups.google.com/group/archivematica.
For more options, visit https://groups.google.com/d/optout.

Sara Amato

unread,
Feb 24, 2015, 11:19:32 AM2/24/15
to archiv...@googlegroups.com
I just tried starting fits (see below) and it seemed to start something, but I’m still getting the same error when ingesting.   Is there an error log I could check??


> sudo start fits
fits start/running, process 26406

Sara Amato

unread,
Feb 24, 2015, 11:56:04 AM2/24/15
to archiv...@googlegroups.com
We are guessing it might be a port issue … as far as we can tell it’s supposed to run on port 2113?  Is that right?  Is there a list somewhere in the documentation of ports that need to be open for archivematica to run correctly?   So far we see 80, 8000, 9200 and maybe 2113 … ?



On Feb 23, 2015, at 3:11 PM, Justin Simpson <jsim...@artefactual.com> wrote:

Justin Simpson

unread,
Feb 24, 2015, 12:17:12 PM2/24/15
to archiv...@googlegroups.com
The nailgun server used to run fits.sh is only accessed from localhost, so it should not be a firewall issue. 

Just checking, but can you verify that you have the following applications installed on the Archivematica server?

* fits
* nailgun-client


Justin Simpson
Director of Archivematica Technical Services
www.artefactual.com
604-527-2056

Sara Amato

unread,
Feb 24, 2015, 12:27:48 PM2/24/15
to archiv...@googlegroups.com
Looks like they are:

> dpkg-query -s fits
Package: fits
Status: install ok installed


> dpkg-query -s nailgun-client
Package: nailgun-client
Status: install ok installed


Justin Simpson

unread,
Feb 24, 2015, 12:41:35 PM2/24/15
to archiv...@googlegroups.com
The script that is getting executed when you start fits is at /etc/init/fits.conf.  You can take a look at that file, and the log file it writes to, at /var/log/fits-ngserver/server.log.  It is possible you will find more information in your syslog as well. 


Justin Simpson
Director of Archivematica Technical Services
www.artefactual.com
604-527-2056

Sara Amato

unread,
Feb 24, 2015, 1:10:06 PM2/24/15
to archiv...@googlegroups.com
Oddly the server.log is empty - last touched Feb 20 when we installed.   Nothing of use in the syslog.   I’ll keep poking around.     I do see nginx running … is there a way to tell if the service is running?  I don’t see anything running with ’fits’ in the name, and trying   wget http:/localhost:2113 just gets connection refused. 

Bill Kelm

unread,
Feb 26, 2015, 11:32:34 AM2/26/15
to archiv...@googlegroups.com
Another update on this, so if we start the FITS service with:

sudo start fits

it indicates it's running but the it does not appear to start the ngserver

If we run this from the command line as root:

exec sudo -u archivematica /usr/bin/fits-ngserver.sh /usr/share/maven-repo/com/martiansoftware/nailgun-server/debian/nailgun-server-debian.jar 2>&1 >>  /var/log/fits-ngserver/server.log

the ng server indicates it has started, and the extract metadata step works fine


Bill K.
Bill K.

Sarah Romkey

unread,
Feb 26, 2015, 11:52:49 AM2/26/15
to archiv...@googlegroups.com
Thanks for the update Bill! I'm sure this will help another user in the future.

Cheers,

Sarah
--
Reply all
Reply to author
Forward
0 new messages