• 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

Apache hangs ... (Tomcat is causing this?)

L

linuxxphybrid

Guest
Apache hangs from now and then, and it started happening a couple of days ago. Tech support tells me that he speculates that Tomcat might be causing this, but he doesn't know for sure. Since both Apache and Tomcat are a part of Plesk, I figured that this might be a good place to ask for help. The following is a part of a copy of my error_log. What is really causing this? Why does Apache hang? Why did this start a couple of days ago all of the sudden?

...

[Wed Nov 09 09:54:17 2005] [notice] Apache/2.0.46 (Red Hat) configured -- resuming normal operations
[Wed Nov 09 10:31:21 2005] [error] [client 65.54.188.13] File does not exist: /home/httpd/vhosts/default/htdocs/robots.txt
[Wed Nov 09 10:31:21 2005] [error] [client 65.54.188.13] File does not exist: /home/httpd/vhosts/default/htdocs/forum-2.html
[Wed Nov 09 11:52:32 2005] [error] [client 194.72.238.61] File does not exist: /home/httpd/vhosts/default/htdocs/cobalt-images
[Wed Nov 09 14:07:09 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:09 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:10 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:10 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:12 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:12 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:12 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:12 2005] [error] Cannot configure connection "ooen_net_Connection_ssl"
[Wed Nov 09 14:07:13 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:13 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:13 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:13 2005] [error] Cannot configure connection "ooen_net_Connection_ssl"
[Wed Nov 09 14:07:14 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:14 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:14 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:14 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:15 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:15 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:15 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:15 2005] [error] Cannot configure connection "ooen_net_Connection_ssl"
[Wed Nov 09 14:07:16 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:16 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:17 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:17 2005] [error] Cannot configure connection "ooen_net_Connection"
[Wed Nov 09 14:07:18 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:18 2005] [error] Cannot configure connection "ooen_net_Connection_ssl"
[Wed Nov 09 14:07:18 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:18 2005] [error] Cannot configure connection "ooen_net_Connection_ssl"
[Wed Nov 09 14:07:19 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:19 2005] [error] Cannot configure connection "ooen_net_Connection_ssl"
[Wed Nov 09 14:07:19 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:19 2005] [error] Cannot configure connection "ooen_net_Connection_ssl"
[Wed Nov 09 15:06:13 2005] [notice] caught SIGTERM, shutting down
[Wed Nov 09 15:09:20 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:20 2005] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 09 15:09:20 2005] [notice] Digest: done
[Wed Nov 09 15:09:24 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:24 2005] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 09 15:09:24 2005] [notice] Digest: done
[Wed Nov 09 15:09:25 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?

...

[Wed Nov 09 15:09:25 2005] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Nov 09 15:09:26 2005] [notice] Apache/2.0.46 (Red Hat) configured -- resuming normal operations
 
Actually your server has both 'tomcat' and 'tomcat4' installed by default. Plesk only needs the 'tomcat4' package, so if you and your clients are not using the regular tomcat, you can uninstall it from the server:

rpm -e tomcat
 
Originally posted by ShadowMan
Actually your server has both 'tomcat' and 'tomcat4' installed by default. Plesk only needs the 'tomcat4' package, so if you and your clients are not using the regular tomcat, you can uninstall it from the server:

rpm -e tomcat
Q1. By looking at my log file, do you think that tomcat installation is causing the problem???

Q2. If so, uninstalling it can resolve this problem?
 
Do you have SiteBuilder installed, and if so, are you using it? (Just curious)
[Wed Nov 09 14:07:09 2005] [error] Cannot read packet (//home/builder/pb_work_dir/psa_aiconfig_7.5.3/psa/apache-modules/mod_webapp/work/jakarta-tomcat-connectors-4.1.29-src/webapp/lib/pr_warp_config.c:230)
[Wed Nov 09 14:07:09 2005] [error] Cannot configure connection "ooen_net_Connection"
Looks like someone has installed the jakarta-tomcat package, so have you checked to make sure no clients are using tomcat (or jakarta)?

It may have been installed during a Plesk updater session. Some people just install everything on the list, even if it's not needed (or really wanted), and this may be why you are getting errors on tomcat/jakarta.

It does look as if that is the source of the errors. So again, is anyone on the server using tomcat (or jakarta)? If not, then I would recommend uninstalling them

rpm -e jakarta-tomcat-connectors tomcat
 
Originally posted by ShadowMan
Do you have SiteBuilder installed, and if so, are you using it? (Just curious)Looks like someone has installed the jakarta-tomcat package, so have you checked to make sure no clients are using tomcat (or jakarta)?
I have no idea what that it. How can I check to see if SiteBuilder is installed?
It does look as if that is the source of the errors. So again, is anyone on the server using tomcat (or jakarta)? If not, then I would recommend uninstalling them

rpm -e jakarta-tomcat-connectors tomcat
I am using it, and I have been using it ever since I started using the server. The problem of Apache's locking up(?) started exhibiting a couple of days ago. I don't think I've seen this particular problem before then.

Q1. I have been using Tomcat, but does this mean that I have been using Tomcat4 instead of Tomcat?

Q2. If so, do you still recommend that I uninstall Tomcat (and leave Tomcat4 as it is)?
 
No. If you are using Tomcat, then disregard my posts about uninstalling it. That's why I kept asking if you or any clients were using it.

From the part of the error log you posted, there is no other clear indication of why Apache would suddenly begin to hang, although you may want to find out about this:

[error] Cannot configure connection "ooen_net_Connection_ssl"

What other (even trivial) updates or software has been added or changed in the last few days?

The errors about the SSL certificate may be related since this error has to do with connection to SSL.
 
My host company presumably made some changes in the data center a couple of days ago. They said that this won't affect us at all, but who knows?

Q1. Suppose that changes made in the data center are related to this. How can I find out if these changes are related?

There is a file whose permission I set to 777, and I did this a couple of days ago.

Q2. can this be related? I have a couple of files whose permission is set to 777.
Originally posted by ShadowMan
From the part of the error log you posted, there is no other clear indication of why Apache would suddenly begin to hang, although you may want to find out about this:

[error] Cannot configure connection "ooen_net_Connection_ssl"

What other (even trivial) updates or software has been added or changed in the last few days?

The errors about the SSL certificate may be related since this error has to do with connection to SSL.
With regard to SSL, "I" did not make any change. Unless my host company did something, there was no change made in SSL. That's my guess.

Q3. Is Tomcat (its error) causing Apache to lock up?

Q4. If not, what can really cause Apache to lock up ...?

(Getting good uptime(99%++) is not easy ...)

Q5. Perhaps I can configure Apache to spit out many more error messages? So that I'll have a better idea of what's going on?
 
Back
Top