Slack 13.37
drukarka HP LJ 6L @ CUPS+Gutenprint v5.2.6
CUPS: 1.4.6
X: XFCE4
Drukarka lokalnie drukuje bezproblemowo;
w cupsie zaznaczone jest współdzielenie
Kod: Zaznacz cały
HP-LaserJet-6L-EP (Bezczynna, Akceptowanie zadań, Współdzielona, Domyślne serwera)
Kod: Zaznacz cały
ipp://nazwa:631/printers/HP-LaserJet-6L-EP
Kod: Zaznacz cały
Serwer nie eksportuje drukarek do sieci.
Tak wygląda mój cupsd.conf
Kod: Zaznacz cały
bash-4.1# cat /etc/cups/cupsd.conf
LogLevel warn
SystemGroup sys root
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols cups ldap
BrowseAddress @LOCAL
BrowseLocalProtocols cups ldap
DefaultAuthType Basic
<Location />
# Allow remote access...
Order allow,deny
Allow all
</Location>
<Location /admin>
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
</Location>
<Policy default>
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
Próbowałem ip:9100 (domyślnie w programie) - nie słucha cups na tym porcie
Następnie sprawdziłem na jakim porcie słucha cups:
Kod: Zaznacz cały
bash-4.1# netstat -lpn |grep cups
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 1763/cupsd
tcp 0 0 :::631 :::* LISTEN 1763/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 1763/cupsd
unix 2 [ ACC ] STREAM LISTENING 9652 1763/cupsd /var/run/cups/cups.sock
Skończyły mi się pomysły.
Co to może być?
Drukarka jest widoczna w sieci dla różnych linuksów (ubuntu - laptop, serwer - opensuse), a każdorazowo przy próbie drukowania pisze iż nie może się połączyć z hostem...
W logach cupsa mam jeszcze coś takiego:
Kod: Zaznacz cały
E [17/Apr/2012:13:22:45 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [17/Apr/2012:14:53:59 +0200] Need to set BrowseLDAPDN to use LDAP browsing!
E [17/Apr/2012:15:27:33 +0200] Unable to encrypt connection from IP-SERWERA!
E [17/Apr/2012:15:27:33 +0200] error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
Szukałem, ale nic nie znalazłem.
Lista procesów:
Kod: Zaznacz cały
bash-4.1# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 13:21 ? 00:00:01 init [4]
root 2 0 0 13:21 ? 00:00:00 [kthreadd]
root 3 2 0 13:21 ? 00:00:00 [ksoftirqd/0]
root 6 2 0 13:21 ? 00:00:00 [migration/0]
root 7 2 0 13:21 ? 00:00:00 [cpuset]
root 8 2 0 13:21 ? 00:00:00 [khelper]
root 9 2 0 13:21 ? 00:00:00 [kworker/u:1]
root 12 2 0 13:21 ? 00:00:00 [netns]
root 274 2 0 13:21 ? 00:00:00 [sync_supers]
root 276 2 0 13:21 ? 00:00:00 [bdi-default]
root 278 2 0 13:21 ? 00:00:00 [kblockd]
root 280 2 0 13:21 ? 00:00:00 [kacpid]
root 281 2 0 13:21 ? 00:00:00 [kacpi_notify]
root 282 2 0 13:21 ? 00:00:00 [kacpi_hotplug]
root 343 2 0 13:21 ? 00:00:00 [ata_sff]
root 351 2 0 13:21 ? 00:00:00 [khubd]
root 354 2 0 13:21 ? 00:00:00 [kseriod]
root 357 2 0 13:21 ? 00:00:00 [md]
root 457 2 0 13:21 ? 00:00:00 [rpciod]
root 476 2 0 13:21 ? 00:00:00 [khungtaskd]
root 477 2 0 13:21 ? 00:00:00 [kswapd0]
root 547 2 0 13:21 ? 00:00:00 [fsnotify_mark]
root 549 2 0 13:21 ? 00:00:00 [aio]
root 572 2 0 13:21 ? 00:00:00 [nfsiod]
root 584 2 0 13:21 ? 00:00:00 [jfsIO]
root 585 2 0 13:21 ? 00:00:00 [jfsCommit]
root 586 2 0 13:21 ? 00:00:00 [jfsSync]
root 592 2 0 13:21 ? 00:00:00 [xfs_mru_cache]
root 593 2 0 13:21 ? 00:00:00 [xfslogd]
root 594 2 0 13:21 ? 00:00:00 [xfsdatad]
root 595 2 0 13:21 ? 00:00:00 [xfsconvertd]
root 598 2 0 13:21 ? 00:00:00 [ocfs2_wq]
root 599 2 0 13:21 ? 00:00:00 [o2quot]
root 602 2 0 13:21 ? 00:00:00 [user_dlm]
root 608 2 0 13:21 ? 00:00:00 [glock_workqueue]
root 609 2 0 13:21 ? 00:00:00 [delete_workqueu]
root 614 2 0 13:21 ? 00:00:00 [gfs_recovery]
root 616 2 0 13:21 ? 00:00:00 [crypto]
root 657 2 0 13:21 ? 00:00:00 [kthrotld]
root 803 2 0 13:21 ? 00:00:00 [cciss_scan]
root 808 2 0 13:21 ? 00:00:00 [scsi_tgtd]
root 822 2 0 13:21 ? 00:00:00 [iscsi_eh]
root 829 2 0 13:21 ? 00:00:00 [fc_exch_workque]
root 830 2 0 13:21 ? 00:00:00 [fc_rport_eq]
root 831 2 0 13:21 ? 00:00:00 [fcoethread/0]
root 834 2 0 13:21 ? 00:00:00 [fnic_event_wq]
root 968 2 0 13:21 ? 00:00:00 [scsi_eh_2]
root 971 2 0 13:21 ? 00:00:03 [scsi_eh_3]
root 974 2 0 13:21 ? 00:00:00 [kworker/u:2]
root 987 2 0 13:21 ? 00:00:00 [exec-osm]
root 993 2 0 13:21 ? 00:00:00 [block-osm]
root 1045 2 0 13:21 ? 00:00:00 [kstriped]
root 1048 2 0 13:21 ? 00:00:00 [ksnapd]
root 1051 2 0 13:21 ? 00:00:00 [speakup]
root 1076 2 0 13:21 ? 00:00:00 [reiserfs]
root 1079 2 0 13:21 ? 00:00:00 [scsi_eh_4]
root 1080 2 0 13:21 ? 00:00:00 [usb-storage]
root 1121 1 0 13:21 ? 00:00:00 /sbin/udevd --daemon
root 1212 1121 0 13:22 ? 00:00:00 /sbin/udevd --daemon
root 1239 2 0 13:22 ? 00:00:00 [kpsmoused]
root 1284 2 0 13:22 ? 00:00:00 [kgameportd]
root 1370 1 0 13:22 ? 00:00:00 /usr/sbin/syslogd
root 1374 1 0 13:22 ? 00:00:00 /usr/sbin/klogd -c 3 -x
root 1512 2 0 13:22 ? 00:00:00 [cifsd]
root 1516 1 0 13:22 ? 00:00:00 /usr/sbin/inetd
root 1521 1 0 13:22 ? 00:00:01 /usr/sbin/ntpd -g -p /var/run/nt
root 1528 1 0 13:22 ? 00:00:00 /usr/sbin/acpid
81 1540 1 0 13:22 ? 00:00:00 /usr/bin/dbus-daemon --system
root 1543 1 0 13:22 ? 00:00:00 /usr/sbin/console-kit-daemon
82 1610 1 0 13:22 ? 00:00:00 /usr/sbin/hald --daemon=yes
root 1682 1 0 13:22 ? 00:00:00 /usr/libexec/polkitd
root 1685 1610 0 13:22 ? 00:00:00 hald-runner
root 1717 1685 0 13:22 ? 00:00:01 hald-addon-input: Listening on /
root 1733 1685 0 13:22 ? 00:00:05 hald-addon-storage: polling /dev
root 1734 1685 0 13:22 ? 00:00:00 hald-addon-storage: no polling o
82 1736 1685 0 13:22 ? 00:00:00 hald-addon-acpi: listening on ac
root 1737 1685 0 13:22 ? 00:00:01 hald-addon-storage: polling /dev
root 1763 1 0 13:22 ? 00:00:00 /usr/sbin/cupsd -C /etc/cups/cup
root 1768 1 0 13:22 ? 00:00:00 /usr/sbin/crond -l notice
daemon 1770 1 0 13:22 ? 00:00:00 /usr/sbin/atd -b 15 -l 1
root 1795 1 0 13:22 ? 00:00:00 /usr/sbin/gpm -m /dev/mouse -t i
root 1797 1 0 13:22 tty1 00:00:00 /sbin/agetty 38400 tty1 linux
root 1798 1 0 13:22 tty2 00:00:00 /sbin/agetty 38400 tty2 linux
root 1799 1 0 13:22 tty3 00:00:00 /sbin/agetty 38400 tty3 linux
root 1800 1 0 13:22 tty4 00:00:00 /sbin/agetty 38400 tty4 linux
root 1801 1 0 13:22 tty5 00:00:00 /sbin/agetty 38400 tty5 linux
root 1802 1 0 13:22 tty6 00:00:00 /sbin/agetty 38400 tty6 linux
root 1803 1 0 13:22 ? 00:00:00 /usr/bin/xdm -nodaemon
root 1804 1121 0 13:22 ? 00:00:00 /sbin/udevd --daemon
root 1806 1803 13 13:22 tty7 00:22:46 /usr/bin/X :0 -auth /var/lib/xdm
root 1812 1803 0 13:22 ? 00:00:00 -:0
ewa 1820 1812 0 13:23 ? 00:00:00 /bin/sh /etc/X11/xinit/xinitrc
ewa 1856 1820 0 13:23 ? 00:00:14 xscreensaver -no-splash
ewa 1859 1 0 13:23 ? 00:00:00 /usr/bin/ssh-agent -s
ewa 1864 1 0 13:23 ? 00:00:00 /usr/bin/dbus-launch --sh-syntax
ewa 1865 1 0 13:23 ? 00:00:00 /usr/bin/dbus-daemon --fork --pr
ewa 1867 1820 0 13:23 ? 00:00:00 ck-launch-session /usr/bin/xfce4
ewa 1876 1867 0 13:23 ? 00:00:01 /usr/bin/xfce4-session
ewa 1878 1 0 13:23 ? 00:00:00 /usr/libexec/xfconfd
ewa 1883 1876 0 13:23 ? 00:00:04 xfwm4 --display :0.0 --sm-client
ewa 1884 1 0 13:23 ? 00:00:00 xfsettingsd
ewa 1885 1876 0 13:23 ? 00:00:00 Thunar --sm-client-id 2de2d80e1-
ewa 1887 1 0 13:23 ? 00:00:02 /usr/libexec/gam_server
ewa 1888 1876 0 13:23 ? 00:00:21 xfce4-panel --sm-client-id 26b3f
ewa 1889 1876 0 13:23 ? 00:00:04 xfdesktop --display :0.0 --sm-cl
ewa 1892 1 0 13:23 ? 00:00:00 xfce4-power-manager --restart --
ewa 1893 1 0 13:23 ? 00:00:00 xfce4-settings-helper --display
ewa 1896 1888 0 13:23 ? 00:00:01 /usr/libexec/xfce4/panel-plugins
ewa 1903 1 0 13:23 ? 00:00:00 /usr/libexec/polkit-gnome-authen
ewa 1908 1 0 13:23 ? 00:00:01 /usr/bin/python /usr/share/syste
root 1930 2 0 14:37 ? 00:00:00 [flush-8:0]
nobody 1945 1516 0 14:37 ? 00:00:00 in.identd
ewa 2051 1888 20 14:49 ? 00:17:13 /home/ewa/seamonkey/seamonkey-bi
ewa 2156 1 0 15:11 ? 00:00:14 /usr/bin/Terminal
ewa 2157 2156 0 15:11 ? 00:00:00 gnome-pty-helper
ewa 2171 2156 0 15:16 pts/1 00:00:00 bash
root 2172 2 0 15:16 ? 00:00:00 [kworker/0:2]
root 2228 2171 0 15:24 pts/1 00:00:00 bash
root 2293 2 0 15:52 ? 00:00:00 [kworker/0:1]
root 2317 2228 0 16:14 pts/1 00:00:00 ps -ef