Rodney Baker wrote:
Quote:
On Fri, 6 Nov 2009 04:46:43 Marc Chamberlin wrote:
So I have a question - When I configure a printer via YaST, and get all
done, is not YaST suppose to restart the CUP'S daemon? I should think
so! The fact that it doesn't cost me a LOT of debugging time. I finally
gave up on trying to use YaST and configured the CUP's server by hand.
Once I got CUP'S up an running I discovered that YaST was NOT starting
up the CUP's server daemon, by finally realizing that something was
terribly unexpected was happening after using YaST, and by subsequently
checking with an "rccups status". So, I am having to do an "rccups
start" each and every time after I use YaST to configure my printer!
(which starts the CUP's daemon without any problem) Why should I have to
do this? Am running SuSE 11.0. x86_64 architecture.
Marc,
Open System-> System Services (Runlevel) in Yast Control Centre and see if the
cups service is set to enabled.
Yes it was one of the first things I checked. It was not running
initially when I was trying to first set up my laptop to print. So I was
trying to use YaST to configure the printer and EXPECTING upon correct
configuration of the printer that the CUPs daemon would start up because
everything was "correct".
Quote:
If this was the way YaST was designed, then someone needs to have their
head examined! The pattern for configuring any other server, that I use,
has been to restart the daemon for it automatically, when finished. And
if YaST is suppose to restart the CUP'S daemon, why doesn't it check to
verify that the daemon did indeed successfully restart, and report to
the user, via a clear warning message, that the restart failed?
Bugs have been known to creep in without the developers realising

I looked at the y2log file, which is about as clear and understandable
as mud, and see several messages generated by something called
Crash.ycp.. Are these failure messages? Such as -
2009-11-05 09:41:29 <1> marcslaptop(13748) [YCP] Crash.ycp:51 Read
settings: $["all_failed":["printer.ycp"],
"last_done":"printer_detection", "last_failed":["printer.ycp"]]
2009-11-05 09:41:29 <1> marcslaptop(13748) [YCP] Crash.ycp:68 Written
settings: $["all_failed":[], "last_done":"printer.ycp", "last_failed":[]]
What desktop are you using (Gnome, KDE or any others)? What versions of yast2,
yast2-control-center, yast-2-control-centre-[gnome|qt] and yast2-printer are
you running?
Please do rpm -qa | grep 'yast' and post the output.
I am using KDE 3.5. Here is the output from the rpm query that you
requested.
marcslaptop:/var/log/cups # rpm -qa | grep 'yast'
yast2-update-2.16.10-4.1
yast2-irda-2.16.1-25.1
yast2-runlevel-2.16.5-15.1
yast2-security-2.16.1-16.1
yast2-iscsi-client-2.16.14-6.1
yast2-users-2.16.33-6.1
autoyast2-installation-2.16.19-0.1
yast2-pam-2.16.2-17.1
yast2-scanner-2.16.10-13.1
yast2-support-2.16.1-6.1
yast2-tv-2.16.6-7.1
yast2-network-2.16.48-3.1
yast2-printer-2.16.32-3.1
yast2-qt-2.16.53-5.1
yast2-libyui-2.16.48-3.1
yast2-ncurses-2.16.27-8.1
yast2-xml-2.16.1-14.1
yast2-ntp-client-2.16.9-11.1
yast2-mouse-2.16.1-26.1
yast2-sysconfig-2.16.0-28.1
yast2-nis-client-2.16.3-6.1
yast2-repair-2.16.12-4.1
yast2-online-update-frontend-2.16.15-6.1
yast2-inetd-2.16.0-27.1
yast2-trans-stats-2.15.0-87.1
yast2-core-2.16.51-6.1
yast2-ycp-ui-bindings-2.16.47-5.1
yast2-slp-2.16.0-25.1
yast2-hardware-detection-2.16.1-49.1
yast2-2.16.71-6.1
yast2-apparmor-2.16.4-4.1
yast2-vm-2.16.5-7.1
yast2-x11-2.15.12-15.1
yast2-ldap-2.16.0-52.1
yast2-restore-2.16.2-26.1
yast2-packager-2.16.53-3.1
yast2-metapackage-handler-0.8.5-16.1
yast2-ldap-client-2.16.16-6.1
yast2-mail-2.16.6-2.1
yast2-pkg-bindings-2.16.42-0.2
yast2-qt-pkg-2.16.49-0.1
yast2-backup-2.16.7-0.1
yast2-country-data-2.16.26-6.1
yast2-storage-lib-2.16.26-0.1
yast2-sound-2.16.11-6.1
yast2-firewall-2.16.2-25.1
yast2-country-2.16.26-6.1
yast2-bootloader-2.16.20-0.1
yast2-installation-2.16.50-3.1
yast2-add-on-2.16.8-6.1
yast2-profile-manager-2.16.1-27.1
yast2-control-center-2.16.2-11.1
yast2-control-center-qt-2.16.2-11.1
yast2-theme-openSUSE-2.16.38-2.1
yast2-perl-bindings-2.16.7-14.1
yast2-nfs-client-2.16.1-26.1
yast2-tune-2.16.2-2.1
yast2-online-update-2.16.15-6.1
yast2-sudo-2.16.1-27.1
yast2-transfer-2.16.1-76.1
yast2-storage-2.16.26-0.1
yast2-kerberos-client-2.16.11-9.1
yast2-samba-client-2.16.9-3.1
yast2-registration-2.16.7-4.1
yast2-samba-server-2.16.3-15.1
yast2-trans-en_US-2.16.9-1.1
yast2-ncurses-pkg-2.16.14-0.4
Quote:
If so, this is an ugly way to report a problem to a user! IMHO. I
usually grep such log files for words like "Error" or "Warning" or even
"[E]" and "[W]" with is sometimes used. And if these are error messages,
then they give no guidance to a user has to how to fix such the problem...
Marc...
Check bugzilla and see if someone has already logged a report on it. If not
(and it isn't resolved by fixing any issues that might turn up by checking and
if necessary fixing what I mentioned above), file a bug report there.
Thanks Rodney.. OK I will look into bugzilla.... Marc..
Quote:
Regards,
Rodney.