LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-19-2007, 03:38 PM   #1
dssrjol
LQ Newbie
 
Registered: Dec 2006
Location: UK
Distribution: F9, FreeNas
Posts: 21

Rep: Reputation: 15
Samba error Address Family not supported by protocol


Can you please help with the following.

I have managed to setup my cups HP Officejet printer on a Fedora core 6 print server. I can print successfully locally and on my other linux boxes - the story of connecting with my windows boxes is less favorable.

I have a "successful" connection from printserver (fedora 6) using samba to windowsbox1. my samba server is visible and i can log on with my samba user account and see my printer. I have previously install the cups windows drivers and it appears when I connect to printer on windows the drivers gets installed. However on printing test pages nothing happens. on checking both the smbd.log and windowsbox1.log there are entries regarding "address family not supported by protocol".

Below is an extract from windowsbox1.log

Quote:
2007/04/19 20:09:30, 0] lib/util_sock.c:write_data(562)
write_data: write failure in writing to client 192.168.1.111. Error Connection reset by peer
[2007/04/19 20:09:30, 0] lib/util_sock.c:send_smb(769)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2007/04/19 20:41:34, 0] lib/util_sock.c:write_data(562)
write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer
[2007/04/19 20:41:34, 0] lib/util_sock.c:send_smb(769)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2007/04/19 21:01:33, 0] lib/util_sock.c:read_data(534)
read_data: read failure for 4 bytes to client 192.168.1.111. Error = Connection reset by peer
[2007/04/19 21:01:39, 0] lib/util_sock.c:write_data(562)
write_data: write failure in writing to client 192.168.1.111. Error Connection reset by peer
[2007/04/19 21:01:39, 0] lib/util_sock.c:send_smb(769)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2007/04/19 21:02:24, 1] smbd/service.c:make_connection_snum(950)
winmj (192.168.1.111) connect to service root initially as user root (uid=0, gid=0) (pid 7163)
[2007/04/19 21:02:35, 1] smbd/service.c:close_cnum(1150)
winmj (192.168.1.111) closed connection to service root
[2007/04/19 21:02:45, 0] printing/print_cups.c:cups_job_submit(571)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:15:14, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:15:14, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Address family not supported by protocol
Also smbd.log:

Quote:
[2007/04/19 20:58:04, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:01:32, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:01:32, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:02:06, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:02:36, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:04:29, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:05:29, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:06:29, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:07:29, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:08:29, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:09:29, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
[2007/04/19 21:10:29, 0] printing/print_cups.c:cups_queue_get(737)
Unable to connect to CUPS server localhost - Address family not supported by protocol
Any Thoughts?

Thanks
 
Old 04-20-2007, 04:51 PM   #2
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
These errors are related to some missing module...check if you have all the required modules laoded for this setup.
 
Old 04-21-2007, 04:36 AM   #3
dssrjol
LQ Newbie
 
Registered: Dec 2006
Location: UK
Distribution: F9, FreeNas
Posts: 21

Original Poster
Rep: Reputation: 15
Thank Mether

How do I do that? - I'm still learning.

Is it a module in samba or cups?

 
  


Reply



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, Krusader: Protocol not supported LordSurvivoR Linux - Networking 6 02-28-2008 01:06 PM
Centos - no Yum, up2date, and Address family not supported yogaboy Linux - Networking 2 01-23-2007 04:16 AM
Address family error [wpa_supplicant for Linux in ARM platform] smshahriar Linux - Wireless Networking 0 01-04-2005 03:38 PM
socket: Address family not supported by protocol utumno Linux - Networking 0 12-05-2004 03:19 AM
SSH - socket: Address family not supported by protocol SkyLinePL Linux - Networking 4 09-24-2004 12:03 AM

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

All times are GMT -5. The time now is 05:47 PM.

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