Hello list, My samba server stopped allowing access to shares this morning. It gave some funky errors. Has anyone seen these before? The OS is Fedora 9 and the version is... Version 3.2.0pre3-9.fc9 Am using ADS security for serving shares. Server is EXAMPLEDC.EXAMPLE.CORP Looks like it is saying no login servers in client log but, there are two listed in smb.conf and they both replied to a ping when this happened. I tried restarting smb but it did not help. A reboot cleared up the issue but I want to get to the root cause. There are some strange lines in the smbd log as well(bottom). Any help is greatly appreciated. Can I avoid rebooting this to fix it if it happens again. Or better yet can I permanently fix it maybe upgrade Samba. I saw a previous post where raising amount of processes allowed per group was suggested. Thank you James +++++++++++++++++++++ + Client log excerpt+ *++++++++++++++++++++ [2009/01/21 07:08:35, 1] lib/util_tdb.c:tdb_wrap_log(886) tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1 (Interrupted system call) [2009/01/21 07:08:35, 0] lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91) tdb_chainlock_with_timeout_internal: alarm (10) timed out for key EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb [2009/01/21 07:08:35, 1] lib/server_mutex.c:grab_named_mutex(71) Could not get the lock for EXAMPLEDC.EXAMPLE.CORP [2009/01/21 07:08:55, 0] auth/auth_domain.c:domain_client_validate(221) domain_client_validate: Domain password server not available. [2009/01/21 07:08:55, 2] auth/auth.c:check_ntlm_password(318) check_ntlm_password: Authentication for user [some_user] -> [some_user] FAILED with error NT_STATUS_NO_LOGON_SERVERS [2009/01/21 07:09:09, 1] lib/util_tdb.c:tdb_wrap_log(886) tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1 (Interrupted system call) [2009/01/21 07:09:09, 0] lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91) tdb_chainlock_with_timeout_internal: alarm (10) timed out for key EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb [2009/01/21 07:09:09, 1] lib/server_mutex.c:grab_named_mutex(71) Could not get the lock for EXAMPLEDC.EXAMPLE.CORP +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ============================ log.smbd excerpt =========================== [2009/01/19 14:33:44, 0] lib/util_sock.c:get_peer_addr_internal(1601) getpeername failed. Error was Transport endpoint is not connected [2009/01/20 13:29:40, 0] lib/util_sock.c:get_peer_addr_internal(1601) getpeername failed. Error was Transport endpoint is not connected [2009/01/21 09:03:39, 0] smbd/server.c:main(1208) smbd version 3.2.0pre3-9.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/01/21 09:03:39, 2] lib/tallocmsg.c:register_msg_pool_usage(106) Registered MSG_REQ_POOL_USAGE [2009/01/21 09:03:39, 2] lib/dmallocmsg.c:register_dmalloc_msgs(77) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED ============================================================================ CONFIDENTIALITY This e-mail message and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail message, you are hereby notified that any dissemination, distribution or copying of this e-mail message, and any attachments thereto, is strictly prohibited. If you have received this e-mail message in error, please immediately notify the sender and permanently delete the original and any copies of this email and any prints thereof. ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the Uniform Electronic Transactions Act or the applicability of any other law of similar substance and effect, absent an express statement to the contrary hereinabove, this e-mail message its contents, and any attachments hereto are not intended to represent an offer or acceptance to enter into a contract and are not otherwise intended to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or any other person or entity.
James Chavez
2009-Jan-21 17:23 UTC
[Samba] Samba server stopped serving shares, strange errors.
Sorry sent no subject in my message post. Please disregard the previous post and reply to this one. A correction in the line below where I stated "Server is EXAMPLEDC.EXAMPLE.CORP" I meant the domain controller is "EXAMPLEDC.EXAMPLE.CORP" Hello list, My samba server stopped allowing access to shares this morning. It gave some funky errors. Has anyone seen these before? The OS is Fedora 9 and the version is... Version 3.2.0pre3-9.fc9 Am using ADS security for serving shares. Server is EXAMPLEDC.EXAMPLE.CORP Looks like it is saying no login servers in client log but, there are two listed in smb.conf and they both replied to a ping when this happened. I tried restarting smb but it did not help. A reboot cleared up the issue but I want to get to the root cause. There are some strange lines in the smbd log as well(bottom). Any help is greatly appreciated. Can I avoid rebooting this to fix it if it happens again. Or better yet can I permanently fix it maybe upgrade Samba. I saw a previous post where raising amount of processes allowed per group was suggested. Thank you James +++++++++++++++++++++ + Client log excerpt+ *++++++++++++++++++++ [2009/01/21 07:08:35, 1] lib/util_tdb.c:tdb_wrap_log(886) tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1 (Interrupted system call) [2009/01/21 07:08:35, 0] lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91) tdb_chainlock_with_timeout_internal: alarm (10) timed out for key EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb [2009/01/21 07:08:35, 1] lib/server_mutex.c:grab_named_mutex(71) Could not get the lock for EXAMPLEDC.EXAMPLE.CORP [2009/01/21 07:08:55, 0] auth/auth_domain.c:domain_client_validate(221) domain_client_validate: Domain password server not available. [2009/01/21 07:08:55, 2] auth/auth.c:check_ntlm_password(318) check_ntlm_password: Authentication for user [some_user] -> [some_user] FAILED with error NT_STATUS_NO_LOGON_SERVERS [2009/01/21 07:09:09, 1] lib/util_tdb.c:tdb_wrap_log(886) tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1 (Interrupted system call) [2009/01/21 07:09:09, 0] lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91) tdb_chainlock_with_timeout_internal: alarm (10) timed out for key EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb [2009/01/21 07:09:09, 1] lib/server_mutex.c:grab_named_mutex(71) Could not get the lock for EXAMPLEDC.EXAMPLE.CORP +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ============================ log.smbd excerpt =========================== [2009/01/19 14:33:44, 0] lib/util_sock.c:get_peer_addr_internal(1601) getpeername failed. Error was Transport endpoint is not connected [2009/01/20 13:29:40, 0] lib/util_sock.c:get_peer_addr_internal(1601) getpeername failed. Error was Transport endpoint is not connected [2009/01/21 09:03:39, 0] smbd/server.c:main(1208) smbd version 3.2.0pre3-9.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/01/21 09:03:39, 2] lib/tallocmsg.c:register_msg_pool_usage(106) Registered MSG_REQ_POOL_USAGE [2009/01/21 09:03:39, 2] lib/dmallocmsg.c:register_dmalloc_msgs(77) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED ============================================================================ CONFIDENTIALITY This e-mail message and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail message, you are hereby notified that any dissemination, distribution or copying of this e-mail message, and any attachments thereto, is strictly prohibited. If you have received this e-mail message in error, please immediately notify the sender and permanently delete the original and any copies of this email and any prints thereof. ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the Uniform Electronic Transactions Act or the applicability of any other law of similar substance and effect, absent an express statement to the contrary hereinabove, this e-mail message its contents, and any attachments hereto are not intended to represent an offer or acceptance to enter into a contract and are not otherwise intended to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or any other person or entity.
James Chavez
2009-Jan-21 18:40 UTC
[Samba] Samba server stopped serving shares, strange errors.(Any Ideas?)
On Wed, 2009-01-21 at 10:23 -0700, James Chavez wrote:> Sorry sent no subject in my message post. Please disregard the previous > post and reply to this one. > > A correction in the line below where I stated > "Server is EXAMPLEDC.EXAMPLE.CORP" > I meant the domain controller is "EXAMPLEDC.EXAMPLE.CORP" > > Hello list, > My samba server stopped allowing access to shares this morning. It gave > some funky errors. Has anyone seen these before? The OS is Fedora 9 and > the version is... > Version 3.2.0pre3-9.fc9 > Am using ADS security for serving shares. > Server is EXAMPLEDC.EXAMPLE.CORP > > Looks like it is saying no login servers in client log but, there are > two listed in smb.conf and they both replied to a ping when this > happened. > I tried restarting smb but it did not help. A reboot cleared up the > issue but I want to get to the root cause. > > There are some strange lines in the smbd log as well(bottom). > > Any help is greatly appreciated. Can I avoid rebooting this to fix it if > it happens again. Or better yet can I permanently fix it maybe upgrade > Samba. I saw a previous post where raising amount of processes allowed > per group was suggested. > > Thank you > James > > +++++++++++++++++++++ > + Client log excerpt+ > *++++++++++++++++++++ > > [2009/01/21 07:08:35, 1] lib/util_tdb.c:tdb_wrap_log(886) > tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1 > (Interrupted system call) > [2009/01/21 07:08:35, 0] > lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91) > tdb_chainlock_with_timeout_internal: alarm (10) timed out for key > EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb > [2009/01/21 07:08:35, 1] lib/server_mutex.c:grab_named_mutex(71) > Could not get the lock for EXAMPLEDC.EXAMPLE.CORP > > [2009/01/21 07:08:55, 0] auth/auth_domain.c:domain_client_validate(221) > domain_client_validate: Domain password server not available. > [2009/01/21 07:08:55, 2] auth/auth.c:check_ntlm_password(318) > check_ntlm_password: Authentication for user [some_user] -> > [some_user] FAILED with error NT_STATUS_NO_LOGON_SERVERS > [2009/01/21 07:09:09, 1] lib/util_tdb.c:tdb_wrap_log(886) > tdb(/var/lib/samba/mutex.tdb): tdb_lock failed on list 12 ltype=1 > (Interrupted system call) > [2009/01/21 07:09:09, 0] > lib/util_tdb.c:tdb_chainlock_with_timeout_internal(91) > tdb_chainlock_with_timeout_internal: alarm (10) timed out for key > EXAMPLEDC.EXAMPLE.CORP in tdb /var/lib/samba/mutex.tdb > [2009/01/21 07:09:09, 1] lib/server_mutex.c:grab_named_mutex(71) > Could not get the lock for EXAMPLEDC.EXAMPLE.CORP > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > ===========================> = log.smbd excerpt > ===========================> > [2009/01/19 14:33:44, 0] lib/util_sock.c:get_peer_addr_internal(1601) > getpeername failed. Error was Transport endpoint is not connected > [2009/01/20 13:29:40, 0] lib/util_sock.c:get_peer_addr_internal(1601) > getpeername failed. Error was Transport endpoint is not connected > [2009/01/21 09:03:39, 0] smbd/server.c:main(1208) > smbd version 3.2.0pre3-9.fc9 started. > Copyright Andrew Tridgell and the Samba Team 1992-2008 > [2009/01/21 09:03:39, 2] lib/tallocmsg.c:register_msg_pool_usage(106) > Registered MSG_REQ_POOL_USAGE > [2009/01/21 09:03:39, 2] lib/dmallocmsg.c:register_dmalloc_msgs(77) > Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED > ============================================================================> > > CONFIDENTIALITY > This e-mail message and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail message, you are hereby notified that any dissemination, distribution or copying of this e-mail message, and any attachments thereto, is strictly prohibited. If you have received this e-mail message in error, please immediately notify the sender and permanently delete the original and any copies of this email and any prints thereof. > ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the Uniform Electronic Transactions Act or the applicability of any other law of similar substance and effect, absent an express statement to the contrary hereinabove, this e-mail message its contents, and any attachments hereto are not intended to represent an offer or acceptance to enter into a contract and are not otherwise intended to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or any other person or entity.CONFIDENTIALITY This e-mail message and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail message, you are hereby notified that any dissemination, distribution or copying of this e-mail message, and any attachments thereto, is strictly prohibited. If you have received this e-mail message in error, please immediately notify the sender and permanently delete the original and any copies of this email and any prints thereof. ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the Uniform Electronic Transactions Act or the applicability of any other law of similar substance and effect, absent an express statement to the contrary hereinabove, this e-mail message its contents, and any attachments hereto are not intended to represent an offer or acceptance to enter into a contract and are not otherwise intended to bind the sender, Sanmina-SCI Corporation (or any of its subsidiaries), or any other person or entity.