From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/696 Path: main.gmane.org!not-for-mail From: Joan Picanyol i Puig Newsgroups: gmane.comp.sysutils.supervision.general Subject: ucspilogd + ipcserver but no logs Date: Fri, 11 Feb 2005 17:43:38 +0100 Message-ID: <20050211164338.GA89934@grummit.biaix.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108140195 12867 80.91.229.2 (11 Feb 2005 16:43:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2005 16:43:15 +0000 (UTC) Original-X-From: supervision-return-935-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Feb 11 17:43:15 2005 Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by ciao.gmane.org with smtp (Exim 4.43) id 1Czdru-0003Dk-9d for gcsg-supervision@gmane.org; Fri, 11 Feb 2005 17:42:10 +0100 Original-Received: (qmail 22449 invoked by uid 76); 11 Feb 2005 16:44:18 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 22443 invoked from network); 11 Feb 2005 16:44:17 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline User-Agent: Mutt/1.5.6i X-MailScanner-To: gcsg-supervision@gmane.org Xref: main.gmane.org gmane.comp.sysutils.supervision.general:696 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:696 [this is a copy of message I also sent to ucspi@list.superscript, qconfirm and my setup do not get along well] Hi, I'm really tired of syslogd eating my logs, so I'm trying to get this setup to work. My service directory is as in the ucspilogd tarball, which means: 605,p1,0$ pwd /var/service/ucspilogd 606,p1,0$ cat run #!/command/execlineb -P fdmove -c 2 1 emptyenv -p envuidgid nobody ipcserver -U /dev/log ucspilogd 607,p1,0$ cat log/run #!/command/execlineb -P setuidgid log define L /var/log/ucspilogd emptyenv multilog $L/main -* "+*: *: kern.*" $L/kern -* "+*: *: user.*" $L/user -* "+*: *: daemon.*" $L/daemon -* "+*: *: auth.*" +authpriv.* $L/auth -* "+*: *: syslog.*" $L/syslog -* "+*: *: news.*" $L/news -* "+*: *: cron.*" $L/cron -* "+*: *: local*.*" $L/local -* "+*: *: *.debug*" $L/debug Stopped syslogd and got everything is up and running: 613,p1,0$ ps auxww | grep syslogd 614,p1,1$ sudo svstat . log/ .: up (pid 14097) 36 seconds, normally down log/: up (pid 14098) 36 seconds 615,p1,0$ sudo fstat | grep ipcserver nobody ipcserver 14097 root / 2 drwxr-xr-x 1024 r nobody ipcserver 14097 wd /fs/std-var/mount 65502 drwxr-xr-t 512 r nobody ipcserver 14097 text /fs/apps/mount 89339 -rwxr-xr-x 23108 r nobody ipcserver 14097 2* pipe db552540 <-> db5527c0 0 rw nobody ipcserver 14097 3* local stream db71f8c0 616,p1,0$ sudo netstat -A | grep log db71f8c0 stream 0 0 dbca7280 0 0 0 /dev/log 620,p1,0$ sudo fstat | grep db5527c0 log multilog 14098 0* pipe db5527c0 <-> db552540 0 rw nobody ipcserver 14097 2* pipe db552540 <-> db5527c0 0 rw root supervise 11581 0* pipe db5527c0 <-> db552540 0 rw root supervise 11580 1* pipe db552540 <-> db5527c0 0 rw root svscan 162 22* pipe db5527c0 <-> db552540 0 rw root svscan 162 23* pipe db552540 <-> db5527c0 0 rw AFAICT ipcserver has /dev/log as stderr, and multilog is reading from the pipe, however I can see no logs: 629,p1,1$ logger foo 629,p1,0$ ls -al /var/log/ucspilogd/user/ total 4 drwxr-xr-x 2 log wheel 512 Feb 10 21:31 . drwxr-xr-x 11 log wheel 512 Feb 10 21:31 .. I would have expected a current file to appear, since 'man logger' tells me that the default is user.notice. What am I missing? tks -- pica