LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-20-2003, 10:24 PM   #1
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Rep: Reputation: 30
samba deamons


when i type in smbd -D and nmbd -D it cannot find it. when i type killall smbd nmbd it says no processes killed. why is this i do testparm and it's ok and of course i have a config file.
 
Old 05-20-2003, 10:28 PM   #2
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Original Poster
Rep: Reputation: 30
when i logged in as root from the beginning log in it worked why did this not work when i used su ??`
 
Old 05-21-2003, 07:20 AM   #3
Paul_assheton
Member
 
Registered: Nov 2000
Location: Ware (Nr London, England
Posts: 114

Rep: Reputation: 15
Your post is unclear as to what you are trying to do. Are you trying to start samba, stop samba or find out if samba is running?

To start samba try "service smb start" as root rather than starting the processes seperatly

Paul
 
Old 05-21-2003, 07:25 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by PlatinumRik
when i logged in as root from the beginning log in it worked why did this not work when i used su ??`
You are probably using
Code:
su
when
Code:
su -
is better. If you just su then you don't process the su'ed user's login script, so their path won't be set. As root's path is normally different to a normal user's its failing to find smbd and nmbd.

HTH

Jamie...
 
Old 05-21-2003, 01:25 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,039

Rep: Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892Reputation: 2892
testparm only checks syntax and structure of the smb.conf file.

You can use smbclient command to see samba shares on the linux PC.
 
  


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
How to start, stop, turn on, and turn off deamons BuckRogers01 Debian 3 08-16-2005 09:39 AM
Userid's and Deamons RonV Linux - Newbie 2 04-29-2005 07:55 PM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM
Starting/Stoping Deamons ejtbrown Linux - General 2 03-21-2001 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration