installation problem through yum
by Rohit Gupta
I recently installed fedora in our EE HOD (prof. SM) computer and We
are having the following problem.
I have connected the computer through local mirror and everything gets
downloaded, dependencies resolved. It just cannot install the
package.
[root@satadal satadal]# yum install vlc
Loaded plugins: refresh-packagekit
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal
error, run database recovery
error: cannot open Packages index using db3 - (-30975)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 84, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
enabled_plugins=self.optparser._splitArg(opts.enableplugins))
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 192,
in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 758, in
readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot,
startupconf.distroverpkg)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 828, in
_getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
[root@satadal satadal]#
I also tried with the simple rpm file.
[root@satadal Download]# rpm -Uvh fuse-sshfs-2.1-1.fc10.i386.rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal
error, run database recovery
error: cannot open Packages index using db3 - (-30975)
error: cannot open Packages database in /var/lib/rpm
warning: fuse-sshfs-2.1-1.fc10.i386.rpm: Header V3 DSA signature:
NOKEY, key ID 4ebfc273
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal
error, run database recovery
error: cannot open Packages database in /var/lib/rpm
[root@satadal Download]#
Please add CC while replying as : rohit.kgec(a)gmail.com
Regards:
Rohit Gupta
KGEC
15 years
top swap interpretation help?
by Dave Stevens
Hi,
When I run top I sometimes see a figure for swap that seems to be relatively
constant. Is it the case that the figure shown is the maximum swap that has
been used?
Dave
--
Canada must refuse to be entangled in any more wars fought to make the world
safe for capitalism.
-- The Regina Manifesto, 1933
15 years
sendmail "accept unresolvable domains" issue
by Frank Cox
I just physically moved a mailserver across the street to a new office, and
also moved it onto a different ISP.
I changed /etc/resolv.conf to the new ISP's dns servers.
Suddenly I can't receive any mail from anybody.
sendmail[3380]: n2V6Sw4k003380: ruleset=check_m
ail, arg1=<ltsp-discuss-bounces(a)lists.sourceforge.net>, relay=[142.165.72.21], r
eject=451 4.1.8 Domain of sender address ltsp-discuss-bounces(a)lists.sourceforge.
net does not resolve
And so on. Everything is rejected with a 451 4.1.8.
I uncommented "dnl FEATURE(`accept_unresolvable_domains')dnl" in sendmail.mc,
and now I can receive mail again.
I can dig any mx record from that server without any problem and I can send
email out to anyone without problem too.
So what did I not change? It worked fine before as it was, and as I said, all I
did was move the machine across the street, give it a new IP address and
edit /etc/resolv.conf. In fact, I didn't even give the actual machine a new
address. It lives behind a router and all I had to do was give the router the
new WAN address.
--
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
15 years
OT: Network setup - NAT
by Hiisi
Dear Fedora crowd!
I've a desktop running Fedora 10 connected to the Internet via LAN.
There's 3 network controllers in the desktop. One integrated to the
motherboard and two additional. I would like to connect other computers
(two laptops, one running fc9 and the other Window$ XP) to the Internet
via the desktop. I googled the question and found out that I need to
adjust thing called 'NAT'. For that purpose I did the following:
iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -j SNAT --to-source
192.168.*.* where 192.168.*.* - is desktop' IP address. I want to use
192.168.2.0/24 as a network for laptops. I activated one of devices
(eth1), gave it IP address: ifconfig eth1 192.168.2.0/24 and connected
f9 laptop to it. On the laptop I activated eth0 with the same IP. The
problem is: it doesn't work. I can't ping anything from the laptop
except its own address (192.168.2.0). What should I do? Any help will be
appreciated.
Thanks in advance.
--
Hiisi.
15 years
Re: OT: Network setup - NAT
by Hiisi
> Tim wrote:
> > On Sun, 2009-03-29 at 15:08 -0500, Mikkel L. Ellertson wrote:
> >> You will also have to add routes on all the machines. If you have
> >> configured ifcfg-eth0 correctly on the laptops, they will already
> >> have the routes.
> >
> > I've never had to add routes, just giving my network configurations
> > network masks and a gateway address has always done the trick for me
> > (configured through my DHCP server, these days).
> >
> I guess I should have expressed it better. If you have the network
> and gateway specified in the ifcfg-eth0 file on the laptop, the
> scripts will configure the routes for you. (I believe Windows does
> the same thing with its network config information.) On the F10
> machine, you will not want the gateway specified for the the
> interfaces that have the laptops connected.
>
> Now, if you have one laptop connected to each interface, and you are
> using the same network range for both, then you are probably better
> off using a PtP (PPP) setup, and proxyarp.
>
> Mikkel
> --
>
> Do not meddle in the affairs of dragons,
> for thou art crunchy and taste good with Ketchup!
OK. Thanks for replaying. I'll try the script. And it's a good
proposition about PtP. I'll check it in case the script won't work
magically.
--
Hiisi.
15 years
Root Login
by Smith, Herb
All,
This may be a dumb question, but I noticed that with my upgrade to FC10,
the login page no longer allows me to login as root. I'm sure this is a
feature, but the question is, how does one login as root these days? I
can still su to root in a command window, no problem.
TIA,
Herb
15 years
burn dot-files??
by Beartooth
I've installed Eeebuntu Base to an EeePC 701 and installed Alpine
2.0 (the only mailer I give a shrivelled electron for). I want to add
the .pinerc, and the .addressbook that I've been tweaking since before
AOL or the Web; but nothing I can find today by way of a diskburner seems
even to see dot files.
Do I have to use scp over my LAN?? Icould swear I've done it both
ways before now ...
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.
15 years
Problem booting CentOS 5.2 machine
by John Aldrich
I have a CentOS 5.2 machine that is refusing to get past starting the
System Message Bus. This machine is tied into an Active Directory as a test
mail server. A little Googling shows that it's somehow related to being
unable to talk to the LDAP server. How do I figure out what's causing the
problem? Yesterday before rebooting the server, I downloaded and installed
a newer version of NMAP on it, and suddenly yesterday, shortly after I
rebooted it, it won't finish booting. As I said, I looked for an answer on
Google and found that it's tied into LDAP, but I'm not sure 1) what is
causing the problem and 2) how to solve it.
Can someone here please provide some help? I'm not exactly a linux newbie,
but I am new to tieing linux into Active Directory.
15 years
Need a Fedora CD.
by H.Sobhan Shams
Hi.
I am Shams, from Khulna University Engineering & Technology. I need a Fedora boot able CD.
Plz send me one copy as early as possible.
With Thanks
Shams
Room no- 301
Fazlul Haque Hall.
Khulna University Engineering & Technology
Khulna.
15 years
error by packagekit?, can't yum update
by Antonio Olivares
The following comes up by PackageKit:
Error Type: <type 'exceptions.ValueError'>
Error Value: Error parsing '5 # was 3': invalid integer value
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2314, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2310, in main
backend = PackageKitYumBackend('', lock=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 182, in __init__
self.yumbase = PackageKitYumBase(self)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2253, in __init__
self.repos.confirm_func = self._repo_gpg_confirm
File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 589, in <lambda>
repos = property(fget=lambda self: self._getRepos(),
File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 395, in _getRepos
self._getConfig() # touch the config class first
File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 192, in _getConfig
self._conf = config.readMainConfig(startupconf)
File : /usr/lib/python2.5/site-packages/yum/config.py, line 778, in readMainConfig
yumconf.populate(startupconf._parser, 'main')
File : /usr/lib/python2.5/site-packages/yum/config.py, line 493, in populate
setattr(self, name, value)
File : /usr/lib/python2.5/site-packages/yum/config.py, line 86, in __set__
raise ValueError('Error parsing $r: $s' $ (value, str(e)))
going to CLI yum, I get:
[root@localhost ~]# yum clean all
Loaded plugins: refresh-packagekit
Options Error: Error parsing '5 # was 3': invalid integer value
[root@localhost ~]# yum clean metadata
Loaded plugins: refresh-packagekit
Options Error: Error parsing '5 # was 3': invalid integer value
[root@localhost ~]# yum update
Loaded plugins: refresh-packagekit
Options Error: Error parsing '5 # was 3': invalid integer value
Any tricks/hacks to fix this?
Thanks in Advance,
Antonio
15 years