LinuxQuestions.org
Review your favorite Linux distribution.
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-15-2009, 02:53 AM   #1
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Rep: Reputation: 15
Unhappy 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

Last edited by mehnaz; 07-15-2009 at 03:07 AM.
 
Old 07-15-2009, 03:03 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by mehnaz View Post
kindly reply me fast,,i am waiting
Please do not put statements like this in your post. We are not being paid for this service and we will reply to you when we can. Statements like yours are extremely irritating and won't get you replies any quicker.

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
 
Old 07-15-2009, 03:12 AM   #3
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jdkaye View Post
when we can. Statements like yours are extremely irritating and won't get you replies any quicker.
sorry
 
Old 07-15-2009, 03:17 AM   #4
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jdkaye View Post
jdk
and one more thing there is no samba as well in init.d
 
Old 07-15-2009, 10:19 AM   #5
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
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?

Last edited by arashi256; 07-15-2009 at 10:20 AM.
 
Old 07-16-2009, 02:38 AM   #6
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by arashi256 View Post
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?
yes it is installed,,i tried 3 diff rpms but still i am not able to restart the service
 
Old 07-16-2009, 04:43 AM   #7
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 363

Rep: Reputation: 29
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
 
Old 07-17-2009, 01:04 AM   #8
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shahz View Post
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
Applying this command gives me "samba is not installed" but when i use rpm -qa|grep samba ,,it gives me version.if u r saying samba is not installed then what steps should i take to install it. i am using samba-common 3.0 and i have installed it through rpm -ivh samba-common and it gives me 100% success.i dont know what to do.
 
Old 07-18-2009, 02:02 AM   #9
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 363

Rep: Reputation: 29
okay did you try to find the smb.conf file or tried to start the samba daemon.
 
Old 07-20-2009, 05:06 AM   #10
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shahz View Post
okay did you try to find the smb.conf file or tried to start the samba daemon.
yes i have modified smb.conf file present in samba directory under etc but i dont know about samba deamon//?????
 
Old 07-20-2009, 06:58 AM   #11
wisdom
Member
 
Registered: Feb 2004
Distribution: Fedora 9
Posts: 226

Rep: Reputation: 31
Have a look at this post might be of help
http://www.linuxquestions.org/questi...pperly-740453/

These are the key command

Quote:
yum remove samba
yum clean all
yum clean metadata
yum install samba-client samba-doc samba-swat samba-winbind-devel samba-winbind samba-client samba-common system-config-samba.noarch samba
 
Old 07-20-2009, 07:34 AM   #12
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 363

Rep: Reputation: 29
yum install samba

should install all the dependancies.
 
Old 07-20-2009, 07:39 AM   #13
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 363

Rep: Reputation: 29
Quote:
Originally Posted by mehnaz View Post
i dont know about samba deamon//?????
you should read some documentation about, SAMBA and I have accepted your request to be a friend.

thanks
shahz
 
Old 07-27-2009, 12:53 AM   #14
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shahz View Post
you should read some documentation about, SAMBA and I have accepted your request to be a friend.

thanks
shahz
thanks alot ,and samba is deriving me nuts i have spend more than 2 weeks on this project nd still on zero
 
Old 07-27-2009, 12:55 AM   #15
mehnaz
Member
 
Registered: Jun 2009
Location: Quetta Pakistan
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shahz View Post
yum install samba

should install all the dependancies.
i have tried this many times,,and this command gives "samba is already installed"
 
  


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


All times are GMT -5. The time now is 09:32 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