[warn] NameVirtualHost 82.103.134.242:80 has no VirtualHosts

jonas1045

New member
Joined
Apr 25, 2010
Messages
3
Hi, have a problem with SSL and NameVirtualHost..
I get the problem first time then i buy a SSL certificate from globessl. I could not set it up self, so i pay them for to set it up. They set it up and after 1-3 days i don´t know precise, the httpd/apache turn off, and then i try to start it again i get this error:
Code:
[root@srv1 ~]# apachectl -k restart
Syntax error on line 23 of /etc/httpd/conf/ips.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty
httpd not running, trying to start

I contact globessl again and they set it up again and all thing works. But now again after 1-3 days httpd is down again. I try to fix it with some guides around the internet but nothing works, and now then i try to start httpd/apache i get this error:
Code:
[root@srv1 ~]# apachectl -k graceful
[Sun Apr 25 14:50:10 2010] [warn] NameVirtualHost 82.103.134.242:80 has no VirtualHosts
[Sun Apr 25 14:50:10 2010] [warn] NameVirtualHost 82.103.134.242:443 has no VirtualHosts
[Sun Apr 25 14:50:10 2010] [warn] NameVirtualHost 82.103.135.111:80 has no VirtualHosts
[Sun Apr 25 14:50:10 2010] [warn] NameVirtualHost 82.103.135.111:443 has no VirtualHosts
httpd not running, trying to start

I really hope someone can help me.
 
Does the file exist? Or did they put it somewhere else and change the file? If they changed the file, then it's possible that DirectAdmin rewrote the file. No one should ever change ips.conf.

That said, note that warnings are warnings, and that's not the reason httpd can't start. We all get those warnings; they're a by-product of how DirectAdmin sets up apache.

Jeff
 
Try to copy /usr/local/directadmin/data/templates/ips.conf to DA's /usr/local/directadmin/data/templates/custom directory, locate the crt file, and alter the correct path in ips.conf......
 
Error log:
[Mon Apr 26 10:23:33 2010] [warn] RSA server certificate CommonName (CN) `starhost.dk' does NOT match server name!?
[Mon Apr 26 10:23:33 2010] [error] Unable to configure RSA server private key
[Mon Apr 26 10:23:33 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

Peter Laws i have try that but it dosen´t work.
 
Back
Top