I am running SuSE Pro 8.2 on an AMD Duron, 1.2 GHz, 128 MB RAM. My kernal (k_athlon) is patched to 2.4.20-100 using the SuSE patch. The nVidia 4496 driver is installed and working correctly. All YOU patches that are relevant to my system appear to be installed. My printer is an HP Deskjet 612C. It was working earlier, but I don't use it much, and don't know when it stopped working. The print process hung a few days ago (consistently), so I tried to reconfigure it using YaST. But the YaST printer setup hangs, too, during the early "environment" part. I tried uninstalling and reinstalling everything in the "printing" rpm group, but it didn't help. Once I got as far as getting a dialog box that said, "Initializing CUPS server (2%)" before it hung. I deleted the following files mentioned in a SuSEwatcher warning: /etc/cups/classes.conf.rpmsave /etc/cups/printers.conf.rpmsave /opt/OpenOffice.org/share/psprint/psprint.conf.rpmsave but that didn't help. I can get the printer to print "Hello" by typing echo -en "\rHello\r\f" >/dev/lp0 I ran YOU twice recently. There was a problem with one patch involving yast2-printer, but it seemed to work the second time. Other possibly relevant information: OpenOffice also hangs, and it used to work, too. It still works from another SuSE 8.2 installation in an old "test" partition on this machine. It also works on my computer at work, which has an identical "user.sel" rpm list except for a different kernel (k_deflt) and a different version of release-notes. The last time I ran YOU, I couldn't see any new patches available to download, but clicked "accept" anyway, and was told it was downloading a KDE security patch. This was taking forever over my modem, and I was nervous about not knowing why it should be downloading anything, so I aborted. Memtest86 shows no problems. Can anyone shed some light on these problems? Thanks, Peter A. Taylor
Hello, On Nov 19 09:02 Peter Taylor wrote (shortened):
My kernal (k_athlon) is patched to 2.4.20-100 using the SuSE patch. ... My printer is an HP Deskjet 612C. It was working earlier, but I don't use it much, and don't know when it stopped working. ... I tried to reconfigure it using YaST ... Once I got as far as getting a dialog box that said, "Initializing CUPS server (2%)" before it hung.
During startup of YaST it does rccups restart and then YaST waits up to 15 minutes for the cupsd to become accessible for clients by using something like for i in $(seq 900) do lpstat -r &>/dev/null && break sleep 1 done lpstat -r &>/dev/null and this is when the dialog box above is shown. The progress bar would reach 100% only when the 15 minutes are over. Normally it is finished after one or two minutes. See the Administration manual section "Troubleshooting in CUPS" how to get verbose log entries in /var/log/cups/error_log You may do rccups stop mv /var/log/cups/error_log /var/log/cups/error_log.old and then set "LogLevel debug" in /etc/cups/cupsd.conf rccups start and see what is in /var/log/cups/error_log
OpenOffice also hangs, and it used to work, too.
Does it hang when printing (because there is no cupsd running) or does it hang in general? If it hangs in general then I guess it may be a kernel problem. In any case I recommend to do a test with a standard SUSE kernel from the CDs - at least to make sure it is not your patched kernel. Regards Johannes Meixner ----------------------------------------------------------- SUSE LINUX AG, Deutschherrnstr. 15-19 Mail: jsmeix@suse.de 90429 Nuernberg, Germany WWW: http://www.suse.de/ -----------------------------------------------------------
On Wednesday 19 November 2003 09:35, Johannes Meixner wrote:
and see what is in /var/log/cups/error_log
Oops. Yes, it's right there as plain as can be. The problem was my customized /etc/hosts.deny file. The printer works fine now.
OpenOffice also hangs, and it used to work, too.
Does it hang when printing (because there is no cupsd running) or does it hang in general?
No, the wrapper script was hanging, apparently because of the cupsd problem. OpenOffice is now working. But in looking at the Administration manual, I am confused about when the KDE printing configuration should be set to CUPS and when it should be set to "Print Through an External Program (generic)". It is currently set to CUPS. Why would I want to change this? Thank you very much! Peter A. Taylor
Hello, On Nov 20 00:01 Peter Taylor wrote (shortened):
Does it hang when printing (because there is no cupsd running) or does it hang in general? No, the wrapper script was hanging, apparently because of the cupsd problem.
OpenOffice uses CUPS for printing. In particular OpenOffice builds its internal list of selectable queues by asking the available queues from CUPS only once when OpenOffice starts and not each time when printing. This is not in perfect compliance to the CUPS design. Because the "Browsing" stuff in CUPS makes it possible that new queues appear and other queues may vanish at random time. But OpenOffice's internal list of selectable queues would not change accordingly.
But in looking at the Administration manual, I am confused about when the KDE printing configuration should be set to CUPS and when it should be set to "Print Through an External Program (generic)". It is currently set to CUPS. Why would I want to change this?
When you use CUPS as your printing system then the KDE printing configuration should be set to CUPS. This way the list of selectable queues in KDE applications should be always up to date (perhaps with some seconds delay) according to the existing queues in CUPS. But if you don't want to print via one of the existing CUPS queues, them you must switch the KDE printing tool to "Print Through an External Program". In particular if there is a CUPS queue "foo" which is accessible on a CUPS server "bar" but the CUPS server does not broadcast the queue then you can print via the command: lp -d foo -h bar KDE printing tool and OpenOffice: In OpenOffice there should be a "printer" called "kprinter". If you use this "printer" in OpenOffice then OpenOffice's print job would be forwarded to kprinter and then kprinter's dialog would pop up and you can select the queue and all the other settings there. This way you get the same printing dialog in OpenOffice and KDE. But in the past there have been in some special cases problems that OpenOffice and/or StarOffice may hang up when an external graphical printer dialog tool (like kprinter or xpp or gtklp) was called. I was never able to reproduce this. All what I noticed was that after the external dialog has popped up "over" the OpenOffice/StarOffice window you can select the OpenOffice/StarOffice window and then the OpenOffice/StarOffice window gets the mouse focus and pops up in the foreground and hides the external dialog window. As the OpenOffice/StarOffice process is waiting for the external dialog process nothing happens when clicking anything in the foreground OpenOffice/StarOffice window. For an unexperienced user this may look as if OpenOffice/StarOffice has hung up. But after you managed that the external dialog window gets the mouse focus back (the only problem is that this window is hidden by the OpenOffice/StarOffice window) everything works well. Regards, Johannes Meixner ----------------------------------------------------------- SUSE LINUX AG, Deutschherrnstr. 15-19 Mail: jsmeix@suse.de 90429 Nuernberg, Germany WWW: http://www.suse.de/ -----------------------------------------------------------
On Wednesday 19 November 2003 09:02 am, Peter Taylor wrote:
OpenOffice also hangs, and it used to work, too. It still works from another SuSE 8.2 installation in an old "test" partition on this machine. It also works on my computer at work, which has an identical "user.sel" rpm list except for a different kernel (k_deflt) and a different version of release-notes.
The last time I ran YOU, I couldn't see any new patches available to download, but clicked "accept" anyway, and was told it was downloading a KDE security patch. This was taking forever over my modem, and I was nervous about not knowing why it should be downloading anything, so I aborted.
Memtest86 shows no problems.
Can anyone shed some light on these problems?
Peter, I thought I was the only one having such weird problems with the printers. A similar thing has happened to me at least twice so far. One solution that worked for me was to go into Yast and remove all cups software, then do an install from the original cd's. After that I have upgraded the cups stuff and it still works. Dont have any idea what the problem is but this solution worked. I had tried to let Yast remove and reinstall the CUPS stuff via the Printer install options which didnt help so as a last resort I did the manual thing and it worked. Another problem that I have encountered with the printer my HP USB printer, alll of a sudden it would quit sending the qued jobs to the printer, and I couldn't delete those jobs even as root. I got an error saying I didnt have the correct permissions. Eventually the manual deletion and reinstall solved that problem. Maybe this will help you. Richard
participants (3)
-
Johannes Meixner
-
Peter Taylor
-
Richard