home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!news.dtc.hp.com!clapton.cdc.hp.com!engle
- From: engle@cdc.hp.com (Rob Engle)
- Subject: Re: INN on HP UX 8.02
- Sender: news@news.dtc.hp.com ((Network News admin))
- Message-ID: <Btnt9z.Kw3@news.dtc.hp.com>
- Date: Thu, 27 Aug 1992 20:37:09 GMT
- References: <17ifabINNeth@george.ukpoit.co.uk>
- Organization: HP California Design Center, Santa Clara, CA
- X-Newsreader: Tin 1.1 PL5
- Lines: 32
-
- Ian Spare (ian@ukpoit.co.uk) wrote:
- >
- > I have installed the recently released INN on our HP 9000/827 running on
- > HP-UX 08.02 and experienced some problems with the innxmit program,
- > basically when innxmit goes for a lock on /usr/spool/news/out.going/site.nntp
- > a 'bad file number' messages is returned.
- >
- > As a temporary fix I've stopped innxmit examining the return from the lock
- > request. I set the lock mechanism to LOCKF as suggested in the README as
- > I have all other suggested config.data parms.
- >
- > Has anyone else experienced this problem ? Does anyone have a more elegant fix ?
-
- The basic problem is that HP-UX by default will not let lockf(2) lock a
- file opened in read-only mode (see the "lockf" man page).
-
- I have had success with each of these two solutions:
-
- 1) Use LOCK_STYLE FCNTL
- or
- 2) As root (before starting "inn") run "/etc/setprivgrp news
- LOCKRDONLY" (where "news" is the group ID for the "news"
- user).
-
- Rob.
-
- ------------------------------------------------------------------------
- Rob Engle engle@cdc.hp.com
- Hewlett-Packard, California Design Center voice: 408-553-2081
- 5301 Stevens Creek Blvd, MS53U-28 fax: 408-984-1361
- Santa Clara, CA 95052
- ------------------------------------------------------------------------
-