LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2017, 01:22 PM   #1
totalwebsmedia
LQ Newbie
 
Registered: Jan 2017
Posts: 2

Rep: Reputation: Disabled
Centos-Not installing httpd


hello guys, i am trying to reinstall the httpd but getting following error

Error unpacking rpm package httpd-2.2.15-56.el6.centos.3.x86_64
error: unpacking of archive failed on file /usr/lib64/httpd: cpio: mkdir
Verifying : httpd-2.2.15-56.el6.centos.3.x86_64

Need Help
 
Old 01-29-2017, 02:41 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by totalwebsmedia View Post
hello guys, i am trying to reinstall the httpd but getting following error

Error unpacking rpm package httpd-2.2.15-56.el6.centos.3.x86_64
error: unpacking of archive failed on file /usr/lib64/httpd: cpio: mkdir
Verifying : httpd-2.2.15-56.el6.centos.3.x86_64

Need Help
Read the "Question Guidelines" link in my posting signature. You don't tell us what version of CentOS you're using on what architecture, or why you're trying to reinstall Apache, so there's not much we can tell you besides guessing "the package is corrupt".

You don't say where you got this package either...
 
Old 01-29-2017, 11:59 PM   #3
yadheesh
LQ Newbie
 
Registered: May 2015
Location: Bangalore
Distribution: Cent-OS
Posts: 18

Rep: Reputation: Disabled
Try to Install package by using YUM with EPEL Repository,, So that you can download & install,,
 
Old 02-06-2017, 07:58 AM   #4
Thiefy
LQ Newbie
 
Registered: Jul 2016
Posts: 24

Rep: Reputation: Disabled
I agree with yadheesh try to do
Quote:
sudo yum install epel-release
after that just use YUM to install httpd
 
Old 02-06-2017, 09:27 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
There are several different http packages in the epel repository but none are the original server as posted above.
https://dl.fedoraproject.org/pub/epel/6/x86_64/

I assume you were trying to reinstall apache via yum i.e.:
yum reinstall httpd

In addition to what TB0ne posted what problems were you having that you need to reinstall apache?

Last edited by michaelk; 02-06-2017 at 09:30 AM.
 
Old 02-06-2017, 11:49 AM   #6
totalwebsmedia
LQ Newbie
 
Registered: Jan 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
[solved]

Looks like VPS files were corrupted so got them fixed and its working fine now.

Thanks Guys !!
 
Old 02-06-2017, 12:14 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://wiki.apache.org/httpd/DistrosDefaultLayout
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error unpacking rpm package httpd-2.2.15-45.el6.centos.x86_64 on centos 6.5 rookie5 Linux - Server 5 01-09-2019 05:55 PM
Error unpacking rpm package httpd-2.2.15-45.el6.centos.x86_64 on centos 6.5 rookie5 Linux - Newbie 1 08-16-2015 11:14 AM
installing httpd services on centos 6.5 rookie5 Linux - Newbie 7 08-16-2015 07:20 AM
Re-installing httpd on CentOS 6.2 dazdaz Red Hat 9 03-19-2012 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration