Samba startup failed due to the open suse11.4 bug

Source: Internet
Author: User

Problem description:

1. An error occurred while starting SMB. The prompt is as follows:
Bogon:/etc/samba # vi smb. conf
Bogon:/etc/samba # service SMB restart
Shutting down Samba SMB daemon warning: Daemon not running. Done
Starting Samba SMB daemon done
Bogon:/etc/samba # service SMB restart
Shutting down Samba SMB daemon warning: Daemon not running. Done
Starting Samba SMB daemon done

2. system logs are printed as follows:

Bogon:/etc/init. d # tail/var/log/messages
Oct 15 21:07:46 bogon smbd [28170]: [21:07:46. 165683, 0] passdb/secrets. C: 73 (secrets_init)
Oct 15 21:07:46 bogon smbd [28170]: failed to open/etc/samba/secrets. TDB
Oct 15 21:07:46 bogon smbd [28170]: [21:07:46. 166310, 0] smbd/server. C: 1234 (main)
Oct 15 21:07:46 bogon smbd [28170]: Error: smbd can not open secrets. TDB
Oct 15 21:07:48 bogon smbd [28180]: [21:07:48. 487406, 0] passdb/secrets. C: 73 (secrets_init)
Oct 15 21:07:48 bogon smbd [28180]: failed to open/etc/samba/secrets. TDB
Oct 15 21:07:48 bogon smbd [28182]: [21:07:48. 493825, 0] passdb/secrets. C: 73 (secrets_init)
Oct 15 21:07:48 bogon smbd [28182]: failed to open/etc/samba/secrets. TDB
Oct 15 21:07:48 bogon smbd [28182]: [21:07:48. 494240, 0] smbd/server. C: 1234 (main)
Oct 15 21:07:48 bogon smbd [28182]: Error: smbd can not open secrets. TDB

This problem has been around for a long time, and Du Niang cannot find a solution. Finally, Google went to the opensuse forum to find someone mentioned it. This was caused by a bug.

The link is as follows:

Http://forums.opensuse.org/english/get-technical-help-here/applications/455514-samba-broken-after-update-11-4-64-bits.html

Based on the post content, stopping apparmor should solve the problem. This method is feasible after trial.

How to stop apparmor:

Go to "apparmor control pannel" and disable the default settings.

You can enter apparmor in the beginning of xwindows to search for "apparmor control pannel". opensuse is a good tool.

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.