We help IT Professionals succeed at work.
Get Started

Apache Failing to Start after Accidentally Deleting CRT, ca-bundle and .key

519 Views
Last Modified: 2013-11-08
Unfortunately I made a big mistake today after trying to complete an easy task on my WHM server. I deleted my sites .crt, .key and ca-bundle files causing Apache to fail, and all of my sites to go down. With my technician unavailable until tomorrow, I'm stuck with a downed site and only my minimal technical knowledge to correct it, so any assistance is greatly appreciated.

Anyways here is where I'm at, I re-created my .key and .crt file using the following method: http://www.akadia.com/services/ssh_t...rtificate.html

However now when I try and start Apache I get this error:

service httpd restart
[Wed Apr 14 18:54:58 2010] [error] VirtualHost xx.x.227.xxx:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed Apr 14 18:54:58 2010] [warn] NameVirtualHost xx.x.227.xxx:80 has no VirtualHosts
[Wed Apr 14 18:54:58 2010] [warn] NameVirtualHost xx.x.227.xxx:80 has no VirtualHosts
[Wed Apr 14 18:54:58 2010] [warn] NameVirtualHost xx.x.227.xxx:80 has no VirtualHosts
httpd not running, trying to start

I'm really unsure what to do, any assistance would be greatly appreciated!

Also I should post the results of: service httpd status

Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/whm-server-status
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE