Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
syslog_ng logs everything as from nss_wins
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Tue Dec 30, 2003 5:12 pm    Post subject: syslog_ng logs everything as from nss_wins Reply with quote

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
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sat Jan 03, 2004 11:51 pm    Post subject: Reply with quote

If I understand You well, You should change the syslog_ng to metalog.
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Sun Jan 04, 2004 12:50 am    Post subject: Reply with quote

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
View user's profile Send private message
DumbAss
Apprentice
Apprentice


Joined: 30 Sep 2003
Posts: 247
Location: 't Steen

PostPosted: Wed Apr 21, 2004 3:25 pm    Post subject: Reply with quote

I've got the same problem but with metalog. Does anyone have a sollution for this problem?
Back to top
View user's profile Send private message
DumbAss
Apprentice
Apprentice


Joined: 30 Sep 2003
Posts: 247
Location: 't Steen

PostPosted: Fri Apr 23, 2004 7:00 am    Post subject: Reply with quote

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
View user's profile Send private message
N-S
n00b
n00b


Joined: 30 Oct 2005
Posts: 34

PostPosted: Sun Mar 19, 2006 12:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum