Solved

samba configuration

Posted on 2014-02-25
3
1,053 Views
Last Modified: 2014-03-15
[root@idm ~]# rpm -qa | grep samba
samba-common-3.6.9-167.el6_5.x86_64
samba-winbind-3.6.9-167.el6_5.x86_64
samba-winbind-clients-3.6.9-167.el6_5.x86_64
samba-client-3.6.9-167.el6_5.x86_64


[root@idm ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)

[root@idm ~]# ls -l /etc/samba/smb.conf
-rw-r--r--. 1 root root 10450 Feb 25 17:19 /etc/samba/smb.conf

why i am unable to see samba service?

[root@idm ~]# service smbd restart
smbd: unrecognized service


[root@idm ~]# /etc/rc.d/init.d/smb restart
-bash: /etc/rc.d/init.d/smb: No such file or directory
0
Comment
Question by:ittechlab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Expert Comment

by:serialband
ID: 39887661
Try service smb restart instead?
0
 

Author Comment

by:ittechlab
ID: 39889503
[root@idm ~]# service smb restart
smb: unrecognized service
0
 
LVL 29

Accepted Solution

by:
serialband earned 400 total points
ID: 39890309
I looked at your question more closely and you don't have Samba server installed.  /etc/samba/smb.conf is the client configuration file.  The server file would be smbd.conf

Which linux is this?

apt-get install samba-server
yum install samba-server

You you have samba server installed, you should be able to configure it and start it.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question