I am new to linux and WAS a window user. boy am i glad i switched, but still have lots to learn. Any who, currently i am working on a server for some residents at my current job. I have DNS and everything setup right and it is working. Samba on the other hand is configured right but it keeps shutting down after about a minute. When i run this command:
chksmb status
it says “Dead”. Ill restart the service(rcsmb start), and keep checking the status, and after about a minute it shuts down again. I have done a restart, double checked my configurations and still cant find why this is happening. (config file somewhere?)
Now since im new, im not sure what info any of you would need to help me out, so please chime in, if there is a specific file or info you need to know, please let me know and ill try my best to get it. thanks so much in advance for the help and suggestions!!
i know nothing about Samba (Friends don’t let friends use, or network
to, Windows) but this guy does (he is a moderator here in the openSUSE
forums), see the upper left quadrant of his site: http://www.swerdna.net.au/linux.html
tbattista1 wrote:
> that link is great, but unfortunately it does not fix my issue
> anyone else have other ideas?
well, while you wait on a real expert let me ask some questions:
why is it that the command you say you used has never ever been
used before (at least not where Google can find it–which is VERY
strange!) see: <http://www.google.com/search?q=“chksmb+status”> yeilds
exactly one hit, your question!
so, is there any evidence that Samba is “dead” before you run that
command…or are you killing Samba with that command??
oh, now i see (via google) that chksmb is a M$ utility…WAIT!
google tells me “The purpose of the CHKSMB utility is to insure that
mail and/or message bases are valid.”
what does that have to do with Samba?
are you sure you are using the right M$ command? i wouldn’t know, i’ve
not used any Redmond since '95…
oh and i kept an eye on the log.smbd log and when the service switches to dead there is no error, BUT i notices that each time i started the service it said WARNING: The “Printer Admin” option is deprecated. what does that mean?
> i have looked at so many forums and it doesn’t seem like anyone has
> seen this issue, which is leading me to believe that something in the OS
> broke?
wait a second! you have a unique situation that no one else has had
and from that you determine it must be a broken OS??
amazing, from the same set of facts i must wonder what is unique
about your machine since thousands and thousands of other machines
are not having this problem…and, my assessment is the uniqueness
lies in one of several things:
-your set up is somehow damaged, maybe by a faulty install or maybe
through incorrect setup, or maybe by a bad sector on disk or a RAM
fault which wrote incorrectly a setup parameter or or or or or
-a hardware fault of some sort
-a networking/routing fault
and probably some other things you need to check before you rule them
out and decided that the OS is broke despite the fact that it working
EVERYWHERE else…
now, lets investigate a little from the top:
how did you install openSUSE?
did you download an iso image? which one, what did you install?
did you do a md5sum check prior to burning the disk?
after burning the disk did you do this http://tinyurl.com/yajm2aq ?
did you have any errors during the install?
did you have to install more than once? why?
did you install while connected to the internet? did you update while
installing?
have you updated since?
have you enabled any non-default repos or used any 1-Click installs?
which documentation did you use to set up Samba?
what version of Samba are you running?
did the error you are now seeing begin immediately after install, or
did all work ok for a while and suddenly break?
when you check the log files do you find any evidence of errors or
warnings? what are they?
Samaba version is 3.4.2-5.2
no errors after install
it seams that it worked, but then suddenly broke after all configuration was completed, which is why im hoping its just a config error, which is why im looking for help because i don’t see anything that stands out.
Logs did not show any errors except for, WARNING: The “Printer Admin” option is deprecated.
I hope this helps and thank you for giving the time to help me. Its really appreciated
I always set Samba up in Yast then manually edit the config file since I find the auto generated one never works right for me. Try to make the config file as simple as possible.