Solved

samba configuration

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

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

728 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