Thread View: news.software.nntp
9 messages
9 total messages
Started by David Gardiner
Fri, 23 Apr 1993 00:01
Tip for jtkohl-syslog ULTRIX INN users
Author: David Gardiner
Date: Fri, 23 Apr 1993 00:01
Date: Fri, 23 Apr 1993 00:01
20 lines
1773 bytes
1773 bytes
I installed the jtkohl syslog (from gatekeeper.dec.com), and everthing has worked fine, except that I wondered why my syslogs rotated unusually each day. I then discovered that newsyslog, which is run from /etc/crontab looks for the old /etc/syslog.pid when resetting syslogd. As I am running with the alternate nsyslog.conf and nsyslog.pid, I had to change the newsyslog script for it to work properly. This is something, which I guess is sort of obvious, but not something I have noticed explicitely mentioned anywhere. -dave -- -------------------------------------------------------------------------- David Gardiner, Computer Systems Administrator Centre for Sensor Signal & Information Processing, Technology Park (and at) Microwave Radar Division, DSTO Salisbury South Australia gardiner@cssip.levels.unisa.edu.au Ph: +61 8 302 3927 Fax: +61 8 302 3124
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Mitch Collinsworth
Date: Fri, 23 Apr 1993 18:43
Date: Fri, 23 Apr 1993 18:43
16 lines
1614 bytes
1614 bytes
In <1r7bju$2kk@vail.levels.unisa.edu.au> dgardine@cssip.levels.unisa.edu.au (David Gardiner) writes: >I installed the jtkohl syslog (from gatekeeper.dec.com), and everthing has >worked fine, except that I wondered why my syslogs rotated unusually each >day. OK, thanks for that tip. I very recently installed the above, too, in preparation for setting up INN on a 5000. But I seem to be having another problem I haven't found a solution for yet. Running jtkohl I don't get messages from sendmail about incoming and outgoing mail like I got with the old sendmail. Does anyone know how to fix this? I played with nsyslog.conf for a while but never found anything that worked. -Mitch Collinsworth mitch@graphics.cornell.edu
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Ezra Peisach
Date: Mon, 26 Apr 1993 13:42
Date: Mon, 26 Apr 1993 13:42
10 lines
1061 bytes
1061 bytes
For the jtkohl syslog - there is a log level that can be used for brain dead 4.2 syslog clients. The level to use is called 'compat'. An entry might look like: compat.info /usr/spool/mqueue/syslog Ezra
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Mitch Collinsworth
Date: Mon, 26 Apr 1993 16:01
Date: Mon, 26 Apr 1993 16:01
14 lines
1320 bytes
1320 bytes
In <1rgostINN8pj@senator-bedfellow.MIT.EDU> epeisach@athena.mit.edu (Ezra Peisach) writes: >For the jtkohl syslog - there is a log level that can be used for brain >dead 4.2 syslog clients. The level to use is called 'compat'. >An entry might look like: >compat.info /usr/spool/mqueue/syslog I've tried both that and *.info and still nothing. -Mitch Collinsworth mitch@graphics.cornell.edu
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Mitch Collinsworth
Date: Tue, 27 Apr 1993 18:43
Date: Tue, 27 Apr 1993 18:43
26 lines
2158 bytes
2158 bytes
In article <1rh10nINNn0r@rex.graphics.cornell.edu> I wrote: >In <1rgostINN8pj@senator-bedfellow.MIT.EDU> epeisach@athena.mit.edu (Ezra Peisach) writes: >>For the jtkohl syslog - there is a log level that can be used for brain >>dead 4.2 syslog clients. The level to use is called 'compat'. >>An entry might look like: >>compat.info /usr/spool/mqueue/syslog >I've tried both that and *.info and still nothing. Thanks to everyone who has written so far with hints about what worked for them. I tried all of them except the suggestion to use smail instead of sendmail. Nothing worked. I then did some comparisons with other Ultrix systems and found some interesting results. The machine I'm running jtkohl syslog on and not getting any sendmail messages is Ultrix 4.3. I just got another system up on 4.3 with the out of the box syslog and found it has the same problem. Then I double-checked on a machine running 4.2 with the out of the box syslog and I'm getting the familiar sendmail messages there. So it would seem that something has changed in Ultrix 4.3. -Mitch Collinsworth mitch@graphics.cornell.edu
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Mike O'Connor
Date: Wed, 28 Apr 1993 16:12
Date: Wed, 28 Apr 1993 16:12
25 lines
2125 bytes
2125 bytes
In article <1rjurrINNoj2@rex.graphics.cornell.edu> mkc@Graphics.Cornell.edu (Mitch Collinsworth) writes: :Thanks to everyone who has written so far with hints about what worked :for them. I tried all of them except the suggestion to use smail instead :of sendmail. Nothing worked. I then did some comparisons with other :Ultrix systems and found some interesting results. The machine I'm :running jtkohl syslog on and not getting any sendmail messages is Ultrix :4.3. I just got another system up on 4.3 with the out of the box syslog :and found it has the same problem. Then I double-checked on a machine :running 4.2 with the out of the box syslog and I'm getting the familiar :sendmail messages there. So it would seem that something has changed in :Ultrix 4.3. The sendmail itself has changed in Ultrix 4.3, to King James Sendmail. I like the suggestion to use smail, particularly if you have no DECnet issues. -- Michael J. O'Connor | Internet: mjo@fmsrl7.srl.ford.com Ford Motor Company, OPEO | UUCP: ...!fmsrl7!opeo!mjo 20000 Rotunda, Bldg. 1-3001 | Phone: +1 (313) 248-1260 Dearborn, MI 48121 | Fax: +1 (313) 323-6277
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Mitch Collinsworth
Date: Thu, 29 Apr 1993 18:17
Date: Thu, 29 Apr 1993 18:17
37 lines
2766 bytes
2766 bytes
In article <1rmadiINNl9a@ope001.iao.ford.com> Mike O'Connor <mjo@fmsrl7.srl.ford.com> writes: >In article <1rjurrINNoj2@rex.graphics.cornell.edu> >mkc@Graphics.Cornell.edu (Mitch Collinsworth) writes: >:Thanks to everyone who has written so far with hints about what worked >:for them. I tried all of them except the suggestion to use smail instead >:of sendmail. Nothing worked. I then did some comparisons with other >:Ultrix systems and found some interesting results. The machine I'm >:running jtkohl syslog on and not getting any sendmail messages is Ultrix >:4.3. I just got another system up on 4.3 with the out of the box syslog >:and found it has the same problem. Then I double-checked on a machine >:running 4.2 with the out of the box syslog and I'm getting the familiar >:sendmail messages there. So it would seem that something has changed in >:Ultrix 4.3. >The sendmail itself has changed in Ultrix 4.3, to King James Sendmail. Well according to the release notes for 4.3: 7.1.10 sendmail Version 5.65 of sendmail is now included in the product. Included in Version 5.65 is sendmail support for international message files. In adition, the sendmail.cf file has been modified to be compatible with Version 5.65. I take it this 5.65 means King James Sendmail then. Now, is there something different about it that it doesn't send messages to syslog? Is anyone running ULTRIX 4.3 with out-of-the-box sendmail and syslog getting sendmail messages in their syslog? How about with jtkohl syslog? Please no more hints about changing the permissions on the syslog file. Syslog is writing to the file ok, just no messages from sendmail. -Mitch Collinsworth mitch@graphics.cornell.edu
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Ulf Kieber
Date: Fri, 30 Apr 1993 17:38
Date: Fri, 30 Apr 1993 17:38
130 lines
4708 bytes
4708 bytes
In article <1rp63sINNsgd@rex.graphics.cornell.edu>, mkc@Graphics.Cornell.edu (Mitch Collinsworth) writes:
>Is anyone running ULTRIX 4.3 with out-of-the-box sendmail and syslog
>getting sendmail messages in their syslog?
Well, I'm running the BSD syslog that came with INN with a few #define's
changed, and some other changes to shut lint up. Its running on
ULTRIX 4.3 (we had it run on 4.2 also), and I never had problems with
sendmail not logging mail.
Ok, folks, here's the diff:
------------------------------cut-----------------------------
*** syslog.c.orig Thu Mar 18 22:05:11 1993
--- syslog.c Sun Mar 21 17:19:39 1993
***************
*** 75,81 ****
extern char *index(), *strcpy(), *strncpy(), *strcat();
/* =()<extern @<SIZE_T>@ strlen();>()= */
! extern int strlen();
/*
** Return a string representation of errno.
--- 75,81 ----
extern char *index(), *strcpy(), *strncpy(), *strcat();
/* =()<extern @<SIZE_T>@ strlen();>()= */
! extern size_t strlen();
/*
** Return a string representation of errno.
*** syslogd.c.orig Sat Aug 22 22:40:49 1992
--- syslogd.c Mon Mar 22 02:42:15 1993
***************
*** 9,17 ****
#define _PATH_LOGPID "/etc/syslog.pid"
/* #define this to enable verbose debugging of all messages. */
! #undef VERBOSE_DEBUG
/* #define this to line to listen on the INET port. */
! #undef DO_INET_SOCKET
/* #undef this to not read kernel syslog messages. */
#define _PATH_KLOG "/dev/klog"
#undef _PATH_KLOG
--- 9,17 ----
#define _PATH_LOGPID "/etc/syslog.pid"
/* #define this to enable verbose debugging of all messages. */
! #define VERBOSE_DEBUG
/* #define this to line to listen on the INET port. */
! #define DO_INET_SOCKET
/* #undef this to not read kernel syslog messages. */
#define _PATH_KLOG "/dev/klog"
#undef _PATH_KLOG
***************
*** 19,25 ****
/* =()<#define SIGHANDLER @<SIGHANDLER>@>()= */
#define SIGHANDLER void
/* if you need various BSD functions, set this. */
! #define NEED_BZERO_ETC
/* Use "union wait" instead of int? */
/* =()<#define @<USE_UNION_WAIT>@_USE_UNION_WAIT>()= */
--- 19,25 ----
/* =()<#define SIGHANDLER @<SIGHANDLER>@>()= */
#define SIGHANDLER void
/* if you need various BSD functions, set this. */
! #undef NEED_BZERO_ETC
/* Use "union wait" instead of int? */
/* =()<#define @<USE_UNION_WAIT>@_USE_UNION_WAIT>()= */
***************
*** 842,848 ****
return;
}
/* NOSTRICT */
! while (fread((char *) &ut, sizeof ut, 1, uf) == 1) {
if (ut.ut_name[0] == '\0')
continue;
if (f->f_type == F_WALL) {
--- 842,848 ----
return;
}
/* NOSTRICT */
! while (fread((void *) &ut, sizeof ut, 1, uf) == 1) {
if (ut.ut_name[0] == '\0')
continue;
if (f->f_type == F_WALL) {
***************
*** 1017,1023 ****
break;
}
next = f->f_nextone;
! free((char *) f);
}
Files = NULL;
nextp = &Files;
--- 1017,1023 ----
break;
}
next = f->f_nextone;
! free((void *) f);
}
Files = NULL;
nextp = &Files;
------------------------------cut-----------------------------
And here is my syslog.conf:
*.alert,news.none root
*.alert /dev/console
*.debug,mark.info,news.none /usr/spool/mqueue/syslog
news.crit news
news.crit /news/log/syslog.news.crit
news.err /news/log/syslog.news.err
news.notice /news/log/syslog.news.notice
news.debug /news/log/syslog.news.debug
Hope this helps.
--
Ulf Kieber
<kieber@sax.sax.de>, <ulf@maria.wustl.edu>,
<{kieber@is2151, tud-list-request@freia, news@irz401}.inf.tu-dresden.de>
Don't expect me to be a breeder, and I won't assume you're a fag.
Re: Tip for jtkohl-syslog ULTRIX INN users
Author: Ron Jarrell
Date: Sat, 01 May 1993 16:57
Date: Sat, 01 May 1993 16:57
23 lines
1822 bytes
1822 bytes
Mitch Collinsworth (mkc@Graphics.Cornell.edu) wrote: : I take it this 5.65 means King James Sendmail then. Now, is there : something different about it that it doesn't send messages to syslog? : Is anyone running ULTRIX 4.3 with out-of-the-box sendmail and syslog : getting sendmail messages in their syslog? How about with jtkohl : syslog? Please no more hints about changing the permissions on the : syslog file. Syslog is writing to the file ok, just no messages from : sendmail. I *upgraded* from 4.2a to 4.3 and got plenty of messages from sendmail in the syslog, both using ultrix's, and now, using the jtkohl syslog. All the old favorites like "Status=defered", adn "delay=0:0:20" However, one of our machines was recently installed as 4.3 from scratch; syslog didn't work right when we did that' the syslog files weren't owned by daemon, and messages weren't making it there. -- Ron Jarrell Virginia Tech Computing Center jarrell@vtserf.cc.vt.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads