| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
Date: Sun, 1 Dec 1996 03:19:25 -0800 From: Jon Klaren <jklaren@qualcomm.com> To: "Lincoln L. Bauer" <lbauer1@sirus.com> Cc: qpopper@qualcomm.com, redhat-list@redhat.com Resent-From: redhat-list@redhat.com Reply-To: redhat-list@redhat.com On Fri, 29 Nov 96 20:52:11 -0500, "Lincoln L. Bauer" <lbauer1@sirus.com> wrote to <redhat-list@redhat.com>: > I am having a problem with qpopper 2.2. For the most part, it appears > to work great. I have set it up to use the Bulletin database to track > which bulletins a user has already read. However, when more than one > person is trying to access their pop account, the second person gets > an "ERR: Can't open Bulletin Database..." From this I surmised > (possibly incorrectly) that it is a file locking problem. > > Just in case anyone else has this problem, I have solved it > temporarily by not using the bulletin functions of qpopper. That is, > I did not tell it about a bulletin directory or to use the bulletin db > when compiling. > > Does anyone else have this working? The bulletin feature uses two different methods to determine which bulletins a user has already read: a) keep track of the last bulletin # in the the file ~/.popbull b) keep track of it in a global hashed db using calls to libdbm (or libndbm). I have had problems getting the latter to work on Linux, but the former works just fine. To enable it, simply compile with the option: -DBULLDIR=\"/var/spool/bulls\" (edit that directory name). Using the -DBULLDB option will try to use method (b) above. I'm not sure yet why option (b) doesn't work, but here are my observations: I linked with libndbm, and when a pop user starts a session, qpopper recognizes that there are unread bulletins, and initializes the bulletin database as bulldb.db (at this point bulldb.pag and bulldb.dir exist but are empty). After the pop session ends, the bulletin database is left empty and any subsequent attempt by a user to start a pop session ends in the "-ERR unable to open bulletin database" message. I am not yet sure if this is an incompatibility with the Linux and other versions of libndbm or what. I've CC'd qpopper@qualcomm.com. Maybe they can shed some light on this. For their benefit, we're talking about running qpopper2.2 on Red Hat Commercial Linux. -Jon --------- Jon Klaren San Diego, CA USA jklaren@qualcomm.com -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! ________________________________________________________________________ http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists ------------------------------------------------------------------------ To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |