Fedora Linux Support Community & Resources Center
  #1  
Old 6th December 2011, 06:50 PM
warrenb Offline
Registered User
 
Join Date: Dec 2011
Posts: 2
windows_xp_2003firefox
F16 no Samba startup script

I upgraded a F13 system that had been dormant for a while to F16 (taking it through intermediate versions). I forgot to check Samba between one version and the next, but now that it's up to F16 I noticed that Samba is not running. So I looked to see if it had started at boot, it hadn't. So I went into /etc/rc.d/init.d to look at the startup script (or maybe scripts, maybe there used to be seperate scripts for nmb and smb, I'm not sure). Not there.

So I'm guessing that some package is not installed. I have /usr/sbin/nmbd and smbd, they're part of samba-3.6.1-75.fc16.x86_64. That package does not include anything in /etc/rc.d

I also have samba-client-3.6.1-75.fc16.x86_64 and system-config-samba-1.2.93-1.fc16.noarch, not in there either.

So what do I need to install to have the startup script(s)?

thanks
Reply With Quote
  #2  
Old 7th December 2011, 11:24 AM
warrenb Offline
Registered User
 
Join Date: Dec 2011
Posts: 2
windows_xp_2003firefox
Re: F16 no Samba startup script

Solved it myself.

I decided to try to start the service even though I couldn't find the service startup file in /etc/rc.d, and it worked. From the messages printed, it looks like there's a new mechanism to control services so I was looking in the wrong place.

Code:
# service smb restart
Redirecting to /bin/systemctl  restart smb.service
# chkconfig --level 2345 smb on
Note: Forwarding request to 'systemctl enable smb.service'.
ln -s '/lib/systemd/system/smb.service' '/etc/systemd/system/multi-user.target.wants/smb.service'
.
Reply With Quote
Reply

Tags
f16, samba, script, startup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where do I put my startup script? simpleblue Using Fedora 0 3rd December 2011 03:15 AM
smb startup script crab_com Using Fedora 0 18th February 2009 04:47 AM
How can I set startup-script? youhaodeyi Using Fedora 2 22nd October 2007 07:43 AM
startup script cancerian80 Using Fedora 15 26th July 2007 06:05 AM
How to run a script on startup nemesys Using Fedora 0 19th November 2005 04:31 PM


Current GMT-time: 05:23 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat