The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem on install csaunders SUN Solaris 1 12-17-2008 02:53 PM
Install Sophos Problem rickhlwong AIX 2 08-01-2008 04:43 AM
Problem after Install SUN solaris x86 quan0509 SUN Solaris 7 07-24-2008 05:07 PM
The problem after install gcc on AIX 5.3 zither AIX 1 01-02-2008 12:44 AM
SCO openserver 5 install problem immulett Filesystems, Disks and Memory 1 09-25-2002 10:47 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 06-23-2009
wsetchell wsetchell is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 6
RPM install problem

I'm trying to install mysql on a server, but I keep getting an error. Can anyone offer any help?

Below I've listed a bunch of info that you might find helpful.

Here are the commands I'm using.

$ ls
MySQL-client-community-5.1.35-0.rhel3.i386.rpm
MySQL-server-community-5.1.35-0.rhel3.i386.rpm
$ rpm -i MySQL-server-community-5.1.35-0.rhel3.i386.rpm
warning: MySQL-server-community-5.1.35-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
$ rpm -i MySQL-client-community-5.1.35-0.rhel3.i386.rpm
warning: MySQL-client-community-5.1.35-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
$


I'm pretty sure that the RPM files are OK based on this

$ rpm -qpl MySQL-server-community-5.1.35-0.rhel3.i386.rpm
warning: MySQL-server-community-5.1.35-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
/etc/init.d/mysql
/etc/logrotate.d/mysql
/usr/bin/innochecksum
/usr/bin/my_print_defaults
/usr/bin/myisam_ftdump
/usr/bin/myisamchk
...
/usr/share/mysql/swedish/errmsg.sys
/usr/share/mysql/ukrainian
/usr/share/mysql/ukrainian/errmsg.sys


I'm pretty sure I have the correct installation files. I have an intel Xeon processor and I downled the x86 RPM files.


---------- Post updated at 02:12 PM ---------- Previous update was at 12:57 PM ----------

I got my issue figured out. I needed to be root.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0