View previous topic :: View next topic |
Author |
Message |
axxackall l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/189c37b43e1cf655c2516.gif)
Joined: 06 Nov 2002 Posts: 651 Location: Toronto, Ontario, 3rd Rock From Sun
|
Posted: Tue Dec 30, 2003 5:12 pm Post subject: syslog_ng logs everything as from nss_wins |
|
|
the box is a samba server with winbindd. By some reason it logs everything as it comes from nss_wins. I mean really everything: log records from dhcpd, named, EVEN from postfix and amavisd.
Of course log-files are really close-to useless, when you cannot say what program is logging, as it looks that nss_wins is the only program in your system, moreover when it looks like nss-wins does EVERYTHING in your system!
There is nothing in syslog_ng's mail-lists, so I don't know if it is a bug of syslog_ng, of samba or it is a specific bug of gentoo distro.
Any idea that can help me to find what's the problem and how to fix it? _________________ "Lisp is a programmable programming language." - John Foderaro, CACM, September 1991 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
misterLu Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Dr_Evil.gif)
Joined: 14 Sep 2003 Posts: 430 Location: Poland
|
Posted: Sat Jan 03, 2004 11:51 pm Post subject: |
|
|
If I understand You well, You should change the syslog_ng to metalog. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
axxackall l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/189c37b43e1cf655c2516.gif)
Joined: 06 Nov 2002 Posts: 651 Location: Toronto, Ontario, 3rd Rock From Sun
|
Posted: Sun Jan 04, 2004 12:50 am Post subject: |
|
|
I don't return to metalog, thank you. Instead, I reemerged syslog_ng one more time and found that the problem has disappeared. _________________ "Lisp is a programmable programming language." - John Foderaro, CACM, September 1991 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DumbAss Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/4751011153fd8cca3eb1fd.gif)
Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Wed Apr 21, 2004 3:25 pm Post subject: |
|
|
I've got the same problem but with metalog. Does anyone have a sollution for this problem? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DumbAss Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/4751011153fd8cca3eb1fd.gif)
Joined: 30 Sep 2003 Posts: 247 Location: 't Steen
|
Posted: Fri Apr 23, 2004 7:00 am Post subject: |
|
|
Found it:
I edited /etc/nsswitch.conf and changed:
Code: | hosts: wins netbios dns files lmhosts |
to:
Code: | hosts: dns wins netbios files lmhosts |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
N-S n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Oct 2005 Posts: 34
|
Posted: Sun Mar 19, 2006 12:05 pm Post subject: |
|
|
ok, my conf is different:
# /etc/nsswitch.conf:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/nsswitch.conf,v 1.1 2005/05/17 00:52:41 vapier Exp $
passwd: compat
shadow: compat
group: compat
# passwd: db files nis
# shadow: db files nis
# group: db files nis
hosts: files dns wins
networks: files dns
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
As you can see the
hosts: files dns wins
already has dns in front of wins.
I'll try re-emerging syslog-ng. _________________ ___________________
There is No Substitute! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|