Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 08-27-2010, 01:31 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 14
Blog Entries: 1

Rep: Reputation: -11
Can't find /etc/init.d/smb or /etc/rc.d/init.d/smb on RHEL 5.3

I've installed RHEL 5.3 under VM.
After configure /etc/samba/smb.conf then i can't run this command :
#service smb restart
/etc/init.d/smb restart
got this error
smb: unrecognized service

Is this because I run RHEL under VM ?
Any idea about this ?
Old 08-27-2010, 02:00 AM   #2
LQ Newbie
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
Did you install samba from source or did you install using an RPM?

Last edited by adamjohnson01; 08-27-2010 at 02:14 AM.
Old 08-27-2010, 02:44 AM   #3
LQ Newbie
Registered: Aug 2008
Posts: 14
Blog Entries: 1

Original Poster
Rep: Reputation: -11
Actually i just install RHEL and choose install everything.
When i try yum install samba, seems no package for samba.
But i can found /etc/samba/smb.conf and configure it.
Old 08-27-2010, 03:52 AM   #4
LQ Newbie
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
Can you run "rpm -qi samba" to make sure it is installed?
Old 08-27-2010, 04:14 AM   #5
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
If you have a RHEL 5.3 subscription and are using RHN for your updates then yum install samba will work - as its part of the official RHEL repositories. It should also be on your install DVD and you could use that as your repository.
Old 08-28-2010, 12:04 AM   #6
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Can you update at all? Update should push you up to version 5.5. If you can not update then you have not set Red Hat subscription on your system. If you do not want to pay for support, install CentOS.


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
difference between "service smb restart" and "/etc/rc.d/init.d/smb" powah Linux - Software 1 01-17-2007 05:17 PM
access Samba server: control violation /etc/rc.d/init.d/smb start failed Paul.Hermans Mandriva 1 07-25-2005 04:46 PM
cant find the /etc/init.d/smb for samba Damon Spector Slackware 1 05-01-2005 08:57 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM
accidentally deleted /etc/rc.d/init.d/smb!! heathpitts Linux - Newbie 2 03-07-2003 12:02 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

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

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