• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Proper way to start smbd nmbd ???

smp

Diamond Member
I'm getting differing ways from different sources .. ie;

/usr/sbin/smbd start (restart stop)

/usr/sbin/nmbd -D
/usr/sbin/smbd -D (this runs them as deamon, not too clear on this though)

anyways, I'm not sure which is working ... and I'm not sure how to turn samba off the second way. Not even sure if the first way is working. Sometimes I can see my share in windows explorer, sometimes I can't and I can't figure out which way is working because it seems that windows remembers the share even when I turn it off, but then it won't come back sometimes .. so I'm not sure if I'm starting/stopping it properly. Are both correct? I'm running RH7.3 and yeah those reside in /usr/sbin/ on my system.
 
If you installed it from the discs, then do a /etc/init.d/smb (or is it samba) start

That's the proper way to start it in RH world.
 
/etc/init.d/smb is the proper way in RH, although it really just checks a few things then runs [s|n]mbd -D for you.

Check the logs (usually /var/log/samba/*) for an idea of what's going on, you can turn up the log level in smb.conf if you want more info.
 
Thanks .. yeah, I was looking in /var/log/samba at the various log files in there but they weren't all that helpful ... yeah, they would show me that nmb and smb were already running as -D "flag assumed" .. but yeah, /etc/init.d/smb restart works 🙂
 
Back
Top