Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
tjones:~ # /etc/init.d/smb status
Checking for Samba SMB daemon dead
tjones:~ # /etc/init.d/smb start
Starting Samba SMB daemon - Warning: /var/run/samba/smbd.pid exists. done
I have removed the pid file and tried restarting nmb and smb daemons, but every time that smb starts, it starts without error and when i check status, it always says dead.
I'm using opensuse 10.2 and i really need shares for work. It was working, perhaps an update messed things up? Anyone in the same boat?
I'm assuming that Samba on Suse logs to the same location as on Slackware, but check the log file setting in your smb.conf file (/etc/samba/smb.conf on my system)... Have you had a look through the files in /var/log/samba to see if there is more info? You can also set a log level in the smb.conf file to get more info.
Do you have a line in your smb.conf file like this:
Code:
guest account = smbguest
If so, then smbguest account needs to exist (ie you need to create the user with adduser or useradd). If not, can you also post your smb.conf file so that we can see where the smbguest account is being referenced?
ok i created the smbguest account, restarted nmb and smb now the daemons are not dead thank you.
Can't see my shares on the network still, going to try a reboot and see if that helps.
Can you resolve the host name of the Samba box with other tools? For example, can you run dig <hostname> from the box where you're trying to connect from (not to)? If not, then it's probably a network setup problem (DNS), If you can then it's probably a Samba config issue.
I'm assuming that you're running as root and that you've tried using testparm and smbclient to check that you're setup is OK. If you haven't done it already, have a look at the document referenced in the error output you posted (http://www.samba.org/samba/docs/Samba3-HOWTO.pdf). They provide more info about diagnosing Samba and they also recommend using tools like ethereal to sniff packets and analyse where things are going wrong.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.