Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Michael W. Holdeman
On Thursday 04 May 2006 12:44, Frédéric Grosshans wrote:
> Le jeudi 04 mai 2006 à 18:32 +0200, Frédéric Grosshans a écrit :
> > Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :
> > > Sometimes, due poor maintnance of low level foomatic driver in portage
> > > an updated foomatic driver dies silently and cups daemon thinks
> > > everything is finished printed fine, or if one is lucky as you, ends
> > > with dead process logged.
> >
> > ...
> > Thanks. I had the same problem, which has been solved by :
>
> < hacky solution >
>
> In fact, we've been hit by bug 131533 :
> http://bugs.gentoo.org/show_bug.cgi?id=131533
>
> the correct solution is to re emerge foomatic-filters .
>
> This solved the problem for me (hp 1300)

That did not solve the problem for me, my print server just won't print 
anymore, nothing in teh error logs, and I have debug level set. kprinter just 
shows processing forever.

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.15-ck2   |
VMWare Workstation 5.5.1 vmware.com |
Win4LinPro 6.1.1-03 win4lin.com |
|

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Dave Jones
Frédéric Grosshans wrote on 04/05/06 18:32:
> Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :

>>Sometimes, due poor maintnance of low level foomatic driver in portage an 
>>updated foomatic driver dies silently and cups daemon thinks everything is 
>>finished printed fine, or if one is lucky as you, ends with dead process 
>>logged. 

> Thanks. I had the same problem, which has been solved by :
> # echo "=net-print/foomatic-db-20050910" >> /etc/portage/package.mask
> # emerge -vau foomatic-db
> # /etc/init.d/cupsd restart

The downgrade to the lower level of foomatic-db gives problems with the
/etc/make.conf FEATURE=sandbox.

However, this problem can be circumvented by (temporarily) replacing
FEATURE="sandbox", with FEATURE="-sandbox -usersandbox" in
/etc/make.conf.   Do this at your own risk!

However, the real solution to the problem is to re-emerge
foomatic-filters, as suggested by Frédéric in a later post.

The cause of the problem is (as he said) documented in bug 131533:

http://bugs.gentoo.org/show_bug.cgi?id=131533

Either solution, downgrading foomatic-db or re-emerging foomatic-filters
works fine.

Thanks to all for their help.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread A. R.

> > Sometimes, due poor maintnance of low level foomatic driver in portage an
> > updated foomatic driver dies silently and cups daemon thinks everything is
> > finished printed fine, or if one is lucky as you, ends with dead process
> > logged.
> ...
> Thanks. I had the same problem, which has been solved by :
< hacky solution >

In fact, we've been hit by bug 131533 :
http://bugs.gentoo.org/show_bug.cgi?id=131533

the correct solution is to re emerge foomatic-filters .

This solved the problem for me (hp 1300)

Hope this helps,

Fred



Yes it did help!
Now I am printing again :-)

Thank you all, for both the explanation and the solution...


Best regards,

- AR

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Frédéric Grosshans
Le jeudi 04 mai 2006 à 18:32 +0200, Frédéric Grosshans a écrit :
> Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :
> > Sometimes, due poor maintnance of low level foomatic driver in portage an 
> > updated foomatic driver dies silently and cups daemon thinks everything is 
> > finished printed fine, or if one is lucky as you, ends with dead process 
> > logged. 
> ...
> Thanks. I had the same problem, which has been solved by :
< hacky solution >

In fact, we've been hit by bug 131533 :
http://bugs.gentoo.org/show_bug.cgi?id=131533

the correct solution is to re emerge foomatic-filters .

This solved the problem for me (hp 1300)

Hope this helps,

Fred

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Frédéric Grosshans
Le jeudi 04 mai 2006 à 17:42 +0200, Petr Kocmid a écrit :
> Sometimes, due poor maintnance of low level foomatic driver in portage an 
> updated foomatic driver dies silently and cups daemon thinks everything is 
> finished printed fine, or if one is lucky as you, ends with dead process 
> logged. 
...
Thanks. I had the same problem, which has been solved by :
# echo "=net-print/foomatic-db-20050910" >> /etc/portage/package.mask
# emerge -vau foomatic-db
# /etc/init.d/cupsd restart

I wouldn't have tried without your expalnation .

  Fred


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Petr Kocmid
Sometimes, due poor maintnance of low level foomatic driver in portage an 
updated foomatic driver dies silently and cups daemon thinks everything is 
finished printed fine, or if one is lucky as you, ends with dead process 
logged. You should enable full debug level for cupsd log to identify the 
exact cause of problem, find the error then I could give you an advice how to 
correct. LogLevel debug or debug2 in /etc/cups/cupsd.conf

Last time it happened to me, the reason was a missing link to a binary which 
is called by foomatic and was moved somewhere else. I don't remember exact 
details. Previous foomatic failures had different cause but identical 
behavior (no symptomes at all), so I suggest to have at least debug level on 
all the time.

After you get a working setup, consider locking current versions of foomatic 
and cups via masking any future version, on laptop you will have no security 
problem if some vulnerbilty will be discovered in them so you have no real 
need to update.

--

Petr

