Results 1 to 8 of 8

Thread: Need help with apache2 error in log

  1. #1

    Question Need help with apache2 error in log

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

    Code:
    [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?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,669
    Blog Entries
    15

    Default Re: Need help with apache2 error in log

    Quote Originally Posted by heyjoe View Post
    Each restarting of apache2 service gives this in /var/log/apache2/error_log:

    Code:
    [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...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Need help with apache2 error in log

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

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,669
    Blog Entries
    15

    Default Re: Need help with apache2 error in log

    Quote Originally Posted by heyjoe View Post
    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.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Need help with apache2 error in log

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

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,669
    Blog Entries
    15

    Default Re: Need help with apache2 error in log

    Quote Originally Posted by heyjoe View Post
    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;
    Code:
    journalctl -u httpd
    You can fileter by time, since last boot etc... Have a read here: http://0pointer.de/blog/projects/journalctl.html
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: Need help with apache2 error in log

    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):

    Code:
    # 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. --

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,669
    Blog Entries
    15

    Default Re: Need help with apache2 error in log

    Quote Originally Posted by heyjoe View Post
    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):

    Code:
    # 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...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •