LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   new samba server create problem centos 5.5 64bits (http://www.linuxquestions.org/questions/linux-newbie-8/new-samba-server-create-problem-centos-5-5-64bits-858100/)

salimshahzad 01-23-2011 03:56 AM

new samba server create problem centos 5.5 64bits
 
dear i have below smb.conf files
where should be mistake in this file can someone highlight as i get below errors

# less /etc/samba/smb.conf
[global]
workgroup = mydomain
server string = srvr7
hosts allow = 10.0. 127.
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[premia]
comment = premia
path = /premia
browseable = yes
writable = yes
public = no
valid users = premia premiaadmin



[backup]
comment = backup
path = /oracle/backup
browseable = yes
writable = yes
public = yes
read only = no


# tail -f /var/log/messages
Jan 23 11:23:20 hacjed7 smbd[3190]: [2011/01/23 11:23:20, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:23:20 hacjed7 smbd[3190]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:23:20 hacjed7 smbd[3726]: [2011/01/23 11:23:20, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:23:20 hacjed7 smbd[3726]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:23:20 hacjed7 smbd[3726]: [2011/01/23 11:23:20, 0] lib/util_sock.c:read_data(534)
Jan 23 11:23:20 hacjed7 smbd[3726]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:23:26 hacjed7 smbd[3725]: [2011/01/23 11:23:26, 0] smbd/password.c:authorise_login(846)
Jan 23 11:23:26 hacjed7 smbd[3725]: authorise_login: rejected invalid user nobody
Jan 23 11:23:26 hacjed7 smbd[3725]: [2011/01/23 11:23:26, 0] smbd/password.c:authorise_login(846)
Jan 23 11:23:26 hacjed7 smbd[3725]: authorise_login: rejected invalid user nobody
Jan 23 11:28:40 hacjed7 nmbd[3193]: [2011/01/23 11:28:40, 0] nmbd/nmbd.c:terminate(58)
Jan 23 11:28:40 hacjed7 nmbd[3193]: Got SIGTERM: going down...
Jan 23 11:28:43 hacjed7 smbd[6327]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:43 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:43 hacjed7 smbd[6360]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:43 hacjed7 smbd[6360]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:43 hacjed7 smbd[6360]: [2011/01/23 11:28:43, 0] lib/util_sock.c:read_data(534)
Jan 23 11:28:43 hacjed7 smbd[6360]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:28:43 hacjed7 smbd[6327]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:43 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:43 hacjed7 smbd[6363]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:43 hacjed7 smbd[6363]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:43 hacjed7 smbd[6363]: [2011/01/23 11:28:43, 0] lib/util_sock.c:read_data(534)
Jan 23 11:28:43 hacjed7 smbd[6363]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:28:43 hacjed7 smbd[6327]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:43 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:43 hacjed7 smbd[6365]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:43 hacjed7 smbd[6365]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:43 hacjed7 smbd[6327]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:43 hacjed7 smbd[6365]: [2011/01/23 11:28:43, 0] lib/util_sock.c:read_data(534)
Jan 23 11:28:43 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:43 hacjed7 smbd[6365]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:28:43 hacjed7 smbd[6367]: [2011/01/23 11:28:43, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:44 hacjed7 smbd[6367]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:44 hacjed7 smbd[6367]: [2011/01/23 11:28:44, 0] lib/util_sock.c:read_data(534)
Jan 23 11:28:44 hacjed7 smbd[6367]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:28:47 hacjed7 smbd[6327]: [2011/01/23 11:28:47, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:47 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:47 hacjed7 smbd[6402]: [2011/01/23 11:28:47, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:47 hacjed7 smbd[6402]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:47 hacjed7 smbd[6402]: [2011/01/23 11:28:47, 0] lib/util_sock.c:read_data(534)
Jan 23 11:28:47 hacjed7 smbd[6402]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:28:55 hacjed7 smbd[6327]: [2011/01/23 11:28:55, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:55 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:55 hacjed7 smbd[6468]: [2011/01/23 11:28:55, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:28:55 hacjed7 smbd[6468]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:28:55 hacjed7 smbd[6468]: [2011/01/23 11:28:55, 0] lib/util_sock.c:read_data(534)
Jan 23 11:28:55 hacjed7 smbd[6468]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:29:05 hacjed7 smbd[6327]: [2011/01/23 11:29:05, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:29:05 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:29:05 hacjed7 smbd[6542]: [2011/01/23 11:29:05, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:29:05 hacjed7 smbd[6542]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:29:05 hacjed7 smbd[6542]: [2011/01/23 11:29:05, 0] lib/util_sock.c:read_data(534)
Jan 23 11:29:05 hacjed7 smbd[6542]: read_data: read failure for 4 bytes to client 0.0.0.0. Error = Connection reset by peer
Jan 23 11:29:35 hacjed7 smbd[6327]: [2011/01/23 11:29:35, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:29:35 hacjed7 smbd[6327]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:29:35 hacjed7 smbd[6780]: [2011/01/23 11:29:35, 0] lib/util_sock.c:get_peer_addr(1224)
Jan 23 11:29:35 hacjed7 smbd[6780]: getpeername failed. Error was Transport endpoint is not connected
Jan 23 11:29:35 hacjed7 smbd[6780]: [2011/01/23 11:29:35, 0] lib/util_sock.c:read_data(534)

fcintron 01-26-2011 08:09 PM

¿what version of windows are you using to connect to these shares?

I once had a weird problem with samba on a centos server and windows 7, but my problem was with a printer.


I had to update my version to last samba version and the problem was gone.


Regards

voorwater 02-07-2011 03:45 PM

We had this problem with Windows 7 and samba3x on CentOS. Could not copy anything larger the 4Gb to samba shares from Windows 7 while Windows XP worked fine. Disabling 445 port (addition of 'smb port = 139' line to smb.conf) seemed to fix the issue.


All times are GMT -5. The time now is 12:21 AM.