Johannes Meixner wrote:
Hello,
On Apr 30 13:38 Sid Boyce wrote (shortened):
> Installed hplip and hplip-hpijs.
> "rccups restart" OK, "http://localhost:631" shows filter not
found
...
# rpm -qi hplip
package hplip is not installed
# rpm -qi hplip-hpijs
package hplip-hpijs is not installed
I.e. HPLIP is not installed (or installed at a wrong place
probably after you self-compiled it) which could be the reason
for the "filter not found" message.
The hpijs driver is one of the filters and when HPLIP is
not installed correctly the hpijs driver-filter cannot be found.
See
http://en.opensuse.org/SDB:CUPS_in_a_Nutshell#The_Filter
I had done a zypper rm hplip before doing the 1-click install of hplip
and hplip-hpijs, both reported successfully installed, yet rpm -qi said
they weren't installed, so I had to do a zypper in.
In the YaST printer config remove the existing queue
to get
it 100% cleaned up, then do "Add" and therein select [Add Driver]
and let it re-install our original HPLIP from Factory
then re-create the print queue.
Then provide /var/log/cups/error_log as I wrote in my previous mail.
Kind Regards
Johannes Meixner
I haven't had much time with this in the last few days and I
will
provide logs to bugzilla this evening.
I started again using zypper to remove hplip and hplip-hpijs, then to
install them. Used YaST to set up the printer again and here are
snippets of the logs with nothing printed and the job stuck on the queue.
slipstream:/home/lancelot # tailf /var/log/cups/error_log
E [01/May/2009:01:07:59 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [01/May/2009:01:07:59 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [01/May/2009:01:07:59 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [01/May/2009:01:07:59 +0100] CUPS-Add-Modify-Printer: Unauthorized
E [01/May/2009:01:08:57 +0100] Unable to open listen socket for address
:::631 - Address family not supported by protocol.
E [01/May/2009:01:08:57 +0100] Unable to bind socket for address
127.0.0.1:631 - Address already in use.
E [01/May/2009:01:21:08 +0100] Unable to open listen socket for address
:::631 - Address family not supported by protocol.
E [01/May/2009:01:21:08 +0100] Unable to bind socket for address
127.0.0.1:631 - Address already in use.
E [01/May/2009:07:03:29 +0100] PID 31238 (/usr/lib64/cups/backend/hp)
crashed on signal 9!
E [01/May/2009:07:04:03 +0100] CUPS-Set-Default: Unauthorized
^C
slipstream:/home/lancelot # tailf /var/log/cups/access_log
localhost - - [01/May/2009:07:11:10 +0100] "POST / HTTP/1.1" 200 132
Get-Jobs successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST / HTTP/1.1" 200 75
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST
/printers/Photosmart_C4100 HTTP/1.1" 200 760 Print-Job successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 75
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 132
Get-Printer-Attributes successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 132
Get-Jobs successful-ok
^C
slipstream:/home/lancelot # tail -40 /var/log/cups/access_log
localhost - - [01/May/2009:07:03:52 +0100] "POST / HTTP/1.1" 200 72
CUPS-Get-Default client-error-not-found
localhost - - [01/May/2009:07:03:52 +0100] "POST / HTTP/1.1" 200 411
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:03:52 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:03:52 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:03:52 +0100] "POST / HTTP/1.1" 200 72
CUPS-Get-Default client-error-not-found
localhost - - [01/May/2009:07:03:52 +0100] "POST / HTTP/1.1" 200 208
Get-Printer-Attributes successful-ok
localhost - - [01/May/2009:07:03:52 +0100] "GET
/ppd/Photosmart_C4100.ppd HTTP/1.1" 200 24080 - -
localhost - - [01/May/2009:07:04:03 +0100] "POST /admin/ HTTP/1.1" 401
129 CUPS-Set-Default successful-ok
localhost - root [01/May/2009:07:04:03 +0100] "POST /admin/ HTTP/1.1"
200 129 CUPS-Set-Default successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 72
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 224
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 72
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 411
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 413
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 72
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:04:03 +0100] "POST / HTTP/1.1" 200 179
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:04:22 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:04:22 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:04:22 +0100] "POST / HTTP/1.1" 200 75
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:04:22 +0100] "POST / HTTP/1.1" 200 132
Get-Printer-Attributes successful-ok
localhost - - [01/May/2009:07:04:22 +0100] "POST / HTTP/1.1" 200 132
Get-Jobs successful-ok
localhost - - [01/May/2009:07:11:10 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:11:10 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:11:10 +0100] "POST / HTTP/1.1" 200 75
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:11:10 +0100] "POST / HTTP/1.1" 200 132
Get-Printer-Attributes successful-ok
localhost - - [01/May/2009:07:11:10 +0100] "POST / HTTP/1.1" 200 132
Get-Jobs successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST / HTTP/1.1" 200 75
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:11:49 +0100] "POST
/printers/Photosmart_C4100 HTTP/1.1" 200 760 Print-Job successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Printers successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 416
CUPS-Get-Classes successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 75
CUPS-Get-Default successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 132
Get-Printer-Attributes successful-ok
localhost - - [01/May/2009:07:11:52 +0100] "POST / HTTP/1.1" 200 132
Get-Jobs successful-ok
lancelot@slipstream:~> lpq
Photosmart_C4100 is ready and printing
Rank Owner Job File(s) Total Size
active root 35 .fgfsrc 1024 bytes
lancelot@slipstream:~> lpc status
Photosmart_C4100:
printer is on device 'hp' speed -1
queuing is enabled
printing is enabled
1 entries
daemon present
lancelot@slipstream:~> rpm -q hplip hplip-hpijs
hplip-3.9.4-10.1
hplip-hpijs-3.9.4-10.1
# cat /var/lib/hp/hplip.state
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
I can't find a spool file.
# grep lp /etc/group
lp:x:7:
# l -R /var/spool/lpd
/var/spool/lpd:
total 0
drwxr-xr-x 3 lp lp 19 2009-04-19 23:45 ./
drwxr-xr-x 12 root root 148 2009-04-23 15:57 ../
drwxr----- 2 lp lp 23 2009-04-19 13:45 .hplip/
/var/spool/lpd/.hplip:
total 0
drwxr----- 2 lp lp 23 2009-04-19 13:45 ./
drwxr-xr-x 3 lp lp 19 2009-04-19 23:45 ../
-rw-r----- 1 lp lp 0 2009-04-19 13:45 hplip.conf
# lpoptions
media=A4 sides=one-sided finishings=3 copies=1 job-hold-until=no-hold
job-priority=50 number-up=1 auth-info-required=none job-sheets=none,none
printer-info=Photosmart_C4100 printer-is-accepting-jobs=1
printer-is-shared=1 printer-location printer-make-and-model='HP
Photosmart c4100 series Foomatic/hpijs, hpijs 2.8.7.3' printer-state=4
printer-state-change-time=1241158309 printer-state-reasons=none
printer-type=135196
What I shall do this evening, remove the packages and the logs,
reinstall the packages, use YaST to add the printer and attach the logs
to the bug.
More this evening when I get back.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-factory+help(a)opensuse.org