SSL server IP/port conflict error

yousef

Verified User
Joined
Apr 1, 2009
Messages
6
Hi,

I am getting SSL server IP/port conflict error on one of our DA server. I also get Init: You should not use name-based virtual hosts in conjunction with SSL!!

I guess this could be because of multiple SSL domains on same IP. If that is true, how can I correct this.

Thanks
 
You shouldn't have multiple SSL domains on the same IP#.

DirectAdmin allows you to have multiple domains on the same user, with a dedicated IP#, and if so, then one of the domains can have SSL enabled.

If you do it that way, then you'll get the warnings, but everything will still work.

Jeff
 
Thanks Jeff,

Yes we do have Users with multiple domains on single IP.
But every thing doesn't work well rather Apache is going down automatically along with all the sites.
 
Those are warnings, and warnings don't shutdown Apache. There must be an error in the logs, probably unrelated to this matter.
 
Why not post the error instead of wasting our time.
 
Here is the error_log

www.domainname.com:443

(/usr/local/directadmin/data/users/userame/httpd.conf:48)
[Wed Apr 15 03:00:20 2009] [warn] Init: SSL server IP/port conflict: shared.domain:443 (/etc/httpd/conf/ips.conf:159)

www.domainname.com:443

(/usr/local/directadmin/data/users/username/httpd.conf:48)
[Wed Apr 15 03:00:20 2009] [warn] Init: SSL server IP/port conflict: shared.domain:443 (/etc/httpd/conf/ips.conf

www.domainname.com:443
(/usr/local/directadmin/data/users/username/httpd.conf:48)
[Wed Apr 15 03:00:20 2009] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!

Any Advise
 
Those are warnings. Don't you see the "[warn]" prefix?
There are other warnings or errors (for example at httpd.conf:48, but you copied only half a line), you will have to copy at least 20 last lines of your errors log, not only the one that you think is worth copying.
And don't obscure your domain, it's completely useless.

If you really have only that warning, it means that Apache crashes without logging anything. If that's the case, you should try to run "/etc/init.d/httpd start" from the command line and see what happens there. There is probably something wrong with your binary and you can try rebuilding Apache and PHP (if it's CLI).
 
That was solved

I try to restart apache but it responded with Virtual Hosts Overlaping errors/warings.

It was figured out as there were some ssl hosts sharing IPs. Once I gave them unique IPs, error/warns was disappeared from the logs.



Thanks
 
Back
Top