Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #178183

unattended-upgrades: apache won't restart

From Yasir Assam <home@endlessvoid.com>
Newsgroups linux.debian.user
Subject unattended-upgrades: apache won't restart
Date 2017-02-27 03:30 +0100
Message-ID <tfjex-7ct-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Running Jessie. Every time apache is upgraded through
unattended-upgrades, it isn't restarted.

Here's an excerpt from syslog:

  Feb 27 06:41:32 musomates systemd[1]: Starting LSB: Apache2 web server...
  Feb 27 06:41:32 musomates apache2[24650]: Starting web server: apache2.
  Feb 27 06:41:33 musomates apache2[24659]: Stopping web server: apache2.
  Feb 27 06:41:33 musomates systemd[1]: Started LSB: Apache2 web server.

Here's what it looks like when I run aptitude upgrade manually on a
different machine, not via unattended-upgrades:

  Feb 27 12:06:50 buildoneforme systemd[1]: Stopping LSB: Apache2 web
server...
  Feb 27 12:06:52 buildoneforme apache2[11958]: Stopping web server:
apache2.
  Feb 27 12:06:52 buildoneforme systemd[1]: Starting LSB: Apache2 web
server...
  Feb 27 12:06:52 buildoneforme apache2[11983]: Starting web server:
apache... <snip>
  Feb 27 12:06:53 buildoneforme systemd[1]: Started LSB: Apache2 web server.

On the machine with unattended-upgrades running, it looks like it's
trying to start apache before stopping it. Obviously it should be the
other way round.

Anyone have a clue what's going on here?

Yasir

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

unattended-upgrades: apache won't restart Yasir Assam <home@endlessvoid.com> - 2017-02-27 03:30 +0100
  Re: unattended-upgrades: apache won't restart Yasir Assam <home@endlessvoid.com> - 2017-02-28 22:30 +0100

csiph-web