4store on Ubuntu

Bad notes for future ref. It works! Last night I finally got around to sticking 4store (a properly scalable free RDF store) on my slicehost server, which is running Jaunty x84 64bit (uname -a, I always have to look that up), and today I got it on my laptop x86 32bit Maverick. I did things a little out of sequence from the 4Store instructions - I hadn't seen the pointer to ready-wrapped Debian/Ubuntu packages, and didn't keep notes. But in each case I did install the latest Raptor and Rasqal from source, and a stack of common dependencies with apt-get/synaptics, as listed on the 4store site. (I think) on the server the deb package worked right away, locally I had a little snag but got there finally with the 4store source. That snag was a error when trying to load some data, in amongst gobbledegook was "getaddrinfo failed". It seems ipv6 stuff can be one cause for this, googling I found this way of disabling it:

added to /etc/sysctl.conf:

#disable ipv6

net.ipv6.conf.all.disable_ipv6 = 1

net.ipv6.conf.default.disable_ipv6 = 1

net.ipv6.conf.lo.disable_ipv6 = 1

(reboot)

Seems ok now. Server install has currently just got this blog's data in it, exposed through SPARQL here. Local copy I think I'll just dump any bits of RDF I come across into, kind of a random DB. Filter it at read time...


danja
2011-03-26T21:46:55+01:00
4store ubuntu triplestore rdf
Related
Comments
Edit