Seeing Apache2 Errors

🛈 SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.3
Webmin version 1.984

I am seeing these errors in the /var/log/apache2/error.log

Is this expected or is something wrong?

PHP Warning:  Module 'intl' already loaded in Unknown on line 0
PHP Warning:  Module 'pspell' already loaded in Unknown on line 0
PHP Warning:  Module 'zip' already loaded in Unknown on line 0
[Sun Feb 06 16:14:45.491415 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00493: SIGUSR1 received.  Doing graceful restart
[Sun Feb 06 16:14:45.614049 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Feb 06 16:14:45.614089 2022] [core:notice] [pid 58991:tid 140441310374976] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 06 21:34:08.894183 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00493: SIGUSR1 received.  Doing graceful restart
[Sun Feb 06 21:34:09.525221 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Feb 06 21:34:09.525270 2022] [core:notice] [pid 58991:tid 140441310374976] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 06 21:34:18.082606 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00493: SIGUSR1 received.  Doing graceful restart
[Sun Feb 06 21:34:18.165759 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Sun Feb 06 21:34:18.165790 2022] [core:notice] [pid 58991:tid 140441310374976] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 07 00:00:03.115612 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Feb 07 00:00:03.721270 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Feb 07 00:00:03.721339 2022] [core:notice] [pid 58991:tid 140441310374976] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 07 09:34:28.397645 2022] [mpm_event:notice] [pid 58991:tid 140441310374976] AH00491: caught SIGTERM, shutting down
[Mon Feb 07 09:36:05.906537 2022] [suexec:notice] [pid 542:tid 140472567020608] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Feb 07 09:36:07.651738 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Feb 07 09:36:07.652650 2022] [core:notice] [pid 608:tid 140472567020608] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 07 12:03:28.006474 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Feb 07 12:03:28.527981 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Feb 07 12:03:28.528294 2022] [core:notice] [pid 608:tid 140472567020608] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 07 12:14:34.983085 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Feb 07 12:14:35.080496 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Feb 07 12:14:35.080531 2022] [core:notice] [pid 608:tid 140472567020608] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 07 20:45:39.961319 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Feb 07 20:45:41.569028 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Feb 07 20:45:41.569079 2022] [core:notice] [pid 608:tid 140472567020608] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 07 20:46:15.075064 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00493: SIGUSR1 received.  Doing graceful restart
[Mon Feb 07 20:46:15.149666 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Feb 07 20:46:15.149704 2022] [core:notice] [pid 608:tid 140472567020608] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 08 00:00:03.015770 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00493: SIGUSR1 received.  Doing graceful restart
[Tue Feb 08 00:00:06.261230 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Feb 08 00:00:06.263060 2022] [core:notice] [pid 608:tid 140472567020608] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 08 00:29:08.361848 2022] [mpm_event:notice] [pid 608:tid 140472567020608] AH00491: caught SIGTERM, shutting down
[Tue Feb 08 00:31:41.946617 2022] [suexec:notice] [pid 564:tid 140527673322560] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Feb 08 00:31:42.028437 2022] [mpm_event:notice] [pid 601:tid 140527673322560] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Feb 08 00:31:42.028543 2022] [core:notice] [pid 601:tid 140527673322560] AH00094: Command line: '/usr/sbin/apache2'

I don’t see any errors there. notice is not an error.

Ok, but it is in the “error” log. So this isn’t something I need to worry about then?

Is this something to take care for @Joe?
“Doing graceful restart”
Though it is notice

After how many graceful restarts in x time this is problem?

I don’t understand this question? Graceful restart means someone or something (like Virtualmin) restarted Apache to apply a configuration change. It is not unusual, and it may happen a hundred times or none, based on what people are doing with the server. “How many is a problem?” just doesn’t make sense. It’s not happening at random.

Again, these are notices. They are not errors. They are not indicating anything at all unusual or problematic. You’re not supposed to count them up and panic if there are five of them. If you did five things that changed Apache configuration, you’ll see five restarts (mostly graceful, but some things require a hard restart).

Take it up with the Apache devs. But, it is convention in web servers for “error log” to mean all operational messages (not just errors, you’ll see starts/stops, limit messages, etc.), while “access log” means the access to the websites. They are separated to allow easier parsing of the access log and easier scanning/searching by a human of the error log.

I don’t know why you would worry about it. They’re notices of events. Again, a “notice” is not an error. I don’t know how else to put it.

I did ask while if something wrong it could be a kind of looping restarts, mostly then many in short time period repetive endless.

here not the case!

I guess that would be a problem. But there would be “error” events in the case where Apache is failing to start.

I have just setup the mail / web server, and have been doing a lot of configuration. I’ll watch it and see if once I am done configuring things it settles down… Thanks Joe…

@JoeUser

@JoeUser
Take it up with the Apache devs. But, it is convention in web servers for “error log” to mean all operational messages (not just errors, you’ll see starts/stops, limit messages, etc.), while “access log” means the access to the websites. They are separated to allow easier parsing of the access log and easier scanning/searching by a human of the error log.

thanks… understood.

@Joe
I don’t know why you would worry about it. They’re notices of events. Again, a “notice” is not an error. I don’t know how else to put it.

Understood… Thanks just trying to be sure I dont have an issue on my server…

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.