LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Samba not running or something - for an earlier mail that I lost. ...

[ILUG] Samba not running or something - for an earlier mail that I lost. ...

Wynne, Conor Conor.Wynne at compaq.com
Mon Sep 17 11:45:36 IST 2001


Hi Guys,

I came across this this morning, and it rocks. For all those, I can't get
samba working questions. 

e.g.: SMBD starts but NMBD doesn't. 

http://www.geocities.com/rlcomp_1999/samba.html

Here is the text...
check your hostname 
     hostname
     hostname -a
     hostname -s
     hostname -d
     hostname -f
The above hostname commans should all return something good and no 
errors. If you get errors then samba may not function well. If you 
have a static IP address, then you configure your hostname through 
/etc/hosts. If you get your IP address through DHCP then try setting 
your hostname through "netconf" on the hostname line. Also, for DHCP, 
3 other files sometimes get updated:
/etc/hosts
127.0.0.1       localhost.localdomain   localhost your_hostname_can_go_here

/etc/HOSTNAME
your_fully_qualified_domain_name_goes_here

/etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME="your_fully_qualified_domain_name_goes_here"
GATEWAY=
Check your smb.conf file for the following:
Set your workgroup set your descriptor string Turn on encryption and point
to a smbpassword file (uncomment those 2 lines). shares are set up at the
end of the smb.conf file. at the end 
you'll find a lot of samples, just take one, copy it, and make 
modifications to it. 
Set up your users by 1st adding them to linux (useradd / passwd)
Set up your users by then adding them to samba (smbadduser / smbpasswd)
Check the run levels you want samba to run in (usually 2,3,4, and 5) 
- Use ntsysv or use chkconfig to set the runlevels: 
     chkconfig --list smb
     chkconfig --level 2345 smb on
See if samba is running: "ps ax | grep mbd", you should see smbd 
and nmbd running; if not, then they are not running. 
     start samba /etc/rc.d/init.d/smb start
Now the "ps -ax | grep mbd" should show both smbd and nmbd running.

Regards,
CW




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell