Log of the #blacklight channel on chat.freenode.net

Using timezone: GMT-05:00
* erikhatcher joins01:29
* ndushay joins01:45
* erikhatcher leaves02:17
* ndushay leaves02:26
* cbeer leaves03:54
* cbeer joins
* erikhatcher joins05:47
* erikhatcher leaves06:08
* erikhatcher joins06:15
* erikhatcher leaves06:53
* erikhatcher joins07:45
* erikhatcher leaves07:53
* erikhatcher joins08:23
* rduplain joins08:55
* BillDueber joins08:58
<erikhatcher>hey, anyone tried the VM image Will built?09:12
i've got it fired up in virtualbox, but not sure how to access it
<MrDys>hmm I should give that a whirl09:16
<rduplain>erikhatcher, I'm downloading it now
<MrDys>booting it up...09:19
<erikhatcher>i'm booted up and logged in09:24
but not sure what IP address or port things are running on
(i'm no sysadmin, so i'm sure there's ways to introspect this thing)
<rduplain>you're using VirtualBox?
<erikhatcher>yeah
<rduplain>what network mode did you use?
NAT, Host-Only, Bridged, ...?09:25
<erikhatcher>bridged
<rduplain>I haven't loaded the vm yet, do you know what OS it is?09:26
<erikhatcher>fedora
release 12
<rduplain>ifconfig should show you an IP address which is accessible from the host OS
since you are bridged
<erikhatcher>127.0.0.1 09:27
but that's not quite right, is it?
<rduplain>hmmm, that's local interface
<erikhatcher>yeah
<rduplain>only accessible via localhost
<erikhatcher>ah, ok, i can curl http://localhost:8983/solr/ - and that shows solr is running09:28
now how do i make it expose itself to the outside world (aka my laptop host OS firefox)?
<MrDys>you need to bring up eth109:29
<rduplain>I'm importing the ovf into VirtualBox now... I'm trying it now
<MrDys>will mentioned it in a followup e-mail
ifconfigh eth1 up
and then dhclient eth1
I can't get the dhclient bit to work, so it's not getting an ip address
<rduplain>MrDys, you are running bridged mode in VirtualBox?
<MrDys>rduplain: appears so09:30
<rduplain>hmm, VirtualBox should lease an IP
er, maybe that's up to your DHCP host09:31
<MrDys>rduplain: oh...right...well that's not going to work. DHCP is locked down pretty hard here
<rduplain>MrDys, you can change to host-only mode
<MrDys>rduplain: got it09:32
<rduplain>I believe that will make VirtualBox give an IP address on an interface only accessible to host OS09:33
haven't played with it much
<MrDys>the islandora virtual box image is set up that way
and that way works for me
alright I have it up and running09:36
<rduplain>it's running httpd, so you just point to http://appliance_ip ?09:37
<MrDys>yep
<erikhatcher>still not sure how to get a non-internal IP09:40
i set it to NAT and shutdown and restarted the VM
still 127.0.0.1
<MrDys>when you run ifconfig do you see both eth1 and lo?09:41
<erikhatcher>just lo09:42
<MrDys>try a `ifconfig eth1 up`
<erikhatcher>i got an error: eth1: Host name lookup failure09:43
<MrDys>hmm
<erikhatcher>sorry i'm a retard09:44
<rduplain>I had the same thing on bridged... it worked on host-only
<erikhatcher>do you have to reboot it to switch to host-only?09:45
<MrDys>you do have to shut down the VM completely
<rduplain>I'm pretty sure you have to shutdown/restart on any network setting change in VirtualBox
okay, I have it working now09:46
had to change to host-only for `ifconfig eth1 up` to work
wonder why it didn't work on bridged for me...09:47
erikhatcher, any luck?09:50
<erikhatcher>i'm in host-only now, restarted the machine09:51
ifconfig up eth1 fails
same error
<rduplain>`ifconfig eth1 up`
<erikhatcher>permission denied09:52
<rduplain>you are root, right?
<erikhatcher>tried sudo, but blacklight isn't in sudoers
oh, not root
d'oh
<rduplain>root/blacklight
<erikhatcher>ah, ok!09:53
so, as root that worked
<rduplain>`dhclient eth1`
<erikhatcher>but what's my machine's IP?
<rduplain>`dhclient eth1` then `ifconfig`
<MrDys>192.168.56.101 I think is the default when using host-only09:54
<rduplain>in host-only mode, you should be able to load http://eth1_ip in your browser
<erikhatcher>success!!!
<rduplain>hooray!
<MrDys>woo
<erikhatcher>*whew*
ok, i'll post a followup mail with what it took for me
<rduplain>Apache config is in /etc/httpd/conf/httpd.conf, which has blacklight listed with passenger mod09:55
<erikhatcher>and where is solr installed?09:58
<rduplain>that's what I'm looking for now
<erikhatcher>logs are going to root console at least09:59
so it must have been started with something like "java -jar start.jar &", eh?
<MrDys>yep10:00
it has an init.d script
<rduplain>/etc/init.d/solr is the SysV init script
started just as you said10:01
running the blacklight jetty
<MrDys>time to set up multicore on my own solr10:02
<erikhatcher>we'll want to get logging sent to files10:03
* jamieorc joins10:16
* rduplain leaves10:28
<MrDys>wow10:41
setting up multicore was dead simple
erikhatcher: ping?10:52
<erikhatcher>yo
yeah, multicore is just adding a solr.xml
<MrDys>I've got a question about that...I just set up two cores, and everything appears to be good, but when looking at the /admin/cores result it looks like the index directory is still set to the old location?10:53
is that something I can force in solr.xml?
"org.apache.lucene.store.NIOFSDirectory:org.apache.lucene.store.NIOFSDirectory@/usr/share/jetty6/solr/data/index" should really be /usr/share/jetty6/solr/prod/data/index ...I think10:54
<erikhatcher>yeah, you can set that in solr.xml somehow10:55
but also your solrconfig.xml controls it
using solr 1.4?10:56
http://wiki.apache.org/solr/CoreAdmin
<MrDys>yep
<erikhatcher>there's a dataDir attribute
i've not really played around with all this configurability though... my hunch is that it is a bit fiddly to set up just right
<MrDys>the datadir is set correctly, it's just the index data that seems to be defaulting back...hmmm
<erikhatcher>have a look at the multicore example with solr10:57
and the corresponding cores solrconfig.xml files
that should shed some light on it. i'm not quite at a point to follow along though, sorry
<MrDys>gotcha. thanks
* ndushay joins11:06
* ndushay leaves11:07
* ndushay joins
* erikhatcher leaves11:13
* rduplain joins
* ndushay leaves11:24
* rduplain leaves11:27
* ndushay joins11:36
* bess joins11:59
* erikhatcher joins12:40
* bess joins
* bess_meeting leaves12:53
* erikhatcher leaves12:55
* erikhatcher joins13:09
* bess leaves14:03
* bess joins14:46
* bess leaves
* bess joins14:50
* erikhatcher leaves15:13
* bess1 joins16:32
* bess leaves16:42
* bess1 leaves16:46
* bess joins16:50
* bess leaves16:53
* bess joins17:52
* erikhatcher joins18:33
* erikhatcher leaves19:00
* erikhatcher joins20:04
* bess leaves20:09
* ndushay leaves20:33
* erikhatcher leaves20:35
* erikhatcher joins20:37
* erikhatcher leaves20:40
* bess joins23:04
* bess leaves00:02

Generated by Sualtam