2008-03-10T00:13:58 I'm about to have to stop with the patches ... gmail is showin a playa /no/ love 2008-03-10T00:16:09 well, good start at least 2008-03-10T00:19:30 *** greg-g has quit IRC 2008-03-10T00:22:26 *** dbs has quit IRC 2008-03-10T02:12:47 *** asmodai has joined #OpenILS-Evergreen 2008-03-10T03:17:43 *** Mark__T has joined #openils-evergreen 2008-03-10T06:39:22 *** EGUEST970 has joined #openils-evergreen 2008-03-10T06:40:09 Anyone awake?? 2008-03-10T06:40:57 :) must be c. 4am US time 2008-03-10T07:17:49 *** EGUEST970 has quit IRC 2008-03-10T08:11:58 *** greg-g has joined #openils-evergreen 2008-03-10T08:58:18 *** dbs has joined #OpenILS-Evergreen 2008-03-10T10:02:28 *** gmcharlt has joined #OpenILS-Evergreen 2008-03-10T10:04:17 *** Karen_ has joined #OpenILS-Evergreen 2008-03-10T10:13:26 ok ... patches from scottmck and Karen_ (thanks! it applied cleanly to trunk and 1.2) are all in. please watch for silliness in both trunks 2008-03-10T10:58:49 *** asmodai has quit IRC 2008-03-10T11:22:07 *** tristanbob_ has quit IRC 2008-03-10T11:22:15 *** Mark__T has left #openils-evergreen 2008-03-10T13:06:00 *** hurrells has joined #openils-evergreen 2008-03-10T13:08:43 Hello. Evergreen Newbie. Using Ubuntu 7.10 wiki installation notes. Having a problem with starting evergreen and specifically jabber as my chosen domain is in DNS not /etc/hosts. Error is: 2008-03-10T13:09:26 Unable to connect router to jabber server evergreen.hurrells.ca... 2008-03-10T13:10:37 So the machines "hostname -a" is h33 not evergreen.hurrells.ca which I think is part of the problem. Any ideas? 2008-03-10T13:12:22 hurrells: what's the output of 2008-03-10T13:12:25 perl -MNet::Domain=hostfqdn -e "print hostfqdn();" 2008-03-10T13:13:03 Also, last step in #24 of the guide says "Edit the .srfsh.xml file to match your ejabber domain and username/password." Is this supposed to be a personal jabber account or just the evergreen one? 2008-03-10T13:13:56 a registered jabber account. any will do, but adding an account to use with clients is a good idea 2008-03-10T13:13:58 The output of the perl is "h33.hurrells.ca" 2008-03-10T13:14:44 you'll want to use that in all the configuration files, including the ejabberd config 2008-03-10T13:15:33 or localhost everywhere (my preference) except opensrf.xml 2008-03-10T13:16:33 OK. So I'll use "localhost" in most places. But in opensrf.xml I will use "h33.hurrells.ca" right? 2008-03-10T13:16:48 hurrells: that'll do it 2008-03-10T13:17:11 right. you'll use h33.hurrells.ca as the element name under the element 2008-03-10T13:17:59 OK. Now about .srfsh.xml file. So the ejabber domain should be "h33.hurrells.ca" and what should the username/password be. Is it evergreen/? 2008-03-10T13:18:55 well, if you use localhost everywhere, your ejabberd domain will also be localhost 2008-03-10T13:19:11 i should probably just shut up, though, because my approach is different from the wiki 2008-03-10T13:20:55 OK. No that's fine. I'm just thinking ahead to when I am outside of my domain and want to show somebody when I am at work which is another domain out on the internet. 2008-03-10T13:21:21 Give me a few minutes to make these changes and see what happens... 2008-03-10T13:22:09 hurrells: in that case you'll be connecting through apache, which can expose itself to the world. it's just ejabberd (and what connects to ejabberd) that will use localhost 2008-03-10T13:23:19 OK. Got the idea. Just gotta get these files figured out. Also a jabber newbie as well. 2008-03-10T13:24:54 berick: I like your approach, and think we should move to that approach for the install instructions 2008-03-10T13:25:15 then provide a "more complex configuration" set of instructions (which won't be distro-dependent) 2008-03-10T13:25:23 hurrells: welcome to a fellow canuck! 2008-03-10T13:26:19 dbs: i feel the same. it simplifies the common case a lot. once you have that up and working, it's trival to change the jabber domain for multi-box bricks, etc. 2008-03-10T13:27:39 OK. So it appears that everyone here likes the idea of using localhost. So at the bottom of Step#23 should I change from {hosts, ["localhost"]}. at all? 2008-03-10T13:28:54 hurrells: nope, you can just leave everything as localhost 2008-03-10T13:37:23 *** asmodai has joined #OpenILS-Evergreen 2008-03-10T13:47:31 OK. In /var/log/ejabberd/ejabberd.log getting: " 2008-03-10T13:47:40 "I(<0.1980.0>:ejabberd_c2s:417): (#Port<0.1718>) Failed legacy authentication for router@localhost/router" 2008-03-10T13:48:36 hurrells: were you able to register your ejabberd users via ejabberdctl? 2008-03-10T13:49:01 So everything is now localhost but for opensrf.xml which in the section has the FQDN "h33.hurrells.ca". 2008-03-10T13:50:32 sure. so did "ejabberdctl register evergreen eg-server everPass" work? 2008-03-10T13:52:51 FYI. I tried "/etc/init.d/ejabberd stop" and the beam process stayed up. "ps -efwas using old evergreen.hurrells.ca. I then killed 2008-03-10T13:53:34 Sorry. "ps -ef" showed it was still using "evergreen.hurrells.ca". I killed it and /etc/init.d/ejabberd start now it shows localhost. 2008-03-10T13:54:45 Also "ejabberdtl register evergreen evergreen.hurrells.ca yessir 2008-03-10T13:55:55 So I unregister and then re-register right? 2008-03-10T13:56:19 I think you should just be able to register the user at localhost 2008-03-10T13:56:26 (it's been a while, though) 2008-03-10T13:57:48 you can just register with localhost. no need to unregister 2008-03-10T13:59:38 Darn. Now ejabberdctl is not working. Getting a big spew starting with "RPC failed on the node ejabberd@h33". Where should I look for this config error? 2008-03-10T14:00:59 I think this is a syndrome associated with changing horses/hostnames in midstream, unfortunately. Ugh. 2008-03-10T14:01:37 * dbs wonders if gsf had to "dpkg --purge ejabberd" to help get rid of the remnants 2008-03-10T14:02:30 I can do that. Nothing in ejabberd so far worth keeping. Proceed? 2008-03-10T14:04:41 I think that may be the safest course of action. ejabberd is a bit pesky when it comes to leaving files around in various states. 2008-03-10T14:08:36 OK. Purged and reinstalled. Made all changes in Step #23 except left {hosts, ["localhost"]}. alone. Running ejabberctl restart gives "RPC failed on the node ejabberd@h33: nodedown". 2008-03-10T14:10:05 god I hate ejabberd's inability to recover from this stuff 2008-03-10T14:10:35 when you killed ejabberd, was there maybe still an erl process running? 2008-03-10T14:10:48 (like "ps wax | grep erl") ? 2008-03-10T14:11:28 Your right! THere is a very old one just sitting ther from last night. 2008-03-10T14:11:41 ahhh 2008-03-10T14:11:47 that beastie needs to die 2008-03-10T14:12:02 (and even then, you might still have to purge and reinstall - let's find out) 2008-03-10T14:12:52 *** sylvar has joined #openils-evergreen 2008-03-10T14:13:03 Now one last thing. In /etc/default/ejabberd I can set "export ERLANG_NODE=ejabberd@localhost". Would this be correct or just not needed. 2008-03-10T14:13:22 I don't think you want to touch anything there 2008-03-10T14:13:29 hey sylvar! 2008-03-10T14:13:40 OK. Removing it and trying again... 2008-03-10T14:13:58 Hi all. I've been looking through the JS files in /openils/var/circ to better understand them, and I think I've got an improvement for the *comments*. :) 2008-03-10T14:14:29 dbs: i think i did purge and reinstall ejabberd 2008-03-10T14:14:37 *** jeff has quit IRC 2008-03-10T14:14:48 *** jeff has joined #openils-evergreen 2008-03-10T14:15:07 sylvar: cool, fire away (and note that at some point in the future that stuff is moving in-db) 2008-03-10T14:15:08 bbiab 2008-03-10T14:16:14 The explanation for the grep function in circ_lib.js was unclear to me at first, and I think it would be better as "Given a list of items and a function to test them, returns a list of the items for which the test function returned true. Note: If the test function returns true for none of the items, grep will return null." 2008-03-10T14:16:48 That would replace "returns a list of items that when passed to the callback 'func' returned true returns null if none were found". 2008-03-10T14:17:28 * sylvar shoos the cat off his arm so he can type 2008-03-10T14:19:43 OK. "ejabberctl status" returns OK now. " ejabberdctl register evergreen localhost " works for both evergreen & router. 2008-03-10T14:22:21 Darn. Still/Now getting "Failed legacy authentication for evergreen@localhost/settings_grabber__..." in the ejabber.log. 2008-03-10T14:25:06 dbs: Is there a better way at the moment to grok Evergreen circulation than reading the code? For example, is there a document that explains the ontology and vocabulary, the design goals, and how the parts work together to achieve those goals? 2008-03-10T14:27:53 OK. My problem has to be with ejabberd. I can "ejabberdctl stop" which stops all those processes but not epmd which I have to kill. 2008-03-10T14:29:56 Using /etc/init.d/ejabberd start/stop also leaves epmd running. Also the logs still discuss h33.hurrells.ca the FQDN. 2008-03-10T14:29:59 Separate question: When running VACUUM ANALYZE on the db, I got this hint: "WARNING: relation "biblio.record_entry" contains more than "max_fsm_pages" pages with useful free space. HINT: Consider compacting this relation or increasing the configuration parameter "max_fsm_pages"." max_fsm_pages is currently a million; this suggests I up it to around 3 million. Does that sound reasonable y/n? 2008-03-10T14:34:22 sylvar: I think reading the code and picking brains is your best bet. Certain applications are configured to run specific server-side javascript that contain the bulk of configurable hold/circ logic. These scripts target "rules" in the database that help dictate the end result, like loan duration. 2008-03-10T14:36:19 sylvar: rationale for that design was that we didn't know what folks would throw at us. Now that we have a good idea, we're moving a lot of that logic into the database, but are keeping the ability to use scripted behavior as a fallback for weird cases 2008-03-10T14:36:22 phasefx: OK. So the configurable logic is actually located in the javascript, and the database contains... when you say "rules" you mean data like 28 rather than logic like "unless the patron has a patron type of 'Dean' or 'Mayor'", right? 2008-03-10T14:37:17 sylvar: rules like the stuff in config.rule_* in the db 2008-03-10T14:37:45 All right, thank you. 2008-03-10T14:38:10 of course, I don't think the scripts actually have to use those if they don't want to. You can base circ behavior off of random numbers if you wanted to 2008-03-10T14:38:16 Incidentally, what's your favorite Windows client for inspecting the structure and data of a postgres db? 2008-03-10T14:38:25 phasefx: I'll keep that in mind. :) 2008-03-10T14:38:51 I don't have one. I use psql in linux :-( 2008-03-10T14:43:49 *** hurrells has quit IRC 2008-03-10T14:44:17 *** hurrells has joined #openils-evergreen 2008-03-10T14:48:21 sylvar: to give a simple/specific example, you might have the javascript examine the patron profile (borrower type, etc.), and then point to an in-db rule called NORMAL_BORROWER_BOOK. Both sides are "configurable", but one has a GUI and the other doesn't. One goal is to have more GUI, thus the move for more things to be mapped in-db 2008-03-10T14:48:57 sylvar: i hear good things about pgadmin but i, too, am a psql user 2008-03-10T14:49:38 hurrells: I assume you tried a restart? 2008-03-10T14:49:48 (thus the left/join message) 2008-03-10T14:50:26 And would NORMAL_BORROWER_BOOK be a stored procedure? 2008-03-10T14:50:56 sylvar: in this example, it would be the value in the name column for config.rule_circ_duration 2008-03-10T14:51:42 OK. I'll take a look at the config table and keep in mind what you've said. 2008-03-10T14:51:52 that table lets you specify 3 different loan durations (corresponding with the loan_duration field on a copy) and a max # of renewals for the circulation 2008-03-10T14:52:23 3 different loan durations per "rule", that is 2008-03-10T14:52:28 OK. 2008-03-10T14:53:25 I think EG out of the box has sample rules with labels like "7_days_0_renew" 2008-03-10T14:54:41 and each of extended/normal/short duration fields on that row just have "7 days", with that example 2008-03-10T14:57:05 OK. I have ejabberd starting/stopping and restarting from both /etc/init.d/ejabberd or ejabberdctl. Except for both a stop will not kill the epmd process. 2008-03-10T14:58:31 Once down any attempt to start or restart results in: "RPC failed on the node ejabberd@h33: nodedown". SO then I have to kill epmd and run /etc/init.d/ejabberd start. 2008-03-10T15:00:25 When I then try running opensrf as per Ubuntu 7.10 - Step#25 I get "Unable to connect router to jabber server localhost... exiting". 2008-03-10T15:02:23 And startup also displays "OpenSRF Perl already started :" and "OpenSRF C (host=h33.hurrells.ca) already started :". I getting the feeling that localhost is just not going to work and I should go back and use the FQDN in the /etc/hosts file for now. Opinions? 2008-03-10T15:02:24 epmd is a name-server for erlang programs, apparently. Their FAQ says epmd -kill will safely kill it 2008-03-10T15:02:41 OK. Thanks about epmd. 2008-03-10T15:03:37 this is neat: epmd -names 2008-03-10T15:03:43 epmd -kill works. 2008-03-10T15:03:53 should show the ejabberd process and what port it's listening on 2008-03-10T15:04:10 Yes it does. 2008-03-10T15:05:11 hurrells: two of our EG gurus are on a call right now, but I could try giving you bad advice if you want :) 2008-03-10T15:05:12 *** agJohn has quit IRC 2008-03-10T15:05:34 I tend toward shotgun/voodoo troubleshooting 2008-03-10T15:06:26 Hey, no problem -- This is a evergreen test setup on my home box. Just finished off Koha and just starting evergreen. So go ahead. 2008-03-10T15:06:55 hurrells: could you try registering your jabber users under both domains? localhost and your fqdn? 2008-03-10T15:07:52 ooh, this is neat: ejabberdctl connected-users 2008-03-10T15:08:05 hurrells: and if phasefx' suggestion doesn't resolve things, now might be a time to try that /etc/default/ejabberd var setting you mentioned before 2008-03-10T15:09:56 egabberdctl is pissed at me again and so "ejabberdctl register evergreen h33.hurrells.ca " says "not_allowed". 2008-03-10T15:11:00 might need to put localhost and h33.hurrells.ca in a config file for ejabberd first.. but I would try dbs' suggestion before mucking with that 2008-03-10T15:14:12 in my /etc/ejabberd/ejabberd.cfg, my Hostname section looks like this {hosts, ["localhost","norcrossfx.norcross.esi"]}, 2008-03-10T15:19:01 I'm also curious if h33.hurrells.ca is pingable/resolvable from itself 2008-03-10T15:22:53 Sorry. Just converting my localhosts to h33.hurrells.ca. Also "ping h33.hurrells.ca" or "ping h33" works locally on the h33 server. 2008-03-10T15:27:27 *** JMCraig has joined #openils-evergreen 2008-03-10T15:27:28 My /etc/ejabberd/ejabberd.cfg Hostname statement is same syntax "{hosts, ["localhost", "h33.hurrells.ca"]}." -- Period at the end of mine. 2008-03-10T15:27:29 *** JMCraig is now known as agJohn 2008-03-10T15:28:32 period on mine too, I'm blind (and only cut/paste everything before the trailing punctuation) 2008-03-10T15:29:10 Do you think a of "3v3rPa$$" could be a problem? Running out of ideas... BTW: Now everything is "h33.hurrells.ca" not localhost. 2008-03-10T15:30:36 hurrells: and just to be clear, you actually changed an xml element in opensrf.xml to be h33.hurrells.ca? 2008-03-10T15:31:22 under , the next tag should be 2008-03-10T15:31:34 with a matching close tag 2008-03-10T15:32:02 I'm going to post copies of this up in a few minutes so people can see these files. -- Yes I did edit the files and yes. It's . Show you soon. 2008-03-10T15:32:16 cool 2008-03-10T15:38:44 Back in a minute.... 2008-03-10T15:38:48 *** hurrells has quit IRC 2008-03-10T15:50:33 hmm 2008-03-10T15:51:01 ejabberd couldn't handle uppercase letters in hostnames properly - any chance that it can't handle numbers, either? 2008-03-10T15:52:34 *** hurrells has joined #openils-evergreen 2008-03-10T15:52:43 that would be a little sad 2008-03-10T15:52:46 dbs: I use app07.dev.gapines.org as a hostname 2008-03-10T15:52:52 phew 2008-03-10T15:52:52 in ejabberd 2008-03-10T15:53:07 this stuff drives me NUTS 2008-03-10T15:53:44 we're not tied to ejabberd... maybe polish chopchop for folks who just want to evaluate EG? 2008-03-10T15:53:50 Back Again. I've put up files at: http://wiki.hurrells.ca/bin/view/ILSEvergreenProject/WebHome hopefully somebody spots my mistake. let me know what other files you want. 2008-03-10T15:55:59 hurrells: I think a pristine set of log files for when you try to start OpenSRF would be helpful, from /openils/var/log/ 2008-03-10T16:00:00 OK. I cleared the logfiles you requested, Ran opensrf and they are up there as attachments now. 2008-03-10T16:01:01 hmm, I don't see them 2008-03-10T16:01:10 me neither 2008-03-10T16:01:29 Look at the table of attachments at the bottom of the page. I'll add them to the list as well. 2008-03-10T16:02:46 ah, twisty widget 2008-03-10T16:03:15 router.log looks informative 2008-03-10T16:03:21 401 not authorized 2008-03-10T16:05:20 *** hurrells has quit IRC 2008-03-10T16:06:02 cgi irc doesn't work very well, does it? 2008-03-10T16:07:45 Now I'm wondering if it is the password, based on osrfsys.log 2008-03-10T16:08:00 I'd be interested in the ejabberd.log too 2008-03-10T16:10:36 could always try OpenSRF/examples/register.pl - or settings-tester.pl from trunk 2008-03-10T16:14:44 I'll try changing the password for my router user.. scary stuff :) 2008-03-10T16:15:51 gee, I caused something to crash 2008-03-10T16:17:08 new user then 2008-03-10T16:17:28 *** hurrells has joined #openils-evergreen 2008-03-10T16:17:53 hurrells: how about your ejabberd.log? 2008-03-10T16:18:03 we're testing the password theory now 2008-03-10T16:18:09 or rather, I'm trying to :) 2008-03-10T16:18:39 Sorry got timed out. Just a minute and ejabberd.log will be up. and I missed the last bit there... 2008-03-10T16:19:35 that might be it 2008-03-10T16:19:56 ejabberd.log is up now as an attachment. 2008-03-10T16:21:46 hurrells: it's the $$ in your password 2008-03-10T16:22:18 Oh great. I 2008-03-10T16:22:22 ll fix that 2008-03-10T16:22:36 phasefx: nice thing to figure out 2008-03-10T16:23:32 I doubt ejabberd cares, but whatever reads that xml file might 2008-03-10T16:23:52 Ok. Give me a few minutes to install another password and then I'd like to try and go back to locahost. And then understand some of this... 2008-03-10T16:24:44 It's been a long time since this metachars in username/passwords bit me... 2008-03-10T16:27:59 phasefx: I dunno, man - that would mean both Perl and C were mangling $$ - I'm still inclined to be hating on ejabberd 2008-03-10T16:28:05 (but that's my natural inclination) 2008-03-10T16:28:21 dbs: or it's bash's fault 2008-03-10T16:28:37 oh yeah, it all starts at bash - hmm 2008-03-10T16:28:47 dbs: when the password was specified on the command line during registration.. I sure didn't quote mine .. gah.. 2008-03-10T16:28:55 hah 2008-03-10T16:28:55 hurrells: it might not be your password.. we'll see :( 2008-03-10T16:29:12 but I certainly got a similar error when my password was incorrect :) 2008-03-10T16:29:22 phasefx: so just pass in the pid of your process in the middle of your password then? :) 2008-03-10T16:29:31 :D 2008-03-10T16:30:00 dbs: that worked ;) 2008-03-10T16:31:14 dollar signs work if actually used in the pw 2008-03-10T16:31:34 wonder if hurrells got bit by bash too 2008-03-10T16:33:00 probably. ye olde var quoting 2008-03-10T16:33:15 weird 2008-03-10T16:33:42 well, I used a $$ in the pw, and no visible errors on startup of services, but when shutting down services, I find no C services had been running 2008-03-10T16:33:43 oldest trick in the book, causes no end of head scratching for customer support 2008-03-10T16:34:15 well, even weird.. I shut down services, and there are still opensrf processes running :) 2008-03-10T16:35:01 where are those pid files supposed to live? 2008-03-10T16:35:52 -d .. defaults to /tmp/ 2008-03-10T16:36:06 I see some in /openils/var/pid, they match what's running 2008-03-10T16:36:12 OK. Now opensrf is starting. OPAC is at http://evergreen.hurrells.ca. Now moving on to Ubuntu.Step#26. 2008-03-10T16:36:22 huzzah 2008-03-10T16:36:51 phasefx: those are unix::server pid files, jfyi 2008-03-10T16:37:03 Thanks to all. Now progressing... 2008-03-10T16:37:11 berick: ah, not what you're using for startup/shutdown? 2008-03-10T16:37:16 phasefx: correct 2008-03-10T16:37:44 eww../tmp/.. where files go to die 2008-03-10T16:38:49 yeah, i usually store PID files and unix::server files /var/run/evergreen 2008-03-10T16:39:20 I don't know how to repair what's going on my machine.. I'm just going to killall 2008-03-10T16:39:57 i've done some tweaking of the osrf_ctl.sh in trunk for better proc management. there is one remaining task at hand for that, though 2008-03-10T16:41:45 yay hurrells 2008-03-10T16:42:19 OK. That was fun. opensrf started and the loadfactor went to >14.00 caused by many spawning perl processes. Any ideas? 2008-03-10T16:43:01 is it staying at 14? 2008-03-10T16:43:39 It's back down pretty steady at 6.00. Is there something it does 1st time up like indexing or something? 2008-03-10T16:44:00 berick: we could reproduce my awful hackery for the default config directory and try writing to $PREFIX/var/run (if $PREFIX/var/run exists and is writable); else /tmp (if /tmp exists and is writable) 2008-03-10T16:44:23 *** sylvar has quit IRC 2008-03-10T16:45:49 btw - i have some vendor edi documents and crap now 2008-03-10T16:49:39 *** dbs has quit IRC 2008-03-10T16:50:04 There are 1 beam processes, 5-8 perl processes and 5 opensrf processes. In /openils/var/log/osrfsys.log the problem appears to be a DBI connect error. Postgres setup problem perhaps? 2008-03-10T16:58:41 sounds likely 2008-03-10T17:02:07 hurrells: can you login into psql with psql -d evergreen -U evergreen ? 2008-03-10T17:05:42 hurrells: 3v3gr33n vs 3vegr33n 2008-03-10T17:06:22 you have a typo 2008-03-10T17:12:26 Yeah. I just spotted it and came back here to tell you what I found. At least I got to "eat my own dogfood" ;-) 2008-03-10T17:12:54 :D 2008-03-10T17:30:47 OK. Finalized the OPAC and then attempted to login with admin/open-ils and got popup form "Error communicating with Authentication Server". Ideas? 2008-03-10T17:32:01 have you used srfsh before? 2008-03-10T17:32:14 No. 2008-03-10T17:33:04 Hold On. I'm wrong. Was logging into the OPAC with admin sorry. I just realized I need to make a real user. 2008-03-10T17:33:22 you should be able to login into the OPAC with admin 2008-03-10T17:34:14 Really. Ok. Looking at logs now... 2008-03-10T17:34:48 to use srfsh, you'll want to create a file called .srfsh.xml in the home directory for the user you'll be using (opensrf is good), and base the contents of that file off of 2008-03-10T17:34:52 http://open-ils.org/dokuwiki/doku.php?id=osrf-devel:srfsh_--_.srfsh.xml 2008-03-10T17:34:58 just modified for your installation 2008-03-10T17:35:25 then you simply run srfsh, and at the prompt try login admin open-ils staff 2008-03-10T17:36:07 and see if you get back some data that includes the word "authtoken" in its payload 2008-03-10T17:38:01 if you do, then we know we have to focus between the OPAC and OpenSRF.. but if you don't, then we look at the OpenSRF configs again 2008-03-10T17:40:31 Didn't get a prompt but got "Unable to bootstrap client for requests". 2008-03-10T17:44:38 hrmm, what does ps show for you as far as processes named like OpenSRF goes? feel free to use http://paste.lisp.org/new/openils-evergreen as a lightweight alternative to your wiki 2008-03-10T17:46:19 hurrells pasted "list of opensrf processes" at http://paste.lisp.org/display/57152 2008-03-10T17:47:20 hrmm, and what does .srfsh.xml look like now? 2008-03-10T17:48:24 hurrells annotated #57152 with "my ~/.srfsh.xml" at http://paste.lisp.org/display/57152#1 2008-03-10T17:49:30 you're using h33.hurrells.ca for everything now, right? Try replacing that 127.0.0.1 with the hostname 2008-03-10T17:52:32 Used h33.hurrells.ca same error. The srfsh.log file is basically full of "Error 401 means not authorized" and other. Where did this osrf username come from? 2008-03-10T17:53:05 oy, yeah replace that osrf username with one of the ones you registered 2008-03-10T17:53:20 and correct the pw 2008-03-10T17:53:22 Like evergreen or router? 2008-03-10T17:53:33 both will work, but evergreen is probably aesthetically better 2008-03-10T17:54:39 if you start doing fancy things with clustering and partitioning such distinctions would come into play then, I think 2008-03-10T17:55:01 hurrells annotated #57152 with "srfsh works then error." at http://paste.lisp.org/display/57152#2 2008-03-10T17:56:40 Also not sure if memcached has been running at all yet. It's started now. 2008-03-10T17:56:58 alright, at this point I would shutdown services, move the logs out of the way, and start things up with pristine logs.. that would make a difference, yeah 2008-03-10T17:57:37 shutdown apache, shutdown services, restart memcached, then start services back up, then start up apache 2008-03-10T17:57:46 that's the general order for starting and stopping things 2008-03-10T17:57:58 OK. Give me a minute. 2008-03-10T18:00:12 and, fwiw, restarting memcache is almost never needed 2008-03-10T18:02:47 OK. I have an authtoken in srfsh. 2008-03-10T18:02:57 alright, try the opac now 2008-03-10T18:03:13 one warning, it'll make you change your password for admin 2008-03-10T18:04:25 Hey! I'm in the OPAC as admin. Thanks alot! 2008-03-10T18:05:22 huzzah! 2008-03-10T18:05:25 OK. Next I'll get the client working in windows then linux. 2008-03-10T18:05:50 *** Karen_ has left #OpenILS-Evergreen 2008-03-10T18:06:13 Also, I think I read that there is some "test marc data" about to seed the OPAC. Is there? 2008-03-10T18:07:44 search http://open-ils.org/downloads.php for Holdings import demonstration 2008-03-10T18:13:40 *** asmodai has quit IRC 2008-03-10T18:13:40 *** gmcharlt has quit IRC 2008-03-10T18:13:40 *** gsf has quit IRC 2008-03-10T18:13:40 *** phasefx_ has quit IRC 2008-03-10T18:13:40 *** eeevil has quit IRC 2008-03-10T18:13:40 *** hurrells has quit IRC 2008-03-10T18:13:40 *** phasefx has quit IRC 2008-03-10T18:13:40 *** greg-g has quit IRC 2008-03-10T18:13:40 *** agJohn has quit IRC 2008-03-10T18:13:40 *** pmurray_away has quit IRC 2008-03-10T18:13:40 *** miker_ has quit IRC 2008-03-10T18:13:40 *** bradl has quit IRC 2008-03-10T18:13:40 *** jeff has quit IRC 2008-03-10T18:13:40 *** lisppaste6 has quit IRC 2008-03-10T18:13:40 *** kados has quit IRC 2008-03-10T18:13:40 *** berick has quit IRC 2008-03-10T18:13:40 *** denials_ has quit IRC 2008-03-10T18:13:40 *** rsinger has quit IRC 2008-03-10T18:15:21 *** tristanbob_ has joined #openils-evergreen 2008-03-10T18:15:21 *** hurrells has joined #openils-evergreen 2008-03-10T18:15:21 *** agJohn has joined #openils-evergreen 2008-03-10T18:15:21 *** jeff has joined #openils-evergreen 2008-03-10T18:15:21 *** asmodai has joined #openils-evergreen 2008-03-10T18:15:21 *** gmcharlt has joined #openils-evergreen 2008-03-10T18:15:21 *** greg-g has joined #openils-evergreen 2008-03-10T18:15:21 *** lisppaste6 has joined #openils-evergreen 2008-03-10T18:15:21 *** gsf has joined #openils-evergreen 2008-03-10T18:15:21 *** phasefx_ has joined #openils-evergreen 2008-03-10T18:15:21 *** eeevil has joined #openils-evergreen 2008-03-10T18:15:21 *** kados has joined #openils-evergreen 2008-03-10T18:15:21 *** bradl has joined #openils-evergreen 2008-03-10T18:15:21 *** berick has joined #openils-evergreen 2008-03-10T18:15:21 *** pmurray_away has joined #openils-evergreen 2008-03-10T18:15:21 *** miker_ has joined #openils-evergreen 2008-03-10T18:15:21 *** denials_ has joined #openils-evergreen 2008-03-10T18:15:21 *** phasefx has joined #openils-evergreen 2008-03-10T18:15:21 *** rsinger has joined #openils-evergreen 2008-03-10T18:16:55 Thanks to all that got me through this install. I just tried both the d/l staff client and my own build. Both say my client does not support this version of my server. Ideas? 2008-03-10T18:17:53 in /openils/var/web/xul/, find the most recent directory in there, then make a symlink to it like so ln -s real_directory rel_1_2_1_4 (or whatever Target Server ID the staff client says in it's About page) 2008-03-10T18:18:01 * phasefx has to run, good luck! 2008-03-10T19:21:08 Hello. I have the demo holding now in. Thanks. The client fix "ln -s 12345 rel_1_2_1_4" did not work. Ideas? 2008-03-10T19:53:34 *** djfiander has joined #OpenILS-Evergreen 2008-03-10T20:06:34 Hello. Trying to get the staff client to work on a separate windows PC. I navigate to the build dir I brought to windows. I right-click on the application.ini file and run with xulrunner. 2008-03-10T20:07:39 The application starts and I enter in my server's name h33.hurrells.ca. Status is OK but version is Not found. 2008-03-10T20:07:58 *** agJohn has quit IRC 2008-03-10T20:14:53 *** gmcharlt has quit IRC 2008-03-10T20:29:16 hurrells: what is the output of 2008-03-10T20:29:54 ls -l /openils/var/web/xul/ 2008-03-10T20:30:08 and something to check in the apache config ... (sec, looking) 2008-03-10T20:31:52 well, nevermind ... I thought you'd need Options +FollowSymLinks but I don't see that in the dev config 2008-03-10T20:32:13 hurrells annotated #57152 with "ls -l /openils/var/web/xul" at http://paste.lisp.org/display/57152#3 2008-03-10T20:33:54 hrm... yeah, the most recent staff client download should be happy with that AFAICT 2008-03-10T20:38:34 The most recent staff client download 1_2_1_4 is the same as my server version I installed. My build uses a timestamp 20080310... which is why those links are there. I agree it should just work. 2008-03-10T20:41:15 Speaking of apache I have noticed with some other sites running on the server that the pages need to forced to refresh. Could adding "a2enmod disk_cache" have changed apache? 2008-03-10T20:43:46 I'm not familar with mod_disk_cache ... but any caching change could affect that 2008-03-10T20:44:43 I'll look into that. Just wonderd why evergreen uses it. 2008-03-10T20:44:57 it ... doesn't 2008-03-10T20:45:04 well, wait 2008-03-10T20:45:14 it can for added content 2008-03-10T20:45:22 book jacket images, TOC, reviews, etc 2008-03-10T20:46:06 mod_disk_cache is asked for in Ubuntu.Step#22 2008-03-10T20:47:55 What does AFAICT mean? 2008-03-10T20:48:14 right ... that's for added content ... AFAICT == as far as I can tell :) 2008-03-10T20:50:26 Back to the client issue. Any logs to review? Does the client talk to ejabberd direct and if so could it be another config issue? 2008-03-10T20:51:00 the client talks to a JSON gateway implemented as an apache module 2008-03-10T20:51:40 the gateway also writes its own log file 2008-03-10T20:52:28 but the problem you're seeing is that the staff client can't get to http://host/xul/rel_1_2_1_4/server/ for some reason 2008-03-10T20:55:22 does http://h33.hurrells.ca/xul/rel_1_2_1_4/server/main/data.xul return anything for you? (in firefox, it should say Loading Data... and then give you a couple alert messages about stringbundles 2008-03-10T20:57:16 It does and should do the same for you as you should be able to surf the OPAC at http://evergreen.hurrells.ca/ and inwards... 2008-03-10T20:58:14 Arrg: http://h33.hurrells.ca does not goto this evergreen system but apache default page. 2008-03-10T21:02:18 OK. Using evergreen.hurrells.ca works in the client. New error is a modal form which complains about the self-signed cert and then stops. 2008-03-10T21:02:40 I think the problem is the cert is for h33.hurrells.ca or something not evergreen.hurrells.ca 2008-03-10T21:04:11 that's a possibility 2008-03-10T21:05:09 phasefx will know better ... I'm the database architect and system designer, he's the staff client developer and will know for sure 2008-03-10T21:05:16 Trunk server vs 1.2 client? 2008-03-10T21:05:33 Might need a trunk client 2008-03-10T21:05:39 phase_bb: looks to be 1.2 server 2008-03-10T21:05:45 hurrells ? 2008-03-10T21:06:04 K, you mentioned string bundles and i got worried 2008-03-10T21:07:29 sorry ... I'll get the error message 2008-03-10T21:07:46 I'm still here. I'm rebuilding my cert to be for server evergreen.hurrells.ca. What? 2008-03-10T21:08:31 phase_bb: I was incorrect, that was the error I got testing my test on dev 2008-03-10T21:08:50 hurrells: you are using the 1.2.1.4 server tarball, yes? 2008-03-10T21:09:14 Yes I am. Straight from the download page. 2008-03-10T21:09:23 goood 2008-03-10T21:09:53 phase_bb: it's just JSAN errors after a priv prompt (chrome, dontchaknow) 2008-03-10T21:10:14 A self-signed ssl cert should work with the client, just have to answer positive for the initial warning popups 2008-03-10T21:10:14 A self-signed ssl cert should work with the client, just have to answer positive for the initial warning popups 2008-03-10T21:10:20 hurrells: so, it won't let you accept the "bad" cert? 2008-03-10T21:12:33 phase_bb: one thing is that the cert doesn't match the hostname 2008-03-10T21:13:14 hurrells annotated #57152 with "windows client login message" at http://paste.lisp.org/display/57152#4 2008-03-10T21:13:36 Sorry. It says "self-signed cert" and I press OK button. Next modal form is in the paste above. 2008-03-10T21:13:57 hrm... that looks like memcache 2008-03-10T21:14:11 phase_bb: authenticate.complete is timing out 2008-03-10T21:14:18 berick: I need a method to update a lineitem_detail. 2008-03-10T21:14:39 Ive tunneled ssl through ssh, no cert issues with mismatch hostnames 2008-03-10T21:14:41 I figure, fetch detail, modify, put detail? 2008-03-10T21:15:07 * djfiander assumes that berick is just always here. 2008-03-10T21:17:40 OK, I've got everything I need to change the fund on a lineitem_detail record, except for the middle layer method :) 2008-03-10T21:18:22 FYI. memcached has been/is running on my server. 2008-03-10T21:22:14 djfiander: will do 2008-03-10T21:22:39 berick: you also have mail about SIP. just reply via email, I'm heading offline for a bit 2008-03-10T21:22:48 djfiander: k, thanks 2008-03-10T21:23:18 berick: SIP is done, but not checked in, awaiting your reply :) 2008-03-10T21:23:20 *** djfiander has quit IRC 2008-03-10T21:26:33 So could it be a memcache problem? 2008-03-10T21:30:46 *** dbs has joined #OpenILS-Evergreen 2008-03-10T21:43:57 hurrells: could be. Are you still able to login via OPAC and via srfsh? 2008-03-10T22:10:42 I can login to the OPAC as admin ok. I can login as admin using srfsh too. 2008-03-10T22:40:54 hurrells: try modifying your staff client shortcut in windows like so: http://open-ils.org/dokuwiki/doku.php?id=scratchpad:debug_console 2008-03-10T22:41:15 and then share the content with us after a login attempt 2008-03-10T22:44:59 berick: I've modded the GSoC page a tad - mostly to say "if you have the skills listed in the "requires" section, you'll be able to accomplish more - but mentors will help you develop those skills if you don't have them" 2008-03-10T22:45:22 ... cause I doubt there are many students who understand how the Evergreen components interact at the moment 2008-03-10T22:45:50 phasefx: i'm in an all-day meeting on Thursday, so no damned training session for me again 2008-03-10T22:46:33 dbs: k, man. We'll just talk about you behind your back 2008-03-10T23:02:52 *** asmodai has quit IRC 2008-03-10T23:02:52 *** dbs has quit IRC 2008-03-10T23:02:52 *** phasefx_ has quit IRC 2008-03-10T23:02:52 *** gsf has quit IRC 2008-03-10T23:02:52 *** eeevil has quit IRC 2008-03-10T23:02:52 *** tristanbob_ has quit IRC 2008-03-10T23:02:52 *** hurrells has quit IRC 2008-03-10T23:02:52 *** phasefx has quit IRC 2008-03-10T23:02:52 *** greg-g has quit IRC 2008-03-10T23:02:52 *** pmurray_away has quit IRC 2008-03-10T23:02:52 *** miker_ has quit IRC 2008-03-10T23:02:52 *** bradl has quit IRC 2008-03-10T23:02:52 *** denials_ has quit IRC 2008-03-10T23:02:52 *** jeff has quit IRC 2008-03-10T23:02:52 *** berick has quit IRC 2008-03-10T23:02:52 *** kados has quit IRC 2008-03-10T23:02:52 *** lisppaste6 has quit IRC 2008-03-10T23:02:52 *** rsinger has quit IRC 2008-03-10T23:03:30 *** phase_bb has quit IRC 2008-03-10T23:03:50 *** dbs has joined #openils-evergreen 2008-03-10T23:03:50 *** tristanbob_ has joined #openils-evergreen 2008-03-10T23:03:50 *** hurrells has joined #openils-evergreen 2008-03-10T23:03:50 *** jeff has joined #openils-evergreen 2008-03-10T23:03:50 *** asmodai has joined #openils-evergreen 2008-03-10T23:03:50 *** greg-g has joined #openils-evergreen 2008-03-10T23:03:50 *** lisppaste6 has joined #openils-evergreen 2008-03-10T23:03:50 *** rsinger has joined #openils-evergreen 2008-03-10T23:03:50 *** phasefx has joined #openils-evergreen 2008-03-10T23:03:50 *** denials_ has joined #openils-evergreen 2008-03-10T23:03:50 *** miker_ has joined #openils-evergreen 2008-03-10T23:03:50 *** pmurray_away has joined #openils-evergreen 2008-03-10T23:03:50 *** berick has joined #openils-evergreen 2008-03-10T23:03:50 *** bradl has joined #openils-evergreen 2008-03-10T23:03:50 *** kados has joined #openils-evergreen 2008-03-10T23:03:50 *** eeevil has joined #openils-evergreen 2008-03-10T23:03:50 *** phasefx_ has joined #openils-evergreen 2008-03-10T23:03:50 *** gsf has joined #openils-evergreen 2008-03-10T23:56:08 *** dbs has quit IRC