problem in samba configuration
Hello all
i am trying to install samba on fedora 6.though the package is installed and i have modified smb.conf file after that i added smbuser,,the problem is when i try to restart smb service through command "/etc/init.d/smb restart" it gives me error no such file or directly. i have checked services in init.d ,,but smb service is not present there,what should i do now.any help will be highly appreciated |
Quote:
For what it's worth, on my system there is no "smb" in /etc/init.d but there is /etc/init.d/samba Perhaps that's what you need to try. jdk |
Quote:
|
Quote:
|
Might be a silly question - but do you actually have Samba installed? I'm using Fedora 10/11 (depending on machine) and I have the /etc/init.d/smb service sitting there.
What about under /etc/rc.d/init.d/smb? |
Quote:
|
when you use the following command what do you in the output
rpm -q samba if you get the samba with the version then its installed |
Quote:
|
okay did you try to find the smb.conf file or tried to start the samba daemon.
|
Quote:
|
Have a look at this post might be of help
http://www.linuxquestions.org/questi...pperly-740453/ These are the key command Quote:
|
yum install samba
should install all the dependancies. |
Quote:
thanks shahz |
Quote:
|
Quote:
|
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 |
okay try this command also
#service smb start what results you get |
Quote:
|
Quote:
|
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 |
All times are GMT -5. The time now is 03:09 PM. |