We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

How do I bypass the key check for rpm file?

Effin_Ell
Effin_Ell asked
on
Medium Priority
1,190 Views
Last Modified: 2013-12-15
Attempting to install vsftpd onto Redhat Linux 5.1 as the package wasnt included during the OS installation (no install id/key used as its a VM). When I encounter this:

[root@WCSDEV usr]# rpm -Uvh vsftpd-2.0.1-5.src.rpm
warning:vsftpd-2.0.1-5.src.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
  1:vsftpd           ###################################### [100%]

Doing a find / -name vsftpd doesnt show that it installed at all. Anyone know how I can bypass this key check which appears to have stopped the rpm installing?
Comment
Watch Question

Deepak KosarajuDevOps Engineer

Commented:
check with command
rpm -qa | grep vsftpd.
Now you will notice the rpm is installed to start the ftp service use following commands

#service vsftpd start|stop|restart
To make the service up and running for every reboot use
#chkconfig --level 345 vsftpd on

Open in new window

From that text you posted the rpm has installed successfully
Maciej Ssysadmin
CERTIFIED EXPERT

Commented:
You have installed .src.rpm package, which means, you have now sources available. So it is unlikely, that you will find vsftpd file.

If you don't want to build vsftpd from source, find rpm package (not src.rpm) and then install it.
Deepak KosarajuDevOps Engineer

Commented:
Oh thats true i didn't notice the src in the package name.
try the following command if Yum is setup.

#yum install vsftpd
#rpm -qa | grep vsftpd.
#service vsftpd start|stop|restart
#chkconfig --level 345 vsftpd on

Open in new window

Author

Commented:
Thank you to all who replied.



I compile vsftpd from source:

rpmbuild rebuild vsftpd-2.0.1-5.ELA.7.src.rpm

i then ran:

yum install vsftpd

did a grep but nothing was returned.


Author

Commented:
Using a rpm package didnt work either, mentions a problem that libraries are missing which is what i expected as i cannot locate the right rpm package version level for 5.1. Redhats website doesnt seem to have one which I find very infuriating.
sysadmin
CERTIFIED EXPERT
Commented:
Shouldn't it be "rpmbuild --rebuild vsftpd-2.0.1-5.src.rpm"?
Then, you should find your built rpm somewhere in /usr/src/RPM/RPMS/ (probably - I'm not sure, as I don't use redhat or any other rpm based distro), which you can install with rpm -Uvh command.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Deepak KosarajuDevOps Engineer
Commented:
yum will only work when the server is configured as yum client.
rpmbuild rebuild vsftpd-2.0.1-5.ELA.7.src.rpm  will build the package and keep it under /usr/src/redhat/RPMS/i386/



Author

Commented:
ahh yes i didnt realise it ended up there, i went to usr/src/redhat/RPMS/XXXX and ran the file there, which install vsftpd then i was able to start it (/etc/init.d/vsftpd start) .....FTPing files now - thanks guys!!!!!!

Author

Commented:
thanks guys, saved me a lot of manual work.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.