On Thursday 04 May 2006 16:18, A. R. wrote:
> Hi,
>
> I am having a problem with CUPS. (I think)
> I have Gentoo on my laptop and I was able to print just fine to any of
> the network printers here at work, but all of a sudden this is not
> working anymore.
> When I try to print, it looks like the job is being sent to the
> printer, but nothing comes out of it.
> Now, I am the "type" that updates Gentoo pretty much every other day,
> so I am sure I must have broken something in one of the last
> updates...
>
> Here is what I found in the /var/logs/cups/error_log file:
>
> 
>
> Adding start banner page "none" to job 336.
> I [03/May/2006:16:49:23 -0400] Adding end banner page "none" to job 336.
> I [03/May/2006:16:49:23 -0400] Job 336 queued on 'Happy' by 'ar'.
> I [03/May/2006:16:49:23 -0400] Started filter
> /usr/lib/cups/filter/pstops (PID 12592) for job 336.
> I [03/May/2006:16:49:23 -0400] Started filter
> /usr/lib/cups/filter/foomatic-rip (PID 12593) for job 336.
> I [03/May/2006:16:49:23 -0400] Started backend
> /usr/lib/cups/backend/socket (PID 12594) for job 336.
> E [03/May/2006:16:49:23 -0400] PID 12593 stopped with status 22!
>
>
> 
>
>
> I have been using Gentoo for the past 2 years and I never had a
> problem like this before...
>
> I have searched in Google with no luck.
> Could somebody please help?
>
> Thank you,
>
> - AR
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread A. R.

Are your using HP printers, and if so, have you recently switched from
using hpoj+hpijs to using the newer hplip package which is supposed to
replace the old combination?

If this is the case, we're having the same problem, which seems to be
with hplip-0.9.7-r3.  I haven't found a solution to the problem yet.

According to the doc, you *must* have ppds in your USE flags for hplip
to allow it to generate the .ppd files.

FWIW, here are my USE flags for cups and hplip:

net-print/cups-1.1.23-r7  -gnutls +nls +pam +samba +slp +ssl

net-print/hplip-0.9.7-r3  +X +cups +foomaticdb +ppds +qt +scanner +snmp +usb

hpijs blocks hplip, and I believe that (unfortunately) hpoj is now
hard-masked, so it will be difficult to fall back to using the old
(working) hpoj ptal interface.

Cheers, Dave
--


At work, I am not using HP printers, they are Lexmarks (Yuck!),
however, you just gave me a very good explanation that will help me
with *another* problem that I am having: At home, I just finished
installing Gentoo on an AMD X2 4200 based system and I could not get
my little HP LaserJet 1020 printer working... I  "googled it" and
tried any of the solutions, but none of them worked...
Maybe I'll just unmask the older driver and try. I'll let you know if
I was successful.

In both cases I have pretty much the same USE flags that you do...

Thanks a lot


- AR

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] CUPS stopped printing

2006-05-04 Thread Dave Jones
A. R. wrote on 04/05/06 16:18:

> I am having a problem with CUPS. (I think)
> I have Gentoo on my laptop and I was able to print just fine to any of
> the network printers here at work, but all of a sudden this is not
> working anymore.

> When I try to print, it looks like the job is being sent to the
> printer, but nothing comes out of it.

> Now, I am the "type" that updates Gentoo pretty much every other day,
> so I am sure I must have broken something in one of the last
> updates...

> Here is what I found in the /var/logs/cups/error_log file:

> 

> Adding start banner page "none" to job 336.
> I [03/May/2006:16:49:23 -0400] Adding end banner page "none" to job 336.
> I [03/May/2006:16:49:23 -0400] Job 336 queued on 'Happy' by 'ar'.
> I [03/May/2006:16:49:23 -0400] Started filter
> /usr/lib/cups/filter/pstops (PID 12592) for job 336.
> I [03/May/2006:16:49:23 -0400] Started filter
> /usr/lib/cups/filter/foomatic-rip (PID 12593) for job 336.
> I [03/May/2006:16:49:23 -0400] Started backend
> /usr/lib/cups/backend/socket (PID 12594) for job 336.
> E [03/May/2006:16:49:23 -0400] PID 12593 stopped with status 22!

> 

> I have been using Gentoo for the past 2 years and I never had a
> problem like this before...

Are your using HP printers, and if so, have you recently switched from
using hpoj+hpijs to using the newer hplip package which is supposed to
replace the old combination?

If this is the case, we're having the same problem, which seems to be
with hplip-0.9.7-r3.  I haven't found a solution to the problem yet.

According to the doc, you *must* have ppds in your USE flags for hplip
to allow it to generate the .ppd files.

FWIW, here are my USE flags for cups and hplip:

net-print/cups-1.1.23-r7  -gnutls +nls +pam +samba +slp +ssl

net-print/hplip-0.9.7-r3  +X +cups +foomaticdb +ppds +qt +scanner +snmp +usb

hpijs blocks hplip, and I believe that (unfortunately) hpoj is now
hard-masked, so it will be difficult to fall back to using the old
(working) hpoj ptal interface.

Cheers, Dave
-- 
gentoo-user@gentoo.org mailing list