Apache won't restart after sudo upgrade, but old conf

November 12, 2016 1.8k views
Apache Ubuntu

after a sudo upgrade my server is not starting anymore

i have no idea how to troubleshoot

and my error.log only has one line which is just a warning…

[Sat Nov 12 16:50:49.485565 2016] [ssl:warn] [pid 1658] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)

i’m desperate… i have no clue…and the website is down after so much work :(((
everything was working fine earlier today....

1 Answer

How is this one going? I’m bit late and I hope it got working for you.

Anyways, this is not a error, as you see it’s a warn. That mean it warnings you about potential problem but Apache should be working.

What I recommend you to do is to run config tests.
If you run:

  • sudo apachectl configtest

it’ll test your Apache configuration for syntax errors.

Example output of configtest
  • AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using Set the 'ServerName' directive globally to suppress this message
  • Syntax OK

It does show warning, but syntax is OK and Apache is working well.

Verify that your site is enabled. You can list all enabled sites with ls:

  • sudo ls -l /etc/apache2/sites-enabled/

Or try to enable site again with sudo a2ensite site-name.

Have another answer? Share your knowledge.