I have a fresh install of 10.04 and I have installed Samba and smbd4k, configured it, set-up a shared directory, Samba shows up under the System section in the Advanced tab of System Settings, everything seems to be in place except it won't start. My other computers don't see this computer. I can ping it from another computer and I can access the other computers from this one. When I had 9.04 on this computer, I had it working just fine. Now I can't seem to get it going.
Announcement
Collapse
No announcement yet.
How do I get Samba to start?
Collapse
This topic is closed.
X
X
-
Re: How do I get Samba to start?
Hi
to check if deamons are running type
Code:sudo service --status-all
[ + ] smbd
To start samba service type:
Code:sudo service smbd start
Code:sudo update-rc.d smbd start 80 2 3 4 5 . stop 20 0 1 6 .
Code:sudo update-rc.d smbd defaults
check
Code:info update-rc.d
- Top
- Bottom
-
Re: How do I get Samba to start?
After typing "sudo service --status-al"l, it shows smbd with a ?.
Then when I type "sudo service smbd start", it comes back with "start: Job is already running: smbd"
Next I tried this:
steve@steve-laptop:~$ sudo service smbd restart
smbd start/running, process 15703
And then this:
steve@steve-laptop:~$ sudo update-rc.d smbd start 80 2 3 4 5 . stop 20 0 1 6 .
update-rc.d: warning: /etc/init.d/smbd missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Adding system startup for /etc/init.d/smbd ...
/etc/rc0.d/K20smbd -> ../init.d/smbd
/etc/rc1.d/K20smbd -> ../init.d/smbd
/etc/rc6.d/K20smbd -> ../init.d/smbd
/etc/rc2.d/S80smbd -> ../init.d/smbd
/etc/rc3.d/S80smbd -> ../init.d/smbd
/etc/rc4.d/S80smbd -> ../init.d/smbd
/etc/rc5.d/S80smbd -> ../init.d/smbd
I'll try rebooting now to see what happens.
- Top
- Bottom
Comment
-
Re: How do I get Samba to start?
OK here's the information on my Kubuntu 10.04 system with samba working.
Code:dibl@lucid:~$ sudo apt-cache policy samba [sudo] password for dibl: samba: Installed: 2:3.4.7~dfsg-1ubuntu3 Candidate: 2:3.4.7~dfsg-1ubuntu3 Version table: *** 2:3.4.7~dfsg-1ubuntu3 0 500 [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid/main Packages 100 /var/lib/dpkg/status
Installed packages:
samba
samba-common
samba-common-bin
samba-ldb-tools
samba4
samba4-common-bin
smb4k
smbclient
smbfs
Code:dibl@lucid:~$ cat /etc/samba/smb.conf # [global] workgroup = CLOVERPATCH interfaces = eth0 map to guest = bad user [Data] path = /home/dibl read only = no guest ok = yes case sensitive = no strict locking = no force user = dibl [Canon_iP6220D] printing = cups path = /var/tmp printable = yes guest ok = yes guest only = yes [Documents] path = /home/dibl/Documents writeable = yes browseable = yes guest ok = yes
Hope this helps.
- Top
- Bottom
Comment
-
Re: How do I get Samba to start?
And you do have smbfs installed?
Hmmmm. From your Kubuntu system, can you see the other computers? But from them, you can't see the Kubuntu system?
DoesCode:sudo service samba stop
Code:sudo service samba start
Have you tried both Dolphin and smb4k to browse to the other computers?
Do all computers have the workgroup name exactly the same?
That's it -- I'm outta gas on this one. :P
- Top
- Bottom
Comment
-
Re: How do I get Samba to start?
the stop and start commands both return "samba: unrecognized service"
Neither Dolphin or smb4k can now see my network. Previously, I was able to see the network and browse my other computers with Dolphin. By previously, I mean prior to these last changes. I had not tried smb4k before so I don't know if it had been working or not.
Yes, smbfs is installed. There's got to be some stupidly simple thing that I am missing.
- Top
- Bottom
Comment
-
Re: How do I get Samba to start?
OK, I tried that and it said " Starting Samba 4 daemon samba " so at least something is responding.
Now samba4 shows up in the status list along with smbd but they both still have ? as the status.
The computer still doesn't show up on my network and I still can't access my other computers from Dolphin or smb4kj.
I can still access the Internet.
- Top
- Bottom
Comment
-
Re: How do I get Samba to start?
Nope, nothing shows up in either Dolphin or smb4k and this computer doesn't show up from any other computer.
I have another old Athlon 1600 computer on which I have installed 10.04. I just installed Samba using apt-get and without doing anything else, that computer now shows up on my network. I then had to install knetwork-filesharing to be able to actually share a folder. Now I can access that computer from my network. That's the way it's supposed to work. I didn't have to install smb4k, samba4 or anything else.
This computer is a Dell Inspiron 1521. I still don't know what the heck is wrong and why samba is not working correctly. Maybe I need to remove all the samba related stuff, get back to the original, and start over.
- Top
- Bottom
Comment
-
Re: How do I get Samba to start?
It sounds like your network and samba are working correctly, except for on that one computer. Maybe the problem, whatever it is, is deeper than just samba configuration -- not sure what to look for, but are all the other networking functions working on it? Can you go to the "Shields Up" site and test it: https://www.grc.com/x/ne.dll?bh0bkyd2
- Top
- Bottom
Comment
Comment