[Samba] Samba hangs the boot on Gentoo.
Hello, Today I came across with the problem with booting my Gentoo system. Yesterday I installed samba and when I turned on my notebook today it stops booting at starting up the samba daemon. It goes until: * samba - start: smbd ... ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi connection on notebook and Samba is looking for Internet connection and waiting for it to be established? Maybe you can give any advice on how to boot to my system without loading samba and uninstalling it? Looking forward to hearing from you and any help would be very appreciated, Thank You in advance, Aleksandr. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba hangs the boot on Gentoo.
On Thu, Jan 20, 2011 at 9:30 AM, Aleksandr Poteriachin insp1re2...@gmail.com wrote: Maybe you can give any advice on how to boot to my system without loading samba and uninstalling it? Aleksandr, If you are starting samba daemon the usual gentoo way - rc-update add samba default - I suggest using a gentoo install disc to chroot into your environment to temporarily disable samba so you can provide the list with your smb.conf, or results of smbclient -L,U,I,M, etc. Boot from gentoo-minimal-install-disc and at ~# mount /dev/sdx# /mnt/gentoo ((x=whatever letter your hard drive is; # = whatever partition number designates /)) mkdir /mnt/gentoo/boot mount /dev/sdx# /mnt/gentoo/boot ((x=whatever letter your hard drive is; # = whatever partition number designates /boot)) cd /mnt/gentoo mount -t proc proc /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev chroot /mnt/gentoo /bin/bash env-update source /etc/profile Now you have access to your operating system. Type command: rc-update del samba default Now you can reboot and the computer should start up normally since the samba daemon has been removed from the default startup process. HTH, Mike Looking forward to hearing from you and any help would be very appreciated, Thank You in advance, Aleksandr. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba hangs the boot on Gentoo.
Today I came across with the problem with booting my Gentoo system. Yesterday I installed samba and when I turned on my notebook today it stops booting at starting up the samba daemon. It goes until: * samba - start: smbd ... ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi connection on notebook and Samba is looking for Internet connection and waiting for it to be established? Maybe you can give any advice on how to boot to my system without loading samba and uninstalling it? Looking forward to hearing from you and any help would be very appreciated, As a gentoo user who has used samba for 7 years now at home and at work (samba / ldap department domain) I have never seen this behavior. Although my samba servers are all wired usually gigabit. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba hangs the boot on Gentoo.
On Thu, Jan 20, 2011 at 9:30 AM, Aleksandr Poteriachin insp1re2...@gmail.com wrote: Hello, Today I came across with the problem with booting my Gentoo system. Yesterday I installed samba and when I turned on my notebook today it stops booting at starting up the samba daemon. It goes until: * samba - start: smbd ... ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi connection on notebook and Samba is looking for Internet connection and waiting for it to be established? Maybe you can give any advice on how to boot to my system without loading samba and uninstalling it? Do an interactive boot. Press I when it asks you to do in the boot process. Then do not start the samba daemon. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba hangs the boot on Gentoo.
Hello, Today I came across with the problem with booting my Gentoo system. Yesterday I installed samba and when I turned on my notebook today it stops booting at starting up the samba daemon. It goes until: * samba - start: smbd ... I had some difficulties a few years back with Samba/LDAP nssldap, pam_ldap and pam. The system would hang for some 10 minutes at startup. The problem was that nssldap defaults to bind_policy hard, and as nssldap fired before the ldap server started (from the nssldap conf file): # Reconnect policy: hard (default) will retry connecting to # the software with exponential backoff, soft will fail # immediately. changing the value to bind_policy soft rectified the situation. ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi connection on notebook and Samba is looking for Internet connection and waiting for it to be established? Maybe you can give any advice on how to boot to my system without loading samba and uninstalling it? Do an interactive boot. Press I when it asks you to do in the boot process. Then do not start the samba daemon. John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba hangs the boot on Gentoo.
On Sat, Jan 22, 2011 at 7:50 AM, t...@tms3.com wrote: Hello, Today I came across with the problem with booting my Gentoo system. Yesterday I installed samba and when I turned on my notebook today it stops booting at starting up the samba daemon. It goes until: * samba - start: smbd ... I had some difficulties a few years back with Samba/LDAP nssldap, pam_ldap and pam. The system would hang for some 10 minutes at startup. The problem was that nssldap defaults to bind_policy hard, and as nssldap fired before the ldap server started (from the nssldap conf file): # Reconnect policy: hard (default) will retry connecting to # the software with exponential backoff, soft will fail # immediately. changing the value to bind_policy soft rectified the situation. ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi connection on notebook and Samba is looking for Internet connection and waiting for it to be established? Maybe you can give any advice on how to boot to my system without loading samba and uninstalling it? Do an interactive boot. Press I when it asks you to do in the boot process. Then do not start the samba daemon. John I would also run: etc-update To see if /etc/init.d/samba has any newer changes to be applied to the startup script. --Brian -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba hangs after WAN link to trusted domain is cut
Hello, Wondering if this is a known behaviour in samba. I have 2 domains (say DOM_A and DOM_B) with DOM_B trusting DOM_A (one way relation). DOM_A and DOM_B are located in two different nets (and locations) and are connected through a VPN. What happens is that if the VPN goes down, samba PDC at DOM_B seems to be hung (can't provide auth to clients anymore), and this remains even after the VPN link is restored. I don't have so much data to add to this threads, except this : After the VPN went down, I did try to start a service on one client (being connected on the PDC console) by using the net -U admin -W DOM_B rpc service start MyService, and the command failed indicating no domain controller was available. By checking the nmbd logs, I could notice some browsing issue as both PDCs are configured with : remote browse sync = Address of the other domain PDC remote announce = Address of the other domain PDC After I commented out both line at DOM_B PDC, the failure disappeared (as far as I could test). So now my question is : is this kind of a feature (implied by remote browse sync) of did I misconfigured something. Thanks François -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba hangs for a minuate then works fine
Hi. My Fedora 5, Samba version 3.0.21b-2 hangs for a minuate then working fine. Do not have any idea why it happen. There are 10 Windows XP connected to the samba server for file access, but it not happening frequently. Can anyone help me? My settings are: [global] encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 max log size = 0 volume = Fedroa map to guest = Bad user security = share workgroup = xxx server string = PD netbios name = log file = /var/log/samba/%m.log # guest account = smbguest # smb passwd file = /etc/samba/smbpasswd hosts allow = 192.168.1., 127. send file = no readwrite = no [home] comment = Home path= /data/home browseable = yes read only = no writable = yes public = yes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba hangs DOS apps (foxpro and clipper)
Hi. I start to manage small network with about twenty workstation. There is an old DELL with Novell 3 as file server and spooler for four printers. Clients (Win98 and WinXP) runs dos applications written in clipper and foxpro. Everything works fine, but... :) I want to migrate file server and spooler in to new server with RHEL5. Cups works fine, but Samba not. DOS apps randomly hangs or freeze for few sec. without any any reason. Someone told me to try Samba 2.2.8a and reedit smb.conf I turning off read/write raw also change blocking locks, locking, kernel oplocks and strict locking options. Now frequency of hangs is smaller then before, but it's still. Anyone help? PS. Sorry for my english. [global] #unix charset = UTF8 #character set = UTF8 client code page = 852 netbios name = serwer server string = serwer workgroup = TBS security = user encrypt passwords = yes kernel oplocks = no interfaces = 10.1.1.253/24, 127.0.0.1 bind interfaces only = yes socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=16384 IPTOS_LOWDELAY read raw = no write raw = no getwd cache = no preserve case = yes max open files = 1000 guest account = pcguest level2 oplocks = no oplocks = no veto oplock files = /*.DBF/*.dbf/*.CDX/*.cdx/*.STX/*.stx blocking locks = no locking = yes strict locking = yes username map = /usr/local/samba/private/smbusers log level = 2 log file = /var/log/samba/%m.log max log size = 50 time server = Yes logon script = %U.bat logon path = logon home = domain logons = Yes os level = 255 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes load printers = yes printing = cups printcap name = cups #cups options = raw keep alive = 10 dead time = 5 [homes] comment = Home Directories valid users = %U read only = No browseable = No [netlogon] comment = Network Logon Service path = /usr/local/samba/lib/logon guest ok = Yes browseable = No share modes = No [D2] path = /var/samba/D2 valid users = @samba, root read only = No force create mode = 770 create mask = 0770 directory mask = 0770 dos filetime resolution = Yes dos filetimes = yes [D3] path = /var/samba/D3 read only = No create mask = 0770 directory mask = 0770 dos filetime resolution = Yes [BETA] path = /var/samba/D2/PRZELEW/BETA valid users = root, @przelew write list = root, @przelew read only = No create mask = 0770 directory mask = 0770 dos filetime resolution = Yes [SYS] path = /var/samba/SYS valid users = root, @samba write list = @root read only = No create mask = 0755 dos filetime resolution = Yes [OKI3321] comment = OKI3221 w serwerowni path = /var/spool/samba printer name = OKI3321 public = yes guest ok = yes printable = yes writable = no use client driver = yes [HP1200] comment = HP1200 w ksiegowosci path = /var/spool/samba printer name = HP1200 public = yes guest ok = yes printable = yes writable = no use client driver = yes [HP2015] comment = HP2015 w ksiegowosci path = /var/spool/samba printer name = HP2015 public = yes guest ok = yes printable = yes writable = no use client driver = yes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba hangs Pl. Help!!!!!! :(
Hi!! Experts I am running Samba on Red Hat Enterprise Linux WS release 3 (Taroon Update 8) and users are using thru winodows work station and intermittently their access hangs, below are the messages from /var/log/messages Pl. help Jun 19 09:29:08 dlhl0211 automount[2028]: failed to mount /scratch/* Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] lib/fault.c:fault_report(36) Jun 19 09:29:28 dlhl0211 smbd[1298]: === Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] lib/fault.c:fault_report(37) Jun 19 09:29:28 dlhl0211 smbd[1298]: INTERNAL ERROR: Signal 7 in pid 1298 (3.0.9-1.3E.9) Jun 19 09:29:28 dlhl0211 smbd[1298]: Please read the appendix Bugs of the Samba HOWTO collection Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] lib/fault.c:fault_report(39) Jun 19 09:29:28 dlhl0211 smbd[1298]: === Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] lib/util.c:smb_panic2(1504) Jun 19 09:29:28 dlhl0211 smbd[1298]: PANIC: internal error Jun 19 09:29:28 dlhl0211 smbd[1298]: [2007/06/19 09:29:28, 0] lib/util.c:smb_panic2(1512) Jun 19 09:29:28 dlhl0211 smbd[1298]: BACKTRACE: 20 stack frames: Jun 19 09:29:28 dlhl0211 smbd[1298]:#0 smbd(smb_panic2+0x10b) [0x2a9570c6cb] Jun 19 09:29:28 dlhl0211 smbd[1298]:#1 smbd(smb_panic+0xe) [0x2a9570c5ae] Jun 19 09:29:28 dlhl0211 smbd[1298]:#2 smbd [0x2a956faa29] Jun 19 09:29:28 dlhl0211 smbd[1298]:#3 /lib64/tls/libc.so.6 [0x2a96d7fa20] Jun 19 09:29:28 dlhl0211 smbd[1298]:#4 /lib64/tls/libc.so.6(memcpy+0x60) [0x2a96dd0740] Jun 19 09:29:28 dlhl0211 smbd[1298]:#5 smbd [0x2a9571d893] Jun 19 09:29:28 dlhl0211 smbd[1298]:#6 smbd [0x2a9571e317] Jun 19 09:29:28 dlhl0211 smbd[1298]:#7 smbd [0x2a9571e714] Jun 19 09:29:28 dlhl0211 smbd[1298]:#8 smbd(tdb_store+0x108) [0x2a9571f708] Jun 19 09:29:28 dlhl0211 smbd[1298]:#9 smbd(claim_connection+0x20e) [0x2a955cc10e] Jun 19 09:29:28 dlhl0211 smbd[1298]:#10 smbd [0x2a9561705e] Jun 19 09:29:28 dlhl0211 smbd[1298]:#11 smbd(make_connection+0xf9) [0x2a95617e99] Jun 19 09:29:28 dlhl0211 smbd[1298]:#12 smbd(reply_tcon_and_X+0x1bd) [0x2a955e653d] Jun 19 09:29:28 dlhl0211 smbd[1298]:#13 smbd [0x2a956150de] Jun 19 09:29:28 dlhl0211 smbd[1298]:#14 smbd [0x2a956152aa] Jun 19 09:29:28 dlhl0211 smbd[1298]:#15 smbd(process_smb+0x8d) [0x2a9561547d] Jun 19 09:29:28 dlhl0211 smbd[1298]:#16 smbd(smbd_process+0x147) [0x2a95616197] Jun 19 09:29:28 dlhl0211 smbd[1298]:#17 smbd(main+0x3e7) [0x2a95778fd7] Jun 19 09:29:28 dlhl0211 smbd[1298]:#18 /lib64/tls/libc.so.6(__libc_start_main+0xd7) [0x2a96d6d1d7] Jun 19 09:29:28 dlhl0211 smbd[1298]:#19 smbd [0x2a955c09aa] Jun 19 09:29:28 dlhl0211 smbd[1298]: Jun 19 09:29:36 dlhl0211 smbd[1843]: [2007/06/19 09:29:36, 0] smbd/dfree.c:disk_free(138) Jun 19 09:29:36 dlhl0211 smbd[1843]: WARNING: dfree is broken on this system Jun 19 09:20:15 dlhl0211 smbd[1241]: tdb(/etc/samba/secrets.tdb): tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:15 dlhl0211 smbd[1241]: [2007/06/19 09:20:15, 0] tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77) Jun 19 09:20:15 dlhl0211 smbd[1241]: tdb_chainlock_with_timeout_internal: alarm (10) timed out for key DLHDC02 in tdb /etc/samba/secrets.tdb Jun 19 09:20:15 dlhl0211 smbd[1068]: [2007/06/19 09:20:15, 0] tdb/tdbutil.c:tdb_log(725) Jun 19 09:20:15 dlhl0211 smbd[1068]: tdb(/etc/samba/secrets.tdb): tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:15 dlhl0211 smbd[1068]: [2007/06/19 09:20:15, 0] tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77) Jun 19 09:20:15 dlhl0211 smbd[1068]: tdb_chainlock_with_timeout_internal: alarm (10) timed out for key DLHDC02 in tdb /etc/samba/secrets.tdb Jun 19 09:20:16 dlhl0211 smbd[1094]: [2007/06/19 09:20:16, 0] tdb/tdbutil.c:tdb_log(725) Jun 19 09:20:16 dlhl0211 smbd[1094]: tdb(/etc/samba/secrets.tdb): tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:16 dlhl0211 smbd[1094]: [2007/06/19 09:20:16, 0] tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77) Jun 19 09:20:16 dlhl0211 smbd[1094]: tdb_chainlock_with_timeout_internal: alarm (10) timed out for key DLHDC02 in tdb /etc/samba/secrets.tdb Jun 19 09:20:17 dlhl0211 smbd[1047]: [2007/06/19 09:20:17, 0] tdb/tdbutil.c:tdb_log(725) Jun 19 09:20:17 dlhl0211 smbd[1047]: tdb(/etc/samba/secrets.tdb): tdb_lock failed on list 55 ltype=1 (Interrupted system call) Jun 19 09:20:17 dlhl0211 smbd[1047]: [2007/06/19 09:20:17, 0] tdb/tdbutil.c:tdb_chainlock_with_timeout_internal(77) Jun 19 09:20:17 dlhl0211 smbd[1047]: tdb_chainlock_with_timeout_internal: alarm (10) timed out for key DLHDC02 in tdb /etc/samba/secrets.tdb Thanks Indy -- To unsubscribe from this list go to the following URL and read the instructions:
[Samba] Samba hangs badly making the OS hang unrecoverably too
Hi everybody, i'm getting mad regarding a very serious (since it's happening on a production server) issue with a samba domain joined installation. This machine has worked perfectly for an year and the last configuration tune up and version upgrade (3.0.23c) went along fine in the first days of January. It's been two weeks approximately now since we started to have a bad issue, a smbd lock causing a complete machine lock. I don't wont to get too much into annoying details, but let's say that an hardware problem has been ruled out, that there are no network communications issues and that, most interestingly, we had the same issue with another identically configured server. In my young sysadmin career (6 years now) i've never seen such a failure, one causing a linux machine to stop responding on console commands (even ps aux, lsof...), never letting me to look at logs while on hang (console will hang waiting for the file open), neither to kill processes hanging. There's no CPU occupation, nor particular network activity neither resources depleting: it just hangs there with no possibilities to recover it besides an hardware machine reset. All of this considered, i tried to debug the problem in every way, looking for particular messages into every log and launching every samba related daemon interactively and with debug level at 10: i obtained no particular info, no write or read error, communications problems with the domain of any nature. NMBD and SMBD processes just stop to work and hangs waiting, i really don't know for what. When it hangs i'm still able to communicate with open ssh sessions as long as i i don't try to look for open processes or files. I suppose is something related to name resolution and winbind rid mappings, but from what i've gathered so far, i've no particular info to spot even possibly the problem. Any help or suggestion from you would be very welcomed and appreciated. Tomorrow i will setup another machine for the same purpose with an opensuse 10.2 and look what happens. Thanks a lot in advance to everybody willing to help, i'll be happy to provide you with any requested further info. Alberto This is my smb.conf [global] workgroup = AGBSOFT realm = AGBSOFT.CH netbios name = FTP server string = FTP Server wins server = 10.100.0.2,10.100.0.4 #client schannel = no idmap uid = 1-2 idmap gid = 1-2 idmap backend = rid:AGBSOFT=1-2 allow trusted domains = no winbind enum users = yes winbind enum groups = yes winbind use default domain = yes winbind nested groups = yes template homedir = /home/%D/%U template shell = /bin/bash load printers = no log file = /var/log/samba/%m.log #log level = 8 max log size = 0 security = ads #password server = agbsoft-nt1.agbsoft.ch encrypt passwords = yes socket options = IPTOS_LOWDELAY TCP_NODELAY #os level = 23 domain master = no preferred master = no local master = no inherit acls = yes inherit permissions = yes map acl inherit = yes store dos attributes = yes acl compatibility = win2k #acl group control = yes map hidden = no map system = no map readonly = no nt acl support = yes ea support = yes winbind offline logon = true winbind refresh tickets = true dos filemode = yes [FTPSpace] comment = FTP path = /ftp valid users = @AGBSOFT\Domain Users writable = yes [Regressions] comment = Regressions Files path= /ftp/istap/Regressions valid users = @AGBSOFT\Domain Users writable = yes -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba hangs over nfs
Hello 1. NFS export: /srv/nfsexp 127.0.0.1(rw) 2. mount it: 127.0.0.1:/srv/nfsexp /srv/samba/nfs nfs rw,sync 0 0 3. make a samba share and mount it via Windows: smb.conf: ... [nfstest] path = /srv/samba writable = yes valid users = tr Actual results: As soon as I start to read and write files below /srv/samba/nfs via Samba on Windows the connection hangs, I get read timeout in Explorer Thanks Regards, Komal -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba hangs daily
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry Querette wrote: | Everyday samba hangs and I can´t find the reason. | | It happens around 4PM as you can see in the /var/log/messages | and some time in the morning when people start to work. | In the moment I´m restarting samba and cups as a workaround This back trace doesn't ring a bell. Lars, do you recognize it? What else happens around 4pm everyday? Some cron job ? cheers, jerry | Jul 25 15:54:02 bankok smbd[12535]: INTERNAL ERROR: Signal |11 in pid 12535 (3.0.14a-4.1-SUSE) | === | Jul 25 15:54:02 bankok smbd[12535]: [2005/07/25 15:54:02, 0] | lib/util.c:smb_panic2(1463) | Jul 25 15:54:02 bankok smbd[12535]: PANIC: internal error | Jul 25 15:54:02 bankok smbd[12535]: [2005/07/25 15:54:02, 0] | lib/util.c:smb_panic2(1471) | Jul 25 15:54:02 bankok smbd[12535]: BACKTRACE: 13 stack frames: | Jul 25 15:54:02 bankok smbd[12535]: #0 /usr/sbin/smbd(smb_panic2+0x120) | [0x820ca30] | Jul 25 15:54:02 bankok smbd[12535]: #1 /usr/sbin/smbd(smb_panic+0x26) | [0x820cc06] | Jul 25 15:54:02 bankok smbd[12535]: #2 /usr/sbin/smbd [0x81f7550] | Jul 25 15:54:02 bankok smbd[12535]: #3 [0xe420] | Jul 25 15:54:02 bankok smbd[12535]: #4 | /usr/sbin/smbd(cups_cache_reload+0x159) [0x81f0469] ^^ | Jul 25 15:54:02 bankok smbd[12535]: #5 | /usr/sbin/smbd(pcap_cache_reload+0x371) [0x81edcd1] | Jul 25 15:54:02 bankok smbd[12535]: #6 /usr/sbin/smbd(reload_printers+0x33) | [0x828f303] | Jul 25 15:54:02 bankok smbd[12535]: #7 /usr/sbin/smbd(check_reload+0xc2) | [0x80dfe22] | Jul 25 15:54:02 bankok smbd[12535]: #8 /usr/sbin/smbd [0x80dff75] | Jul 25 15:54:02 bankok smbd[12535]: #9 /usr/sbin/smbd(smbd_process+0x104) | [0x80e1ea4] | Jul 25 15:54:02 bankok smbd[12535]: #10 /usr/sbin/smbd(main+0x530) | [0x8290750] | Jul 25 15:54:02 bankok smbd[12535]: #11 | /lib/tls/libc.so.6(__libc_start_main+0xe0) [0x402c2b10] | Jul 25 15:54:02 bankok smbd[12535]: #12 /usr/sbin/smbd [0x807a431] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC5jo4IR7qMdg1EfYRAkpCAKDbflZTS9PgOhSua/OimHAV1VYFMwCfR+5K GrFgu3EWVTZuOXyw/UVYlAE= =t7T+ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba hangs daily
Hi, I need some help. Everyday samba hangs and I can´t find the reason. It happens around 4PM as you can see in the /var/log/messages and some time in the morning when people start to work. In the moment I´m restarting samba and cups as a workaround Here follows the error messages: - Jul 25 16:14:26 bankok smbd[19270]: [2005/07/25 16:14:26, 0] lib/util_sock.c:write_socket_data(430) Jul 25 16:14:26 bankok smbd[19270]: write_socket_data: write failure. Error = Connection reset by peer Jul 25 16:14:26 bankok smbd[19270]: [2005/07/25 16:14:26, 0] lib/util_sock.c:write_socket(455) Jul 25 16:14:26 bankok smbd[19270]: write_socket: Error writing 4 bytes to socket 4: ERRNO = Connection reset by peer Jul 25 16:14:26 bankok smbd[19270]: [2005/07/25 16:14:26, 0] lib/util_sock.c:send_smb(647) Jul 25 16:14:26 bankok smbd[19270]: Error writing 4 bytes to client. -1. (Connection reset by peer) - Jul 25 15:53:21 bankok smbd[12058]: Jul 25 15:54:02 bankok smbd[12535]: [2005/07/25 15:54:02, 0] lib/fault.c:fault_report(36) Jul 25 15:54:02 bankok smbd[12535]: === Jul 25 15:54:02 bankok smbd[12535]: [2005/07/25 15:54:02, 0] lib/fault.c:fault_report(37) Jul 25 15:54:02 bankok smbd[12535]: INTERNAL ERROR: Signal 11 in pid 12535 ( 3.0.14a-4.1-SUSE) Jul 25 15:54:02 bankok smbd[12535]: Please read the appendix Bugs of the Samba HOWTO collection Jul 25 15:54:02 bankok smbd[12535]: [2005/07/25 15:54:02, 0] lib/fault.c:fault_report(39) Jul 25 15:54:02 bankok smbd[12535]: === Jul 25 15:54:02 bankok smbd[12535]: [2005/07/25 15:54:02, 0] lib/util.c:smb_panic2(1463) Jul 25 15:54:02 bankok smbd[12535]: PANIC: internal error Jul 25 15:54:02 bankok smbd[12535]: [2005/07/25 15:54:02, 0] lib/util.c:smb_panic2(1471) Jul 25 15:54:02 bankok smbd[12535]: BACKTRACE: 13 stack frames: Jul 25 15:54:02 bankok smbd[12535]: #0 /usr/sbin/smbd(smb_panic2+0x120) [0x820ca30] Jul 25 15:54:02 bankok smbd[12535]: #1 /usr/sbin/smbd(smb_panic+0x26) [0x820cc06] Jul 25 15:54:02 bankok smbd[12535]: #2 /usr/sbin/smbd [0x81f7550] Jul 25 15:54:02 bankok smbd[12535]: #3 [0xe420] Jul 25 15:54:02 bankok smbd[12535]: #4 /usr/sbin/smbd(cups_cache_reload+0x159) [0x81f0469] Jul 25 15:54:02 bankok smbd[12535]: #5 /usr/sbin/smbd(pcap_cache_reload+0x371) [0x81edcd1] Jul 25 15:54:02 bankok smbd[12535]: #6 /usr/sbin/smbd(reload_printers+0x33) [0x828f303] Jul 25 15:54:02 bankok smbd[12535]: #7 /usr/sbin/smbd(check_reload+0xc2) [0x80dfe22] Jul 25 15:54:02 bankok smbd[12535]: #8 /usr/sbin/smbd [0x80dff75] Jul 25 15:54:02 bankok smbd[12535]: #9 /usr/sbin/smbd(smbd_process+0x104) [0x80e1ea4] Jul 25 15:54:02 bankok smbd[12535]: #10 /usr/sbin/smbd(main+0x530) [0x8290750] Jul 25 15:54:02 bankok smbd[12535]: #11 /lib/tls/libc.so.6(__libc_start_main+0xe0) [0x402c2b10] Jul 25 15:54:02 bankok smbd[12535]: #12 /usr/sbin/smbd [0x807a431] global section of smb.conf [global] workgroup = corp printing = cups printcap name = cups printcap cache time = 750 cups options = raw printer admin = @ntadmin, root, administrator username map = /etc/samba/smbusers map to guest = Bad User include = /etc/samba/dhcp.conf logon drive = P: security = user encrypt passwords = yes add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = yes domain master = yes wins support = yes wins proxy = yes ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Computers local master = yes netbios name = bankok os level = 65 preferred master = yes smb passwd file = /etc/samba/smbpasswd passdb backend = smbpasswd unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Re-enter*new*password* %n\n *Password*changed* # Veto Files veto files = /*.mp3/*.wmv/*.wma/*.ogg [homes] comment = Home Directories valid users = %S browseable = no read only = no inherit acls = yes [profiles] comment = Network Profiles Service path = %H read only = no store dos attributes = yes create mask = 0600 directory mask = 0700 [users] comment = All users path = /home read only = no inherit acls = yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = no inherit acls = yes [pdf] comment = PDF creator path = /var/tmp printable = yes # print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600 [printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 __ -- shares are as follows [data] browseable = yes comment = Dados writeable = yes write list = @comp path =
[Samba] Samba hangs
On 3 occasions in the last 2 week my samba server has hung up. It has occurred each time when I am trying to do a full backup copy of the file server. It appears to be happening at the same place, I'm guessing based on the number of files which are being transfered.When I look at the rsync which is running I just see a long line of files with I/O errors. When I try to shutdown smb, I can't. #service smb stop Shutting down smb [Failed] Shutting down nmb [Failed] When I look at #ps -aux|grep smbd I get a long list of pid's. Whenever I try to kill one of these pid's with kill x or kill -9 x or kill -15 x killall smbd nothing happens. I then have to reboot. I have been running this system for 2 years and it just started this. Any ideas? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba hangs
nothing happens. I then have to reboot. I have been running this system for 2 years and it just started this. Any ideas? Well you state that both rsync and samba are having problems and that rsync is throwing I/O errors on a system that has been in service a couple of years. Sounds like a hardware/filesystem error. /jabOr it could be the multiple identical posts to listservs in short succession that are causing your system hangs./jab :-P -- -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba hangs somtimes
Hello I have Samba version 2.2313 ( Debian Woody ). Sometime if i copy many 2000 - 5000 files to the Server samba hangs. This is not a problem of Space. Also if i trasver many files from System 1 to the Server and i want to access the Server from System 2 the Serevr Hangs. I had this strage Problem on 2 Server System ( not the same Hardware ) has anyone an Idea? Greatings from Switzerland Manfred -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba