Solved

samba configuration

Posted on 2014-02-25
3
1,067 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 30

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 30

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

632 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