logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Unit file of apache2.service changed on disk
Author
RonR



Joined: 22 Sep 2016
Posts: 1
Location: USA, Ash Flat, AR

PostPosted: Thu 22 Sep '16 7:26    Post subject: Unit file of apache2.service changed on disk Reply with quote

Apache/2.4.10 (Raspbian)

Anyone know what's changed recently with regard to apache2? This only started happening recently:

After a fresh install of Raspbian Jessie Lite (2016-05-27), I install apache2:

root@raspberrypi:~# apt-get install apache2

At this point, 'service apache2 restart' executes with no warning.

root@raspberrypi:~# service apache2 restart
root@raspberrypi:~#

Following a reboot, however, I get a warning:

Last login: Wed Sep 21 14:31:14 2016 from gigabyte
root@raspberrypi:~# service apache2 restart
Warning: Unit file of apache2.service changed on disk, 'systemctl daemon-reload' recommended.
root@raspberrypi:~#

Following the recommendation eliminates the warning:

root@raspberrypi:~# systemctl daemon-reload
root@raspberrypi:~# service apache2 restart
root@raspberrypi:~#

After a reboot, however, the problem is back. No changes are being made anywhere.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Mon 26 Sep '16 11:15    Post subject: Reply with quote

I saw also the Q on reddit https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=160476

Best to post your Q at the dev list: http://httpd.apache.org/lists.html#http-dev There are Apache Debian/Jessie maintainers around.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 11 Oct '16 21:36    Post subject: Reply with quote

This is a message of systemd, not Apache. Either apache2.service file really changes (gets rewritten by something?), or (more likely) it's a bug of systemd. As long as Apache starts successfully and it is not mission critical I would ignore this message.
Back to top


Reply to topic   Topic: Unit file of apache2.service changed on disk View previous topic :: View next topic
Post new topic   Forum Index -> Apache