RE: [Samba] Disapearing Drives: Urgent help needed - IT WORKS
WOW paint me happy !! i have trying to understand why the samba drive was always becoming 'not availabe'. was it the router?? was it the samba setup?? two days and multiple power save periods and the samba drive is still there!! i checked the registry entries and could not find anything like what you had mentioned. i executed the command line suggested, no complaints from the system, and wallah. dennis, and others, you have made my day/week/month thanks for participating!! kevin --- Dennis McLeod [EMAIL PROTECTED] wrote: I BELIEVE this might be a client issue. I'm not really up to speed on Samba yet, but there are some settings on XP that can affect this. If so, switching to a Windows server won't fix it. On the XP Client, command window: C:\WINDOWS|⺠net config server Server Name \\ Server Comment Software version Windows 2002 Server is active on NetbiosSmb () Server hidden No Maximum Logged On Users 10 Maximum open files per session16384 Idle session time (min) 15 The command completed successfully. Idle session time is 15 minutes. While this sounds like it will disconnect clients connecting TO the XP machine, I think it works both ways. Change it by: C:\WINDOWS|⺠net config server /AUTODISCONNECT:-1 The output should change to: Idle session time (min) -1 If this doesn't work try the registry: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters] KeepAliveTime=dword:0030 KeepAliveInterval=dword:1000 30 ms or, 5 minutes From http://support.microsoft.com/kb/314053: KeepAliveInterval Key: Tcpip\Parameters Value Type: REG_DWORD - Time in milliseconds Valid Range: 1 - 0x Default: 1000 (one second) Description: This parameter determines the interval that separates keepalive retransmissions until a response is received. After a response is received, KeepAliveTime again controls the delay until the next keepalive transmission. The connection is aborted after the number of retransmissions that are specified by TcpMaxDataRetransmissions are unanswered. KeepAliveTime Key: Tcpip\Parameters Value Type: REG_DWORD - Time in milliseconds Valid Range: 1 - 0x Default: 7,200,000 (two hours) Description: The parameter controls how frequently TCP tries to verify that an idle connection is still intact by sending a keepalive packet. If the remote computer is still reachable and functioning, the remote computer acknowledges the keepalive transmission. By default, keepalive packets are not sent. A program can turn on this feature on a connection Let us know! Dennis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Garcia-Vidal Sent: Thursday, February 22, 2007 5:06 AM To: samba@lists.samba.org Subject: [Samba] Disapearing Drives: Urgent help needed I need help on this urgently. Does anyone have any ideas? Is mine the only place that is experiencing this problem? The suits are making noises about getting a windows server in here, I don't want to see that happen, but I don't know how to fix this very serious Samba problem. + Ok, Unfortunately, this doesn't work. I've tried all manner of optimizing WINS settings on the file-server as well as on the clients, this problem seems to be getting worse and I feel like I'm just plugging leaks in the dike with my fingers! When the drive disappears, the samba logs show no errors or even connection attempts, and here's what shows up on a tcpdump: 12:26:41.025409 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 3364121045:3364121171(126) ack 1939213 win 64417 NBT Session Packet: Session Message 12:26:41.025949 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 1:40(39) ack 126 win 18194 NBT Session Packet: Session Message 12:26:41.026751 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 126:252(126) ack 40 win 64378 NBT Session Packet: Session Message 12:26:41.026863 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 40:79(39) ack 252 win 18194 NBT Session Packet: Session Message 12:26:41.034295 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 252:378(126) ack 79 win 64339 NBT Session Packet: Session Message 12:26:41.034388 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 79:118(39) ack 378 win 18194 NBT Session Packet: Session Message 12:26:41.044727 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 378:504(126) ack 118 win 64300 NBT Session Packet: Session Message 12:26:41.044816 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 118:157(39) ack
Re: [Samba] Disapearing Drives: Urgent help needed
Ron Garcia-Vidal wrote: I need help on this urgently. Does anyone have any ideas? Is mine the only place that is experiencing this problem? The suits are making noises about getting a windows server in here, I don't want to see that happen, but I don't know how to fix this very serious Samba problem. + I don't have much of a clue as to what wrong with your system and this won't figure out the problem, but hey - anything to get things back to normal ( and keep Windows out.) Do you have a valid backup of the system before making the upgrade that broke things? You could reinstall the last working version of samba and do a restore of the pertinent samba config dirs files. Make a tarball of what you have now just in case the restore makes things worse. I had at one time totally hammered samba while messing with it. Fortunately, I did the tarball thing and saved myself. -- Toby Bluhm Midwest Instruments Inc. 30825 Aurora Road Suite 100 Solon Ohio 44139 440-424-2250 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Disapearing Drives: Urgent help needed
I BELIEVE this might be a client issue. I'm not really up to speed on Samba yet, but there are some settings on XP that can affect this. If so, switching to a Windows server won't fix it. On the XP Client, command window: C:\WINDOWS|► net config server Server Name \\ Server Comment Software version Windows 2002 Server is active on NetbiosSmb () Server hidden No Maximum Logged On Users 10 Maximum open files per session16384 Idle session time (min) 15 The command completed successfully. Idle session time is 15 minutes. While this sounds like it will disconnect clients connecting TO the XP machine, I think it works both ways. Change it by: C:\WINDOWS|► net config server /AUTODISCONNECT:-1 The output should change to: Idle session time (min) -1 If this doesn't work try the registry: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters] KeepAliveTime=dword:0030 KeepAliveInterval=dword:1000 30 ms or, 5 minutes From http://support.microsoft.com/kb/314053: KeepAliveInterval Key: Tcpip\Parameters Value Type: REG_DWORD - Time in milliseconds Valid Range: 1 - 0x Default: 1000 (one second) Description: This parameter determines the interval that separates keepalive retransmissions until a response is received. After a response is received, KeepAliveTime again controls the delay until the next keepalive transmission. The connection is aborted after the number of retransmissions that are specified by TcpMaxDataRetransmissions are unanswered. KeepAliveTime Key: Tcpip\Parameters Value Type: REG_DWORD - Time in milliseconds Valid Range: 1 - 0x Default: 7,200,000 (two hours) Description: The parameter controls how frequently TCP tries to verify that an idle connection is still intact by sending a keepalive packet. If the remote computer is still reachable and functioning, the remote computer acknowledges the keepalive transmission. By default, keepalive packets are not sent. A program can turn on this feature on a connection Let us know! Dennis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Garcia-Vidal Sent: Thursday, February 22, 2007 5:06 AM To: samba@lists.samba.org Subject: [Samba] Disapearing Drives: Urgent help needed I need help on this urgently. Does anyone have any ideas? Is mine the only place that is experiencing this problem? The suits are making noises about getting a windows server in here, I don't want to see that happen, but I don't know how to fix this very serious Samba problem. + Ok, Unfortunately, this doesn't work. I've tried all manner of optimizing WINS settings on the file-server as well as on the clients, this problem seems to be getting worse and I feel like I'm just plugging leaks in the dike with my fingers! When the drive disappears, the samba logs show no errors or even connection attempts, and here's what shows up on a tcpdump: 12:26:41.025409 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 3364121045:3364121171(126) ack 1939213 win 64417 NBT Session Packet: Session Message 12:26:41.025949 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 1:40(39) ack 126 win 18194 NBT Session Packet: Session Message 12:26:41.026751 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 126:252(126) ack 40 win 64378 NBT Session Packet: Session Message 12:26:41.026863 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 40:79(39) ack 252 win 18194 NBT Session Packet: Session Message 12:26:41.034295 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 252:378(126) ack 79 win 64339 NBT Session Packet: Session Message 12:26:41.034388 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 79:118(39) ack 378 win 18194 NBT Session Packet: Session Message 12:26:41.044727 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 378:504(126) ack 118 win 64300 NBT Session Packet: Session Message 12:26:41.044816 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 118:157(39) ack 504 win 18194 NBT Session Packet: Session Message 12:26:41.045349 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 504:630(126) ack 157 win 64261 NBT Session Packet: Session Message 12:26:41.045449 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 157:196(39) ack 630 win 18194 NBT Session Packet: Session Message 12:26:41.054110 IP tmc152.millburncorp.com.3046 tmcsamba1.millburncorp.com.netbios-ssn: P 630:756(126) ack 196 win 64222 NBT Session Packet: Session Message 12:26:41.054372 IP tmcsamba1.millburncorp.com.netbios-ssn tmc152.millburncorp.com.3046: P 196:235(39) ack 756 win 18194 NBT Session
Re: [Samba] Disapearing Drives: Urgent help needed
On 2/6/07, Ron Garcia-Vidal [EMAIL PROTECTED] wrote: Wow, I can only be sure by playing the waiting game, but the WINS server parameter was pointing to a machine that I'd retired long ago! This could very well be the culprit! Thank you so much for the tip. I'll post back if this problem disappears for a few days. Where is the WINS server now? What does the nmbd log have to say? Are your clients pointing to the WINS server as well? Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Disapearing Drives: Urgent help needed
When this issue occurs, what is the output from smbclient on the Samba server? # smbclient -L localhost Also, I have had this problem in the past (long ago) and it turned out to be an issue with WINS not being setup properly. Please post the output to the following command or verify your WINS settings: testparm -v | grep -i wins Thanks, Josh, RHCE Ron Garcia-Vidal wrote: Seriously, I realize the below post doesn't have all the necessary info to diagnose the problem, but I'm not even sure where to look for more info. Any help would be greatly appreciated. = I have been having a problem with my Samba server for about a month now and need help. I am having users mysteriously losing access to drives during the day. The drive will un-map itself and any further attempt to access it through wither Windows Explorer or just typing the UNC in the Run window will result in a Drive or path not accessible error. On the samba side, nothing shows up in the logs on subsequent connections, so I'm unsure how to diagnose what the problem is. Attempts to access the share from another machine as the same user are successful. The fix for this seems to be, either reboot the client (less preferable because the user gets upset) or restart the smbd on the server. Either way, subsequent share access is restored. Unfortunately, this problem is reoccurring several times a day and I find myself restarting samba about 4-5 times daily. This has reached a crisis point, so any help would be appreciated. In terns of samba version, this problem first appeared when I upgraded to samba_3.0.23d-2+b1 (on Debian Testing). Subsequently, I rolled back to samba_3.0.23c-1, but the problem still persisted. I have since upgraded to samba_3.0.23d-4, and am still having this problem. Please help! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Disapearing Drives: Urgent help needed
Wow, I can only be sure by playing the waiting game, but the WINS server parameter was pointing to a machine that I'd retired long ago! This could very well be the culprit! Thank you so much for the tip. I'll post back if this problem disappears for a few days. Josh Miller wrote: When this issue occurs, what is the output from smbclient on the Samba server? # smbclient -L localhost Also, I have had this problem in the past (long ago) and it turned out to be an issue with WINS not being setup properly. Please post the output to the following command or verify your WINS settings: testparm -v | grep -i wins Thanks, Josh, RHCE Ron Garcia-Vidal wrote: Seriously, I realize the below post doesn't have all the necessary info to diagnose the problem, but I'm not even sure where to look for more info. Any help would be greatly appreciated. = I have been having a problem with my Samba server for about a month now and need help. I am having users mysteriously losing access to drives during the day. The drive will un-map itself and any further attempt to access it through wither Windows Explorer or just typing the UNC in the Run window will result in a Drive or path not accessible error. On the samba side, nothing shows up in the logs on subsequent connections, so I'm unsure how to diagnose what the problem is. Attempts to access the share from another machine as the same user are successful. The fix for this seems to be, either reboot the client (less preferable because the user gets upset) or restart the smbd on the server. Either way, subsequent share access is restored. Unfortunately, this problem is reoccurring several times a day and I find myself restarting samba about 4-5 times daily. This has reached a crisis point, so any help would be appreciated. In terns of samba version, this problem first appeared when I upgraded to samba_3.0.23d-2+b1 (on Debian Testing). Subsequently, I rolled back to samba_3.0.23c-1, but the problem still persisted. I have since upgraded to samba_3.0.23d-4, and am still having this problem. Please help! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba