New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaving domain empty during installation cause Apache Failure #294

Open
cepix opened this Issue Mar 28, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@cepix

cepix commented Mar 28, 2017

Operating System: Ubuntu 14.04.5 LTS

Operating System Version number:
(GNU/Linux 3.13.0-107-generic x86_64)

Sentora Version: Stable (installed by bash <(curl -L -Ss http://sentora.org/install) )

Issue: Sentora won't start (because of apache error)

ubuntu@ip-172-31-17-13:/var/log/apache2$ apache2ctl start
AH00526: Syntax error on line 15 of /etc/sentora/configs/apache/httpd-vhosts.conf:
ServerName takes one argument, The hostname and port of the server
Action 'start' failed.

How to reproduce it:
During installation, set null sub-domain

Suggested fix or solution if you have any:
If sub-domain is null, set apache config to use ServerName value to localhost

Comment: Although this issue and resolution is somewhat known, I could not find open issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment