home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9779 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.7 KB  |  45 lines

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