Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 00_default_ssl_vhost.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tberger2
n00b
n00b


Joined: 05 Feb 2013
Posts: 65

PostPosted: Fri Aug 11, 2017 9:41 am    Post subject: [SOLVED] 00_default_ssl_vhost.conf Reply with quote

After upgrading www-servers/apache (2.4.25->2.4.27) I've got
Code:
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:443

apache did'nt start anymore. Solved it by removing (renaming) 00_default_ssl_vhost.conf. So what do I need this file? Is it okay to remove it? I have a custom virtual host file in /etc/apache2/vhosts.d listening at 443.

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]


Last edited by tberger2 on Sun Aug 13, 2017 10:24 am; edited 1 time in total
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 550
Location: France

PostPosted: Fri Aug 11, 2017 1:41 pm    Post subject: Reply with quote

As its name says, 00_default_ssl_vhost.conf is a default SSL vhost configuration file. If you already defined a virtualhost in another configuration file, you don't need it.
To avoid that file respawn, you could add /etc/apache2/vhosts.d in the CONFIG_PROTECT variable.
You could also remove "-D SSL_DEFAULT_VHOST" in APACHE2_OPTS into /etc/conf.d/apache2. And so, even if the file exists, the virtualhost definition will be ignored.
Back to top
View user's profile Send private message
tberger2
n00b
n00b


Joined: 05 Feb 2013
Posts: 65

PostPosted: Fri Aug 11, 2017 2:19 pm    Post subject: Reply with quote

Thank you! Any idea why this issue came up with the new apache version?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum