Hi all - I sent this but it didn't show up on the posting so I'm sending
it again - sorry if you get it twice...

I have three (at least) major problems that I've been struggling with
for a good while.  

1)  RPM doesn't work.
2)  up2date does not and has never yet worked
3)  The LPD server says it is running, but won't shutdown and restart -
and I can't print without it.

I've tried several things, so bear with me while I revisit my failed
attempts so far:
  - - - - - - - 
1) I cannot re/install any software package.  This is the command line &
error I get while runnning kpackage:

<eplacepkgs  /mnt/cdrom/RedHat/RPMS/kdeadmin-2.2-8.i386.rpm;echo
RESULT=$?
rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily
unavailable (11)
error: cannot open Packages database in /var/lib/rpm
RESULT=1
 
2) Another related problem:

I have repeatedly tried to run up2date and it still doesn't work.  A
couple of things seem pretty messed up.

When I run up2date from the root command line this is the error I get:

[root@bgp543409bgs root]#  up2date &
[1] 2270

rpmdb: unable to join the environment
error: db3 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily
unavailable (11)
Traceback (innermost last):
  File "/usr/sbin/up2date", line 996, in ?
    main()
  File "/usr/sbin/up2date", line 321, in main
    up2date.updateLoginInfo()
  File "/usr/share/rhn/up2date_client/up2date.py", line 426, in
updateLoginInfo
    loginInfo = login()
  File "/usr/share/rhn/up2date_client/up2date.py", line 336, in login
    maybeUpdateVersion()
  File "/usr/share/rhn/up2date_client/up2date.py", line 508, in
maybeUpdateVersion
    systemVer = getVersion()
  File "/usr/share/rhn/up2date_client/up2date.py", line 453, in
getVersion
    db = openrpmdb()
  File "/usr/share/rhn/up2date_client/up2date.py", line 579, in
openrpmdb
    raise RpmError(_("Could not open RPM database for reading.  Perhaps
it is already in use?"))
up2date_client.up2date.RpmError: RPM error.  The message was:
Could not open RPM database for reading.  Perhaps it is already in use?

[1]+  Done                    up2date

*** FYI:  I ran:    up2date --configure --nox
This is how I currently have it set up:

[root@bgp543409bgs root]# up2date --configure --nox
0.  storageDir         /var/spool/up2date
1.  networkSetup       Yes
2.  headerCacheSize    40
3.  httpProxy
4.  debug              No
5.  useGPG             Yes
6.  networkRetries     5
7.  removeSkipList     ['kernel*']
8.  retrieveOnly       No
9.  enableProxy        No
10. keepAfterInstall   No
11. proxyPassword
12. proxyUser
13. headerFetchCount   10
14. versionOverride
15. enableProxyAuth    No
16. noSSLServerURL     http://www.rhns.redhat.com/XMLRPC
17. noReplaceConfig    No
18. noBootLoader       No
19. systemIdPath       /etc/sysconfig/rhn/systemid
20. serverURL          https://www.rhns.redhat.com/XMLRPC
21. pkgSkipList        ['kernel*']
22. adminAddress       ['root@localhost']
23. forceInstall       No
24. fileSkipList       []
25. retrieveSource     No

And finally when I run:rpm --rebuilddb
I get:

[root@bgp543409bgs root]# rpm --rebuilddb
rpmdb: write: 0xbfffd520, 8192: No space left on device
error: db3 error(28) from dbenv->open: No space left on device
error: cannot open Packages index

3)  Recently when I try to print (RH 7.2, i686, HPD722C) I get the error
message: "cannot open connection to localhost - Connection refused. Make
sure LPD server is running on the server."  

And when I type: "/sbin/service lpd restart"  -  I get: Stopping
lpd:[FAILED] Starting
lpd:[  OK  ]  I believe this LPD FAILURE is the crux of the
problem....But I've no idea how to fix it.

**** FYI : /etc/hosts reads (correctly I believe):
[root@bgp543409bgs etc]# more hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost

I throw myself at the mercy of your collective wisdom.....help.......

-- 
C Womeldorf
[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to