LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-08-2009, 02:50 AM   #1
arty
Member
 
Registered: Nov 2008
Posts: 66

Rep: Reputation: 17
Samba issue


everything was working fine until yesterday and for no reason samba has stopped working
i have checked the configuragtion 100 times and everything's ok
i have disabled firewall rules
and logwatch sends me the following:

--------------------- samba Begin ------------------------


**Unmatched Entries**
nmbd/nmbd_namequery.c:query_name(245) query_name: Failed to send packet trying
to query name WORKGROUP<1d> : 288 Time(s)
nmbd/nmbd_packets.c:send_netbios_packet(163) send_netbios_packet: send_packet()
to IP 10.0.0.255 port 137 failed : 288 Time(s)

---------------------- samba End -------------------------

which i have no idea what is :P
anyone knows anything about this?
 
Old 07-08-2009, 02:53 AM   #2
arty
Member
 
Registered: Nov 2008
Posts: 66

Original Poster
Rep: Reputation: 17
i have also noticed that everything is very slow
i give iptables -L
and it takes about 8 secs to give me the output(line by line)
cpu times are at 0 so it's not a matter of cpu usage
 
Old 07-08-2009, 04:25 AM   #3
gael
Member
 
Registered: Aug 2008
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by arty View Post
i have also noticed that everything is very slow
i give iptables -L
and it takes about 8 secs to give me the output(line by line)
cpu times are at 0 so it's not a matter of cpu usage
if iptables -L takes an age and a half to complete, that can be down to DNS resolution.

As I bet that if you run iptables -L -n (-n remove the DNS resolution) it will display the result in a sec.

So maybe check the DNS first...

Even if I do not know how DNS could impact your samba settings ...


BTW what are you doing with your samba? File sharing / domain control??

HTH

G.
 
Old 07-08-2009, 05:47 AM   #4
arty
Member
 
Registered: Nov 2008
Posts: 66

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by gael View Post
if iptables -L takes an age and a half to complete, that can be down to DNS resolution.

As I bet that if you run iptables -L -n (-n remove the DNS resolution) it will display the result in a sec.

So maybe check the DNS first...

Even if I do not know how DNS could impact your samba settings ...


BTW what are you doing with your samba? File sharing / domain control??

HTH

G.
thanks for the reply gael
i use samba only for filesharing
and indeed it is a dns issue
i just don't understand the reason
i run my own named(bind)
if i stop the service it works great

but why would something like that be happening
also when i stop the service it takes more than 1min to be stopped

do you know anything about this?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Issue blckspder Linux - Server 5 07-07-2009 08:27 AM
samba issue siawash Linux - Networking 3 05-20-2008 11:55 PM
samba issue barneygumble742 Linux - Desktop 2 05-08-2007 09:32 PM
Samba Issue Harlin Linux - Networking 3 07-10-2006 04:22 PM
Another Samba issue cmoloney Linux - Networking 1 06-07-2003 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration