Article View: news.software.nntp
Article #19255Re: innfeed problems on HPUX
From: Jeremy Fischer
Date: Mon, 14 Jul 1997 00:00
Date: Mon, 14 Jul 1997 00:00
83 lines
2774 bytes
2774 bytes
Dale Harris <rodmur@sampoerna.cisnet.net> said: > >All in all, innfeed isn't doing too bad on HPUX 10.20 (once you turn off >mmap() support that is). Course some wierdness I see is the following >in my errlog: > >In the sysconfig.h in the innfeed source, I added the following: > >#if defined (hpux) >#define DO_NEED_STREAM 1 >#define _INCLUDE_XOPEN_SOURCE_EXTENDED >#define _XOPEN_SOURCE_EXTENDED >#endif I added the following (although it's HPUX10.10) /* ** HPUX 10.10 w/ cc */ #if defined (_HPUX_SOURCE) #define DONT_HAVE_SETBUFFER 1 #define DONT_USE_UNION_WAIT 1 #define MAX_WRITEV_VEC 16 #endif And... /* Added in hopes of fixing "signal failed" core dump */ #if ! defined (USE_SIGSET) && ! defined(USE_SIGVEC) #define USE_SIGACTION 1 #endif > > >So that should be including everything that would need to be defined for >setrlimit(), as far as I can tell. > > >Also, other wierdness I'm seeing is if I do a: > >ctlinnd reload <whatever> > >or > >ctlinnd flush "" > > >a new innfeed is exec'ed each time, and none of the old ones die. Is >this expected behavior? Why doesn't innfeed see some lock file and >die off if another is already running? Or is this something else I >can blame on HPUX? (they are damn close to Micro$oft on my book this >past couple of weeks) This was fixed for me by changing CLX_STYLE in the config.data of inn and recompiling. ## How should close-on-exec be done? Pick IOCTL or FCNTL. #### =()<CLX_STYLE @<CLX_STYLE>@>()= #### CLX_STYLE IOCTL CLX_STYLE FCNTL Now, now, at least you can get source code to your apps on unix. :) Plus, HP hardware support, when I've needed help with a very upset pair of 735's, was outstanding. MS is a whole different kind of evil. :) Good luck, Jeremy > > >-- >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dale Harris <rodmur@csuchico.edu> PGP KeyID: E26EC5FD >Chico State home of the NCAA Div. II National Baseball Champs! >|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+|+| -- Jeremy Fischer, UCS Messaging Team, Indiana University - Bloomington
Technical Details
Message-ID:
<5qe5om$m6k$1@coredump.ucs.indiana.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5q4e5l$67k@sampoerna.cisnet.net>Show Full Headers
Complete Article Headers
Message-ID: <5qe5om$m6k$1@coredump.ucs.indiana.edu> Subject: Re: innfeed problems on HPUX Date: Mon, 14 Jul 1997 00:00:00 +0000 From: jeremy@coredump.ucs.indiana.edu (Jeremy Fischer) References: <5q4e5l$67k@sampoerna.cisnet.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 256865036 Organization: The Committee for Aesthetic Deletions Newsgroups: news.software.nntp