Results 1 to 10 of 10

Thread: SuSE 11.4 NetBIOS server will not start

  1. #1
    Join Date
    Jun 2008
    Location
    Pacific Northwest
    Posts
    374

    Default SuSE 11.4 NetBIOS server will not start

    Attempting to set up a Samba server. Using YaST-->System Services (Runlevel) to enable "nmb" results in the following:
    /etc/init.d/nmb start returned 7 (program is not running):

    From a terminal in su mode
    #cd /etc/init.d
    #./nmb start
    Starting Samba NMB daemon startproc: exit status of parent of /usr/sbin/nmbd: 1 failed

    Thank you in advance for your help.
    The greatest obstacle to discovery is not ignorance, it is the illusion of knowledge.
    Daniel J. Boorstin US Patent Office

  2. #2
    Join Date
    Jun 2008
    Location
    Norman, OK
    Posts
    209

    Default Re: SuSE 11.4 NetBIOS server will not start

    Hmm ... anything in the following logs right after you get the failure message?

    /var/log/messages
    /var/log/samba/log.smbd
    /var/log/samba/log.nmbd
    Main Machine: Dell G7 running Ubuntu 18.04
    Server: Dell PowerEdge SC1430 running CentOS 7.x

  3. #3
    Join Date
    Jun 2008
    Location
    Pacific Northwest
    Posts
    374

    Default Re: SuSE 11.4 NetBIOS server will not start

    /var/log/messages
    unremarkable

    /var/long/samba/log.smbd

    [2011/04/11 14:02:49, 0] lib/fault.c:250(dump_core_setup)
    Unable to setup corepath for smbd: Permission denied
    [2011/04/11 14:02:49, 0] smbd/server.c:1134(main)
    smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2010
    [2011/04/11 14:02:49.597742, 1] ../lib/util/params.c:513(OpenConfFile)
    params.cpenConfFile() - Unable to open configuration file "/etc/samba/dhcp.conf":
    Permission denied
    [2011/04/11 14:02:49.598346, 0] smbd/server.c:1149(main)
    error opening config file


    /var/log/samba/log.nmbd
    [2011/04/11 14:05:03, 0] lib/fault.c:250(dump_core_setup)
    Unable to setup corepath for nmbd: Permission denied
    [2011/04/11 14:05:03, 0] nmbd/nmbd.c:857(main)
    nmbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2010
    [2011/04/11 14:05:03.441319, 1] ../lib/util/params.c:513(OpenConfFile)
    params.cpenConfFile() - Unable to open configuration file "/etc/samba/dhcp.conf":
    Permission denied
    [2011/04/11 14:05:03.442434, 0] nmbd/nmbd.c:861(main)
    error opening config file
    [2011/04/11 14:05:36, 0] lib/fault.c:250(dump_core_setup)
    Unable to setup corepath for nmbd: Permission denied
    [2011/04/11 14:05:36, 0] nmbd/nmbd.c:857(main)
    nmbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2010
    [2011/04/11 14:05:36.719509, 1] ../lib/util/params.c:513(OpenConfFile)
    params.cpenConfFile() - Unable to open configuration file "/etc/samba/dhcp.conf":
    Permission denied
    [2011/04/11 14:05:36.719811, 0] nmbd/nmbd.c:861(main)
    error opening config file
    The greatest obstacle to discovery is not ignorance, it is the illusion of knowledge.
    Daniel J. Boorstin US Patent Office

  4. #4
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: SuSE 11.4 NetBIOS server will not start

    On Mon April 11 2011 04:36 pm, Parthenolide wrote:

    >
    > Attempting to set up a Samba server. Using YaST-->System Services
    > (Runlevel) to enable "nmb" results in the following:
    > */etc/init.d/nmb start* returned 7 (program is not running):
    >
    > From a terminal in su mode
    > #cd /etc/init.d
    > #./nmb start
    > Starting Samba NMB daemon startproc: exit status of parent of
    > /usr/sbin/nmbd: 1 failed
    >
    > Thank you in advance for your help.
    >

    Parthenolide;

    There is a problem with ApArmor and Samba. Go to:
    Yast > Novell AppArmor > AppArmor Control Panel > Configure profiles
    and set AppArmor to complain for both usr.sbin.nmbd and usr.sbin.smbd rather
    than enforce.
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  5. #5
    Join Date
    Jun 2008
    Location
    Norman, OK
    Posts
    209

    Default Re: SuSE 11.4 NetBIOS server will not start

    Do those files exist in /etc/samba? If so, what are the permissions on them?

    Also are you trying to just setup a SAMBA server, or a NetBIOS name server? Maybe you could try going through the YaST SAMBA server module ... and see if it works then. I'm normally not a big fan of troubleshooting with GUI tools, but maybe doing this will help...
    Main Machine: Dell G7 running Ubuntu 18.04
    Server: Dell PowerEdge SC1430 running CentOS 7.x

  6. #6
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: SuSE 11.4 NetBIOS server will not start

    On Mon April 11 2011 06:06 pm, Parthenolide wrote:

    >
    > /var/log/messages
    > unremarkable
    >
    > /var/long/samba/log.smbd
    >
    > [2011/04/11 14:02:49, 0] lib/fault.c:250(dump_core_setup)
    > Unable to setup corepath for smbd: Permission denied
    > [2011/04/11 14:02:49, 0] smbd/server.c:1134(main)
    > smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
    > Copyright Andrew Tridgell and the Samba Team 1992-2010
    > [2011/04/11 14:02:49.597742, 1] ../lib/util/params.c:513(OpenConfFile)
    > params.cpenConfFile() - Unable to open configuration file
    > "/etc/samba/dhcp.conf":
    > Permission denied
    > [2011/04/11 14:02:49.598346, 0] smbd/server.c:1149(main)
    > error opening config file
    >
    >
    > /var/log/samba/log.nmbd
    > [2011/04/11 14:05:03, 0] lib/fault.c:250(dump_core_setup)
    > Unable to setup corepath for nmbd: Permission denied
    > [2011/04/11 14:05:03, 0] nmbd/nmbd.c:857(main)
    > nmbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
    > Copyright Andrew Tridgell and the Samba Team 1992-2010
    > [2011/04/11 14:05:03.441319, 1] ../lib/util/params.c:513(OpenConfFile)
    > params.cpenConfFile() - Unable to open configuration file
    > "/etc/samba/dhcp.conf":
    > Permission denied
    > [2011/04/11 14:05:03.442434, 0] nmbd/nmbd.c:861(main)
    > error opening config file
    > [2011/04/11 14:05:36, 0] lib/fault.c:250(dump_core_setup)
    > Unable to setup corepath for nmbd: Permission denied
    > [2011/04/11 14:05:36, 0] nmbd/nmbd.c:857(main)
    > nmbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
    > Copyright Andrew Tridgell and the Samba Team 1992-2010
    > [2011/04/11 14:05:36.719509, 1] ../lib/util/params.c:513(OpenConfFile)
    > params.cpenConfFile() - Unable to open configuration file
    > "/etc/samba/dhcp.conf":
    > Permission denied
    > [2011/04/11 14:05:36.719811, 0] nmbd/nmbd.c:861(main)
    > error opening config file
    >
    >

    DID YOU CHANGE APARMOR!!!!
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  7. #7
    Join Date
    Jun 2008
    Location
    Pacific Northwest
    Posts
    374

    Default Re: SuSE 11.4 NetBIOS server will not start

    Thanks venzkep. Your solution worked.
    The greatest obstacle to discovery is not ignorance, it is the illusion of knowledge.
    Daniel J. Boorstin US Patent Office

  8. #8
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: SuSE 11.4 NetBIOS server will not start

    On Mon April 11 2011 09:36 pm, Parthenolide wrote:

    >
    > Thanks venzkep. Your solution worked.
    >

    Parthenolide;

    Glad you finally got it working. This is a known problem and there is a
    Bugzilla report on the mater.
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  9. #9

    Default Re: SuSE 11.4 NetBIOS server will not start

    Quote Originally Posted by venzkep View Post
    On Mon April 11 2011 04:36 pm, Parthenolide wrote:

    >
    > Attempting to set up a Samba server. Using YaST-->System Services
    > (Runlevel) to enable "nmb" results in the following:
    > */etc/init.d/nmb start* returned 7 (program is not running):
    >
    > From a terminal in su mode
    > #cd /etc/init.d
    > #./nmb start
    > Starting Samba NMB daemon startproc: exit status of parent of
    > /usr/sbin/nmbd: 1 failed
    >
    > Thank you in advance for your help.
    >

    Parthenolide;

    There is a problem with ApArmor and Samba. Go to:
    Yast > Novell AppArmor > AppArmor Control Panel > Configure profiles
    and set AppArmor to complain for both usr.sbin.nmbd and usr.sbin.smbd rather
    than enforce.
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green
    Thanks had exactly the same problem after upgrading to 11.4 - your solution worked.

  10. #10

    Default Re: SuSE 11.4 NetBIOS server will not start

    Thank you!

    I was with the same problem.

    The solution worked perfect!

Posting Permissions

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