Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Friday, November 26th, 2010

< Thursday, November 25th, 2010Raw Log FileSaturday, November 27th, 2010 >
#TimeNickMessage
#03:57:19JMCraig has joined #evergreen
#04:00:50agJohn has quit IRC
#04:01:00JMCraig is now known as agJohn
#04:09:37senator has quit IRC
#04:09:43senator has joined #evergreen
#05:54:35sabata has joined #evergreen
#05:54:49sabatatesting
#05:55:06sabatahello
#06:00:42sabatahello can someone help me
#06:08:01sabata@sabata hello
#06:08:01pinesol`sabata: Error: "sabata" is not a valid command.
#07:08:07sabatahello
#07:08:23sabataI am having problems with starting opensrf
#07:16:54alxp has joined #evergreen
#07:56:45sabata has quit IRC
#08:11:56sabata has joined #evergreen
#08:12:29sabatahello anybody here
#08:12:54sabatai need assitance with my opensrf server
#08:15:36granitize has joined #evergreen
#08:17:51sabatahi granitize can you help me
#08:18:32granitizesabata: heh I can try.
#08:18:47sabatathank you
#08:19:14sabatai am having problems with opensrf
#08:19:20sabatai am extremely newbie
#08:19:31sabataI did this http://www.open-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors
#08:19:54sabatauntil i got to step 8 where it talks about autogen
#08:20:19sabataand the response I got what no response ... going to sleep
#08:20:58sabatai had compiled a email with attachements and all but i did know how to use the mail list
#08:21:18sabatawith all the messages, but since then i think i broke it even worse
#08:22:04granitizeare you su - opensrf @ step 8
#08:22:47sabatano i think i was opensrf
#08:23:04sabataor at least thats what i read
#08:23:07granitizethat's good.
#08:23:23granitizeI've not seen going to sleep.
#08:23:37tspindler has joined #evergreen
#08:23:55granitizedid you get the srfsh# prompt?
#08:23:57sabatathis is also the first time i am using IRC
#08:24:14granitizeyou're doing fine! :-)
#08:24:42sabatathe first time i did the install i did the request math add 2 2 and it respond 4
#08:24:47granitizesabata: sorry - That's step 9
#08:25:05sabataafter installing evergreen it never worked again
#08:25:35sabataoh
#08:25:39sabatano i never got the step 9
#08:25:49granitizethere's also a perl script Open-ILS/src/support-scripts/settings-tester.pl
#08:25:55sabatait showed ... Updating fieldmapper then said going to sleep
#08:26:21sabatais that the syntax to run
#08:27:02granitizeIt's the path in the uncompressed download.
#08:29:24sabatafound it
#08:29:37sabatashould i run it with the full path name
#08:29:59sabataas which user root or opensrf
#08:31:03sabataok it ran
#08:31:12sabatawhat do i do with the output
#08:31:24granitizeRead it and see if there are abny errors.
#08:31:31granitizeany errors
#08:32:51sabatajabber x4 connected, database x5 succesfully, database drivers x6 OK, and another OK OK
#08:32:59sabatano errors
#08:34:44granitizeany errors in the logs?
#08:34:53granitizeI'm having troubles too. :-)
#08:35:14granitizeIcan get to a record but can't search when using a non-local database.
#08:36:08sabatashoo
#08:36:23sabatathat sound far ahead in the future for me
#08:36:35granitizeheh...
#08:37:01granitizeWhen you get it working it feels great!
#08:37:40sabatai backedup my logs be4 chatting, now i only got 2 logs public.localhost and its the friend private and only warnings now errors
#08:40:03sabataum trying the troubleshoot thing again, becos for me its almost home time now ZA
#08:44:17sabataagain the same error
#08:44:20sabataopensrf@ubuntu:/openils/var/log$ /openils/bin/autogen.sh -c /openils/conf/opensrf_core.xml -u Updating Evergreen organization tree and IDL using '/openils/conf/opensrf_core.xml' Updating fieldmapper No Response from settings server...going to sleep
#08:44:40sabatathat is onscreen
#08:46:27granitizeat 8?
#08:47:25sabatayes @ 8
#08:48:01sabatai mean its just 1 more step and I am home free
#08:48:16sabatawhy wont it just let be pass by
#08:48:18sabatalol
#08:49:32granitizeis opensrf running?
#08:51:48tspindler has quit IRC
#08:51:48sabata has quit IRC
#08:51:49dbs has quit IRC
#08:51:50granitize has quit IRC
#08:51:52tildeequals has quit IRC
#08:51:55dbwells has quit IRC
#08:51:55jeff has quit IRC
#08:51:55denials_ has quit IRC
#08:51:57shadowspar has quit IRC
#08:51:57phasefx has quit IRC
#08:51:57bradl has quit IRC
#08:51:57senator has quit IRC
#08:51:58atz has quit IRC
#08:51:59mjgiarlo has quit IRC
#08:52:00leed has quit IRC
#08:52:00jeffdavis has quit IRC
#08:52:01moodaepo has quit IRC
#08:52:01cbandito has quit IRC
#08:52:03lisppaste has quit IRC
#08:52:03eby has quit IRC
#08:52:03brendan2 has quit IRC
#08:52:03sylvar has quit IRC
#08:52:05tsbere has quit IRC
#08:52:06artunit has quit IRC
#08:52:07gmcharlt has quit IRC
#08:52:07phasefx_ has quit IRC
#08:52:07berick has quit IRC
#08:52:08kbeswick has quit IRC
#08:52:09wjr has quit IRC
#08:52:10mtate has quit IRC
#08:52:10Dmagick has quit IRC
#08:52:11eeevil has quit IRC
#08:52:13csharp has quit IRC
#08:53:06tspindler has joined #evergreen
#08:53:06granitize has joined #evergreen
#08:53:06sabata has joined #evergreen
#08:53:06senator has joined #evergreen
#08:53:06dbs has joined #evergreen
#08:53:06kbeswick has joined #evergreen
#08:53:06lisppaste has joined #evergreen
#08:53:06moodaepo has joined #evergreen
#08:53:06atz has joined #evergreen
#08:53:06mjgiarlo has joined #evergreen
#08:53:06shadowspar has joined #evergreen
#08:53:06tildeequals has joined #evergreen
#08:53:06leed has joined #evergreen
#08:53:06artunit has joined #evergreen
#08:53:06eby has joined #evergreen
#08:53:06mtate has joined #evergreen
#08:53:06jeffdavis has joined #evergreen
#08:53:06Dmagick has joined #evergreen
#08:53:06phasefx has joined #evergreen
#08:53:06cbandito has joined #evergreen
#08:53:06dbwells has joined #evergreen
#08:53:06brendan2 has joined #evergreen
#08:53:06jeff has joined #evergreen
#08:53:06sylvar has joined #evergreen
#08:53:06tsbere has joined #evergreen
#08:53:06denials_ has joined #evergreen
#08:53:06wjr has joined #evergreen
#08:53:06gmcharlt has joined #evergreen
#08:53:06bradl has joined #evergreen
#08:53:06eeevil has joined #evergreen
#08:53:06berick has joined #evergreen
#08:53:06phasefx_ has joined #evergreen
#08:53:06csharp has joined #evergreen
#08:53:28granitizeas opensrf /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -l -a stop_c
#08:53:45granitizethen /openils/bin/osrf_ctl.sh -c /openils/conf/opensrf_core.xml -l -a start_c
#08:53:58granitizeyou get this right? Starting OpenSRF C (host=localhost)
#08:55:13sabatayes it ran
#08:55:34granitizeany errors ? grep ERR /openils/var/log/*.log
#08:56:04sabataopensrf@ubuntu:/openils/var/log$ grep ERR /openils/var/log/*.log /openils/var/log/osrfsys.log:opensrf 2010-11-26 15:54:07 [ERR :2257:osrf_system.c:401:] Child process 2258 (app opensrf.math) killed by signal 15
#08:58:54dbssabata: the "killed by signal 15" is probably when you issed stop_c
#08:59:14sabataok
#08:59:51dbswhat do you see when you type:
#08:59:53dbsperl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
#09:00:11granitizebig guns in now! :)
#09:00:26sabatareally i thought that was you
#09:00:32granitizesnort
#09:00:34sabatai see the name now hello dbs
#09:00:36sabataperl -MNet::Domain -e 'print Net::Domain::hostfqdn() . "\n";'
#09:00:42sabataubuntu.internal.dwaf.gov.za
#09:00:45sabatasorry
#09:01:27dbsokay. can you do "osrf_ctl.sh -l -a stop_all"
#09:01:42dbsthen "ps wax | grep -i open" to see if any opensrf processes are still running?
#09:02:12sabataopensrf@ubuntu:/openils/var/log$ ps wax | grep -i open 1337 ? Ssl 0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/opensrf/.gvfs 2451 pts/0 S+ 0:00 grep --color=auto -i open
#09:02:23dbslooks good
#09:02:35sabatashoo u r a big gun
#09:02:38sabatalol
#09:02:48dbsnow clear the logs: "rm -f /openils/var/log/*log"
#09:03:54dbsand start up again: "osrf_ctl.sh -l -a start_router; sleep 5; osrf_ctl.sh -l -a start_perl; sleep 10; osrf_ctl.sh -l -a start_c"
#09:03:54sabatadone
#09:04:09dbsThe "sleep" commands shouldn't be necessary, but oh well, can't hurt
#09:04:45dbsonce you finish that, "ps wax | grep -i open | wc -l"
#09:04:55dbs(to count the number of OpenSRF processes)
#09:05:30sabata101
#09:05:44dbswow! sounds like you have a lot running :)
#09:06:10sabatais that good or bad
#09:06:20dbsI have 102 right now, on a development server, so that's good
#09:06:38sabataso i am one short .. jokes
#09:06:40dbslet's try logging in:
#09:06:49sabataok
#09:06:59dbssrfsh
#09:07:11sabatayes
#09:07:12dbsthen inside srfsh, "login admin open-ils"
#09:07:13sabatai am in
#09:07:55sabatako what do you need on this screen i should give u i see succesful x2
#09:08:13sabataName: osrfMethodException Status: No authentication seed found. open-ils.auth.authenticate.init must be called first Status: 404
#09:08:15dbscan you paste the results to http://paste.lisp.org/new/evergreen ?
#09:08:24glen_ has joined #evergreen
#09:08:30dbsah, sounds like it could be memcached
#09:08:48dbsps wax | grep memcached
#09:08:53sabataok should i still paste
#09:09:05dbssure, can't hurt
#09:09:13sabataopensrf@ubuntu:/openils/var/log$ ps wax | grep memcached 1134 ? Sl 0:00 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1
#09:10:06lisppasteSabata pasted "dbs request a paste" at http://paste.lisp.org/display/117046
#09:10:28sabataoh wow
#09:10:29dbssabata: then annotate that paste with the results of "grep -C 10 memcache /openils/conf/opensrf.xml"
#09:10:35sabatait gt here before me
#09:10:59dbsyeah, lisppaste is neat :)
#09:11:25lisppasteSabata annotated #117046 "annotated paste" at http://paste.lisp.org/display/117046#1
#09:13:26dbshuh. looks okay. You could try stopping all of the opensrf services, changing that "localhost:11211" to "127.0.0.1:11211" in opensrf.xml, and then starting the opensrf services again - i have (rarely) seen that be an issue
#09:14:12dbsBefore doing that though, perhaps stop the opensrf services, then restart memcached ("/etc/init.d/memcached restart") and start up the opensrf services again
#09:14:46dbs(and I'm not a big gun, I've just been through umpteen installations before and have bumped into most of the bumps!)
#09:16:44sabatayoh
#09:16:49sabataok um done
#09:17:06sabataok u not a big gun
#09:17:10sabatalol
#09:18:04sabataand ps wax | grep -i open | wc -l says 101
#09:19:04lisppasteSabata annotated #117046 "another annotate" at http://paste.lisp.org/display/117046#2
#09:19:31dbslooks good!
#09:19:34_dkyle_ has joined #evergreen
#09:19:36sabatayay
#09:19:39dbsnow try "autogen.sh -u"
#09:20:14sabataopensrf@ubuntu:/openils/conf$ autogen.sh -u Updating Evergreen organization tree and IDL using '/openils/conf/opensrf_core.xml' Updating fieldmapper No Response from settings server...going to sleep
#09:21:16dbsbooooo
#09:21:32sabatayeah big boooooooo
#09:21:58dbscan you try the srfsh login again?
#09:22:21sabatano prompt
#09:22:45sabataits hanging/sleeping after that
#09:23:00sabataok did ctrl+c
#09:23:23dbshrm
#09:23:24sabataok i have logged in
#09:23:25dbsokay.
#09:23:31dbsone more thing to try.
#09:23:36sabatayeah
#09:23:37dbsshut down the opensrf services
#09:24:02sabatalike this osrf_ctl.sh -l -a stop_all
#09:24:04dbswe've seen a few strange network routing cases where requests seem to take forever
#09:24:06dbs(yep)
#09:24:30sabatadid
#09:26:35dbsthen open /usr/local/share/perl5/OpenSRF/AppSession.pm in an editor
#09:27:39sabatait says new file in the bottom of nano
#09:27:53dbshrm, that's not good
#09:27:58sabataGNU nano 2.2.4 File: /usr/local/share/perl5/OpenSRF/AppSession.pm
#09:28:06dbsmaybe your distro installs opensrf in a different location than mine
#09:28:35dbstype "find /usr/local -name "AppSession.pm"
#09:29:29sabata"/usr/local/share/perl/5.10.1/OpenSRF/AppSession.pm"
#09:29:53sabataits open
#09:30:29dbsaround line 836 there should be a "recv_timeout => 30"; change the "30" to a "300"
#09:30:50dbs(I think that's the right file and line - there are an awful lot of "timeout" values hardcoded in OpenSRF)
#09:31:16sabata recv_timeout => 30,
#09:31:38dbshttp://www.open-ils.org/irc_logs/evergreen/2010-09/%23evergreen.29-Wed-2010.log suggests we should actually be editing /usr/local/share/perl/5.10.1/OpenSRF/Utils/SettingsClient.pm
#09:32:23dbsso let's close this one up, and edit /usr/local/share/perl/5.10.1/OpenSRF/Utils/SettingsClient.pm instead
#09:32:55dbslines 84 and 90 have "timeout => 10" values, up those from 10 to 120
#09:33:14dbsthen start up opensrf again and try "autogen.sh -u" one more time
#09:35:30sabataheyyy its moved
#09:35:46sabataoh damn
#09:36:08sabataexcitement killed it i did ctrl-c to copy
#09:36:14dbshah
#09:36:16sabataredid it again
#09:36:49lisppasteSabata annotated #117046 "rerun" at http://paste.lisp.org/display/117046#3
#09:37:50dbsI'm wondering whether we should just go ahead and increase that timeout by default in OpenSRF, since we've seen the same problem a few times. There's clearly some weird underlying network problem, but we haven't been able to figure out what it is yet.
#09:38:05dbsHmm. Some progress, at least
#09:38:22dbsmight be time to check the logs now to see if there's more information
#09:39:07sabatadamn lost command
#09:40:06lisppasteSabata annotated #117046 "error paste" at http://paste.lisp.org/display/117046#4
#09:42:28dbsyeah, those don't appear to be recent errors
#09:43:48sabatai am seeing the key errors only now
#09:44:05sabatai only had 2 errors b4 joining us
#09:44:23sabatahey where is granitize my buddy
#09:44:32sabatalol
#09:46:52dbsdo you have a /openils/var/web/opac/common/js/en-US directory?
#09:47:09sabatahey i just looking at cp: cannot stat `/openils/var/web/opac/common/js//en-US/OrgTree.js': No such file or directory
#09:47:12sabatalol
#09:47:24sabatano folder like that
#09:47:33sabataonly en-GB
#09:47:52sabatai think its the time i was installing language options
#09:48:01sabatai opted for GB
#09:48:19sabatahow or where can i change that reference
#09:48:29dbsahhhhhh
#09:48:46dbsthere's a hard-coded reference to en-US in autogen.sh
#09:49:03dbsthere's an assumption that en-US is always installed
#09:49:18sabatai am glad i could help
#09:49:33granitizesabata: Watching it all
#09:49:33sabatawhere is autogen by the way
#09:49:44dbs /openils/bin/autogen.sh
#09:49:45sabatawith pop corn and all
#09:50:03dbsI don't even know how you would get rid of en-US!
#09:50:14granitizeNice digging dbs and sabata… language! who knew.
#09:51:23sabatathank you
#09:51:48sabatai notice they have 2 forward slashes `/openils/var/web/opac/common/js//en-US/OrgTree.js'
#09:51:50dbsyou would have had to remove "en-US" from the config.i18n_locale in the database
#09:52:02dbsyeah, the double forward slashes don't make a difference
#09:52:20sabatalol i actaully deleted everything else when i installed GB
#09:52:21dbwells has quit IRC
#09:52:38dbshah
#09:53:19dbsINSERT INTO config.i18n_locale (code, marc_code, name, description) VALUES ('en-US', 'eng', 'English (US)', 'American English'); -- ought to do the trick
#09:53:31dbs(from psql, naturally)
#09:53:40sabataso after $JSDIR should i delete the extra slash or not "cp "$JSDIR/en-GB/OrgTree.js" "$FMDOJODIR/""
#09:53:44dbsnow I have to go back to my real work
#09:54:34dbsI honestly don't know if anything will work without en-US in place - we're beyond normal support scenarios and into experimental mode now :)
#09:55:10sabatapgAdmin is lifesaver
#09:55:14sabatadone
#09:56:03sabatai am nearly out of here too
#09:56:04dbstry "autogen.sh -u" again
#09:56:14sabataknocking off shortly
#09:56:37glen_ has quit IRC
#09:56:51sabatadamn restarted opensrf
#09:56:59sabatanow running authgen
#09:57:13sabatabusy...
#09:58:33lisppasteSabata annotated #117046 "retry" at http://paste.lisp.org/display/117046#5
#10:07:15dbwells has joined #evergreen
#10:11:50dbs has quit IRC
#10:15:14granitizeAnyone have any ideas why I can get to a record with the ID# but searches fail whilst using a non-local db?
#10:15:42granitizejeffdavis: I need to use the -l because all that is non-local is postgres.
#10:18:02atz_ has joined #evergreen
#10:20:56atz has quit IRC
#10:21:28sabatahey granitize um outta here
#10:22:00sabatathank you kindly for everyones contribution
#10:22:47sabata has quit IRC
#10:28:55agJohngranitize: My favorite way to get that behavior is to get distracted right when I should be running the meta-data portion of the script.
#10:29:38agJohn(Or to be more specific, I process the records into SQL, add 'em, and forget to add the meta-data.)
#11:19:23granitizeagjohn: huh?
#11:20:10granitizeI migrated a live db to a non=local postgres implementation and configured the evergreen server to use that instance.
#11:20:34granitizeCan you be more specific?
#11:20:55agJohnAh, sorry. So everything was working when it was local?
#11:21:19granitizethe "local" db was a different db. :-)
#11:21:30granitizebut yes,
#11:21:45agJohnOK. I'm not sure I understand what you mean by "migrated"....
#11:22:05granitizethe new db is a copy of my live db that does work
#11:22:14agJohnGotcha.
#11:22:26agJohnHmmm.
#11:22:52granitizeb/c I am testing non-local db as my live is running out of dic=sk space.. poor planning!
#11:23:07granitizeyes… hmmm
#11:23:26granitizeWhere are the memory requirments?
#11:23:43granitizeon the db server or on the apache/opsnils box.
#11:23:55agJohnRight. Well, I always run Evg on a separate box/VM from Postgres so I'm guessing we can figure it out.
#11:24:43agJohnMemory requirements are highly dependent on the load on the Evg box; on the Postgres box, on the size of the DB.
#11:24:58granitizenod
#11:25:20agJohnBut let's back up; you say you can do an id# search. What's the program function you're using for this?
#11:25:36granitize48GB on the evergreen box and 3GB on the postgres server… 800,000 records and additional indexes.
#11:26:11granitizecatalog.
#11:26:21agJohnYour Pg server's memory-starved, I would guess. It may be that it's trying to do the search and just not finishing.
#11:27:05agJohnHowever, let's see what we can figure out. What program function works and what does not?
#11:28:23granitizehttp://137.149.200.12/opac/en-CA/skin/default/xml/rdetail.xml?r=118770
#11:28:50agJohnOK. And a keyword search (of any kind) does not work, right?
#11:28:57granitizecorrect.
#11:29:07granitizeShelf browser works
#11:29:08agJohnHow'd you transfer the data from the live environment to the Pg test setup?
#11:29:26granitizeUsing a backup and the WAL files.
#11:29:42granitizeI didn't do it actually - Had a db admin do it.
#11:29:58granitizepgadmin connects fine.
#11:30:16granitizebook covers don't work.
#11:30:55granitizeThis URL has a book cover live.
#11:30:55granitizehttp://137.149.200.12/opac/en-CA/skin/default/xml/rdetail.xml?r=792270
#11:31:24agJohn(One problem at a time, eh?) I've never tried that so I don't know if that'll work. What I do know works is to create a DB on the target server (using template0--very important), make a backup of the DB using pg_dump (I prefer the "custom" format) and restore using pg_restore.
#11:32:06agJohnBut, if you backed up all the DB files, I would guess that would work. My guess is that the test environment is missing the tsearch stuff.
#11:32:47granitizeSorry… you asked what was working and not… :-)
#11:32:54granitizeWhat is tsearch?
#11:33:29gmcharlttsearch is the full text search engine used by Postgres
#11:33:52granitizeI see it… I'll check.
#11:34:12granitizeHow can I check?
#11:34:33agJohnRight; sorry for the confusion. I meant w/ regard to the issues you'd raised (in terms of what functions in the software).
#11:34:35agJohnRE tsearch and related stuff, here's some specific steps in the install instructions that you need to ensure the DB admin person did:
#11:34:36agJohnhttp://open-ils.org/dokuwiki/doku.php?id=server:1.6.1:install (Step III)
#11:34:38agJohnmore coming....
#11:35:29agJohnSorry, that's 2. III (odd outlining rules in play here).
#11:36:15granitizesorry… crisis… I'll be back.
#11:36:21agJohnAlso, these steps from 3.I. (use your DB name in place of evergreen):
#11:36:24agJohnpsql -f /usr/share/postgresql/<pgsql_version>/contrib/tablefunc.sql evergreen
#11:36:26agJohnpsql -f /usr/share/postgresql/<pgsql_version>/contrib/tsearch2.sql evergreen
#11:36:28agJohnpsql -f /usr/share/postgresql/<pgsql_version>/contrib/pgxml.sql evergreen
#11:42:01agJohngranitize: One simple check you can do is to run this query (via psql or pgAdmin):
#11:42:02agJohn select tsearch2()
#11:42:04agJohnYou'll get an error message, but the content of the error message is critical, if it includes this:
#11:42:05agJohn function tsearch2() does not exist
#11:42:07agJohnthen you know your Postgres install is missing critical elements--this seems a bit unlikely given your migration approach.
#11:43:17agJohnYou can also do a test keyword query. Using the pattern in the paste below:
#11:44:45lisppasteagJohn pasted "Test of keyword search (for dogs)" at http://paste.lisp.org/display/117056
#11:45:28agJohnIf you get errors from that SQL expression of a keyword search for "dogs", then you've got some kind of setup issue.
#11:47:59agJohnNow, the other thing that's quite possible is that it's trying to do the search, but it's taking so long that the opac-response-assembly code simply times out and gives up (you'll just see the spinner running on the web browser).
#11:48:01agJohnSo, if the above does no return fairly quickly, you can then go to an ssh or telnet session on the Pg server and run the "top" command. You should see (high on the list) a postgres process (may show as postmaster). It'll be using a significant fraction of your cpu%.
#11:55:08agJohnIf that's the case, then you have a config/total RAM problem. If the query does eventually come back, you can try heating up the cache on your Pg box and see if it'll get to a decent performance level. Use the scripts in the following paste. Watch the progress of the cache-heating script via top--within a matter of a minute or two, it should get to the point that the postgres process is...
#11:55:09agJohn...using very nearly 100% of the CPU. If it does not, then you've got too little RAM--or, at minimum, you need to adjust the configuration of Postgres to use more shared buffers (if you contact me in a private session, I could help you with that--or send me an email via alphagconsulting.com).
#11:55:44lisppasteagJohn pasted "Keyword Cache Heater script" at http://paste.lisp.org/display/117058
#12:06:48granitizeagjohn: back and reading your suggestions… Thanks
#12:11:19granitizeselect tsearch2() returns ERROR: could not find tsearch config by locale
#12:11:20granitizeSo...
#12:11:31granitizeThe steps from 3.1 above will enable this?
#12:21:05granitizerelation "pg_ts_dict" already exists
#12:23:56granitizepgxml.sql not on server.
#12:31:37agJohnSounds like you have a somewhat mixed bag. When you get to the point that you're getting an error more like:
#12:31:38agJohn tsvector_update_trigger: not fired by trigger manager;
#12:31:40agJohnGo ahead and try to keyword search SQL (pasted abvoe as .../117056)
#12:32:57agJohngranitize: (Above comment was kind of jumping the gun.) To get the pgxml.sql scripts onto the server, you'll need to add the contrib package for Postgres
#12:33:59agJohnThat's going to be in the script that installs Postgres. If you need help figuring it out, let us know what OS you're on.
#12:41:32dbs has joined #evergreen
#12:41:32dbs has joined #evergreen
#12:42:36granitizerunning on Debian.Debian
#12:43:48granitizeI'll look at the script that installs postgres.
#12:48:36granitizeI think it was just a base install - So I have some work to do.
#12:48:37granitizeThanks
#12:51:02granitizeSorry… postgres server is running SUSE Linux Enterprise Server 10 (x86_64)
#12:53:18granitizeCan SUSE support what's needed?
#13:01:14dbsgranitize: it should, postgresql for evergreen doesn't need much
#13:01:30agJohngranitize: Not familiar with how to set things up on SUSE, but I don't see why it couldn't work--in principle. Does SUSE use RPM? If I'm not misremembering that, then look at the extra packages that get installed for RedHat or CentOS in the install scripts.
#13:01:43dbsyou probably just need the additional contrib packages and the MARC::Record, MARC::File::XML, and JSON perl packages I pointed out last night
#13:02:12granitizeWhat about the missing pgxml.sq
#13:02:13agJohnOr, you might just go to the Postgres web page and look for what it says about SUSE and the contrib package.
#13:02:43agJohnpgxml.sql should be part of the contrib package(s).
#13:04:02agJohn(What dbs said....)
#13:05:01granitizeI loaded those. and restarted I thought.
#13:05:06dbsSLES and OS X, nothing like being off the beaten path :)
#13:05:13granitizehahaha
#13:05:22granitizeya… want to join the dark side?
#13:05:29granitizewe have beer and cookies.
#13:07:42granitizeI don't don't know what you mean by contrib packages… sorry
#13:10:16agJohnThe Postgres install consists of the basic package & some "contributed" to the project, but not part of the base system (e.g. postgresql.8.4.<blah, blah>.rpm and one or more packages with name(s) like postrgresql.contrib.8.4...rpm)--you're missing the pgxml.sql script because you do not have the pgxml contrib package installed). You'll need to be able to run that script. So, you need the...
#13:10:18agJohn...contrib package that includes it.
#13:12:06agJohnI don't recall if this is part of a particular package--and I don't remember for sure if SUSE uses RPM-type packages, but in either case, your DB admin person didn't install everything you need. If you want to look through the install scripts for postgres, you may be able to figure out what packages are missing (assuming some substantial familiarity with the package-manager of SUSE).
#13:12:30agJohnWell, that was dumb--yes, it's part of a particular package--I don't remember WHICH package.
#13:14:30agJohnWhat dbs said about it likely being workable on SUSE is right--the Posgres install for Evergreen is not nearly so complex as the prerequisites for the Evergreen side of things; I've run against Postgres on RedHat and CentOS with a Debian or Ubuntu Evergreen server. So, I'm moderately confident you can make it work, but you'll need to know how to load packages on SUSE.
#13:16:07agJohn(And I wish I could tell you how to do that, but I don't know myself.... But, you might find SUSE packages and info about loading them on the Postgres site (or one it links to).)
#13:16:12dbsSUSE is RPM, btw. Used to test and develop against it ages ago
#13:18:00agJohnSo, okay. Look through the Pg install scripts that are referenced in the Evg install instructions and you (your DBA) should be able to figure out what packages are needed; verify they're all there, add missing ones, and you should be able to run the missing script.
#13:18:26agJohn(Once you have all the contrib packages that are needed.)
#13:20:11granitizeRight on.
#13:20:29dbsgranitize: Perhaps: find /usr -name 'pgxml.sql'
#13:21:19dbsit's in /usr/share/pgsql/contrib on fedora, not that that helps
#13:24:20granitizenot on the SUSE box.
#13:24:35granitize:(
#13:26:47dbs has quit IRC
#13:29:13agJohnAnother option which may be simpler is you could try just running the pgxml.sql file from your working setup--the problem is, if there's code that goes with it, you'll need the rest of the package for it to work. But you could try running it and seeing if you get errors.
#13:29:55agJohnThat is, just copy the file over from your working setup to the test Pg server and try running it. If you get errors, then you'll have to run down the package that includes it and install the rpm file for it.
#13:30:17granitizeHunting for the packages in YAST now.
#13:31:11agJohn(Our man dbs would probably know if there's more than just the SQL script involved, but he's just "left" it would seem.)
#13:39:20granitizeAn additional complication it seems is that the OS is actually SLEZ with an expired activation key… more on the soap opera later! Thanks for your input… all good.
#14:29:58tspindler has quit IRC
#14:44:17granitize has left #evergreen
#14:58:37alxp has quit IRC
#15:28:35atz_ has quit IRC
#15:29:04atz_ has joined #evergreen
#15:46:00tildeequals has quit IRC
#16:59:05atz__ has joined #evergreen
#17:01:19atz_ has quit IRC
#17:31:38atz__ has quit IRC
#17:32:07atz__ has joined #evergreen
#18:15:14tildeequals has joined #evergreen
#18:20:06tildeequals_ has joined #evergreen
#18:21:56tildeequals has quit IRC
#18:29:11tildeequals_ has quit IRC
#18:46:20agJohnAnyone know anything about this 1.6.1.4 Marc Editor error (just upgraded from 1.6.0.6):
#18:46:22agJohn FIXME, MARC Editor, my_init: SyntaxError: missing = in XML attribute
#18:52:04agJohnThe XML of the record is fine; just checked it w/ an external validator.... Shoot, the upgrade was going so well....
#18:55:51atz has joined #evergreen
#18:57:35atz__ has quit IRC
#19:47:07atzagJohn: you validated against XML or MARCXML? I'm guessing the former.
#22:14:34atz_ has joined #evergreen
#22:16:50atz has quit IRC
< Thursday, November 25th, 2010Raw Log FileSaturday, November 27th, 2010 >