LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2004, 05:33 PM   #1
soren625
Member
 
Registered: May 2004
Distribution: Fedora Core
Posts: 64

Rep: Reputation: 15
Samba srever "times out" ... or something


Hello. I have a RedHat 9 box and a Win2000 box networked thru a router. Samba is setup with all the appropriate usernames and passwords (Linux username/password = Windows username/password = Samba username/password). I can connect to shares on both machines from both machines, but periodically the Linux box "falls off" the network. I have to reboot to make the Linux shares available again and to access the Windows shares from Linux. My smb.conf is below (I have changed some host names and usenames to protect the innocent). Also, I would like to check any relevant Samba logs, but I don't know where they are located. Thanks in advance.

# Samba config file created using SWAT
# from NAME (127.0.0.1)
# Date: 2004/05/16 10:13:19

# Global parameters
[global]
workgroup = WORKGROUP
netbios name = NAME
server string = Samba Server
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printing = cups

[homes]
comment = Home Directories
path = /home/user
valid users = user
read only = No
create mask = 0777
directory mask = 0777

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
 
Old 05-18-2004, 07:26 PM   #2
-Nw- neX
Member
 
Registered: Apr 2004
Distribution: Gentoo, RHL, CentOS, Ubuntu, FreeBSD,
Posts: 88

Rep: Reputation: 15
your samba logs are at: /var/log/samba/
 
Old 05-18-2004, 07:39 PM   #3
dr0ker
Member
 
Registered: Aug 2003
Posts: 46

Rep: Reputation: 15
When your samba shares from linux become unavailable can you still get to your windows shares from linux? Also instead of rebooting next time try (as root) "/sbin/service smbd restart" from the command line without the quotes. This is assuming you are using Redhat9 as noted in your post.
 
Old 05-19-2004, 01:12 PM   #4
soren625
Member
 
Registered: May 2004
Distribution: Fedora Core
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks for your replies. I will check the Samba log and I will try restarting Samba next time this happens.

In answer to your question: No, I can't access Windows shares from Linux when this occurs. Actually, thing usually tend to freeze up at about that point and I have to reboot anyway.
 
Old 05-19-2004, 05:22 PM   #5
soren625
Member
 
Registered: May 2004
Distribution: Fedora Core
Posts: 64

Original Poster
Rep: Reputation: 15
Another thing ... My internet connection seems to do the same thing. If the computer sits for a while, I have to restart it inorder to be able to connect to the internet.

Also, when I CAN access the windows shares from the Linux box, when I try to transfer a large file of folder, the whole system freezes. It's very frustrating. I know I probably don't have everything configured correctly, but so much for Linux being so super stable!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
"computers that are thousands of times more powerful than those that exist today." rksprst General 12 02-03-2005 07:25 PM
"and the times, they are a changin'" acid_kewpie General 13 02-09-2002 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration