ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] localhost:631
@ 2010-04-12 14:38 free
  2010-04-12 19:58 ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: free @ 2010-04-12 14:38 UTC (permalink / raw)
  To: community

Подскажите что нужно установить чтобы заработало localhost:631 для
настройки принтера, или где ткнуть чтобы заработало )

Установил минимальный дистриб от NotHAM, установил cups и зависимости,
запустил службу, что сделать еще?

логи в /var/log/cups
E [08/Apr/2010:10:43:24 +0400] Unable to open listen socket for
address ::1:631 - Address family not supported by protocol. E
[08/Apr/2010:10:43:24 +0400] Unable to set ACLs on root certificate
"/var/run/cups/certs/0" - Operation not supported E
[08/Apr/2010:10:52:54 +0400] Unable to open listen socket for
address ::1:631 - Address family not supported by protocol. E
[08/Apr/2010:10:52:54 +0400] Unable to set ACLs on root certificate
"/var/run/cups/certs/0" - Operation not supported E
[08/Apr/2010:11:27:10 +0400] Unable to open listen socket for
address ::1:631 - Address family not supported by protocol. E
[08/Apr/2010:11:27:10 +0400] Unable to set ACLs on root certificate
"/var/run/cups/certs/0" - Operation not supported E
[08/Apr/2010:11:35:32 +0400] Unable to open listen socket for
address ::1:631 - Address family not supported by protocol. E
[08/Apr/2010:11:35:32 +0400] Unable to set ACLs on root certificate
"/var/run/cups/certs/0" - Operation not supported E
[08/Apr/2010:11:38:15 +0400] Unable to open listen socket for
address ::1:631 - Address family not supported by protocol. E
[08/Apr/2010:11:38:15 +0400] Unable to set ACLs on root certificate 
"/var/run/cups/certs/0" - Operation not supported

# control cups
server

/etc/cups/cupsd.conf

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] localhost:631
  2010-04-12 14:38 [Comm] localhost:631 free
@ 2010-04-12 19:58 ` Michael Shigorin
  2010-04-13  6:41   ` free
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2010-04-12 19:58 UTC (permalink / raw)
  To: community

On Mon, Apr 12, 2010 at 06:38:49PM +0400, free wrote:
> Подскажите что нужно установить чтобы заработало localhost:631
> для настройки принтера, или где ткнуть чтобы заработало )

Должно быть достаточно запустить службу и сходить по
http://localhost:631

> E [08/Apr/2010:10:43:24 +0400] Unable to open listen socket for
> address ::1:631 - Address family not supported by protocol. E

Это IPv6-адрес, у меня на локалхосте ругается точно так же,
но работает.  А у Вас как -- порт не слушает, таймаут или где?
(тж. netstat -pan | grep 631)

> /etc/cups/cupsd.conf
> 
> # Only listen for connections from the local machine.
> Listen localhost:631
> Listen /var/run/cups/cups.sock

Точно так же.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] localhost:631
  2010-04-12 19:58 ` Michael Shigorin
@ 2010-04-13  6:41   ` free
  2010-04-13  8:43     ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: free @ 2010-04-13  6:41 UTC (permalink / raw)
  To: community

В Mon, 12 Apr 2010 22:58:41 +0300
Michael Shigorin <mike@osdn.org.ua> пишет:

> On Mon, Apr 12, 2010 at 06:38:49PM +0400, free wrote:
> > Подскажите что нужно установить чтобы заработало localhost:631
> > для настройки принтера, или где ткнуть чтобы заработало )
> 
> Должно быть достаточно запустить службу и сходить по
> http://localhost:631
> 
> > E [08/Apr/2010:10:43:24 +0400] Unable to open listen socket for
> > address ::1:631 - Address family not supported by protocol. E
> 
> Это IPv6-адрес, у меня на локалхосте ругается точно так же,
> но работает.  А у Вас как -- порт не слушает, таймаут или где?
> (тж. netstat -pan | grep 631)
> 
> > /etc/cups/cupsd.conf
> > 
> > # Only listen for connections from the local machine.
> > Listen localhost:631
> > Listen /var/run/cups/cups.sock
> 
> Точно так же.
> 

netstat -pan | grep 631
(No info could be read for "-p": geteuid()=500 but you should be root.)
tcp        0      0 127.0.0.1:631 0.0.0.0:* LISTEN      - 
udp	   0      0 0.0.0.0:631 0.0.0.0:*	-                   


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] localhost:631
  2010-04-13  6:41   ` free
@ 2010-04-13  8:43     ` Michael Shigorin
  2010-04-13  9:30       ` free
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2010-04-13  8:43 UTC (permalink / raw)
  To: community

On Tue, Apr 13, 2010 at 10:41:29AM +0400, free wrote:
> > > E [08/Apr/2010:10:43:24 +0400] Unable to open listen socket for
> > > address ::1:631 - Address family not supported by protocol. E
> > Это IPv6-адрес, у меня на локалхосте ругается точно так же,
> > но работает.
> netstat -pan | grep 631
> tcp        0      0 127.0.0.1:631 0.0.0.0:* LISTEN      - 
> udp	   0      0 0.0.0.0:631 0.0.0.0:*	-                   

Сам бы тогда ставил LogLevel debug и что-то вроде

mv /var/log/cups/error_log /var/log/cups/error_log.old
service cups restart
tailf /var/log/cups/error_log

и браузером на http://localhost:631

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] localhost:631
  2010-04-13  8:43     ` Michael Shigorin
@ 2010-04-13  9:30       ` free
  0 siblings, 0 replies; 5+ messages in thread
From: free @ 2010-04-13  9:30 UTC (permalink / raw)
  To: community

В Tue, 13 Apr 2010 11:43:35 +0300
Michael Shigorin <mike@osdn.org.ua> пишет:

> On Tue, Apr 13, 2010 at 10:41:29AM +0400, free wrote:
> > > > E [08/Apr/2010:10:43:24 +0400] Unable to open listen socket for
> > > > address ::1:631 - Address family not supported by protocol. E
> > > Это IPv6-адрес, у меня на локалхосте ругается точно так же,
> > > но работает.
> > netstat -pan | grep 631
> > tcp        0      0 127.0.0.1:631 0.0.0.0:* LISTEN      - 
> > udp	   0      0 0.0.0.0:631
> > 0.0.0.0:*	-                   
> 
> Сам бы тогда ставил LogLevel debug и что-то вроде
> 
> mv /var/log/cups/error_log /var/log/cups/error_log.old
> service cups restart
> tailf /var/log/cups/error_log
> 
> и браузером на http://localhost:631
> 
К сожалению к той машине сейчас только по ssh -Х могу
выдает только это

tailf /var/log/cups/error_log
E [13/Apr/2010:13:27:01 +0400] Unable to open listen socket for
address ::1:631 - Address family not supported by protocol. E
[13/Apr/2010:13:27:01 +0400] Unable to set ACLs on root certificate
"/var/run/cups/certs/0" - Operation not supported


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-13  9:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-12 14:38 [Comm] localhost:631 free
2010-04-12 19:58 ` Michael Shigorin
2010-04-13  6:41   ` free
2010-04-13  8:43     ` Michael Shigorin
2010-04-13  9:30       ` free

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git