YUM Installation Problem Another Copy Is Running /var/run/yum.pid

[root@Error ~]# yum install httpd*
Loading "installonlyn" plugin
------------------------
Processiong file from repoistary
-------------------------
Setting up repositories
Reading repository meta data in from local files

[1]+ Stopped yum install httpd*
[root@Error ~]# yum install http*
Existing lock /var/run/yum.pid: another copy is running. Aborting.

Solution For that Problem.
Go to the cd /var/yp directory
Remove yum.pid file

Then Try it it will work perfectly without any issue.

Related post