View previous topic :: View next topic |
Author |
Message |
lkraemer Member
Joined: 25 Jun 2010 Posts: 37
|
Posted: Wed May 18, 2011 1:34 am Post subject: Samba Server Timeout ?? |
|
|
I'm running and testing my Samba server (SMS 1.6.0) and I have modified
my symbolic links, subdirectories and configuration files so my Samba and FTP files are saved on my /home subdirectory which is ~475 Gig. My SMS system is installed on a ~5 Gig Partition which is 55% full. I'm only using FTP, Samba, and the CUPS Print Server. Everything else wasn't installed or is disabled.
When I try transfering a 6 Gig Folder from my Debian 6.0 Laptop to my
/home/smb/samba/FTM-80 subdirectory (drag & drop), the transfer starts, but about 40-50% into the transfer I get a Timeout Error. I don't see any configuration in the /etc/samba/smb.conf for any timeout. Is there a problem with the size of the SMS Partition, or a problem with the tmp subdirectory size causing the timeout? If not, what is causing it?
I've searched the internet and there was a suggestion about adding the netbios name. That did not help solve the problem.
When it times out I have to go to the Server, login, then reboot as nothing seems to function over ssh either.
Suggestions?
Thanks.
Larry |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed May 18, 2011 5:30 am Post subject: |
|
|
What filesystem your /home partition has?
What /var/log/samba.[your ip or name] says?
Have you try sending the data from another machine?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
lkraemer Member
Joined: 25 Jun 2010 Posts: 37
|
Posted: Wed May 18, 2011 2:07 pm Post subject: |
|
|
Here is the information on my Partitions:
root@smsldkserver:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 4806904 2490660 2072060 55% /
/dev/sda2 473992468 1344496 448570556 1% /home
tmpfs 509756 0 509756 0% /dev/shm
root@smsldkserver:~#
root@smsldkserver:~# blkid
/dev/sda1: UUID="e1264346-e155-430b-........" TYPE="ext4"
/dev/sda2: UUID="1e9d98f6-ffcf-4b0d-............" TYPE="ext4"
/dev/sda3: UUID="969b4799-c577-4040-........." TYPE="swap"
root@smsldkserver:~#
And here is the information contained in File: samba.__ffff_192.168.1.250
[2011/05/14 17:42:59.910179, 0] smbd/negprot.c:337(reply_nt1)
reply_nt1: smb signing is incompatible with share level security !
[2011/05/17 15:00:11.678183, 0] lib/util_sock.c:1514(matchname)
matchname: host name/address mismatch: ::ffff:192.168.1.250 != smsldkserver.o$
[2011/05/17 15:00:11.710734, 0] lib/util_sock.c:1635(get_peer_name)
Matchname failed on smsldkserver.org ::ffff:192.168.1.250
[2011/05/17 15:00:11.712485, 0] smbd/negprot.c:337(reply_nt1)
reply_nt1: smb signing is incompatible with share level security !
I am also getting a lot of these error messages, over and over in the logs:
smskdkserver FaxGetty[xxxx]: Modem /dev/ttys0 appears to be wedged
I can tag an 8 Gig folder in Filezilla and transfer the complete folder to
my SMS Server but it's xfer rate is ~40 to 100 kbps versus 2.3 Mbps
with Samba, so it takes a lot longer.
I'm trying a xfer from my other laptop (Ubuntu 10.04) now. I'll let you
know how it goes.
THANKS.
Larry |
|
Back to top |
|
lkraemer Member
Joined: 25 Jun 2010 Posts: 37
|
Posted: Wed May 18, 2011 3:27 pm Post subject: |
|
|
I logged in my SMS Server (Samba) and started a 1.6 Gig xfer with my Ubuntu 10.04 Laptop. I started an xfer (Copy & Paste) to my Samba Share. Here is the log file for it:
root@smsldkserver:/var/log# cat samba.__ffff_192.168.1.201
[2011/05/18 06:21:31.124697, 1] lib/util_sock.c:1631(get_peer_name)
get_peer_name: getnameinfo failed for ::ffff:192.168.1.201 with error Temporary failure in name resolution
[2011/05/18 06:21:31.149011, 0] smbd/negprot.c:337(reply_nt1)
reply_nt1: smb signing is incompatible with share level security !
[2011/05/18 06:21:31.216906, 1] smbd/service.c:1070(make_connection_snum)
__ffff_192.168.1.201 (::ffff:192.168.1.201) connect to service Samba @ SMS initially as user nobody (uid=99, gid=99) (pid 1847)
root@smsldkserver:/var/log#
Next I continued to process my Filezilla Queue of 6 Gig to xfer via FTP to my SMS FTP Server, and I started a Samba xfer of 1.8 Gig to my Samba
Share. Here is that log file:
root@smsldkserver:/var/log# cat samba.__ffff_192.168.1.206
[2011/05/18 06:30:20.434241, 1] lib/util_sock.c:1631(get_peer_name)
get_peer_name: getnameinfo failed for ::ffff:192.168.1.206 with error Temporary failure in name resolution
[2011/05/18 06:30:20.435686, 0] smbd/negprot.c:337(reply_nt1)
reply_nt1: smb signing is incompatible with share level security !
[2011/05/18 06:30:20.578006, 1] smbd/service.c:1070(make_connection_snum)
__ffff_192.168.1.206 (::ffff:192.168.1.206) connect to service Samba @ SMS initially as user nobody (uid=99, gid=99) (pid 1896)
root@smsldkserver:/var/log# cat samba.__ffff_192.168.1.201
[2011/05/18 06:21:31.124697, 1] lib/util_sock.c:1631(get_peer_name)
get_peer_name: getnameinfo failed for ::ffff:192.168.1.201 with error Temporary failure in name resolution
[2011/05/18 06:21:31.149011, 0] smbd/negprot.c:337(reply_nt1)
reply_nt1: smb signing is incompatible with share level security !
[2011/05/18 06:21:31.216906, 1] smbd/service.c:1070(make_connection_snum)
__ffff_192.168.1.201 (::ffff:192.168.1.201) connect to service Samba @ SMS initially as user nobody (uid=99, gid=99) (pid 1847)
root@smsldkserver:/var/log# cat samba.__ffff_192.168.1.206
[2011/05/18 06:30:20.434241, 1] lib/util_sock.c:1631(get_peer_name)
get_peer_name: getnameinfo failed for ::ffff:192.168.1.206 with error Temporary failure in name resolution
[2011/05/18 06:30:20.435686, 0] smbd/negprot.c:337(reply_nt1)
reply_nt1: smb signing is incompatible with share level security !
[2011/05/18 06:30:20.578006, 1] smbd/service.c:1070(make_connection_snum)
__ffff_192.168.1.206 (::ffff:192.168.1.206) connect to service Samba @ SMS initially as user nobody (uid=99, gid=99) (pid 1896)
root@smsldkserver:/var/log#
My first laptop completed the xfer of 1.6 Gig, while my second one continued with the 6 Gig FTP and 1.8 Gig Samba xfers.....
And it finally completed. I just don't understand, because yesterday I tried
numerous times Samba xfers failed every time. Now today it worked once, on both laptops.
Ideas? Suggestions?
Thanks.
Larry |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed May 18, 2011 6:05 pm Post subject: |
|
|
lkraemer wrote: | host name/address mismatch: ::ffff:192.168.1.250 != smsldkserver |
Is your server's IP configured correctly?
is 192.168.1.250 listed in /etc/hosts as your hostname?
Also something isn't right with DNS in your network.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
lkraemer Member
Joined: 25 Jun 2010 Posts: 37
|
Posted: Wed May 18, 2011 6:40 pm Post subject: |
|
|
Contents of /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#
# For loopbacking.
127.0.0.1 localhost
192.168.1.250 smsldkserver.org smsldkserver
# End of hosts.
I have not edited this file, and I assume this information was done during
install & setup.
I thought that something wasn't quite right with DNS but I don't know how
to check it or fix it. Can you offer suggestions? I assigned the OpenDNS
server's IP address when asked for DNS Servers. ie. 208.67.200.200
Thanks.
Larry |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed May 18, 2011 6:45 pm Post subject: |
|
|
You need to set your router's/modem IP address as Gateway, in /etc/rc.d/rc.inet1.conf
and your DNS servers in /etc/resolv.conf
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
lkraemer Member
Joined: 25 Jun 2010 Posts: 37
|
Posted: Thu May 19, 2011 2:00 am Post subject: |
|
|
My /etc/resolv.conf contains :
search smsldkserver.org
nameserver 208.67.222.222
nameserver 208.67.220.220
My /etc/rc.d/rc.inet1.conf is correct.
What ports do I need open in my Router for Samba xfers?
Thanks.
Larry |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu May 19, 2011 5:31 am Post subject: |
|
|
You don't need to open any port in your router, plus restrict samba to your network by adding in smb.conf
hosts allow = 192.168.1. 127.
so others don't have access via public networks.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|