Date: Tue, 08 Aug 2006 18:16:35 -0400 From: Gerard Seibert <gerard@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re: Port Not Available Message-ID: <20060808180606.BDC4.GERARD@seibercom.net> In-Reply-To: <44D8ED25.4060206@infracaninophile.co.uk> References: <20060808154327.BDB4.GERARD@seibercom.net> <44D8ED25.4060206@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> Hmmm... what does:
>
> ifconfig lo0
>
> return? You should actually see two IPv6 addresses configured, like so:
>
> happy-idiot-talk:~:% ifconfig lo0
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
> inet 127.0.0.1 netmask 0xff000000
>
> Also your original test was connecting to a SMTP server on the
> loopback. What does:
>
> sockstat | grep :25
>
> return? Seeing ::1:25 in the output would be good. However, it is
> entirely possible that your MTA isn't binding to IPv6 addresses.
>
> If you're trying to make lpd(8) work, you should be looking for stuff
> listening on port 515.
>
> Cheers,
>
> Matthew
OK, the ifconfig lo0 looks like this:
~ $ ifconfig lo0
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
The sockstat | grep :25
~ $ sockstat | grep :25
root master 681 11 tcp4 *:25 *:*
root ntpd 519 6 udp6 fe80:1::250:baff:fe43:3a7f:123*:*
And finally: sockstat | grep :515
~ $ sockstat | grep :515
daemon lpd 915 6 tcp4 *:515 *:*
Finally, this is a quick list of what happens when I issue 'lpr'
commands. You will notice that there is a slight difference in the error
message displayed, but the result is the same. I can, however, print a
test page using apsfilter. I am at my wits end to figure out what is
happening. If I had any hair left, I would be pulling it out by now.
~ $ lpc status all
Printer Printing Spooling Jobs Server Subserver Redirect Status/(Deb
ug)
lp@scorpio enabled enabled 0 none none
~ $
~ $ lpr -Pscorpio /etc/printcap
lpr: Connection refused
~ $
~ $ lpr -Pseibercom /etc/printcap
lpr: Connection refused
~ $
~ $ lpr -Pseibercom.net /etc/printcap
lpr: Connection refused
~ $
~ $ lpr /etc/printcap
lpr: Error - scheduler not responding!
--
Gerard Seibert
gerard@seibercom.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808180606.BDC4.GERARD>
