Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: 11.4 samba won't run

  1. #1
    cmosentine is offline Newcomer
    Join Date
    Mar 2011
    Posts
    8

    Default 11.4 samba won't run

    Hi all: Just rolled 11.4 (x64) out to my hove server. Copied over all my samba config files and started up samba - nothing. Manually started samba (/etc/init.d/smb start) and samba appears to start but checking the status does not show it running. Actually checking the status returns nothing. Stopping samba returns "unused".

    Can someone help me out here? I have never had issues with opensuse and samba before.

    Thanks, Chris.

  2. #2
    MrSolar's Avatar
    MrSolar is offline Newcomer
    Join Date
    Jul 2008
    Location
    Windhoek, Namibia
    Posts
    32

    Default Re: 11.4 samba won't run

    Quote Originally Posted by cmosentine View Post
    Hi all: Just rolled 11.4 (x64) out to my hove server. Copied over all my samba config files and started up samba - nothing. Manually started samba (/etc/init.d/smb start) and samba appears to start but checking the status does not show it running. Actually checking the status returns nothing. Stopping samba returns "unused".

    Can someone help me out here? I have never had issues with opensuse and samba before.

    Thanks, Chris.
    Chris,
    did the same, upgraded my file-server and lost the clients connected with samba, thought it was because of updating and reinstalled fresh OS11.4, did not do the trick, sorry I can´t help you, besides shouting with you, PLEASE HELP!
    Thanks,

    Heinrich

    openSUSE11.3; KDE4.4.5

  3. #3
    blotz is offline Newcomer
    Join Date
    Mar 2011
    Location
    Munich
    Posts
    7

    Default Re: 11.4 samba won't run

    Try, as root: complain /etc/apparmor.d/usr.sbin.smbd /etc/apparmor.d/usr.sbin.nmbd and try to start Samba.

    If that works, then use Samba for a while and use it's functionality.

    Shut down Samba, run aa-logprof, answer the questions to allow access to files in /etc/samba and /var/lib/samba as needed.

    Hope that helps.

    Björn

  4. #4
    czmruk's Avatar
    czmruk is offline Newcomer
    Join Date
    Mar 2011
    Location
    Poland
    Posts
    4

    Default Re: 11.4 samba won't run

    Hello,

    have same problem, i discover it is AppArmor prevent samba to create and management files in "/var/lib/samba" folder.

    11.4 samba won't run - SOLUTION, go to Yast -> Novell AppArmor -> Edit Profile and update or delete AppArmor profile for Samba.

    Then use as "root" "rcsmb restart " and check did samba run "rcsmb status"

    Its works for me

  5. #5
    cmosentine is offline Newcomer
    Join Date
    Mar 2011
    Posts
    8

    Default Re: 11.4 samba won't run

    Thanks for all the replies. Will give it a try tonight.

  6. #6
    MrSolar's Avatar
    MrSolar is offline Newcomer
    Join Date
    Jul 2008
    Location
    Windhoek, Namibia
    Posts
    32

    Default Re: 11.4 samba won't run

    thanks czmruk, AppArmor was the culprit in my case as well!
    Thanks,

    Heinrich

    openSUSE11.3; KDE4.4.5

  7. #7
    mscswap's Avatar
    mscswap is offline Newcomer
    Join Date
    Mar 2011
    Location
    France
    Posts
    9

    Default Re: 11.4 samba won't run

    Hello All !

    Niced to join OpenSuse Community forum.

    After updating from OS 11.3 to OS 11.4 on a test node, I had the same trouble. And the funny joke was that Webmin saw Samba in running status. FYI I saw that OS 11.4 auto disable CIFS as it is ON with OS 11.3. And the NetBIOS Server service is now automatically add when we allow opening ports on firewall during Samba setup. So in fact it is right a trouble with AppArmor profile as said above. Thanks for the report. And Blotz's setup works fine. FYI you can also setup complain status in Yast / Novell AppArmor / AppArmor setup panel / profiles setup button / change mode button.

    Thanks all and see u
    Mike

  8. #8
    swerdna's Avatar
    swerdna is online now Administrator
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    9,941

    Default Re: 11.4 samba won't run

    Don't forget to set nmb and smb permanently to "on" in Yast --> system --> runlevels

  9. #9
    tararpharazon's Avatar
    tararpharazon is offline Parent Penguin
    Join Date
    Jul 2010
    Location
    Tx
    Posts
    885

    Default Re: 11.4 samba won't run

    My thanks as well.

    AppArmor appears to be a problem for smbd, nmdb and 1-2 others.
    I've avoided AppArmor for a several rels, this time its unavoidable.

    Thanks for the tip.
    Box 1: OpenSuse 11.1/Win7 | Linux 2.6.27 Gnome | AMD 64 X2 6000+ | nVidia 8600GT | 2GB RAM
    Box 2: OpenSuse 11.2 | Linux 2.6.31 Gnome | AMD 64 3000+ | ATI X800 Pro | 1GB RAM
    Box 3: Win7 Premium Home | Intel P4 3.0Gz | ATI AIW 2006 | 2GB RAM

  10. #10
    eroskoller's Avatar
    eroskoller is offline Student Penguin
    Join Date
    Jun 2008
    Location
    somewhere
    Posts
    90

    Default Re: 11.4 samba won't run

    Tks
    that tip save my day...

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Friendly URLs by vBSEO 3.5.2