LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-05-2012, 11:21 PM   #1
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Rep: Reputation: Disabled
smb service doesn't exist


According to the documents I have seen to get samba up and running I just have to install it which I did
__________________
[root@CLM samba]# rpm -qa | grep samba
samba-common-3.6.3-78.fc16.x86_64
samba-winbind-clients-3.6.3-78.fc16.x86_64
samba-client-3.6.3-78.fc16.x86_64
samba-3.6.3-78.fc16.x86_64
_________________________________________

but the service doesn't seem to exist
_____________________________________________
[root@CLM samba]# chkconfig smb --list

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
______________________________________________
and my config file seems to be missing
_____________________________________________
[root@CLM samba]# pwd
/etc/samba
[root@CLM samba]# ls
smbusers


any ideas?
 
Old 03-05-2012, 11:24 PM   #2
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
I also uninstalled it / reinstalled it with the same results
 
Old 03-05-2012, 11:54 PM   #3
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
uninstalled all above packeges and reinstalled via
yum install samba

but still no service (in fedora)

tried it on a centOS box and it seems to be working :-(
 
Old 03-06-2012, 12:35 AM   #4
spazticclown
Member
 
Registered: Sep 2010
Distribution: Fedora, Android, CentOS
Posts: 91
Blog Entries: 2

Rep: Reputation: 21
Install samba and related packages:
Code:
$ su -c 'yum -y install samba samba-common samba-client'
If you are using Fedora 16 & 15 try:
Code:
$ su -c 'systemctl start smb.service'
$ su -c 'systemctl enable smb.service'
For Fedora 14 and before:
Code:
$ su -c '/etc/init.d/smb start'
$ su -c 'chkconfig smb on'
The configuration file is /etc/samba/smb.conf and it should be replaced when reinstalled. If not there might be a copy availalbe online or in the samba-doc package available through yum.

I hope this helps you out.
 
Old 03-06-2012, 03:58 AM   #5
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
the smb.conf is there, but the service still isn't there
Fedora 16
Code:
[root@CLM daniel]# chkconfig  --list

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

ceph           	0:off	1:off	2:off	3:off	4:off	5:off	6:off
dkms_autoinstaller	0:off	1:off	2:on	3:on	4:on	5:on	6:off
netconsole     	0:off	1:off	2:off	3:off	4:off	5:off	6:off
netfs          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
network        	0:off	1:off	2:off	3:off	4:off	5:off	6:off
sandbox        	0:off	1:off	2:off	3:off	4:off	5:on	6:off
vboxballoonctrl-service	0:off	1:off	2:on	3:on	4:on	5:on	6:off
vboxdrv        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
vboxweb-service	0:off	1:off	2:on	3:on	4:on	5:on	6:off
 
Old 03-06-2012, 04:40 AM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
These are now controlled by systemd instead of system V. Look for samba with something like:

Code:
# systemctl list-units --all |grep smb
This should show you something like:

Quote:
smb.service loaded active running Samba SMB Daemon
if its not started you can start it with your old service command but under systemd you can use something like:

Code:
# systemctl enable smb.service
# systemctl start smb.service
The enable command move the smb service file into the correct spot (like chkconfig <service> on use to) and start then starts it up. To see the status you can run:

Code:
# systemctl status smb.service
 
  


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
[SOLVED] SMB Shares dont work when SMB is run as a service! CentOS 6 finnsloss Linux - Networking 1 10-14-2011 10:33 AM
smb service z99 Linux - Newbie 3 05-09-2010 04:11 AM
ERROR :: The file or folder smb://<I,P.>/<Filename> does not exist rushadrenaline Linux - Networking 12 02-02-2008 01:18 AM
smb://linux-old1/d does not exist Ken V Linux - Networking 4 04-07-2007 02:55 PM
Samba/SMB service works, Win2k doesn't? scorpatron Linux - Networking 2 11-10-2003 08:34 AM


All times are GMT -5. The time now is 02:30 AM.

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