[Samba] samba runs 1 month and then crash and never come back

John H Terpstra jht at samba.org
Thu Jul 29 17:18:14 GMT 2004


James,

Did you update glibc by any chance? Have you rebooted the system and does it 
still happen following a reboot?

What version of Samba is this?

- John T.

On Thursday 29 July 2004 10:44, James Coggan wrote:
> guys need help
> my samba was working fine for about 1 month then it stoped working and
> now i get this error log
...
> [2004/07/29 13:36:54, 3] smbd/server.c:main(787)
>  loaded services
> [2004/07/29 13:36:54, 3] smbd/server.c:main(802)
>  Becoming a daemon.
> [2004/07/29 13:36:54, 0] lib/util.c:process_exists(1259)
>  PANIC: assert failed at lib/util.c(1259)
> [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
>  PANIC: assert failed
> [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
>  BACKTRACE: 8 stack frames:
>   #0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
>   #1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
>   #2 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
>   #3 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
>   #4 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
>   #5 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
>   #6 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
>   #7 /usr/sbin/smbd [0x8074f41]
> [2004/07/29 13:36:54, 0] lib/fault.c:fault_report(36)
>  ===============================================================
> [2004/07/29 13:36:54, 0] lib/fault.c:fault_report(37)
>  INTERNAL ERROR: Signal 6 in pid 26661 (3.0.5)
>  Please read the appendix Bugs of the Samba HOWTO collection
> [2004/07/29 13:36:54, 0] lib/fault.c:fault_report(39)
>  ===============================================================
> [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1398)
>  PANIC: internal error
> [2004/07/29 13:36:54, 0] lib/util.c:smb_panic2(1406)
>  BACKTRACE: 14 stack frames:
>   #0 /usr/sbin/smbd(smb_panic2+0x1d2) [0x81da689]
>   #1 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
>   #2 /usr/sbin/smbd [0x81c5d0e]
>   #3 /usr/sbin/smbd [0x81c5d75]
>   #4 /lib/libc.so.6 [0x40200078]
>   #5 /lib/libc.so.6(abort+0x178) [0x402015a8]
>   #6 /usr/sbin/smbd(readdirname+0) [0x81da786]
>   #7 /usr/sbin/smbd(smb_panic+0x13) [0x81da4b2]
>   #8 /usr/sbin/smbd(process_exists+0x70) [0x81da2d1]
>   #9 /usr/sbin/smbd(pidfile_pid+0xac) [0x81c8020]
>   #10 /usr/sbin/smbd(pidfile_create+0x3a) [0x81c80ce]
>   #11 /usr/sbin/smbd(main+0x4dc) [0x823ca74]
>   #12 /lib/libc.so.6(__libc_start_main+0xc6) [0x401ec936]
>   #13 /usr/sbin/smbd [0x8074f41
>
>
>
> my smb.conf
> [global]
>        load printers = yes
>        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
> SO_RCVBUF=8192
>        admin users = @domain_admins
>        logon drive = H:
>        domain master = Yes
>        encrypt passwords = yes
>        passwd program = /usr/bin/smbpasswd -U %u
>        smb passwd file = /etc/samba/private/smbpasswd
>        logon home = \\action\%u
>        printer admin = @domain_admins
>        wins support = yes
>        netbios name = ACTION
>        printing = cups
>        printcap name = cups
>        logon script = LOGIN.BAT
>        default = global
> #       dos charset = 850
>        unix password sync = yes
>        workgroup = COGGAN
>        logon path = \\%N\profiles\%U
>        os level = 99
>        preferred master = yes
>        local master = yes
>        security = user
> #       unix charset = ISO8859-1
>        domain logons = Yes
>        log level = 5
>        passwd chat = *password* %n\n *password* %n\n *successful*
>        passwd chat debug = Yes
>        time server = yes
>        server string = Samba %v as PDC
>        add user script = /usr/sbin/useradd -g 106 -d /dev/null -s
> /bin/False %u
> [netlogon]
>        comment = Network Logon Service
>        path = /home/netlogon
>        write list = @domain_admins
>
> [homes]
>        comment = Home Directories
>        valid users = %S
>        read only = No
>        create mask = 0664
>        directory mask = 0775
>        browseable = No
>
> [profiles]
>        path = /home/profile
>        browsable = no
>        writable = yes
>        create mask = 0600
>        directory mask = 0700
>
> [public]
>        path = /home/pub
>        read only = No
>        create mask = 0777
>        directory mask = 0777
>        public = yes
>        valid users = @users @domain_admins
>        write list = @users @domain_admins
>
> [backup]
>        path = /backup
>        read only = No
>        create mask = 0777
>        directory mask = 0777
>        public = yes
>        valid users = @users @domain_admins
>        write list = @users @domain_admins
>
> [alquest]
>        path = /home/alquest
>        read only = No
>        create mask = 0777
>        directory mask = 0777
>        public = yes
>        valid users = @users @domain_admins
>        write list = @domain_admins
>
> #[downloads]
> #       path = /home/downloads
> #       read only = No
> #       create mask = 0777
> #       directory mask = 0777
> #       valid users = @users @domain_admins
> #       write list = @users @domain_admins
>
> [printers]
>        comment = All Printers
>        path = /var/spool/samba
>        printer admin = root, administrator, jcoggan
>        valid users = @users @domain_admins
>        browseable = no
>        public = yes
>        guest ok = yes
>        printable = yes
>        writable = no
> [quake]
>        path = /usr/quake
>        read only = No
>        create mask = 0777
>        directory mask = 0777
>        public = yes
>        valid users = @users @domain_admins
>        write list = @users @domain_admins
> [print$]
> comment = Printer Drivers
> path = /home/printers
> browseable = yes
> guest ok = no
> read only = no
> public = yes
> write list = @domain_admins root bloodkiller

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.


More information about the samba mailing list