Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: Drifting on February 05, 2016, 03:13:37 PM
-
I have no idea what has caused this, wonder what <module> is ?
Any ideas?
yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in <module>
import yum
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 43, in <module>
import logging
File "/usr/lib64/python2.6/logging/__init__.py", line 43, in <module>
import threading
EOFError: EOF read where object expected
-
What about telling us what you did and how?
-
Ok, this was a clean install of the latest version 9
Did a restore from a ersion 8 backup I had. Have not installed anything else yet, but thought I should update it.
So hence the yum update, and the error.
-
Delete yum_repository db (or just rename it) and call initialize-default-database action (can't be verbose with phone) and try again
-
Hi,
I assume this is what you were telling me to do?
[root@acc ~]# rm -f /var/lib/rpm/__db*
[root@acc ~]# rpm --rebuilddb
[root@acc ~]#
[root@acc ~]# yum clean all
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in <module>
import yum
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 43, in <module>
import logging
File "/usr/lib64/python2.6/logging/__init__.py", line 43, in <module>
import threading
EOFError: EOF read where object expected
Still has a problem? Any further recommendations?
Paul
-
no
mv /home/e-smith/db/yum_repositories /home/e-smith/db/yum_repositories.old
/etc/e-smith/event/actions/initialize-default-databases
signal-event yum-modify
yum --noplugins --enablerepo=* clean all
yum --noplugins update
you'd tell us all the real story of the new server since it seems to me you having issue with yum/python, so tell us exactly what you did and how you did it
-
If you mean did I try to install something? Yes, I was trying to install PHPKI, however I got the same message, and it did not install. Nothing else and I mean NOTHING else was installed, and this clean, and then I restored a previous backup. Why you would think I would hide something when I was trying to get help?
Followed you instructions :-
Got up to here and this is the result
./initialize-default-databases
Migrating existing database spamassassin
Migrating existing database networks
Migrating existing database hosts
Migrating existing database mailpatterns
Migrating existing database domains
Creating database yum_repositories and setting defaults
Creating database yum_updates and setting defaults
Creating database yum_available and setting defaults
Migrating existing database backups
Creating database yum_installed and setting defaults
Migrating existing database configuration
Migrating existing database accounts
[root@accent1 actions]# signal-event yum-modify
[root@accent1 actions]# yum --noplugins --enablerepo=* clean all
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in <module>
import yum
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 43, in <module>
import logging
File "/usr/lib64/python2.6/logging/__init__.py", line 43, in <module>
import threading
EOFError: EOF read where object expected
-
ok.. something is definitely broken on your server and this should not happen
please, open a bug in bugzilla asap, reporting all the needed info and linking to this topic
once done, please report back here the bug reference
thank you
-
ok.. something is definitely broken on your server and this should not happen
please, open a bug in bugzilla asap, reporting all the needed info and linking to this topic
once done, please report back here the bug reference
thank you
Hopefully I did it right? Bug 9234
Paul
-
You did it :-)
Thank you again