Well, no locks found. However, I will keep your suggestion around for future 
reference.

 

 

- Steve

 

Steven R. Ray, Ph.D.

Distinguished Research Fellow

Carnegie Mellon University

NASA Research Park

Building 23 (MS 23-11)

P.O. Box 1
Moffett Field, CA 94305-0001

Email:    [email protected]

Phone: (650) 587-3780

Cell:      (202) 316-6481

Skype: steverayconsulting

cid:[email protected]

 

From: [email protected] [mailto:[email protected]] 
On Behalf Of Nick Abston
Sent: Thursday, December 14, 2017 11:50 AM
To: [email protected]
Subject: Re: [topbraid-users] Programmatically refreshing the TBL workspace

 

Hi Steve,

 

Thanks for the update.   I suspect you have gotten TDB locks in your workspace 
from the abrupt restart of the server.

 

Shutdown TopBraid and go into your workspace and looking for these locks and 
remove them

 

as with anything, backup your workspace first:

 sudo cp -a /var/lib/topbraid/ontologies  /var/lib/topbraid/ontologies-14Dec2017

 

now lets find and remove locks if there are any.

 cd /var/lib/topbraid/ontologies

 find | grep tdb.lock

 

if you have some, remove them like so

 rm -rf $(find . -type f | grep tdb.lock)

 

once the tdb locks are removed, restart TopBraid

 

On Thu, Dec 14, 2017 at 12:46 PM, Steve Ray <[email protected]> wrote:

Nick,

            No, we’re using the built-in triple store that comes with TBL. It’s 
not relying on any other software package. We are accessing it via the endpoint 
at :8080/tbl/tbl/sparql <http://epicdr.org:8080/tbl/tbl/sparql>  . The odd 
thing is that at least one of our SELECT queries worked fine, but others (doing 
SELECTs or INSERTs) came back blank. Specifically, invoking the queries via a 
web browser returned the headers of the SELECT, but no results. I didn’t 
investigate more deeply because we wanted to get back to normal working mode, 
which happened as soon as I hit the “Refresh Workspace” button on the console.

 

            If it helps you to diagnose, the only thing I had done to cause 
this was to create an Image of our AWS instance. I’m not sure exactly what 
happens at the Amazon end, but it appears that doing that caused the instance 
to reboot, because all our other processes also had to be restarted.

 

 

- Steve

 

Steven R. Ray, Ph.D.

Distinguished Research Fellow

Carnegie Mellon University

NASA Research Park

Building 23 (MS 23-11)

P.O. Box 1
Moffett Field, CA 94305-0001

Email:    [email protected]

Phone: (650) 587-3780 <tel:(650)%20587-3780> 

Cell:      (202) 316-6481 <tel:(202)%20316-6481> 

Skype: steverayconsulting

cid:[email protected]

 

From: [email protected] [mailto:[email protected]] 
On Behalf Of Nick Abston
Sent: Thursday, December 14, 2017 8:00 AM
To: [email protected]
Subject: Re: [topbraid-users] Programmatically refreshing the TBL workspace

 

Hi Steve,

The 'refreshing' of the workspace is actually done on TopBraid startup.  Was 
there by any chance, a SDB database resource that was not available during this 
time, that became available later (when you re-did the refresh manually)?

A programmatic way do refresh the workspace could be done.  But if the server 
is not right after a fresh startup, I would be more interested in what is 
causing that, instead of triggering a refresh.

 

On Wed, Dec 13, 2017 at 8:21 PM, Steve Ray (CMU) <[email protected]> wrote:

Hi,

            I recently was doing a routine image backup of our implementation 
on AWS (which includes TBL). It seems that doing so caused the AWS instance to 
reboot. Not a problem, I thought, because TBL started up again. However, it was 
not behaving normally until I went to the TBL console and clicked “Refresh 
Workspace”.

 

My question is, is there some way to programmatically refresh the workspace, so 
that we can invoke that in a startup script?

 

 

- Steve

 

Steven R. Ray, Ph.D.

Distinguished Research Fellow

Carnegie Mellon University

NASA Research Park

Building 23 (MS 23-11)

P.O. Box 1
Moffett Field, CA 94305-0001

Email:    [email protected]

Phone: (650) 587-3780 <tel:(650)%20587-3780> 

Cell:      (202) 316-6481 <tel:(202)%20316-6481> 

Skype: steverayconsulting

cid:[email protected]

 

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.




-- 

Nick Abston, Systems Administrator


TopQuadrant, Inc.,  <http://www.topquadrant.com/> www.topquadrant.com 

@TopQuadrant  <http://twitter.com/topquadrant> http://twitter.com/topquadrant


Office/Cell: [USA] (919)-809-9827 <tel:(919)%20809-9827> 

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

 


 
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
 

Virus-free.  
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
 www.avg.com 

 

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.





 

-- 

Nick Abston, Systems Administrator


TopQuadrant, Inc.,  <http://www.topquadrant.com/> www.topquadrant.com 

@TopQuadrant  <http://twitter.com/topquadrant> http://twitter.com/topquadrant


Office/Cell: [USA] (919)-809-9827

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to