public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] cups is broken
@ 2006-02-25 19:25 John Blinka
  2006-02-25 19:51 ` Ernie Schroder
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: John Blinka @ 2006-02-25 19:25 UTC (permalink / raw
  To: gentoo-user

Hi, all,

I have a strange-to-me cups printing problem on one of my gentoo machines.
When I point firefox at http://localhost:631, I don't see the
familiar cups admin web page, but just the raw html, i.e.,

<HTML>
<HEAD>
	<TITLE>Common UNIX Printing System</TITLE>
	<LINK REL=STYLESHEET TYPE="text/css" HREF="cups.css">
	<MAP NAME="navbar">
		<AREA SHAPE="RECT" COORDS="12,10,50,20" HREF="http://www.easysw.com" ALT="Easy Software Products Home Page">
		<AREA SHAPE="RECT" COORDS="82,10,196,20" HREF="/admin" ALT="Do Administration Tasks">
		<AREA SHAPE="RECT" COORDS="216,10,280,20" HREF="/classes" ALT="Manage Printer Classes Status">
		<AREA SHAPE="RECT" COORDS="300,10,336,20" HREF="/documentation.html" ALT="On-Line Help">

		<AREA SHAPE="RECT" COORDS="356,10,394,20" HREF="/jobs" ALT="Manage Jobs">
		<AREA SHAPE="RECT" COORDS="414,10,476,20" HREF="/printers" ALT="Manage Printers">
		<AREA SHAPE="RECT" COORDS="496,10,568,20" HREF="http://www.cups.org" ALT="Download the Current CUPS Software">
        </MAP>
</HEAD>

<BODY BGCOLOR="#cccc99" TEXT="#000000" LINK="#0000FF" VLINK="#FF00FF">
<CENTER>
<IMG SRC="/images/navbar.gif" WIDTH="583" HEIGHT="30" USEMAP="#navbar" BORDER="0" ALT="Common UNIX Printing System">
</CENTER>

<H1><A HREF="admin">Do Administration Tasks</A></H1>

<H1><A HREF="classes">Manage Printer Classes</A></H1>
<H1><A HREF="documentation.html">On-Line Help</A></H1>
<H1><A HREF="jobs">Manage Jobs</A></H1>
<H1><A HREF="printers">Manage Printers</A></H1>
<H1><A HREF="http://www.cups.org">Download the Current CUPS Software</A></H1>

<HR>

<P>The Common UNIX Printing System, CUPS, and the CUPS logo are the
trademark property of <A HREF="http://www.easysw.com">Easy Software
Products</A>. CUPS is copyright 1997-2005 by Easy Software Products,
All Rights Reserved.

</BODY>

</HTML>

Does anyone know what's wrong?  None of my other machines does this.

Thanks for your help.

John Blinka


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-25 19:25 [gentoo-user] cups is broken John Blinka
@ 2006-02-25 19:51 ` Ernie Schroder
  2006-02-25 21:22   ` John Blinka
  2006-02-25 23:16 ` Jerry McBride
  2006-02-26 14:57 ` David Helstroom
  2 siblings, 1 reply; 19+ messages in thread
From: Ernie Schroder @ 2006-02-25 19:51 UTC (permalink / raw
  To: gentoo-user

On Saturday 25 February 2006 14:25, a tiny voice compelled John Blinka to 
write:
> Does anyone know what's wrong?  None of my other machines does this.
>
> Thanks for your help.
Have you tried a different browser? Try restarting cupsd

# /etc/init.d/cupsd restart
-- 
Regards, Ernie

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-25 19:51 ` Ernie Schroder
@ 2006-02-25 21:22   ` John Blinka
  2006-02-25 22:13     ` Ernie Schroder
  0 siblings, 1 reply; 19+ messages in thread
