Need help with apache2 error in log

Each restarting of apache2 service gives this in /var/log/apache2/error_log:

[Thu Jul 07 19:39:16.457465 2016] [mpm_prefork:notice] [pid 5229] AH00163: Apache/2.4.16 (Linux/SUSE) OpenSSL/1.0.1i-fips configured -- resuming normal operations
[Thu Jul 07 19:39:16.457566 2016] [core:notice] [pid 5229] AH00094: Command line: '/usr/sbin/httpd-prefork -f /etc/apache2/httpd.conf -D SYSCONFIG -D SSL -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d/ -D SYSTEMD -D FOREGROUND'

I am using pretty much default settings after a clean install of Leap. All I have done was to configure a few vhosts but this appears even without using them.

Why does this mean and how can it be fixed if it is a real problem?

Hi
It’s just a ‘notice’ as in information on restarting and what it’s doing/passing options etc. Nothing to worry about if it had the word error eg [core:error] this would be of concern…

Thanks! I just thought it might be an error because it is in the error log.

Hi
Probably since the switch to systemd, those log files are more than likely slowly being deprecated, best to use journalctl commands to inspect for errors etc.

How can one use journalctl for Apache? And why is it recommended?

Hi
Because that’s the tool to look at the systemd logs…?

For example;


journalctl -u httpd

You can fileter by time, since last boot etc… Have a read here: systemd for Administrators, Part XVII

But are web server logs systemd logs? IOW: is it a job of the journalctl to log errors related to web sites?

It also seems that doesn’t work (at least not out of the box):


# journalctl -u httpd
-- Logs begin at Wed 2016-07-06 16:29:36 EEST, end at Thu 2016-07-07 22:39:10 EEST. --
# journalctl -u wwwrun
-- Logs begin at Wed 2016-07-06 16:29:36 EEST, end at Thu 2016-07-07 22:39:10 EEST. --

Hi
Or nothing of note to report…