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


Groups > linux.debian.user > #178183 > unrolled thread

unattended-upgrades: apache won't restart

Started byYasir Assam <home@endlessvoid.com>
First post2017-02-27 03:30 +0100
Last post2017-02-28 22:30 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.debian.user


Contents

  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

#178183 — unattended-upgrades: apache won't restart

FromYasir Assam <home@endlessvoid.com>
Date2017-02-27 03:30 +0100
Subjectunattended-upgrades: apache won't restart
Message-ID<tfjex-7ct-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#178297

FromYasir Assam <home@endlessvoid.com>
Date2017-02-28 22:30 +0100
Message-ID<tfXvk-1v9-23@gated-at.bofh.it>
In reply to#178183
Can anyone help with this?

Just to be clear, after apache is upgraded via unattended-upgrades,
apache is in the stopped state. I have to manually start it again.

On 27/02/2017 12:45 PM, Yasir Assam wrote:
> 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
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web