Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having troubles getting the smbd -d and nmbd -d to start during bootup.
I tried using YaST2 Runlevel Editor, but there isn't anything located in the /etc/init.d dir partaining to the smbd or nmbd.
I also wrote a simple script and put it in the init.d dir and the runlevel editor saw it. I set it up to load automatically under inits 2, 3, & 4.
It loads the smbd -D but not the nmbd -D.
Then I have to manually execute: #nmbd -D
But then the printer isn't accesible to other machines.
When I removed the nmbd -D script from auto loading, it still failed to leave access to the printer to other machines.
I had to remove the smbd -D and nmbd -D scripts from autoloading and reverted back to manual execution of the two commands.
It works fine when I execute it manually, but I need it to load automatically.
why not try this command: chkconfig
because i had uninstalled my suse9, you can use
chkconfig --list smbd to find it out, if you got it, just type chkconfig --add smbd
then it will start at run level 3,5.
good luck.
smbd and nmbd are not current services. I'm not using the built in Samba server in SuSE.
I installed the latest from source because SuSE's version was causing problems with my printer.
So, again, I need a way to start these two services automatically that will eliminate the errors of before.
As the previous thread stated:
Every time I setup the smbd -D & nmbd -D to start automatically, it doesn't work properly. Only when I run the commands manually does the samba server work properly.
You have now activated the SMB and the NMB daemon during startup. You can also take a look at those scripts, but they are fine. insserv is the same as runlevel editor. insserv -r <script> removes a script from the runlevels (rcX.d)
A reason why your script didn't work, might be that you didn't requite $network and $named. Runlevel 3 and 5 is enough when making own scripts usually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.