From: John Blinka @ 2006-02-25 21:22 UTC (permalink / raw
  To: gentoo-user

Ernie Schroder wrote:

>On Saturday 25 February 2006 14:25, a tiny voice compelled John Blinka to 
>write:
>  
>
>>Does anyone know what's wrong?  None of my other machines does this.
>>
>>Thanks for your help.
>>    
>>
>Have you tried a different browser? Try restarting cupsd
>
># /etc/init.d/cupsd restart
>  
>

Same thing happens using either Konqueror or Firefox on this machine.
Doesn't happen with either browser on other machines I've set up.
Restarting cupsd has no effect.

John

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-25 21:22   ` John Blinka
@ 2006-02-25 22:13     ` Ernie Schroder
  2006-02-26  0:12       ` John Blinka
  0 siblings, 1 reply; 19+ messages in thread
From: Ernie Schroder @ 2006-02-25 22:13 UTC (permalink / raw
  To: gentoo-user

On Saturday 25 February 2006 16:22, a tiny voice compelled John Blinka to 
write:
> Ernie Schroder wrote:
> >On Saturday 25 February 2006 14:25, a tiny voice compelled John Blinka to
> >
> >write:
> >>Does anyone know what's wrong?  None of my other machines does this.
> >>
> >>Thanks for your help.
> >
> >Have you tried a different browser? Try restarting cupsd
> >
> ># /etc/init.d/cupsd restart
>
> Same thing happens using either Konqueror or Firefox on this machine.
> Doesn't happen with either browser on other machines I've set up.
> Restarting cupsd has no effect.
>
> John

Make sure that you have the file:

/usr/share/cups/docs/index.html

and that it opens as a webpage in a browser Of course I'm assuming that other 
html pages display properly.
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-25 19:25 [gentoo-user] cups is broken John Blinka
  2006-02-25 19:51 ` Ernie Schroder
@ 2006-02-25 23:16 ` Jerry McBride
  2006-02-26 14:57 ` David Helstroom
  2 siblings, 0 replies; 19+ messages in thread
From: Jerry McBride @ 2006-02-25 23:16 UTC (permalink / raw
  To: gentoo-user

On Saturday 25 February 2006 14:25, John Blinka wrote:
> Hi, all,
>
> I have a strange-to-me cups printing problem on one of my gentoo machines.
> When I point firefox at http://localhost:631, I don't see the
> familiar cups admin web page, but just the raw html, i.e.,
>


CUPS problems... surprise, surprise...

I finally found the true answer to fixing CUPS problems... I boned up on LPRNG 
and dumped CUPS like a hot potato.

Maybe you should too.

Jerry
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-25 22:13     ` Ernie Schroder
@ 2006-02-26  0:12       ` John Blinka
  2006-02-26  3:28         ` Ernie Schroder
  0 siblings, 1 reply; 19+ messages in thread
From: John Blinka @ 2006-02-26  0:12 UTC (permalink / raw
  To: gentoo-user

Ernie Schroder wrote:

>Make sure that you have the file:
>
>/usr/share/cups/docs/index.html
>
>and that it opens as a webpage in a browser Of course I'm assuming that other 
>html pages display properly.
>  
>
It's there.   In fact, that's the file that's being displayed improperly.
Its contents are identical to the same file on other systems I own
which display correctly, so that's not the problem.  And all other
html pages display correctly.  So...

1)  the problem is not the contents, permissions, or presence
     of the file - they're all identical to other systems in which
     the file displays properly.  In fact, the file displays
     properly (almost) if I access it as
     file:///usr/share/cups/docs/index.html instead of
     http://localhost:631
2)  the problem is not specific to a browser - the same behavior
     occurs with Firefox and Konqueror.
3)  the problem is not html per se - all other html pages display
     properly.
4)  if I stop cupsd, then the browser claims that the request
     for http://localhost:631 is refused.

The evidence suggests to me that there's something unfortunate
happening with whatever occurs when I supply http://localhost:631
to the browser.  cupsd is the agent listening at port 631 and it's
the source of the error.  I'm guessing that when cupsd supplies the
contents of /usr/share/cups/docs/index.html  to the browser, the browser
doesn't realize that it's receiving html and so renders it as raw text.

John


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26  0:12       ` John Blinka
@ 2006-02-26  3:28         ` Ernie Schroder
  2006-02-26 12:20           ` John Blinka
  0 siblings, 1 reply; 19+ messages in thread
From: Ernie Schroder @ 2006-02-26  3:28 UTC (permalink / raw
  To: gentoo-user

On Saturday 25 February 2006 19:12, a tiny voice compelled John Blinka to 
write:
> Ernie Schroder wrote:
> >Make sure that you have the file:
> >
> >/usr/share/cups/docs/index.html
> >
> >and that it opens as a webpage in a browser Of course I'm assuming that
> > other html pages display properly.
>
> It's there.   In fact, that's the file that's being displayed improperly.
> Its contents are identical to the same file on other systems I own
> which display correctly, so that's not the problem.  And all other
> html pages display correctly.  So...
>
> 1)  the problem is not the contents, permissions, or presence
>      of the file - they're all identical to other systems in which
>      the file displays properly.  In fact, the file displays
>      properly (almost) if I access it as
>      file:///usr/share/cups/docs/index.html instead of
>      http://localhost:631
> 2)  the problem is not specific to a browser - the same behavior
>      occurs with Firefox and Konqueror.
> 3)  the problem is not html per se - all other html pages display
>      properly.
> 4)  if I stop cupsd, then the browser claims that the request
>      for http://localhost:631 is refused.
>
> The evidence suggests to me that there's something unfortunate
> happening with whatever occurs when I supply http://localhost:631
> to the browser.  cupsd is the agent listening at port 631 and it's
> the source of the error.  I'm guessing that when cupsd supplies the
> contents of /usr/share/cups/docs/index.html  to the browser, the browser
> doesn't realize that it's receiving html and so renders it as raw text.
>
> John


Very strange.... Have you looked at the logs? /var/log/cups/access_log 
and /var/log/cups/error_log look at a tail of them and compare to the working 
machines.
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26  3:28         ` Ernie Schroder
@ 2006-02-26 12:20           ` John Blinka
  2006-02-26 14:18             ` Ernie Schroder
  0 siblings, 1 reply; 19+ messages in thread
From: John Blinka @ 2006-02-26 12:20 UTC (permalink / raw
  To: gentoo-user

Ernie Schroder wrote:

>
>Very strange.... Have you looked at the logs? /var/log/cups/access_log 
>and /var/log/cups/error_log look at a tail of them and compare to the working 
>machines.
>  
>
The logs are slightly different.  Looking at http://localhost:631 on the
working machine produces no errors in error_log and the
following in access_log:

localhost - - [26/Feb/2006:06:59:49 -0500] "GET / HTTP/1.1" 200 1604
localhost - - [26/Feb/2006:06:59:49 -0500] "GET /cups.css HTTP/1.1" 200 87
localhost - - [26/Feb/2006:06:59:50 -0500] "GET /images/navbar.gif 
HTTP/1.1" 200 2869
localhost - - [26/Feb/2006:06:59:50 -0500] "GET /favicon.ico HTTP/1.1" 404 0

On the broken machine, nothing appears in error_log, and
access_log contains:

localhost - - [26/Feb/2006:07:03:24 -0500] "GET / HTTP/1.1" 200 1604
localhost - - [26/Feb/2006:07:03:24 -0500] "GET /favicon.ico HTTP/1.1" 404 0

I don't know enough about the workings of web browsers for this to tell 
me anything.

John





-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 12:20           ` John Blinka
@ 2006-02-26 14:18             ` Ernie Schroder
  2006-02-26 14:40               ` John Blinka
  0 siblings, 1 reply; 19+ messages in thread
From: Ernie Schroder @ 2006-02-26 14:18 UTC (permalink / raw
  To: gentoo-user

On Sunday 26 February 2006 07:20, a tiny voice compelled John Blinka to write:
> Ernie Schroder wrote:
> >Very strange.... Have you looked at the logs? /var/log/cups/access_log
> >and /var/log/cups/error_log look at a tail of them and compare to the
> > working machines.
>
> The logs are slightly different.  Looking at http://localhost:631 on the
> working machine produces no errors in error_log and the
> following in access_log:
>
> localhost - - [26/Feb/2006:06:59:49 -0500] "GET / HTTP/1.1" 200 1604
> localhost - - [26/Feb/2006:06:59:49 -0500] "GET /cups.css HTTP/1.1" 200 87
> localhost - - [26/Feb/2006:06:59:50 -0500] "GET /images/navbar.gif
> HTTP/1.1" 200 2869
> localhost - - [26/Feb/2006:06:59:50 -0500] "GET /favicon.ico HTTP/1.1" 404
> 0
>
> On the broken machine, nothing appears in error_log, and
> access_log contains:
>
> localhost - - [26/Feb/2006:07:03:24 -0500] "GET / HTTP/1.1" 200 1604
> localhost - - [26/Feb/2006:07:03:24 -0500] "GET /favicon.ico HTTP/1.1" 404
> 0
>
> I don't know enough about the workings of web browsers for this to tell
> me anything.
>
> John
The only thing I can figure is that cups was compiled with some odd USE flag. 
Do you have an entry for cups in /etc/portage/package.use?
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 14:18             ` Ernie Schroder
@ 2006-02-26 14:40               ` John Blinka
  2006-02-26 15:26                 ` Ernie Schroder
  0 siblings, 1 reply; 19+ messages in thread
From: John Blinka @ 2006-02-26 14:40 UTC (permalink / raw
  To: gentoo-user

Ernie Schroder wrote:

>
>The only thing I can figure is that cups was compiled with some odd USE flag. 
>Do you have an entry for cups in /etc/portage/package.use?
>  
>

No, don't even have that file.  My USE flags in /etc/make.conf
are:

USE="-pdflib -get -gnome qt kde dvd alsa oss cdr fortran cups foomaticdb 
ppds gimpprint java samba win32codecs xprint"

John

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-25 19:25 [gentoo-user] cups is broken John Blinka
  2006-02-25 19:51 ` Ernie Schroder
  2006-02-25 23:16 ` Jerry McBride
@ 2006-02-26 14:57 ` David Helstroom
  2006-02-26 15:17   ` John Blinka
  2 siblings, 1 reply; 19+ messages in thread
From: David Helstroom @ 2006-02-26 14:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

John Blinka wrote:

> Hi, all,
>
> I have a strange-to-me cups printing problem on one of my gentoo 
> machines.
> When I point firefox at http://localhost:631, I don't see the
> familiar cups admin web page, but just the raw html, i.e.,
> <SNIP>
> Does anyone know what's wrong?  None of my other machines does this.
>
> Thanks for your help.
>
> John Blinka

Hi John,

Just a quick thought - a thought quite possibly well and truly off track 
- could it be related to mime-types? Perhaps the CUPS web server has a 
problem recognising the HTML mime-type and thus is not sending them in 
the appropriate format (and with appropriate HTTP headers)?

Hope that helps,


    Dave.



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3465 bytes --]

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

* Re: [gentoo-user] cups is broken
  2006-02-26 14:57 ` David Helstroom
@ 2006-02-26 15:17   ` John Blinka
  2006-02-26 15:38     ` Uwe Thiem
  0 siblings, 1 reply; 19+ messages in thread
From: John Blinka @ 2006-02-26 15:17 UTC (permalink / raw
  To: gentoo-user

David Helstroom wrote:

>
> Hi John,
>
> Just a quick thought - a thought quite possibly well and truly off 
> track - could it be related to mime-types? Perhaps the CUPS web server 
> has a problem recognising the HTML mime-type and thus is not sending 
> them in the appropriate format (and with appropriate HTTP headers)?

I think you've got it.  I did a wget -S http://localhost:631 on both the 
affected and
unaffected machines.  On the affected machine, wget reported

  Content-Type: text/plain; charset=utf-8

On an unaffected machine, wget reports

 Content-Type: text/html; charset=utf-8

So, now we know that cupsd is definitely confused on the affected 
machine.  How to get
it unconfused?  I've tried emerge -C cups, then emerge cups, but that 
doesn't fix the
problem.

John

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 14:40               ` John Blinka
@ 2006-02-26 15:26                 ` Ernie Schroder
  2006-02-26 15:34                   ` John Blinka
  0 siblings, 1 reply; 19+ messages in thread
From: Ernie Schroder @ 2006-02-26 15:26 UTC (permalink / raw
  To: gentoo-user

On Sunday 26 February 2006 09:40, a tiny voice compelled John Blinka to write:
> Ernie Schroder wrote:
> >The only thing I can figure is that cups was compiled with some odd USE
> > flag. Do you have an entry for cups in /etc/portage/package.use?
>
> No, don't even have that file.  My USE flags in /etc/make.conf
> are:
>
> USE="-pdflib -get -gnome qt kde dvd alsa oss cdr fortran cups foomaticdb
> ppds gimpprint java samba win32codecs xprint"
>
> John
Compare USE flage in make.conf on working vs. non-working machines. 

check use flags when you merged cups....

 # equery uses cups
[ Searching for packages matching cups... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from 
make.conf                   ]
[                  : Right column (I) - USE flags packages was installed 
with ]
[ Found these USE variables for net-print/cups-1.1.23-r7 ]
 U I
 - - cjk    : Adds support for Multi-byte character languages (Chinese, 
Japanese, Korean)
 - - gnutls : Adds support for net-libs/gnutls
 + + nls    : Adds Native Language Support (using gettext - GNU locale 
utilities)
 + + pam    : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS 
to arbitrarily flip
 + + samba  : Adds support for SAMBA (Windows File and Printer sharing)
 - - slp    : Adds Service Locator Protocol support to CUPS
 + + ssl    : Adds support for Secure Socket Layer connections
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 15:26                 ` Ernie Schroder
@ 2006-02-26 15:34                   ` John Blinka
  0 siblings, 0 replies; 19+ messages in thread
From: John Blinka @ 2006-02-26 15:34 UTC (permalink / raw
  To: gentoo-user

Ernie Schroder wrote:

>Compare USE flage in make.conf on working vs. non-working machines. 
>
>check use flags when you merged cups....
>
> # equery uses cups
>[ Searching for packages matching cups... ]
>[ Colour Code : set unset ]
>[ Legend        : Left column  (U) - USE flags from 
>make.conf                   ]
>[                  : Right column (I) - USE flags packages was installed 
>with ]
>[ Found these USE variables for net-print/cups-1.1.23-r7 ]
> U I
> - - cjk    : Adds support for Multi-byte character languages (Chinese, 
>Japanese, Korean)
> - - gnutls : Adds support for net-libs/gnutls
> + + nls    : Adds Native Language Support (using gettext - GNU locale 
>utilities)
> + + pam    : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS 
>to arbitrarily flip
> + + samba  : Adds support for SAMBA (Windows File and Printer sharing)
> - - slp    : Adds Service Locator Protocol support to CUPS
> + + ssl    : Adds support for Secure Socket Layer connections
>  
>

The two machines are slightly different.  The working machine's output
is identical to what you reported above.  The nonworking machine's
output is identical except that the --cjk line is missing.

John

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 15:17   ` John Blinka
@ 2006-02-26 15:38     ` Uwe Thiem
  2006-02-26 16:36       ` John Blinka
  0 siblings, 1 reply; 19+ messages in thread
From: Uwe Thiem @ 2006-02-26 15:38 UTC (permalink / raw
  To: gentoo-user

On 26 February 2006 17:17, John Blinka wrote:
> David Helstroom wrote:
> > Hi John,
> >
> > Just a quick thought - a thought quite possibly well and truly off
> > track - could it be related to mime-types? Perhaps the CUPS web server
> > has a problem recognising the HTML mime-type and thus is not sending
> > them in the appropriate format (and with appropriate HTTP headers)?
>
> I think you've got it.  I did a wget -S http://localhost:631 on both the
> affected and
> unaffected machines.  On the affected machine, wget reported
>
>   Content-Type: text/plain; charset=utf-8
>
> On an unaffected machine, wget reports
>
>  Content-Type: text/html; charset=utf-8
>
> So, now we know that cupsd is definitely confused on the affected
> machine.  How to get
> it unconfused?  I've tried emerge -C cups, then emerge cups, but that
> doesn't fix the
> problem.

Does your /etc/mime.types file contain an entry for "text/html"? How does the 
line look like?

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 15:38     ` Uwe Thiem
@ 2006-02-26 16:36       ` John Blinka
  2006-02-26 18:10         ` Uwe Thiem
  0 siblings, 1 reply; 19+ messages in thread
From: John Blinka @ 2006-02-26 16:36 UTC (permalink / raw
  To: gentoo-user

Uwe Thiem wrote:

>
>
>Does your /etc/mime.types file contain an entry for "text/html"? How does the 
>line look like?
>  
>

I presume you mean /etc/cups/mime.types.  These two files are *very* 
different
on the working and nonworking machines.  Among many other differences
the affected machine's text/html line is

text/html                application/postscript  33      texttops

and the unaffected machine's line is

text/html                 html htm printable(0,1024) +\
                                (istring(0,"<HTML>") istring(0,"<!DOCTYPE"))

The /etc/cups/mime.types files are different versions.  The affected 
machine has
a line indicating that it is version 1.21 and the unaffected machine has 
version 1.31.
Portage, on the other hand, thinks that it has installed gentoo version 
1.1.23-r7
of cups on each machine...

John
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 16:36       ` John Blinka
@ 2006-02-26 18:10         ` Uwe Thiem
  2006-02-26 19:26           ` John Blinka
  0 siblings, 1 reply; 19+ messages in thread
From: Uwe Thiem @ 2006-02-26 18:10 UTC (permalink / raw
  To: gentoo-user

On 26 February 2006 18:36, John Blinka wrote:
> Uwe Thiem wrote:
> >Does your /etc/mime.types file contain an entry for "text/html"? How does
> > the line look like?
>
> I presume you mean /etc/cups/mime.types.  These two files are *very*
> different
> on the working and nonworking machines.  Among many other differences
> the affected machine's text/html line is
>
> text/html                application/postscript  33      texttops

This looks very wrong. What happens if you copy the file from the unaffected 
box over?

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 18:10         ` Uwe Thiem
@ 2006-02-26 19:26           ` John Blinka
  2006-02-26 20:43             ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 19+ messages in thread
From: John Blinka @ 2006-02-26 19:26 UTC (permalink / raw
  To: gentoo-user

Uwe Thiem wrote:

>
>This looks very wrong. What happens if you copy the file from the unaffected 
>box over?
>
>  
>
Success at last!  Here's what I did on the affected box:

1)  emerge -C cups.

      After removing cups, I noted that the /etc/cups directory
      still existed with all of its old contents.  None of it had
      been removed.

2)  cd /etc/cups
      mv mime.types mime.types.old
      mv mime.convs mime.convs.old

3)  emerge cups

      After this step, a new, different mime.types was installed.
      It was identical to the mime.types file on my unaffected systems.

4)  fire up browser, point it at http://localhost:631.  No problems
     configuring printers.

Previous attempts to do steps 1) and 3) above, but not 2) resulted
in an unchanged, obsolete, and incorrect version of mime.types.

Thanks for everyone's suggestions in debugging this problem!

John
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] cups is broken
  2006-02-26 19:26           ` John Blinka
@ 2006-02-26 20:43             ` Boyd Stephen Smith Jr.
  0 siblings, 0 replies; 19+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-02-26 20:43 UTC (permalink / raw
  To: gentoo-user

On Sunday 26 February 2006 13:26, John Blinka <jblinka@neo.rr.com> wrote 
about 'Re: [gentoo-user] cups is broken':
> Success at last!  Here's what I did on the affected box:
>
> 1)  emerge -C cups.
>
>       After removing cups, I noted that the /etc/cups directory
>       still existed with all of its old contents.  None of it had
>       been removed.
>
> 2)  cd /etc/cups
>       mv mime.types mime.types.old
>       mv mime.convs mime.convs.old
>
> 3)  emerge cups
>
>       After this step, a new, different mime.types was installed.
>       It was identical to the mime.types file on my unaffected systems.
>
> Previous attempts to do steps 1) and 3) above, but not 2) resulted
> in an unchanged, obsolete, and incorrect version of mime.types.

That's because /etc is CONFIG_PROTECT'd, right?  Shouldn't you have gotten 
some message about config files that needed updating?  Or, is there some 
special magic in the ebuild that was causing this problem?

In the last case, I'd wager a bug would be appropriate.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-02-26 20:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 19:25 [gentoo-user] cups is broken John Blinka
2006-02-25 19:51 ` Ernie Schroder
2006-02-25 21:22   ` John Blinka
2006-02-25 22:13     ` Ernie Schroder
2006-02-26  0:12       ` John Blinka
2006-02-26  3:28         ` Ernie Schroder
2006-02-26 12:20           ` John Blinka
2006-02-26 14:18             ` Ernie Schroder
2006-02-26 14:40               ` John Blinka
2006-02-26 15:26                 ` Ernie Schroder
2006-02-26 15:34                   ` John Blinka
2006-02-25 23:16 ` Jerry McBride
2006-02-26 14:57 ` David Helstroom
2006-02-26 15:17   ` John Blinka
2006-02-26 15:38     ` Uwe Thiem
2006-02-26 16:36       ` John Blinka
2006-02-26 18:10         ` Uwe Thiem
2006-02-26 19:26           ` John Blinka
2006-02-26 20:43             ` Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox