[Bug 707193] New: Samba Is Not Able To Start
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c0 Summary: Samba Is Not Able To Start Classification: openSUSE Product: openSUSE 12.1 Version: Milestone 3 Platform: PC OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: malv_star@hotmail.com QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- Created an attachment (id=441237) --> (http://bugzilla.novell.com/attachment.cgi?id=441237) Samba log portion. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 After setting up Samba through the YaST GUI, the daemon is not able to start. It does not start at boot time (if selected) and it cannot be invoked manually. Reproducible: Always Steps to Reproduce: 1. Configure Samba through the YaST GUI with a workgroup and hostname 2. Set Samba to start at boot time 3. Attempt to start Samba Actual Results: Samba fails to start. Expected Results: Samba daemon should start as expected. Attached is a log portion that appears to show the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c1 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |NEEDINFO CC| |samba-maintainers@SuSE.de InfoProvider| |malv_star@hotmail.com AssignedTo|samba-maintainers@SuSE.de |lmuelle@novell.com --- Comment #1 from Lars Müller <lmuelle@novell.com> 2011-07-21 11:21:32 CEST --- What does a ls -l /etc/samba/dhcp.conf report? Is AppArmor enabled? If yes, please disable it and try again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c2 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|malv_star@hotmail.com | --- Comment #2 from Malvern Star <malv_star@hotmail.com> 2011-07-27 08:09:42 UTC --- The result of the command "ls -l /etc/samba/dhcp.conf" is: -rw-r--r-- 1 root root 198 Jul 27 03:54 /etc/samba/dhcp.conf Calling "/etc/init.d/smb status" as superuser returns: Checking for Samba SMB daemon unused AppArmor appears not to be running as the AppArmor GUI shows an unticked box next to "Enable AppArmor" in the "Settings" dialogue. Clicking it and then clicking "Done" exits, but the next time you go in to the "Settings" dialogue it shows as unticked again. There does appear to be a problem however, because if you try to click on "Configure" next to "Set Profile Modes", the GUI waits at that point indefinitely. Attempting to close the GUI displays a KWin termination prompt after a few moments. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c3 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |malv_star@hotmail.com --- Comment #3 from Lars Müller <lmuelle@novell.com> 2011-07-27 13:02:42 CEST --- Please run the following commands as root user or via sudo chkconfig nmb chkconfig smb What is the state of these two services shown by the YaST runlevel editor? YaST -> System -> System Services (runlevel) Are both services enabled (yes/no)? Most important is the smb service. To investigate further we need /var/log/boot.msg and /var/log/boot.omsg plus the Samba log files as described at the Samba bug reporting howto at http://en.openSUSE.org/Samba in the section "Samba bug reporting and advanced debugging information". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c4 --- Comment #4 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:40:41 UTC --- Created an attachment (id=444602) --> (http://bugzilla.novell.com/attachment.cgi?id=444602) boot.msg file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c5 --- Comment #5 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:41:24 UTC --- Created an attachment (id=444603) --> (http://bugzilla.novell.com/attachment.cgi?id=444603) boot.osmg file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c6 --- Comment #6 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:42:05 UTC --- Created an attachment (id=444605) --> (http://bugzilla.novell.com/attachment.cgi?id=444605) smbd log file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c7 --- Comment #7 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:42:27 UTC --- Created an attachment (id=444606) --> (http://bugzilla.novell.com/attachment.cgi?id=444606) nmbd log file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c8 --- Comment #8 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:42:47 UTC --- Created an attachment (id=444607) --> (http://bugzilla.novell.com/attachment.cgi?id=444607) swat log file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c9 --- Comment #9 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:43:16 UTC --- Created an attachment (id=444608) --> (http://bugzilla.novell.com/attachment.cgi?id=444608) Samba configuration file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c10 --- Comment #10 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:44:05 UTC --- Created an attachment (id=444609) --> (http://bugzilla.novell.com/attachment.cgi?id=444609) rpm -qi output for Samba -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c11 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|malv_star@hotmail.com | --- Comment #11 from Malvern Star <malv_star@hotmail.com> 2011-08-08 05:44:30 UTC --- Sorry for the delay in getting back to you Lars - work has been a little hectic. chkconfig nmb returns: nmb on chkconfig smb returns: smb on The YaST runlevel editor shows both services as enabled but not running. I have added boot.msg and boot.omsg as attachments to this report, along with the required samba log files, samba configuration file and rpm information. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c12 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |malv_star@hotmail.com --- Comment #12 from Lars Müller <lmuelle@novell.com> 2011-08-09 00:12:26 CEST --- In the smbd log you see: params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/dhcp.conf": Either the file /etc/samba/dhcp.conf does not exist or AppArmor prevents the access to it. Please modify /etc/samba/smb.conf an put a "#" char in front of the include line of the /etc/samba/dhcp.conf file. In addition to the chkconfig command output I like to see the output of: service nmb status and service smb status Also please try the packages as we provide them via the Open Build Service network:samba:STABLE repository. See the pointers at http://en.openSUSE.org/Samba in the section labeled "Open Build Service (OBS)". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c13 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|malv_star@hotmail.com | --- Comment #13 from Malvern Star <malv_star@hotmail.com> 2011-08-21 19:40:52 UTC --- After commenting out the line in smb.conf including dhcp.conf (the file does exist by the way), I once again tried to start Samba using "/etc/init.d/smb restart". The following information was appended to the samba log file: [2011/08/22 03:27:37, 0] smbd/server.c:1134(main) smbd version 3.5.8-2516-SUSE-SL12.1-i386 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2011/08/22 03:27:37.005962, 0] passdb/secrets.c:73(secrets_init) Failed to open /etc/samba/secrets.tdb [2011/08/22 03:27:37.006883, 0] passdb/secrets.c:73(secrets_init) Failed to open /etc/samba/secrets.tdb [2011/08/22 03:27:37.006945, 0] smbd/server.c:1234(main) ERROR: smbd can not open secrets.tdb After this change, the following commands were issued: "service nmb status" returned "unused" "service smb status" returned "dead" Even after updating to the suggested Samba packages (and leaving the dhcp.conf line commented out), this output did not change. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=707193 https://bugzilla.novell.com/show_bug.cgi?id=707193#c14 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #14 from Malvern Star <malv_star@hotmail.com> 2011-09-15 22:36:08 UTC --- Bug appears to be fixed in 12.1 Milestone 5. Closing as fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com