nixp.ru v3.0

29 марта 2024,
пятница,
05:15:53 MSK

anonymous написал 18 июля 2005 года в 17:14 (1221 просмотр) Ведет себя неопределенно; открыл 1814 темы в форуме, оставил 5575 комментариев на сайте.

Вообщем поставил я cupsys (debian sarge), поставил драйвера от принтера (canon lpb810). Проблема в том что я не могу теперь достучаться до CUPS через localhost:631 чтобы принтер добавить. В cupsd.conf вроде все подключения с 127.0.0.1 разрешены.

telnet -ln -tcp сначала показывал cupsd на 0.0.0.0:631 а теперь вообще его не показывает.

логи: cups_error_log I [18/Jul/2005:01:03:12 +1000] Listening to 7f000001:631

I [18/Jul/2005:01:03:12 +1000] Listening to 0:631

I [18/Jul/2005:01:03:12 +1000] Loaded configuration file «/etc/cups/cupsd.conf»

I [18/Jul/2005:01:03:12 +1000] Configured for up to 100 clients.

I [18/Jul/2005:01:03:12 +1000] Allowing up to 100 client connections per host.

I [18/Jul/2005:01:03:12 +1000] Full reload is required.

E [18/Jul/2005:01:03:12 +1000] LoadAllPrinters: Unable to open /etc/cups/printers.conf — No such file or directory

E [18/Jul/2005:01:03:12 +1000] LoadAllClasses: Unable to open /etc/cups/classes.conf — No such file or directory I [18/Jul/2005:01:03:12 +1000] LoadPPDs: Read «/etc/cups/ppds.dat», 2751 PPDs…

I [18/Jul/2005:01:03:12 +1000] LoadPPDs: No new or changed PPDs…

I [18/Jul/2005:01:03:12 +1000] Full reload complete.

E [18/Jul/2005:01:03:12 +1000] StartListening: Unable to find IP address for server name «debian» — Host name lookup failure

E [18/Jul/2005:01:03:12 +1000] StartListening: Unable to bind socket for address 00000000:631 — Address already in use.

до этого даже не пинговал ping 127.0.0.1 connect: Invalid argument

$ /bin/hostname debian

$ host '/bin/hostname' socket.c:1119: internal_send: 127.0.0.1#53: Invalid argument socket.c:1119: internal_send: 127.0.0.1#53: Invalid argument

потом я поставил пару (что-то с dns было) и теперь такое выдает ping 127.0.0.1 connect: Network is unreachable

host '/bin/hostname' ;; connection timed out; no servers could be reached

выдержка из cupsd.conf

DefaultCharset notused

ErrorLog /var/log/cups/error_log

LogLevel info

Printcap /var/run/cups/printcap

Listen 127.0.0.1:631

Port 631

BrowseAllow All

BrowsePort 631

Order Deny,Allow

Deny From All

Allow From 127.0.0.1

AuthType Basic

AuthClass User

AuthType Basic

AuthClass System

Order Deny,Allow

Deny From All

Allow From 127.0.0.1

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.