Fedora Linux Support Community & Resources Center
Old 8th October 2005, 05:00 PM
eddiess Offline
Registered User
Join Date: Oct 2005
Posts: 2
/etc/init.d/smb problem after update samba 3.0.14a -> 3.0.20a

Because of a problem with the combination of OSX 10.4 and samba 3.0.13a I have installed the rpms of version 3.0.20a (since yum won't).
Now I can start samba using /usr/sbin/smbd directly. But the '/etc/init.d/smb start' gives a 'failed'. So I cannot let samba start automatticaly after a reboot. Annoying.

The output in /var/log/messages says:
Oct 8 14:02:47 boar nmbd[4978]: [2005/10/08 14:02:47, 0] param/params.c:OpenConfFile(538)
Oct 8 14:02:47 boar nmbd[4978]: params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
Oct 8 14:02:47 boar nmbd[4978]: Permission denied

So I thing that somewhere in /etc/init.d/smb there is something the new version of samba can't handle. But I have no idea what it could be (I am not a programmer).
Does anyone here know what the problem could be in /etc/init.d/smb when you go from version 3.0.14a to 3.0.20a??

Reply With Quote
Old 8th October 2005, 05:06 PM
bytesniper Offline
Registered User
Join Date: May 2005
Location: Abq, NM
Age: 40
Posts: 1,158
i dont think the problem is in the conf file as it is pretty generic. the error message you posted is pretty clear i think, the daemon can access/read the conf fille. only a few reasons for this:
1) are you starting smb/mnb as root?
2) what are the permissions on /etc/samba/smb.conf? try chmod 777 /etc/samba/smb.conf (be sure to reset the permissions after testing!)
3) does /etc/samba/smb.conf exist? is it empty?
4) check the directory "/etc/samba" permissions
Now I can start samba using /usr/sbin/smbd directly
if you starting it directly then you are never touching /etc/init.d/smb. that is only used when the computer is starting (switching runlevels) or when you use service smb start.

I am root. If you see me laughing you better have a backup.

Last edited by bytesniper; 8th October 2005 at 05:09 PM.
Reply With Quote
Old 8th October 2005, 06:03 PM
eddiess Offline
Registered User
Join Date: Oct 2005
Posts: 2
I have no idea what has happened, but it works now. But I put back on the computer and it works!
I also installed it the same way on my server, and that worked right away.

Strange! But thats life.
Thanks anyway.
Reply With Quote

>, or etc or initd or smb, problem, samba, update

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
exec of init (/sbin/init) failed ! berlos Using Fedora 7 24th March 2010 07:22 AM
Fedora 9 GUI will not load, Init 3 and Init 5 fail waffleninja Using Fedora 3 11th February 2009 09:15 PM
Samba, rebooting, and /etc/init.d/smb restart notmyrealemail Using Fedora 3 19th July 2006 04:17 AM

Current GMT-time: 15:02 (Saturday, 19-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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