From: Joan Picanyol i Puig <lists-supervision@biaix.org>
Subject: ucspilogd + ipcserver but no logs
Date: Fri, 11 Feb 2005 17:43:38 +0100 [thread overview]
Message-ID: <20050211164338.GA89934@grummit.biaix.org> (raw)
[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
next reply other threads:[~2005-02-11 16:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-11 16:43 Joan Picanyol i Puig [this message]
2005-02-11 20:47 ` Thomas Schwinge
2005-02-12 20:29 ` Joan Picanyol i Puig
2005-02-13 14:12 ` Gerrit Pape
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050211164338.GA89934@grummit.biaix.org \
--to=lists-supervision@biaix.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).