All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with samba
@ 2003-07-26 20:07 Sohail Ahmed Siddiqui
  2003-07-26 20:19 ` David Busby
  2003-07-27  5:05 ` Alistair Tonner
  0 siblings, 2 replies; 4+ messages in thread
From: Sohail Ahmed Siddiqui @ 2003-07-26 20:07 UTC (permalink / raw)
  To: netfilter

Hi all,
i am new to iptables and i have a problem, i will be very greatful i fsome
one helps me out.
at my place i have a lan with 192.168.0.0/24 and in the building we have
134.91.239.0. i have managed to firewall my local net and access the
internet with iptables but i want to share some files via samba. but my
samba connection is not going out. i am using

iptables -A FORWARD -j lan -p tcp --dport 137:139
iptables -A FORWARD -j lan -p udp --dport 137:139

but this some how doesnt seem to work.
i have searched the internet but some how i didnt find any thing which can
solve my problem. any help is welcome
regards
Sohail Ahmed Siddiqui



^ permalink raw reply	[flat|nested] 4+ messages in thread
* Problem with samba
@ 2003-10-20 20:40 Reinaldo Brandão Gomes
  0 siblings, 0 replies; 4+ messages in thread
From: Reinaldo Brandão Gomes @ 2003-10-20 20:40 UTC (permalink / raw)
  To: linux-admin


Hello, guys

I am having a problem with the processes smbd and nmbd.  When nmbd starts on our sun, running solaris 2.7 and samba 1.9, it goes into a extremely high CPU utilization (over 99%).

Our smb.conf has been untouched for 8 years,so far, and I don't think this is a problem with it.

Running "gdb nmbd 2830 gave me:"

"/usr2/local/bin/gdb attach 2830
GDB is free software and you are welcome to distribute copies of it  under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (sparc-sun-solaris2.4), Copyright 1994 Free Software Foundation, Inc...

attach: No such file or directory.


//2830: No such file or directory.
Attaching to process 2830
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.

"/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1": not in executable format: File format not 
recognized.

Continue

Continuing..."



Running truss /usr/local/samba/bin/nmbd:


execve("/usr/local/samba/bin/nmbd", 0xEFFFFCA0, 0xEFFFFCAC)  argc = 2
open("/dev/zero", O_RDONLY)                     = 3
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF7C0000
open("/usr/lib/libsocket.so.1", O_RDONLY)       = 4
fstat(4, 0xEFFFF83C)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF7B0000 mmap(0x00000000, 106496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF790000
munmap(0xEF798000, 57344)                       = 0
mmap(0xEF7A6000, 8185, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 24576) = 0xEF7A6000 mmap(0xEF7A8000, 388, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF7A8000
close(4)                                        = 0
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 4
fstat(4, 0xEFFFF83C)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF7B0000 mmap(0x00000000, 581632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF680000
munmap(0xEF6F0000, 57344)                       = 0
mmap(0xEF6FE000, 35432, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 450560) = 0xEF6FE000 mmap(0xEF708000, 18496, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF708000
close(4)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 4
fstat(4, 0xEFFFF83C)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF7B0000 mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF580000
munmap(0xEF614000, 57344)                       = 0
mmap(0xEF622000, 28432, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 598016) = 0xEF622000 mmap(0xEF62A000, 2592, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF62A000
close(4)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
fstat(4, 0xEFFFF83C)                            = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF7B0000
close(4)                                        = 0
open("/usr/lib/libmp.so.2", O_RDONLY)           = 4
fstat(4, 0xEFFFF83C)                            = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF780000 mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF760000
munmap(0xEF764000, 57344)                       = 0
mmap(0xEF772000, 3581, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 8192) = 0xEF772000
close(4)                                        = 0
open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 4
fstat(4, 0xEFFFF62C)                            = 0
mmap(0xEF780000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF780000 mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF750000
close(4)                                        = 0
close(3)                                        = 0
munmap(0xEF780000, 8192)                        = 0
time()                                          = 1066653559
time()                                          = 1066653559
brk(0x00042B78)                                 = 0
brk(0x00044B78)                                 = 0
open("/usr/share/lib/zoneinfo/GMT", O_RDONLY)   = 3
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192)     = 56
close(3)                                        = 0

Can someone, please, point me to a good way of troubleshoot this problem.

Any help will be greatly appreciated, once our client has 6 machines with this problem and all its data needs to be available by samba.

Thanks, 

Reinaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-20 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-26 20:07 problem with samba Sohail Ahmed Siddiqui
2003-07-26 20:19 ` David Busby
2003-07-27  5:05 ` Alistair Tonner
  -- strict thread matches above, loose matches on Subject: below --
2003-10-20 20:40 Problem " Reinaldo Brandão Gomes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.