Hi,
I have a weird problem where all of sudden when I am accessing the virtualmin, system information only being loaded, but sidebar is not shown. The browser tab still showing progress that it is loading but nothing appear for almost more than an hour as I tested so far.
I already tried to restart server, and restart webmin, using below command
/etc/init.d/webmin restart
but always the same. Also, I stopped all the services in virtualmin and reloaded the page.
netstat -an | grep :10000 tcp 0 0 0.0.0.0:10000 0.0.0.0 :* LISTEN udp 0 0 0.0.0.0:10000 0.0.0.0:*
My firewall is set open to port 10000 in amazon ec2 firewall.
I am using Virtualmin GPL 3.65.
Here what I got when I am running, "ls /etc/yum.repos.d"
CentOS-Base.repo CentOS-Base.repo.rpmnew CentOS-Media.repo epel-testing.repo epel.repo virtualmin.repo
When I tried to perform update using, "yum update" command, the update failed. Here what I got
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
virtualmin: # 9/360Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 94, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 381, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand
return base.updatePkgs(extcmds)
File "/usr/share/yum-cli/cli.py", line 672, in updatePkgs
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 109, in doRepoSetup
self.doSackSetup(thisrepo=thisrepo)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 338, in doSackSetup
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 200, in populateSack
sack.populate(repo, with, callback, cacheonly)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 91, in populate
dobj = repo.cacheHandler.getPrimary(xml, csum)
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 100, in getPrimary
return self._getbase(location, checksum, 'primary')
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 93, in _getbase
self.updateSqliteCache(db, parser, checksum, metadatatype)
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 368, in updateSqliteCache
self.addPrimary(pkgId, package, cur)
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 257, in addPrimary
pkgKey = self.insertHash('packages', PackageToDBAdapter(package), cur)
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 204, in insertHash
values = hash.values()
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 459, in values
out.append(self[k])
File "/usr/lib/python2.4/site-packages/yum/sqlitecache.py", line 451, in __getitem__
return self._pkg[self.NAME_MAPS.get(k, k)]
File "/usr/lib/python2.4/site-packages/yum/mdparser.py", line 69, in __getitem__
return self._p[k]
KeyError: 'sourcerpm'
Thanks in advance.
Hmm, you're getting some pretty unusual errors when trying to perform those updates.
Perhaps cleaning out the cache/metadata would help with that.
What if you run this command:
yum clean all
And then attempt running "yum update" again... does it work better at that point?
-Eric
Hi andreychek,
Than you for the reply. After I executed "yum clean all", then I executed "yum update". Here what I got
yum clean all
Loading "installonlyn" plugin
Cleaning up Everything
yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
epel 100% |=========================| 3.6 kB 00:00
virtualmin 100% |=========================| 1.2 kB 00:00
virtualmin-universal 100% |=========================| 1.2 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
http://s3-mirror-us-east-1.fedoraproject.org/pub/epel/5/i386/repodata/28d3c91da300c74ddea012dd75d727a6176c24ea-primary.xml.gz: [E rrno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/28d3c91da300c74ddea012dd75d727a6176c24ea-primary.xml.gz from epel: [Errno 256] No more mirrors to try.\
Howdy,
Okay, it looks like the EPEL repository you have there isn't working properly.
My suggestion would be to disable that, and then try again. I would suggest disabling the repositories associated with the file "epel.repo" and "epel-testing.repo".
-Eric
Hi Eric,
After I disabled the repo, here what I got
Just to verify -- is that what occurs when running "yum update"?
Also, can you paste in the contents of your /etc/issue file?
-Eric