LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-11-2011, 05:07 AM   #1
petervroegop
LQ Newbie
 
Registered: Apr 2011
Location: Gouda, The Netherlands
Distribution: Ubuntu, Suse, RHEL, Centos
Posts: 14

Rep: Reputation: 1
SMB doesn't start


I try to configure a OpenSuse server (version 11.4) for using samba.
After installing all software and set al settings I cann't reach any shared directory or printer.

I discoverd that the smb service is (and connot be) start.

When I use the command /etc.init.d/smb start
I get the result
"Starting Samba SMB daemon done"

How ever when I after this try /etc/init.d/smb status
the only result I get is:
"Checking for Samba SMB daemon"
I missing here any status.

When I give the command /etc/init.d/smb stop
Ik got as result:
"Shutting down Samba SMB daemon Warning: daemon not running done"

After starting the service again I use ps -ef|grep smb
The only results I got are the services nmbd and winbindd whice both uses the configuration file /etc/samba/smb.conf

I'm wondering why the service smb doesn't start.
Any one a suggestion?

With regards
Peter
 
Old 05-11-2011, 08:20 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Have you tried starting it directly via

Code:
smbd -D
and

Code:
nmbd -D
as root?

'cause I don't use that complicated init directories to start it, I simply start it like above (in my /etc/rc.local) and it works fine...

Last edited by rylan76; 05-11-2011 at 08:21 AM.
 
Old 05-12-2011, 01:09 AM   #3
petervroegop
LQ Newbie
 
Registered: Apr 2011
Location: Gouda, The Netherlands
Distribution: Ubuntu, Suse, RHEL, Centos
Posts: 14

Original Poster
Rep: Reputation: 1
I found the solution.
On the internet i found an article whice told me that OpenSuse has difficulties with apparmor.
When I diable apparmor I can start the smb service and can use samba.

regards, Peter
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Windows 7 doesn't like to connect to Linux/SMB Raveolution Linux - Networking 10 04-04-2011 06:56 AM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
smb:// doesn't work :-( thw Linux - Networking 5 01-18-2005 12:14 PM
Trying to start smb AndreL General 3 03-25-2004 06:59 AM
Network Printer via SMB - doesn't work thw Linux - Networking 0 03-17-2004 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration