* [gentoo-amd64] printing has stopped
@ 2007-12-07 14:33 Paul Stear
2007-12-07 15:59 ` Mark Knecht
[not found] ` <200712091235.05816.gentoo@appjaws.plus.com>
0 siblings, 2 replies; 20+ messages in thread
From: Paul Stear @ 2007-12-07 14:33 UTC (permalink / raw
To: gentoo-amd64
Hi all,
This is weird, all of a sudden my printing has stopped working. Now I'm
not sure if this is as a result of updates or I have finger trouble
(probably this).
Anyway it appears that cups isn't working, I get this error:-
An error occurred while loading http://localhost:631/printers:
Connection to host localhost is broken.
I have reinstalled cups, restarted cupsd,checked cups.conf and it seems ok
so I think I have done something that has affected localhost, but I can't
find anything wrong.
Here is my /etc/hosts:-
# IPv4 and IPv6 localhost aliases
#127.0.0.1 localhost
127.0.0.1 PC2.HOMENET PC2 localhost
#::1 localhost
I just don't know what to do next, any help appreciated
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-07 14:33 [gentoo-amd64] printing has stopped Paul Stear
@ 2007-12-07 15:59 ` Mark Knecht
2007-12-07 16:42 ` Paul Stear
2007-12-07 17:09 ` Paul Stear
[not found] ` <200712091235.05816.gentoo@appjaws.plus.com>
1 sibling, 2 replies; 20+ messages in thread
From: Mark Knecht @ 2007-12-07 15:59 UTC (permalink / raw
To: gentoo-amd64
On Dec 7, 2007 6:33 AM, Paul Stear <gentoo@appjaws.plus.com> wrote:
> Hi all,
> This is weird, all of a sudden my printing has stopped working. Now I'm
> not sure if this is as a result of updates or I have finger trouble
> (probably this).
> Anyway it appears that cups isn't working, I get this error:-
> An error occurred while loading http://localhost:631/printers:
> Connection to host localhost is broken.
>
> I have reinstalled cups, restarted cupsd,checked cups.conf and it seems ok
> so I think I have done something that has affected localhost, but I can't
> find anything wrong.
> Here is my /etc/hosts:-
>
> # IPv4 and IPv6 localhost aliases
> #127.0.0.1 localhost
> 127.0.0.1 PC2.HOMENET PC2 localhost
> #::1 localhost
>
> I just don't know what to do next, any help appreciated
> Paul
> --
> This message has been sent using kmail with gentoo linux
> --
> gentoo-amd64@gentoo.org mailing list
>
>
Possibly it jsut crashed? Is cups running?
lightning ~ # /etc/init.d/cupsd status
* status: started
lightning ~ #
lightning ~ # cat /var/log/cups/error_log
I had problems recently with updates to cups. I think I had to
uninstall my printer and then reinstall it. Don't really remember.
Linux printing - the least fun thing about Linux. ;-)
- Mark
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-07 15:59 ` Mark Knecht
@ 2007-12-07 16:42 ` Paul Stear
2007-12-07 17:09 ` Paul Stear
1 sibling, 0 replies; 20+ messages in thread
From: Paul Stear @ 2007-12-07 16:42 UTC (permalink / raw
To: gentoo-amd64
On Friday 07 December 2007, Mark Knecht wrote:
> On Dec 7, 2007 6:33 AM, Paul Stear <gentoo@appjaws.plus.com> wrote:
> > Hi all,
> > This is weird, all of a sudden my printing has stopped working. Now
> > I'm not sure if this is as a result of updates or I have finger
> > trouble (probably this).
> > Anyway it appears that cups isn't working, I get this error:-
> > An error occurred while loading http://localhost:631/printers:
> > Connection to host localhost is broken.
> >
> > I have reinstalled cups, restarted cupsd,checked cups.conf and it
> > seems ok so I think I have done something that has affected
> > localhost, but I can't find anything wrong.
> > Here is my /etc/hosts:-
> >
> > # IPv4 and IPv6 localhost aliases
> > #127.0.0.1 localhost
> > 127.0.0.1 PC2.HOMENET PC2 localhost
> > #::1 localhost
> >
> > I just don't know what to do next, any help appreciated
<snip>
> I had problems recently with updates to cups. I think I had to
> uninstall my printer and then reinstall it. Don't really remember.
>
> Linux printing - the least fun thing about Linux. ;-)
>
> - Mark
Thanks for the reply Mark.
I have this error in the error_log:-
I [07/Dec/2007:16:08:23 +0000] Full reload complete.
I [07/Dec/2007:16:08:23 +0000] Listening to 127.0.0.1:631 on fd 3...
I [07/Dec/2007:16:08:23 +0000] Listening to /var/run/cups/cups.sock on fd
4...
I [07/Dec/2007:16:08:35 +0000] commptr=""
I [07/Dec/2007:16:08:35 +0000]
Started "/usr/lib64/cups/cgi-bin/printers.cgi" (pid=9388)
E [07/Dec/2007:16:08:35 +0000] PID 9388
(/usr/lib64/cups/cgi-bin/printers.cgi) stopped with status 22!
I [07/Dec/2007:16:08:35 +0000] Hint: Try setting the LogLevel to "debug"
to find out more.
Any ideas?????
Thanks
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-07 15:59 ` Mark Knecht
2007-12-07 16:42 ` Paul Stear
@ 2007-12-07 17:09 ` Paul Stear
2007-12-07 17:16 ` Avuton Olrich
2007-12-07 17:57 ` Mark Knecht
1 sibling, 2 replies; 20+ messages in thread
From: Paul Stear @ 2007-12-07 17:09 UTC (permalink / raw
To: gentoo-amd64
Further to my reply, I have just found out that the
file /usr/lib64/cups/cgi-bin/printers.cgi doesn't exist. I don't even
have a directory "cups" in /usr/lib64.
This is strange, printing worked until recently.
any help please
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-07 17:09 ` Paul Stear
@ 2007-12-07 17:16 ` Avuton Olrich
2007-12-07 17:57 ` Mark Knecht
1 sibling, 0 replies; 20+ messages in thread
From: Avuton Olrich @ 2007-12-07 17:16 UTC (permalink / raw
To: gentoo-amd64
On Dec 7, 2007 9:09 AM, Paul Stear <gentoo@appjaws.plus.com> wrote:
> Further to my reply, I have just found out that the
> file /usr/lib64/cups/cgi-bin/printers.cgi doesn't exist. I don't even
> have a directory "cups" in /usr/lib64.
> This is strange, printing worked until recently.
> any help please
Same exact problem here, if you find the answer please disclose.
--
avuton
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-07 17:09 ` Paul Stear
2007-12-07 17:16 ` Avuton Olrich
@ 2007-12-07 17:57 ` Mark Knecht
2007-12-07 20:06 ` Chris Traylor
1 sibling, 1 reply; 20+ messages in thread
From: Mark Knecht @ 2007-12-07 17:57 UTC (permalink / raw
To: gentoo-amd64
On Dec 7, 2007 9:09 AM, Paul Stear <gentoo@appjaws.plus.com> wrote:
> Further to my reply, I have just found out that the
> file /usr/lib64/cups/cgi-bin/printers.cgi doesn't exist. I don't even
> have a directory "cups" in /usr/lib64.
> This is strange, printing worked until recently.
> any help please
>
> Paul
>
Paul,
Not sure that's the problem. cups is working for me and I don't
have that stuff:
lightning ~ # ls -al /usr/lib64/cups/cgi-bin/*
ls: cannot access /usr/lib64/cups/cgi-bin/*: No such file or directory
lightning ~ #
As I said, I had trouble with a cups update recently. I believe I
did an emerge -C / emerge and reinstalled the printers. I've also done
a Gnome update recently so it might have been part of that whole
process. Sorry I don't have a better memory.
I don't think you said what version you have emerged so here's my info:
lightning ~ # emerge -pv cups
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-print/cups-1.3.4-r3 USE="X dbus java jpeg ldap
nls pam perl png ppds python samba ssl -acl -avahi -kerberos -php -slp
-static -tiff -zeroconf" LINGUAS="en -de -es -et -fr -he -it -ja -pl
-sv -zh_TW" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
lightning ~ #
Hope this helps. Come back with some more info and questions if a
reinstall doesn't fix it.
Cheers,
Mark
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-07 17:57 ` Mark Knecht
@ 2007-12-07 20:06 ` Chris Traylor
2007-12-08 11:56 ` Paul Stear
0 siblings, 1 reply; 20+ messages in thread
From: Chris Traylor @ 2007-12-07 20:06 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]
I don't know if this will help, but after reading this thread, I decided
to update my cups, and
here's the output:
*
* /usr/lib/cups exists - You need to remerge every ebuild that
* installed into /usr/lib/cups and /etc/cups, qfile is in
portage-utils:
* # FEATURES=-collision-protect emerge -va1 $(qfile
-qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
*
* FEATURES=-collision-protect is needed to overwrite the compatibility
* symlinks installed by this package, it wont be needed on later
merges.
* You should also run revdep-rebuild
* GNU info directory index is up-to-date.
galileo ~ # FEATURES=-collision-protect emerge -va1 $(qfile
-qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] net-print/foomatic-db-engine-3.0.20070508 [3.0.20060720]
323 kB
[ebuild R ] app-text/ghostscript-esp-8.15.4 USE="X cups gtk*
threads xml -cjk -djvu" 0 kB
Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 323 kB
Maybe remerging these packages will help you out.
Chris
--
Q: How many neocons does it take to change a lightbulb?
A: None. Neocons don't believe in light bulbs, they declare war on evil
and set the house on fire.
[-- Attachment #2: Type: text/html, Size: 1768 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-07 20:06 ` Chris Traylor
@ 2007-12-08 11:56 ` Paul Stear
2007-12-08 18:37 ` Beso
` (3 more replies)
0 siblings, 4 replies; 20+ messages in thread
From: Paul Stear @ 2007-12-08 11:56 UTC (permalink / raw
To: gentoo-amd64
<snip>
> * FEATURES=-collision-protect is needed to overwrite the compatibility
> * symlinks installed by this package, it wont be needed on later
> merges.
> * You should also run revdep-rebuild
> * GNU info directory index is up-to-date.
> galileo ~ # FEATURES=-collision-protect emerge -va1 $(qfile
> -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild U ] net-print/foomatic-db-engine-3.0.20070508
> [3.0.20060720] 323 kB
> [ebuild R ] app-text/ghostscript-esp-8.15.4 USE="X cups gtk*
> threads xml -cjk -djvu" 0 kB
>
> Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 323 kB
>
> Maybe remerging these packages will help you out.
>
> Chris
Thanks for the reply.
I used your command and it reinstalled ghostscript-esp and gimp-print. The
cups error log now shows:-
I [08/Dec/2007:11:33:27 +0000]
Started "/usr/lib64/cups/cgi-bin/printers.cgi" (p
id=8726)
E [08/Dec/2007:11:33:27 +0000] PID 8726
(/usr/lib64/cups/cgi-bin/printers.cgi) s
topped with status 22!
But when I checked I do not have the directory /usr/lib/cups.
Also if I enter ://localhost:631 in konqueror it used to give error 404
but now just hangs.
Also kde's printer control centre starts but if I enter administrator mode
it just hangs.
Just another thought, when I run revdep-rebuild it has started to show
this error recently:
broken /usr/kde/3.5/lib32/libkdecore.so.4.2.0 (requires libexpat.so.0)
It then reinstalls app-emulation/emul-linux-x86-qtlibs-10.0
If I repeat revdep-rebuild It find the same item broken
Could both of these problems be caused by compatibility for amd64?
I am completely lost now help....help....help....please
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-08 11:56 ` Paul Stear
@ 2007-12-08 18:37 ` Beso
2007-12-08 19:46 ` David Abbott
2007-12-09 1:01 ` [gentoo-amd64] " David Fellows
` (2 subsequent siblings)
3 siblings, 1 reply; 20+ messages in thread
From: Beso @ 2007-12-08 18:37 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 2342 bytes --]
2007/12/8, Paul Stear <gentoo@appjaws.plus.com>:
>
> <snip>
> > * FEATURES=-collision-protect is needed to overwrite the compatibility
> > * symlinks installed by this package, it wont be needed on later
> > merges.
> > * You should also run revdep-rebuild
> > * GNU info directory index is up-to-date.
> > galileo ~ # FEATURES=-collision-protect emerge -va1 $(qfile
> > -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::")
> >
> > These are the packages that would be merged, in order:
> >
> > Calculating dependencies... done!
> > [ebuild U ] net-print/foomatic-db-engine-3.0.20070508
> > [3.0.20060720] 323 kB
> > [ebuild R ] app-text/ghostscript-esp-8.15.4 USE="X cups gtk*
> > threads xml -cjk -djvu" 0 kB
> >
> > Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 323 kB
> >
> > Maybe remerging these packages will help you out.
> >
> > Chris
> Thanks for the reply.
> I used your command and it reinstalled ghostscript-esp and gimp-print. The
> cups error log now shows:-
> I [08/Dec/2007:11:33:27 +0000]
> Started "/usr/lib64/cups/cgi-bin/printers.cgi" (p
> id=8726)
> E [08/Dec/2007:11:33:27 +0000] PID 8726
> (/usr/lib64/cups/cgi-bin/printers.cgi) s
> topped with status 22!
> But when I checked I do not have the directory /usr/lib/cups.
> Also if I enter ://localhost:631 in konqueror it used to give error 404
> but now just hangs.
> Also kde's printer control centre starts but if I enter administrator mode
> it just hangs.
>
> Just another thought, when I run revdep-rebuild it has started to show
> this error recently:
> broken /usr/kde/3.5/lib32/libkdecore.so.4.2.0 (requires libexpat.so.0)
> It then reinstalls app-emulation/emul-linux-x86-qtlibs-10.0
> If I repeat revdep-rebuild It find the same item broken
before doing a revdep-rebuild always delete the /root/.revdep* files, or
revdep would still read that files and give you the same packages to
reibuild.
have you remembered to do also an etc-update or dispatch-conf (this one is
actually a better option since it gives you the diff of the 2 files to be
used)?
> Could both of these problems be caused by compatibility for amd64?
>
> I am completely lost now help....help....help....please
> Paul
> --
> This message has been sent using kmail with gentoo linux
> --
> gentoo-amd64@gentoo.org mailing list
>
>
--
dott. ing. beso
[-- Attachment #2: Type: text/html, Size: 3086 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-08 18:37 ` Beso
@ 2007-12-08 19:46 ` David Abbott
2007-12-08 20:30 ` Beso
0 siblings, 1 reply; 20+ messages in thread
From: David Abbott @ 2007-12-08 19:46 UTC (permalink / raw
To: gentoo-amd64
Also kde's printer control centre starts but if I enter administrator
mode
> it just hangs.
>
> Just another thought, when I run revdep-rebuild it has started
> to show
> this error recently:
> broken /usr/kde/3.5/lib32/libkdecore.so.4.2.0
> (requires libexpat.so.0)
> It then reinstalls app-emulation/emul-linux-x86-qtlibs-10.0
> If I repeat revdep-rebuild It find the same item broken
This may help;
https://forums.gentoo.org/viewtopic-t-448550.html
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-08 19:46 ` David Abbott
@ 2007-12-08 20:30 ` Beso
2007-12-09 0:42 ` [gentoo-amd64] " Duncan
0 siblings, 1 reply; 20+ messages in thread
From: Beso @ 2007-12-08 20:30 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
2007/12/8, David Abbott <abbottdavid@bellsouth.net>:
>
>
>
> This may help;
> https://forums.gentoo.org/viewtopic-t-448550.html
this is the expat-2 upgrade thread. i don't really see how this could
help.... if it's only the revdep issue you just need to remove the .revdep*
files from /root/ and run revdep again (or run revdep-rebuild -i, thus i
don't know if the portage version - i'm using paludis - support -i, which
stands for --ignore, option).
--
> gentoo-amd64@gentoo.org mailing list
>
>
--
dott. ing. beso
[-- Attachment #2: Type: text/html, Size: 1086 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-amd64] Re: printing has stopped
2007-12-08 20:30 ` Beso
@ 2007-12-09 0:42 ` Duncan
0 siblings, 0 replies; 20+ messages in thread
From: Duncan @ 2007-12-09 0:42 UTC (permalink / raw
To: gentoo-amd64
Beso <givemesugarr@gmail.com> posted
d257c3560712081230x513a700foc530b9f0a40d5a0@mail.gmail.com, excerpted
below, on Sat, 08 Dec 2007 20:30:43 +0000:
> 2007/12/8, David Abbott <abbottdavid@bellsouth.net>:
>>
>>
>>
>> This may help;
>> https://forums.gentoo.org/viewtopic-t-448550.html
>
>
> this is the expat-2 upgrade thread. i don't really see how this could
> help.... if it's only the revdep issue you just need to remove the
> .revdep* files from /root/ and run revdep again (or run revdep-rebuild
> -i, thus i don't know if the portage version - i'm using paludis -
> support -i, which stands for --ignore, option).
Portage's revdep-rebuild does indeed support -i.
However, that's not the issue in this case. Note that the affected
rebuilds are 32-bit, thus not rebuilds at all, but simply remerging pre-
built binaries. One can "rebuild" them all day and it's not going to
help, because it's the same binaries that are remerged each time,
binaries that remain linked to an old/stale 32-bit expat library that's
apparently no longer there either.
Find the 32-bit binary that continues to link to the old 32-bit expat
library, and try remerging both it and the compat package that should
contain the missing library (probably the same one containing the new
version) manually. It's possible that revdep-rebuild is only remerging
one and it's a remerge of the other that's necessary. If that doesn't
work, then it's time to see if there's already a bug filed on it, and
file one if not. (Or just decide 32-bit isn't worth the hassle anyway,
and switch to a no-multilib profile, unmerging all the 32-bit stuff, my
solution as I don't/can't merge proprietaryware anyway, and most of the
freedomware stuff is long since 64-bit ported, OR decide that it's worth
/really/ supporting, and do the 32-bit chroot thing, after which you can
do a real rebuild in the chroot, assuming it's not some stupid
proprietaryware causing the trouble.)
However, while it's possible that'll fix the printing issue if there's
some mixup between 32-bit and 64-bit, it's unlikely to in the normal
case, unless it's a 32-bit app you are trying to print from, since 64-bit
shouldn't be trying to load the 32-bit stuff anyway -- it should ignore
it.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-08 11:56 ` Paul Stear
2007-12-08 18:37 ` Beso
@ 2007-12-09 1:01 ` David Fellows
2007-12-09 2:39 ` David Fellows
2007-12-09 13:26 ` [gentoo-amd64] printing has stopped - RESOLVED? Paul Stear
3 siblings, 0 replies; 20+ messages in thread
From: David Fellows @ 2007-12-09 1:01 UTC (permalink / raw
To: gentoo-amd64
On Sat, 8 Dec 2007 11:56:30 +0000
Paul Stear wrote -
>
> Just another thought, when I run revdep-rebuild it has started to show
> this error recently:
> broken /usr/kde/3.5/lib32/libkdecore.so.4.2.0 (requires libexpat.so.0)
> It then reinstalls app-emulation/emul-linux-x86-qtlibs-10.0
> If I repeat revdep-rebuild It find the same item broken
>
> Could both of these problems be caused by compatibility for amd64?
>
> I am completely lost now help....help....help....please
> Paul
Revdep-rebuild to the contrary you don't want to reinstall
app-emulation/emul-linux-x86-qtlibs-10.0
You really want to upgrade it.
However when you try, you will be told to re emerge app-emulation/emul-linux-x86-soundlibs with the arts USE flag. When you try that you will get a cyclic
dependency with qtlibs!
My work around was the following:
echo "app-emulation/emul-linux-x86-soundlibs arts" >> /etc/portage/package.use
emerge --oneshot -v --nodeps app-emulation/emul-linux-x86-soundlibs
emerge --oneshot -uv app-emulation/emul-linux-x86-qtlibs
emerge --oneshot -v app-emulation/emul-linux-x86-soundlibs
Command 1 sets the use flag, 2 forces the emerge of soundlibs -- the
dependency is runtime so forcing is OK, 3 upgrades qtlibs Portage will be happy
because soundlibs was emerged with the required use flag), and 4 emerges
soundlibs again just to make sure that the files it deleted were not
re-installed in step 3.
Bug 200171 and several related ones pertain to this problem.
I don't think this issue has anything to do with your cups problem.
Dave F
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-08 11:56 ` Paul Stear
2007-12-08 18:37 ` Beso
2007-12-09 1:01 ` [gentoo-amd64] " David Fellows
@ 2007-12-09 2:39 ` David Fellows
2007-12-09 13:26 ` [gentoo-amd64] printing has stopped - RESOLVED? Paul Stear
3 siblings, 0 replies; 20+ messages in thread
From: David Fellows @ 2007-12-09 2:39 UTC (permalink / raw
To: gentoo-amd64, Paul Stear
On Sat, 8 Dec 2007 11:56:30 +0000
Paul Stear wrote -
> <snip>
> Thanks for the reply.
> I used your command and it reinstalled ghostscript-esp and gimp-print. The
> cups error log now shows:-
> I [08/Dec/2007:11:33:27 +0000]
> Started "/usr/lib64/cups/cgi-bin/printers.cgi" (p
>
> id=8726)
> E [08/Dec/2007:11:33:27 +0000] PID 8726
> (/usr/lib64/cups/cgi-bin/printers.cgi) s
> topped with status 22!
> But when I checked I do not have the directory /usr/lib/cups.
> Also if I enter ://localhost:631 in konqueror it used to give error 404
> but now just hangs.
> Also kde's printer control centre starts but if I enter administrator mode
> it just hangs.
>
> Just another thought, when I run revdep-rebuild it has started to show
> this error recently:
> broken /usr/kde/3.5/lib32/libkdecore.so.4.2.0 (requires libexpat.so.0)
> It then reinstalls app-emulation/emul-linux-x86-qtlibs-10.0
> If I repeat revdep-rebuild It find the same item broken
>
> Could both of these problems be caused by compatibility for amd64?
>
> I am completely lost now help....help....help....please
> Paul
OK. Lets tackle cups. It is working fine for me. Lets establish what is
different. Starting with defining which version of cups you have.
Can you post the output from
emerge -pv cups
I have
[ebuild R ] net-print/cups-1.2.12-r2 USE="X dbus jpeg nls pam png samba ssl tiff -ldap -php -ppds -slp" 0 kB
which was the latest stable amd64 as of 2007-12-07 23:00UTC or so.
/usr/lib64/cups/cgi-bin/printers.cgi looks fishy to me. On my system the
path is /usr/libexec/cups/cgi-bin/printers.cgi.
What are the outputs of
ls -ld /lib*
and
ls -ld /usr/lib*
What is the output of
file /usr/libexec/cups/cgi-bin/printers.cgi
What is the output of
equery files cups |grep cgi-bin
If you don't have equery then you need to emerge app-portage/gentoolkit
first.
Have you updated your configuration files since you last emerged cups?
If not you probably should. ( I use dispatch-conf so I can see the
differences.)
Have you restarted cupsd (or rebooted) since you last emerged cups?
If not try executing
/etc/init.d/cupsd restart
Dave F
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped - RESOLVED?
2007-12-08 11:56 ` Paul Stear
` (2 preceding siblings ...)
2007-12-09 2:39 ` David Fellows
@ 2007-12-09 13:26 ` Paul Stear
3 siblings, 0 replies; 20+ messages in thread
From: Paul Stear @ 2007-12-09 13:26 UTC (permalink / raw
To: gentoo-amd64
Hi all,
Sorry to reply to my own post but I have just fixed this problem!!!!
I made a link "ln -s /usr/libexec/cups /usr/lib64/cups", restarted cups,
did a print and my printer sprang into life.
Will this link cause me any problems?
Is their a better way of doing this?
Does this indicate a reason as to why this has happened to me and others?
I can't help feeling that I've missed something when using dispatch-conf
after all of the updates I have done recently.
Comments and advice welcome.
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
[not found] ` <200712091547.lB9FlFfQ019906@mailserv.unb.ca>
@ 2007-12-09 16:39 ` Paul Stear
2007-12-09 16:47 ` Paul Stear
0 siblings, 1 reply; 20+ messages in thread
From: Paul Stear @ 2007-12-09 16:39 UTC (permalink / raw
To: David Fellows, gentoo-amd64
On Sunday 09 December 2007, you wrote:
> grep -i ServerBin /etc/cups/cupsd.conf
Hi Dave,
Thanks for your interest in this problem.
This morning whilst trying to figure out what the problem was, I decided
to create a link from /usr/lib64/cups to /usr/libexec/cups.
I restarted the cups server and I could print again.
I have just looked at my cups.conf and it had the line
ServerBin /usr/lib64/cups
so I have changed that and will delete my soft link.
Thanks for all your help
It's still a mystery how the cups.conf had the wrong detail.
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-09 16:39 ` [gentoo-amd64] printing has stopped Paul Stear
@ 2007-12-09 16:47 ` Paul Stear
2007-12-10 1:20 ` David Fellows
0 siblings, 1 reply; 20+ messages in thread
From: Paul Stear @ 2007-12-09 16:47 UTC (permalink / raw
To: gentoo-amd64
Hi all,
Further to my last e-mail. Printing now seems to be working correctly,
however, I get an error "404 Not Found" when I try to bring cups up in
konqueror using ://localhost:631.
Has anyone any ideas to solve this last bit?
Thanks
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-09 16:47 ` Paul Stear
@ 2007-12-10 1:20 ` David Fellows
2007-12-10 8:51 ` Paul Stear
0 siblings, 1 reply; 20+ messages in thread
From: David Fellows @ 2007-12-10 1:20 UTC (permalink / raw
To: gentoo-amd64, Paul Stear
On Sun, 9 Dec 2007 16:47:53 +0000
Paul Stear wrote -
> Hi all,
> Further to my last e-mail. Printing now seems to be working correctly,
> however, I get an error "404 Not Found" when I try to bring cups up in
> konqueror using ://localhost:631.
> Has anyone any ideas to solve this last bit?
> Thanks
> Paul
Try
grep -i DocumentRoot /etc/cups/cupsd.conf
If you have an entry, delete it. restart cupsd.
It appears that you have a very old cupsd.conf file. Who knows what other
cruft you have in it. The Gentoo cups ebuilds have changed a lot in the
past 18 months vis-avis where they put stuff. I would suggest that you
move /etc/cups to somewhere safe and do
emerge --sync
emerge --oneshot -uv cups
dispatch-conf
With dispatch conf accept the *new* config files. If necessary tweak the
new files to reflect your particular hardware/network/permissions, etc.
Do this rather than keep the old files or keep and tweak the old files.
Restart cupsd and see if it behaves better.
I suggest syncing and updating because there was a new stable ebuild
released this weekend.
I believe that my /etc/cups/cupsd.conf is vanilla as installed by the
ebuild. It has very little in it, nothing re file location.
Dave F
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-10 1:20 ` David Fellows
@ 2007-12-10 8:51 ` Paul Stear
2007-12-10 14:19 ` Mark Knecht
0 siblings, 1 reply; 20+ messages in thread
From: Paul Stear @ 2007-12-10 8:51 UTC (permalink / raw
To: David Fellows, gentoo-amd64
On Monday 10 December 2007, you wrote:
> grep -i DocumentRoot /etc/cups/cupsd.conf
Well Dave you are a star.
I removed the DocumentRoot entry, restarted cups and now I can use
localhost:631 in konqueror.
I will now take your advise and install a fresh cups later today.
Thanks again for your help
Paul
--
This message has been sent using kmail with gentoo linux
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-amd64] printing has stopped
2007-12-10 8:51 ` Paul Stear
@ 2007-12-10 14:19 ` Mark Knecht
0 siblings, 0 replies; 20+ messages in thread
From: Mark Knecht @ 2007-12-10 14:19 UTC (permalink / raw
To: gentoo-amd64
On Dec 10, 2007 12:51 AM, Paul Stear <gentoo@appjaws.plus.com> wrote:
> On Monday 10 December 2007, you wrote:
> > grep -i DocumentRoot /etc/cups/cupsd.conf
>
> Well Dave you are a star.
> I removed the DocumentRoot entry, restarted cups and now I can use
> localhost:631 in konqueror.
> I will now take your advise and install a fresh cups later today.
>
> Thanks again for your help
> Paul
Just my opinion but prior to the reinstall consider removing any links
you set up by hand during your debug period.
Speaking from experience this sort of thing has caused me problems in the past.
Cheers,
Mark
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2007-12-10 14:21 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 14:33 [gentoo-amd64] printing has stopped Paul Stear
2007-12-07 15:59 ` Mark Knecht
2007-12-07 16:42 ` Paul Stear
2007-12-07 17:09 ` Paul Stear
2007-12-07 17:16 ` Avuton Olrich
2007-12-07 17:57 ` Mark Knecht
2007-12-07 20:06 ` Chris Traylor
2007-12-08 11:56 ` Paul Stear
2007-12-08 18:37 ` Beso
2007-12-08 19:46 ` David Abbott
2007-12-08 20:30 ` Beso
2007-12-09 0:42 ` [gentoo-amd64] " Duncan
2007-12-09 1:01 ` [gentoo-amd64] " David Fellows
2007-12-09 2:39 ` David Fellows
2007-12-09 13:26 ` [gentoo-amd64] printing has stopped - RESOLVED? Paul Stear
[not found] ` <200712091235.05816.gentoo@appjaws.plus.com>
[not found] ` <200712091547.lB9FlFfQ019906@mailserv.unb.ca>
2007-12-09 16:39 ` [gentoo-amd64] printing has stopped Paul Stear
2007-12-09 16:47 ` Paul Stear
2007-12-10 1:20 ` David Fellows
2007-12-10 8:51 ` Paul Stear
2007-12-10 14:19 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox