Yesterday afternoon we were having problems with our Samba server. The problem stems from a file locking problem with FoxPro databases. Typically, a restart of the smb service will fix things for a day. We got tired of restarting the service everyday and decided to upgrade to Samba 2.2.6. I downloaded the version for RedHat 7.3, which is the version of RedHat we are running right now. I stopped the smb service and did rpm -Uvh samba.-2.2.6.i386.rpm. I noticed it took forever to install. I then started the service back and no one could login. I went to /var/log/messages and there were some crazy messages coming up in the logs. Here are some examples:

Nov 12 14:00:28 samba smb: nmbd startup succeeded
Nov 12 14:00:29 samba nmbd[31302]: [2002/11/12 14:00:29.030312, 0, pid=31302, effective(0, 0), real(0, 0)] nmbd/nmbd_logonnames.c:add_logon_names(165)
Nov 12 14:00:29 samba nmbd[31302]: add_domain_logon_names:
Nov 12 14:00:29 samba nmbd[31302]: Attempting to become logon server for workgroup BRYANT on subnet 10.10.10.2
Nov 12 14:00:29 samba nmbd[31302]: [2002/11/12 14:00:29.030924, 0, pid=31302, effective(0, 0), real(0, 0)] nmbd/nmbd_logonnames.c:add_logon_names(165)
Nov 12 14:00:29 samba nmbd[31302]: add_domain_logon_names:
Nov 12 14:00:29 samba nmbd[31302]: Attempting to become logon server for workgroup BRYANT on subnet UNICAST_SUBNET
Nov 12 14:00:29 samba nmbd[31302]: [2002/11/12 14:00:29.039881, 0, pid=31302, effective(0, 0), real(0, 0)] nmbd/nmbd_become_dmb.c:become_domain_master_brows
Nov 12 14:00:29 samba smbd[31306]: [2002/11/12 14:00:29.057430, 0, pid=31306, effective(0, 0), real(0, 0)] lib/util_str.c:string_sub(1217)
Nov 12 14:00:29 samba nmbd[31302]: become_domain_master_browser_wins:
Nov 12 14:00:29 samba smbd[31306]: ERROR: string overflow by 1 in string_sub(%g, 13)
Nov 12 14:00:29 samba nmbd[31302]: Attempting to become domain master browser on workgroup BRYANT, subnet UNICAST_SUBNET.
Nov 12 14:00:29 samba smbd[31306]: [2002/11/12 14:00:29.110651, 0, pid=31306, effective(0, 0), real(0, 0)] lib/util_str.c:string_sub(1217)
Nov 12 14:00:29 samba nmbd[31302]: [2002/11/12 14:00:29.113317, 0, pid=31302, effective(0, 0), real(0, 0)] nmbd/nmbd_become_dmb.c:become_domain_master_brows
Nov 12 14:00:29 samba smbd[31306]: ERROR: string overflow by 1 in string_sub(%g, 13)
Nov 12 14:00:29 samba nmbd[31302]: become_domain_master_browser_wins: querying WINS server at IP 10.10.10.2 for domain master browser name BRYANT<1b> on w
Nov 12 14:00:29 samba smbd[31306]: [2002/11/12 14:00:29.182171, 0, pid=31306, effective(0, 0), real(0, 0)] lib/util_str.c:string_sub(1217)
Nov 12 14:00:29 samba nmbd[31302]: [2002/11/12 14:00:29.200090, 0, pid=31302, effective(0, 0), real(0, 0)] nmbd/nmbd_logonnames.c:become_logon_server_succes
Nov 12 14:00:29 samba smbd[31306]: ERROR: string overflow by 1 in string_sub(%g, 13)
Nov 12 14:00:29 samba smbd[31308]: [2002/11/12 14:00:29.221705, 0, pid=31308, effective(0, 0), real(0, 0)] lib/util_str.c:string_sub(1217)
Nov 12 14:00:29 samba nmbd[31302]: become_logon_server_success: Samba is now a logon server for workgroup BRYANT on subnet UNICAST_SUBNET
Nov 12 14:00:29 samba smbd[31306]: [2002/11/12 14:00:29.259580, 0, pid=31306, effective(0, 0), real(0, 0)] lib/util_str.c:string_sub(1217)
Nov 12 14:00:29 samba smbd[31308]: ERROR: string overflow by 1 in string_sub(%g, 13)
Nov 12 14:00:29 samba nmbd[31302]: [2002/11/12 14:00:29.311554, 0, pid=31302, effective(0, 0), real(0, 0)] nmbd/nmbd_become_dmb.c:become_domain_master_stage
Nov 12 14:00:29 samba smbd[31306]: ERROR: string overflow by 1 in string_sub(%g, 13)
Nov 12 14:00:29 samba smbd[31308]: [2002/11/12 14:00:29.349470, 0, pid=31308, effective(0, 0), real(0, 0)] lib/util_str.c:string_sub(1217)
Nov 12 14:00:29 samba nmbd[31302]: *****

These error messages were so constant that it slowed our server down to a crawl. It took forever to get it turned off! Does anyone understand these error messages? Can someone tell me what I have done wrong? Any help would be greatly appreciated!

Tait Shrum
Bryant Public Schools

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

Reply via email to