Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba on RH7.0. Need help.

Status
Not open for further replies.
Jan 10, 2001
2,873
US
I am setting up Samab on Linux RH7. I have set it up dozens of times before on Linux 7. The issue is theat I cannot get the nmbd and smbd to run. Whenever I type in the startup command for them and then do a ps -ef |grep mbd
there is no mbd processes running. No matter what I did I cannot get it going. Any one have any ideas? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
What do the SAMBA logs say?

probably in... /var/log/smbd and /var/log/nmbd

Also, and messages being logged in /var/samba
Again, your file system layout may be different.
 
There is not /var/log/msbd/nmbs or log files in /var/samba. Its as if it is not even creating an error log. Any other Ideas? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Hi,

Firstly - presumably you are starting samba as root? Do you get any info if you do this :

/etc/rc.d/init.d/smb restart
tail /var/log/messages
tail /var/log/samba/smbd.log


Regards
 
There are NO error logs created. Thats what is sooo starnge. nmbd and smbd just will not start. No error logs no processes running. Any Ideas? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Hi,

Actually the most common failure is no smb.conf file - have you got one at /etc/samba/smb.conf (assuming you are using redhat built samba rpms) ?

Also, have you tried invoking smbd direct (outside of init script ) :

# /usr/sbin/smbd -D

or even running that with strace ...

# strace /usr/sbin/smbd -D


Regards


 
See if smb.conf is on your system:

locate smb.conf

The old samba RPM's used to install it in /etc/smb.conf but newer versions are built with --sysconfdir=/etc/smb and install it in /etc/smb/smb.conf

Bruce Garlock
bruceg@tiac.net
 
The smb.conf is there and I have modified it the way I usually do. This time however the mbd processes just will not start. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
look in the smb.conf file for:

[global]
log file = /var/log/samba-log.%m

And look at log.nmb I would open up another command prompt, and do a tail -f log.nmb and try and start samba in another session and watch the session showing the log information.

It might not hurt posting your whole smb.conf

Did you make sure you have:

hosts allow = 127. 192.168.

You need the lo interface included or you will run into trouble.

Bruce Garlock
bruceg@tiac.net
 
Have you tried to use the SWAT utility to check the status or even start Samba?

Gary
gwinn7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top