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

James Coggan jamesmarkcoggan at yahoo.com.br
Thu Jul 29 16:44:03 GMT 2004


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:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:53, 5] lib/charcnv.c:charset_name(74)
 Substituting charset 'ISO-8859-1' for LOCALE
[2004/07/29 13:36:54, 5] printing/print_cups.c:cups_printer_fn(93)
 cups_printer_fn(0x807d4b2)
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
 adding printer service Deskjet692c
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
 adding printer service DeskJet870
[2004/07/29 13:36:54, 3] param/loadparm.c:lp_add_printer(2397)
 adding printer service laserjet
[2004/07/29 13:36:54, 2] lib/interface.c:add_interface(79)
 added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
[2004/07/29 13:36:54, 2] lib/interface.c:add_interface(79)
 added interface ip=10.0.0.254 bcast=10.255.255.255 nmask=255.0.0.0
[2004/07/29 13:36:54, 5] lib/hash.c:hash_table_init(67)
 Hash size = 521.
[2004/07/29 13:36:54, 5] lib/util.c:init_names(270)
 Netbios name list:-
 my_netbios_names[0]="ACTION"
[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


More information about the samba mailing list