SUMMARY: Answerbook won't run

From: Eamonn McGonigle (emcgon@ca.dcu.ie)
Date: Tue Jul 20 1993 - 22:06:47 CDT


I love this list, and I love time zone differences...I came into work this
morning and the correct answer was there waiting for me !

The problem is that AnswerBook (in the form it is supplied) won't work properly
on a machine with a /var/tmp partition which is of type 'tmpfs'. It actually
mentions this in the back of the CDROM booklet (the second-last page...!).
The excerpts from the replies I received detail simple workarounds for the
problem

My sincere thanks to....
sjf@mod.dsto.gov.au (Stephen Fitzgerald)
swatson@Kodak.COM (Steve Watson)
ref@Esy.COM (Eric Falen)
mccalld@Sonoma.EDU (CYBERMAN [a.k.a David C. McCall])
map@europa.ecn.uoknor.edu (Michael A. Parker)
...and everyone else who replies before getting to read this summary.

THE REPLIES...:
===============
| I had a similar problem - see below. The fix should also solve your
| problem.
|
| Regards
| Stephen Fitzgerald - always looking for Co. Cork relations
|
| >
| > Starting answerbook gives:
| >
| > % answerbook
| > Verifying environment ... fcntl: Local lock-manager not registered
| > fcntl: Local lock-manager not registered
| > bookinfo: Can't perform search on collection 'syssoft_ab'. Search index is:
| > syssoft_ab@host
| > Reason: F/T error code 51
| > fcntl: Local lock-manager not registered
| >
| > answerbook cannot start until these problems have been fixed
| > Please report these error messages to the system administrator
| >
| > SOLUTION SUMMARY :
| >
| > To fix this problem, set the environment variable FTNLOCK as follows:
| >
| > setenv FTNLOCK off
| >
| > (The actual value of this variable is irrelevant.)
| >
| > This tells the AnswerBook Navigator not to do any file locking.
| > In general, this should cure all AnswerBook locking-related problems,
| > including the "F/T error code 2," (/usr/tmp is a TMPFS partition) bug 1049530,
| > and any AnswerBook problems related to the lock manager.
| >
| > Normally, the full-text search module in the AnswerBook Navigator
| > locks the AnswerBook search index files (the files in the sr_index
| > subdirectory). This happens when the search module accesses the files,
| > in order to prevent other processes from modifying those files during an
| > AnswerBook session. It uses the "fcntl(F_SETLK/F_GETLK)" system call.
| >
| > Clearly, this sort of file contention is not an issue in the typical
| > AnswerBook environment (especially when using the AnswerBook straight
| > off the CD). Setting "FTNLOCK," tells the search module not to do
| > file locking.
| >
| > KEYWORDS : F/T error code 51, bookinfo
| >
| > PRODUCT : AnswerBook
| >
| > SUNOS RELEASE : 4.1.X
| >
| > UNBUNDLED RELEASE : n/a
| >
| > HARDWARE RELEASE : All
| >
| > ISO-9001 STATUS : Uncontrolled
| >
| > ===========================================================================
|
|
| ==========================================================================
| Stephen Fitzgerald E-mail: sjf@mod.dsto.gov.au
| Maritime Operations Division Phone : +61 8 259 5992
| DSTO Salisbury, South Australia Fax : +61 8 259 5139
|
| _--_|\
| / \
| \_.--*_/
| v
|
This answer made it in first (well, he IS Irish, after all !!!), and I've added
the lines :-
#
# Set FTNLOCK unconditionally (EMcG 20/JUL/1993)
#
FTNLOCK=off
export FTNLOCK

...to the 'answerbook' script, curing the problem.

---------------------------------------

| It has been my experience that these types of problems arise when the
| "bookinfo" file located in the directory where answerbook is installed, in
| your case /home/6/answerbook . Try looking at that file to see where
| AnswerBook thinks the data is.
|
| Eric Falen
| Computer Services
| E-Systems Inc.
| ref@esy.com

---------------------------------------

| From swatson@Kodak.COM Tue Jul 20 13:10:53 1993
| Reply-To: swatson@Kodak.COM
| Date: Tue, 20 Jul 93 08:14:12 EDT
| From: swatson@Kodak.COM (Steve Watson)
| To: emcgon@ca.dcu.ie
| Subject: Re: ANSWERBOOK won't run...
| Content-Length: 825
| X-Lines: 25
|
|
| I experienced similar problems and spoke with Sun. They gave me some hints and
| what is here works although it shouldn't have had to be done this way.
|
|
| setenv BOOKINFO /packages/AnswerBook/SysSoft1_4/bookinfo <- This is to where the
| file bookinfo is...
|
| cd /packages/AnswerBook/SysSoft1_4/bin <- cd to location of answerbook binary
|
|
| /packages/AnswerBook/SysSoft1_4/bin/answerbook & <- Run anwerbook
|
|
| I hope this helps....
|
|
| +-------------------------------+---------------------------+
| |Steve Watson |Internet: swatson@kodak.com|
| |R.D.C.S. |EKPROFS : EKSMTP.watson7 |
| |Eastman Kodak Co. |Phone: (716)-588-4756 |
| |Room 380, Building 59, KRL |Pager: (716)-783-7880 |
| |Rochester, NY 14650-1717 |Fax: (716)-477-4818 |
| +-------------------------------+---------------------------+
|
|
-----------------------------------------------
| From map@europa.ecn.uoknor.edu Tue Jul 20 15:31:35 1993
|
| There is a little tiny note somewhere in the inside of the CD cover
| (Installation instructions) which says something to the effect that if
| you use tmpfs (mounted as /tmp) you have to make a different tmp
| directory for ANSWERBOOK...
|
|
| I added something like this to my /usr/openwin3/bin/answerbook file...
|
|
| #
| # Added on 6/16/93 by Mike Parker as a work around for the tmpfs being
| # mounted on /tmp. Evedently the answerbook cannot make an index on
| # a swap file system? so Here we redirect the tmp file system it uses
| # to /usr/local/AnserBook/tmp, and then export it, as it is not used in # this script, but it is used in a process spawned by it...
| FULTEMP=/usr/local/AnswerBook/tmp
| export FULTEMP
|
|
| And of course you must also create this directory...
|
|
| Mike Parker
|
|

-------------------------------------------------------------------------------
 Eamonn McGonigle, Phone: (+353 1) 7045649
 School of Computer Applications, FAX: (+353 1) 7045442
 Dublin City University, Mail: emcgon@ca.dcu.ie
 Dublin 9,
 IRELAND.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:01 CDT