rdf_loader_run stuck and Virtuoso server doesn't respond to queries - virtuoso

I've run these commands:
ld_add('/path/datasets/dbpedia/2015-04/dbpedia_2015-04.owl', 'http://dbpedia.org/resource/classes#');
rdf_loader_run();
ld_dir_all('/path/datasets/dbpedia/2015-04/importedGraphs/dbpedia.org', '*.*', 'http://dbpedia.org');
That all ran successfully, but then I ran:
rdf_loader_run();
It's been 48 hours on a CoreI7 machine with 24GB ram, Virtuoso server is not using any CPU, and it doesn't respond to queries such as:
select * from DB.DBA.LOAD_LIST;
...in another instances of isql-vt. The size of files in /var/lib/virtuoso-opensource-6.1/db/ are not increasing.

The problem was I was using an old version of virtuoso, by upgrading to 7.2 as suggested in comments it solved. I didn't have this problem on my macbook, so seems that while homebrew installs latest version by default, apt-get doesn't do so in Ubuntu and you need to install the latest version.

Related

Meteor Hanging on Ubuntu when building

I have an application that builds in 5 minutes on the Mac. When I try to build in Docker or directly in Ubuntu, the machine completely hangs at some point. It so bad that I can't even ssh into the machine. It eventually times out. I am using Meteor 1.4.2.3, Ubuntu 16.04 and Docker 16.04 with Meteor installed.
I thought maybe it was related to tar and 7z, so I upgraded tar and 7z. Still hangs. It hangs when I building on web.browser. There is high I/O waits and a bunch of blocked processes according to vmstat.
This is the command I'm running:
meteor build --allow-superuser --server-only --directory /tmp/build
Is their any way to get more info about what's going wrong? I also tried to
meteor remove ecmascript --allow-superuser
b/c one article said this may be an issue. Hangs.

Find installed version of graphite

I have deployed graphite with nginx some time ago, with chef, but didn't froze versions to be installed. Thus now, trying to install with the same recipe i get errors because of missing something related to versions.
I need to find what version of Graphite I have installed on my other CentOS machines, to be able to figure out how to repair recipe.
Thank you.
Gabriel
If you have web access to the Graphite installation, you can also see the currently running version under the /version/ path.
I had the same issue. I solved it running a pip list, which displays every package you installed with pip. You can also run pip show graphite-web or pip show whisper to get more specific information.

Can I build Rstudio server from sources

I work on a centOS 6.6 distro and would like to use Rstudio. I would like to use an up to date version say v>0.99 but from the download page I can see that Rstudio desktop requires RHEL7.
Looking for older versions of rstudio desktop I see that RHEL6 can only get v<=0.981103, though Rstudio server seems fine, and I am OK if many can use a server version.
rpm is a no go for me so is there a way to get the sources for the server version like they provide for the desktop version ? I can't find it anywhere but it appears it is possible: see this post.
Of course if there is a trick to build Rstudio desktop on centOS 6.6 I am a buyer...
You won't be able to build RStudio Desktop for RHEL6 because of a glibc requirement induced by Qt 5.4. This is not easily evaded so if you have a platform requirement for RHEL6 you'll want to stick with the server version.
The desktop and server versions of RStudio are actually built from the same source code. You can get the source for any RStudio release here:
https://github.com/rstudio/rstudio/releases
The make-package Server RPM command in rstudio/package/linux will start the build once you've got all the dependencies installed. See here for details (or INSTALL): https://github.com/rstudio/rstudio/wiki/Installing-RStudio-Dependencies

Downgrade MariaDB data to earlier version

I recently went from 10.0.21 to 10.1.8 MariaDB. All testing went well but there were some minor pieces that were over looked. So I need to downgrade/migrate data from MariaDB 10.1.8 to 10.0.21. I was thinking I could migrate the data to a fresh install of 10.0.21 but was wondering if MariaDB inserted some extra stuff during a version upgrade.
Is there a true method to Grab the data from an upgraded version of MariaDB and move it to a lower version of MariaDB?
You can use mysqldump to dump the database from the higher and import it into the lower MariaDB version. This works as it uses SQL statements.
Usage and examples: https://mariadb.com/kb/en/mariadb/mysqldump/
Backup and Restore Overview ("data can be restored on other […] MariaDB versions"): https://mariadb.com/kb/en/mariadb/backup-and-restore-overview/
You can see the installed version with
dpkg -l |grep mariadb-server-10|grep ii|xargs|cut -d" " -f3
I have 1:10.3.31-0+deb10u1 installed. To Install an older version replace the number and install with
apt install mariadb-server-10.3=1:10.3.25-0+deb10u1 mariadb-server-core-10.3=1:10.3.25-0+deb10u1
You should set the version on hold afterwards with
apt-mark hold mariadb-server-core-10.3 mariadb-server-10.3 mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common
Note: Here I run mariadb-common in the installed version 10.3.31 and -server in 10.3.25, which works fine

old plone 2.5 dump on mavericks or ubuntu 12.04

i have a folder with an old plone version 2.5 and i would restore it on mac os mavericks or ubuntu 12.04. I know, that this really old plone version need python 2.4. I get it form python.org for mac os x but i don't found anything for ubuntu 12.04. I tried to restore this dump but it's not easy without a good documentation for version 2.5.
How can i restore this dump?
Start with an installer from https://launchpad.net/plone/2.5/2.5.5 . That will take care of not only Python, but also handle other binary components.
Install Plone on the target server, then transfer any custom add-on Plone products from the source server. Test it.
When that's running, copy the Data.fs file from the source to overwrite the Data.fs on the target.

Resources