• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Apache stops some days at the same time and never restarts

Albertrr86

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.42_build1800220314.17
Hello, I have a problem a I can't find the solution.

Some days the apache stops and never restarts again until I restart it manually. It seems like a restart routine every day, but some days it fails and does not restart again.

If anyone can help me I'd appreciate a lot. Thank you very much.

This is the log (full log in the file):


May 12 05:17:01 h2943014 CRON[13183]: (psaadm) CMD (/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/sslit/scripts/panel-notifications.php')
May 12 05:17:15 h2943014 postfix/smtpd[13185]: warning: hostname zg-0421e-106.stretchoid.com does not resolve to address 192.241.222.138
May 12 05:17:15 h2943014 postfix/smtpd[13185]: connect from unknown[192.241.222.138]
May 12 05:17:15 h2943014 postfix/smtpd[13185]: disconnect from unknown[192.241.222.138] ehlo=1 quit=1 commands=2
May 12 05:18:00 h2943014 systemd[1]: Started Plesk task: trash-rotate (task=4003 process=4003 trace=13604:627c7c684436b).
May 12 05:18:00 h2943014 systemd[1]: Stopped Plesk task: trash-rotate (task=4003 process=4003 trace=13604:627c7c684436b).
May 12 05:18:07 h2943014 systemd[1]: Started Plesk task: Refresh APS catalog cache (task=4004 process=4004 trace=13700:627c7c6d8eb4f).
May 12 05:18:10 h2943014 systemd[1]: Stopped Plesk task: Refresh APS catalog cache (task=4004 process=4004 trace=13700:627c7c6d8eb4f).
May 12 05:18:38 h2943014 systemd[1]: Stopping Perl-based spam filter using text analysis...
May 12 05:18:38 h2943014 spamd[9423]: spamd: server killed by SIGTERM, shutting down
May 12 05:18:38 h2943014 systemd[1]: Stopped Perl-based spam filter using text analysis.
May 12 05:18:38 h2943014 systemd[1]: Starting Perl-based spam filter using text analysis...
May 12 05:18:40 h2943014 spamd[14276]: logger: removing stderr method
May 12 05:18:43 h2943014 spamd[14278]: zoom: able to use 395/397 'body_0' compiled rules (99.496%)
May 12 05:18:43 h2943014 spamd[14278]: spamd: server started on IO::Socket::IP [127.0.0.1]:783 (running version 3.4.2)
May 12 05:18:43 h2943014 spamd[14278]: spamd: server pid: 14278
May 12 05:18:43 h2943014 spamd[14278]: spamd: server successfully spawned child process, pid 14279
May 12 05:18:43 h2943014 spamd[14278]: spamd: server successfully spawned child process, pid 14280
May 12 05:18:43 h2943014 spamd[14278]: prefork: child states: IS
May 12 05:18:43 h2943014 spamd[14278]: prefork: child states: II
May 12 05:18:43 h2943014 systemd[1]: Started Perl-based spam filter using text analysis.
May 12 05:18:44 h2943014 systemd[1]: Reloading The Apache HTTP Server.
May 12 05:18:44 h2943014 apachectl[14329]: /usr/sbin/apachectl: 98: /usr/sbin/apachectl: Cannot fork
May 12 05:18:44 h2943014 systemd[1]: apache2.service: Control process exited, code=exited status=2
May 12 05:18:44 h2943014 systemd[1]: Reload failed for The Apache HTTP Server.
May 12 05:18:50 h2943014 apache_control_adapter[14301]: graceful restart failed, perform full restart
May 12 05:18:58 h2943014 systemd[1]: Stopping The Apache HTTP Server...
May 12 05:18:58 h2943014 apachectl[14469]: /usr/sbin/apachectl: 98: /usr/sbin/apachectl: Cannot fork
May 12 05:18:58 h2943014 systemd[1]: apache2.service: Control process exited, code=exited status=2
May 12 05:19:01 h2943014 CRON[14481]: (psaadm) CMD (/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/monitoring/scripts/cloud-alerts.php')
May 12 05:19:10 h2943014 systemd[1]: apache2.service: Failed with result 'exit-code'.
May 12 05:19:10 h2943014 systemd[1]: Stopped The Apache HTTP Server.
May 12 05:19:12 h2943014 systemd[1]: Starting The Apache HTTP Server...
May 12 05:19:12 h2943014 systemd[1]: Started The Apache HTTP Server.
May 12 05:19:21 h2943014 apachectl[14720]: httpd (pid 14575?) not running
 

Attachments

  • syslog.zip
    2.8 KB · Views: 0
Please have a look at this thread:

 
Back
Top