LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2009, 02:26 AM   #16
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66

Dear mehnaz

Try to run following

root# smbd -D&
root#nmbd -D&

Above command will start smbd and nmbd as deamon which is same as 'service smb start'

if above given command not respond then use following
#which smbd
which give you path when smbd exist. If it reply in negative that mean either samba not installed or 'smbd' path is not included in your enviromental variable PATH

thanks

Last edited by vishesh; 07-27-2009 at 04:15 AM.
 
Old 07-28-2009, 02:06 AM   #17
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
okay try this command also

#service smb start

what results you get
 
Old 07-28-2009, 02:56 AM   #18
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by vishesh View Post
Dear mehnaz

Try to run following

root# smbd -D&
root#nmbd -D&

Above command will start smbd and nmbd as deamon which is same as 'service smb start'

if above given command not respond then use following
#which smbd
which give you path when smbd exist. If it reply in negative that mean either samba not installed or 'smbd' path is not included in your enviromental variable PATH

thanks
thankx alot,,my problem is solved
 
Old 07-28-2009, 02:57 AM   #19
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shahz View Post
okay try this command also

#service smb start

what results you get
when i was o rhel5 . This command give result " unrecognized service"
 
Old 07-29-2009, 12:39 AM   #20
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Dear mehnaz
if 'service smb start' is not working, that means script file /etc/init.d/smb is missing. /etc/init.d/smb script file help in starting and stopping smb service. 'service smb start' also does the same work as 'smbd -D&' and 'nmbd -D'. To stop running samba use following command
kill <samba process id>. To get samba process id use command 'more /var/run/smbd.pid'.
if you get answer of your query and your problem get solved mark this thread as 'SOLVED' or click on thanks button.

thanks
 
  


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
Samba configuration problem Vijayasarathy Linux - General 3 03-10-2005 12:45 AM
Problem in Samba Configuration Ahmad Gurchani Linux - Networking 2 01-01-2005 09:48 AM
Samba Configuration problem montylee Linux - Networking 12 11-24-2004 06:57 AM
samba configuration problem (?) schbond Linux - Networking 3 06-13-2003 09:38 PM
samba configuration problem keirobyn Linux - Networking 3 03-19-2002 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration