hi,
I reinstalled cupsd and also rebuilt the rpm database
as suggested by Ken.
Now I started the printer configuration using the
command $ yast2 printer. Still it hangs. It says that
the rpm database is still blocked. I am sure that no
application usig the rpm database is running when I
invoked 'yast2 printer'. I have been used Synaptic
some time in the past. During this time I remember
that I invoked both Synaptic and Yast at the same
time. Most of the times Synaptic didn't behave as
expected and I had to kill the process, if this causes
any problems to the access to the rpm db.
Does rpm create any lock files or something like that?
I am giving the following info from
/var/log/Yast2/y2log file.
2005-04-18 04:14:37 <2> achala(12356) [librpmDb]
librpmDb.cc(dbAccess):256 Access is blocked:
'(/)/var/lib/rpm'
2005-04-18 04:14:37 <2> achala(12356) [librpmDb]
librpmDb.cc(D):560 No database access:
ERROR(InstTarget:E_RpmDB_access_blocked)
2005-04-18 04:14:37 <2> achala(12356) [librpmDb]
librpmDb.cc(dbAccess):256 Access is blocked:
'(/)/var/lib/rpm'
2005-04-18 04:14:37 <2> achala(12356) [librpmDb]
librpmDb.cc(D):560 No database access:
ERROR(InstTarget:E_RpmDB_access_blocked)
2005-04-18 04:14:37 <2> achala(12356) [librpmDb]
librpmDb.cc(dbAccess):256 Access is blocked:
'(/)/var/lib/rpm'
2005-04-18 04:14:37 <2> achala(12356) [librpmDb]
librpmDb.cc(D):560 No database access:
ERROR(InstTarget:E_RpmDB_access_blocked)
2005-04-18 04:14:37 <1> achala(12356) [YCP]
CUPS.ycp:94 Read server host name: >><<
2005-04-18 04:14:37 <1> achala(12356) [YCP]
Printerdb.ycp:153 Checking foomatic database
2005-04-18 04:14:37 <1> achala(12356) [YCP]
Printerdb.ycp:156 Database changed
2005-04-18 04:14:37 <1> achala(12356) [agent-ppd]
PPDdb.cc(createdbThread):391 CreateDbThread started
2005-04-18 04:14:38 <1> achala(12356) [agent-ppd]
PPDdb.cc(loadPrebuiltDatabase):1374 Database file
parsed correctly by YCP parser
2005-04-18 04:14:38 <1> achala(12356) [agent-ppd]
PPDdb.cc(loadPrebuiltDatabase):1595 Database contents
is OK
2005-04-18 04:14:38 <1> achala(12356) [agent-ppd]
PPDdb.cc(createdbThread):432 Update database done
2005-04-18 04:14:40 <3> achala(12356) [Interpreter]
YaST2/printers:959 Parsing file
'/var/lib/YaST2/printers' failed
2005-04-18 04:14:40 <3> achala(12356) [Interpreter]
Printer.ycp:959 SCR::Read() failed
--- "Carlos E. R." The Sunday 2005-04-17 at 03:29 -0700, Chaitanya
Krishna A wrote: 2005-04-17 15:48:05 <2> achala(7708) [librpmDb]
librpmDb.cc(D):560 No database access:
ERROR(InstTarget:E_RpmDB_access_block
ed)
2005-04-17 15:48:05 <2> achala(7708) [librpmDb]
librpmDb.cc(dbAccess):256 Access is blocked:
'(/)/var/lib/rpm' I concur with what Ken said. You might have some
other program (another
yast sesion, whatever) accessing the rpm database at
that moment. Or you
might be trying to be using yast without being root. Also, the recomendation to reinstall cups sounds
correct. Make sure you
have everything up to date using YOU. --
Cheers,
Carlos Robinson --
Check the headers for your unsubscription address
For additional commands send e-mail to
suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@suse.com __________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide