lpq/lpstat segfault - cups problem - SuSE V9.2
Hi Folks, I am having an awful problem with cups. Restarting the system after a controlled shutdown, the printers are not working anymore on a SuSE V9.2 system. I removed cups server and client using YaST, the removal was successful basilisk:~ # lpq -bash: lpq: command not found basilisk:~ # lpstat -bash: lpstat: command not found as I expected. Installing cups using YaST, I tried two methods: 1. Hardware -> printers, this tells me no printing system installed, select the cups installation type, where I check cups full server installation. This actually installs cups, (reading package information etc), then enters SuSEconfig, then goes into printer configuration, where YaST crashes in 'load current settings'. 2. Installing cups server manually via install software menu. This succeeds, step two is then again Hardware -> printers where YaST crashes in the 'load current settings' step too. running lpq or lpstat results in: basilisk:~ # lpq Segmentation fault basilisk:~ # lpstat Segmentation fault How do I fix this? What caused it? Thanks Peter
On Tuesday 23 May 2006 16:11, Peter Sutter wrote:
running lpq or lpstat results in: basilisk:~ # lpq Segmentation fault basilisk:~ # lpstat Segmentation fault
How do I fix this? What caused it?
An strace might give a clue. You can run strace -f -F -o lpq.strace lpq You won't be able to post it on the list (it'll get stripped off), so if you have the option, put it somewhere on the web where people can get to it, and then post the link Or, if you like, you can send it to me directly off-list, and I'll have a look at it
The problem was caused by /etc/hosts.deny specifying ALL:ALL and /etc/hosts.allow not allowing for 127.0.0.1 Peter
Hello, On May 23 22:11 Peter Sutter wrote (shortened):
I am having an awful problem with cups. Restarting the system after a controlled shutdown, the printers are not working anymore on a SuSE V9.2 system.
This looks more lika an awful problem somewhere else which lets the CUPS system fail. Inspect /var/log/messages if there are problems. See http://lists.suse.com/archive/suse-linux-e/2004-Jun/4134.html and http://en.opensuse.org/SDB:CUPS_-_Reinstalling_the_Printing_System Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
participants (3)
-
Anders Johansson
-
Johannes Meixner
-
Peter Sutter