LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-13-2005, 10:54 AM   #1
jonttu
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
Samba problem


When I run Samba interactively and try to connect it from XP, Samba gives:

open_oplock_ipc: Failed to get local UDP socket for address 100007f. Error was Cannot assign requested address

After that Samba goes down and nothing happens.

Any ideas what's wrong?
 
Old 12-14-2005, 03:54 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Your local loopback interface is the reason for this problem,
Run ifup lo & checkback.
 
Old 12-14-2005, 04:04 AM   #3
jonttu
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by amitsharma_26
Your local loopback interface is the reason for this problem,
Run ifup lo & checkback.
I did that and now I can ping localhost. But now there is another problem. Samba returns:

getpeername failed. Error was Transport endpoint is not connected
write_socket_data: write failure. Error = Connection reset by peer
write_socket: Error writing 4 bytes to socket 21: ERRNO = Connection reset by peer
Error writing 4 bytes to client. -1. (Connection reset by peer)
 
Old 12-14-2005, 04:18 AM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by jonttu
I did that and now I can ping localhost. But now there is another problem. Samba returns:

getpeername failed. Error was Transport endpoint is not connected
write_socket_data: write failure. Error = Connection reset by peer
write_socket: Error writing 4 bytes to socket 21: ERRNO = Connection reset by peer
Error writing 4 bytes to client. -1. (Connection reset by peer)
Do you have proper ethernet card drivers installed ?

Please check.

Last edited by amitsharma_26; 12-14-2005 at 04:27 AM.
 
Old 12-14-2005, 04:24 AM   #5
jonttu
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by amitsharma_26
Do you have proper ethernet card drivers installed ?

Please check.
I guess they have to be because the connection between Windows and Linux works fine otherwise.
 
Old 12-14-2005, 04:29 AM   #6
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by jonttu
Error = Connection reset by peer
Error writing 4 bytes to client. -1. (Connection reset by peer)
Even though its clear with the message that connection is being reset by peer. But how come you are getting this error while starting samba service.

Generally this error floods the log files when some client copies & access any share.
 
Old 12-14-2005, 04:37 AM   #7
jonttu
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by amitsharma_26
Even though its clear with the message that connection is being reset by peer. But how come you are getting this error while starting samba service.

Generally this error floods the log files when some client copies & access any share.
Yes well it does come when I try to connect from XP.
 
Old 12-14-2005, 05:27 AM   #8
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by jonttu
Yes well it does come when I try to connect from XP.
So you are able to start samba service. If yes then first of all testparm your samba & post the output here & also tell me do you get those getpeername failed with every MS boxes while accessing samba or any particular ones.
 
Old 12-14-2005, 05:33 AM   #9
jonttu
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by amitsharma_26
So you are able to start samba service. If yes then first of all testparm your samba & post the output here & also tell me do you get those getpeername failed with every MS boxes while accessing samba or any particular ones.
Here is the output:

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
workgroup = MSHOME
server string = %h server (Samba, Ubuntu)
encrypt passwords = No
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root

[homes]
comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700

And I don't know what happened but now Samba gives no output. I tried from two different Windows machines, and Samba just crashes. No output anymore.
 
  


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
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba Problem Marine Eater Linux - Networking 2 12-17-2004 03:58 PM
samba problem John Micheal Linux - Software 2 04-17-2004 12:02 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

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

All times are GMT -5. The time now is 10:04 AM.

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