Fedora Linux Support Community & Resources Center
  #1  
Old 10th November 2005, 05:50 AM
ScottishCaptain Offline
Registered User
 
Join Date: Aug 2005
Posts: 37
The Samba Dance...

Greetings to all!

I'm finding myself that recently I have to do a little dance to get Samba working over my network. Not quite sure whats going on here, its been doing this since day one and frankly its getting annoying.

This problem is also the only reason why I'm holding off another computer from running FC4/Arcserve as my office's backup server, because of this share problem.

I'm using the Samba config utility under Gnome included with Fedora. I set everything up, and it works fine. I have a user setup for it, my shares setup, all is hunky dorey.

I can navigate to the machines as they show up on the Wintel boxes, and I've mounted the drives off my particular server (Dual Opteron) as network drives (X: and Z.

Here is the problem. If the shares idle for a while, I seem to "loose" connection. The Wintel boxes start complaining that they can't find the network share, and that the network connection via the network drive wasn't restored (blah :P). I cannot browse to the machine simply by going through Network Neighborhood, it isn't there anymore.

Now, I do the Samba dance. I go over to my server, which has mysteriously stopped sharing via Samba, open the "Samba" Config utility under the Gnome menu, and basically just click on whatever. Go look at the server settings, etc. Then I exit the config utility.

Now, strangly enough, the server is working again, I can access the shares and the Wintel boxes will reconnect (after a few seconds). It shows up under Network Neighborhood. Everything is happy once again.

Until the server idles for a bit, then "Samba" seems to go to sleep and never wakes up unless I poke it with the Config utility.

I really don't like walking over to the server and poking Samba every time it dozes off like this. I've read some obscure information about this problem, but I can't remember where or what it was...

Any ideas?

Thanks!
Keven Tipping
Reply With Quote
  #2  
Old 10th November 2005, 06:11 AM
gavinw6662 Offline
Registered User
 
Join Date: Feb 2005
Age: 34
Posts: 1,281
could it be an issue with the opteron chips?? I sure don't have this problem with my samba config. How about posting up your config file so that we can have a look at it.
__________________
I read your e-mail
Reply With Quote
  #3  
Old 10th November 2005, 07:09 AM
Zigzagcom Offline
Registered User
 
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 86
Posts: 1,657
I wouldn't like to go poking lions all the time either, LOL.
Anyway, I was wondering if it might have something to do with priority settings for
which machine is the master browser...just a thought.
__________________
Ziggy
Reply With Quote
  #4  
Old 10th November 2005, 03:36 PM
ScottishCaptain Offline
Registered User
 
Join Date: Aug 2005
Posts: 37
It isn't the opterons.. The machine is brand new- it was put together this Summer.

The machine has been running for months dead straight without any problems. I upgraded to 2.6.13 which fixed all the ACPI/APM problems, and its been running 24/7 ever since. It runs dual 244's, with 512mb RAM.

I'm not sure what you mean by a "master browser"- I haven't looked into Samba/Windows sharing that much.. Usually I just use the FC4 GUI Config and away we go.

I will post my smb.conf when I get back home today.

Thanks!
Reply With Quote
  #5  
Old 10th November 2005, 03:55 PM
Mechamaniac Offline
Registered User
 
Join Date: Apr 2005
Posts: 6
I think the problem is "Winblows"

My company has a similar setup. I have an FC2 web server running Samba shares and have several users mapped to those shares. Our network is all Active Directory.

After the AD switchover, occasionally, users will report the same problem, they cannot see their mapped drives. Going out to the user, and browsing down through the network to re-map the drive will not work. However, direct mapping via the http://IP ADDRESS/Sharename , or //MACHINE/Sharename will work fine.

Then they will drop the connection again sometime in the future, and we get to do it all over again.

Basically, I think it is just "Winblows" not wanting to play with the Linux boxes in AD.

Solution?. - Run an all Linux network... Yeah, we can hope right?
Reply With Quote
  #6  
Old 11th November 2005, 12:38 AM
ScottishCaptain Offline
Registered User
 
Join Date: Aug 2005
Posts: 37
Well, here is my Samba config...
Attached Files
File Type: conf smb.conf (10.9 KB, 85 views)
Reply With Quote
  #7  
Old 11th November 2005, 01:11 AM
Zigzagcom Offline
Registered User
 
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 86
Posts: 1,657
The default workgroup name in the smb.conf is set to MSHOME. In windows the default is WORKGROUP. I assume you have the workgroup name set to MSHOME on the windows boxes, otherwise set the workgroup name to WORKGROUP, or pick one that matches on all machines.
Just checking...
__________________
Ziggy
Reply With Quote
  #8  
Old 11th November 2005, 01:16 AM
ScottishCaptain Offline
Registered User
 
Join Date: Aug 2005
Posts: 37
Oh wow..
I think I feel stupid now...

Somewhere along the line, it occured to me that I should check in the terminal if smb was running from /etc/init.d/... Well it wasn't.

system-config-services says it wasn't set to be running at any service level.



So I guess the problem here was that the "samba dance"- going into the Config utility and exiting it, probably launched the services to re-read the config file.. Since they weren't running, well, they got launched, and I guess terminated themselfs after a while of doing nothing.

In any case, Samba is still roaring along after around 2 hours of various random usage. The Macs seem perfectly happy to connect to the 'Tux server now, so I guess everything is working.

Thanks for all the help!

Cheers;
SC
Reply With Quote
  #9  
Old 11th November 2005, 01:20 AM
Zigzagcom Offline
Registered User
 
Join Date: Feb 2005
Location: CALIFORNIA, yeah
Age: 86
Posts: 1,657
Nice, there usually is a good explanation why things don't work.
Looks like 'Samba' is safe from being poked for now.
__________________
Ziggy
Reply With Quote
Reply

Tags
dance, samba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dance Of The Commuters pwca Wibble 7 17th January 2009 03:03 PM
everyone knows computer geeks can't dance, so I'm giving lessons slade17 Wibble 1 3rd March 2007 09:58 PM
Configuring a usb dance pad KarateCowboy Hardware & Laptops 1 5th February 2006 03:57 AM
Can xine dance with WMF files? barisurum Using Fedora 2 19th October 2005 12:34 AM
Samba - The sick latino dance with NT. Fatal last words... DouglasSchuc Servers & Networking 9 6th March 2005 08:43 PM


Current GMT-time: 23:38 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat