• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

No JkShmFile defined in httpd.conf.

TairkH

Basic Pleskian
Hello,

I have a clean install off plesk linux 11 up-to-date with power pack addon on a centos 6.3 box.
I see this warn from tomcat in httpd/error_log:


[Fri Jan 11 19:02:53 2013] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status

[root@server02 /]# ls -la /var/log/httpd/
total 2004
drwx------ 2 root root 4096 Jan 11 19:02 .
drwxr-xr-x 12 root root 4096 Jan 10 12:40 ..
-rw-r--r-- 1 root root 146249 Jan 11 19:12 access_log
-rw-r--r-- 1 root root 0 Jan 8 17:45 asl_access_log
-rw-r--r-- 1 root root 71664 Jan 11 18:59 asl_error_log
-rw-r--r-- 1 root root 529755 Jan 11 18:33 asl_ssl_access_log
-rw-r--r-- 1 root root 226104 Jan 11 18:59 asl_ssl_error_log
-rw-r----- 1 root root 381228 Jan 11 19:08 audit_log
-rw-r--r-- 1 root root 7510 Jan 11 19:12 error_log
-rw-r--r-- 1 root root 448 Jan 11 19:08 jk-runtime-status.23087
-rw-r--r-- 1 root root 1 Jan 11 19:02 jk-runtime-status.23087.lock
-rw-r--r-- 1 root root 11019 Jan 11 19:02 mod_jk.log
lrwxrwxrwx 1 root root 26 Jan 8 17:47 psa -> /usr/local/psa/admin/logs/
-rw-r--r-- 1 root root 0 Jan 8 17:35 ssl_access_log
-rw-r--r-- 1 root root 17538 Jan 11 19:02 ssl_error_log
-rw-r--r-- 1 root root 607174 Jan 11 18:33 ssl_request_log

/etc/httpd/logs/jk-runtime-status is not exists also!


How to fix this?



Thanks in advanced


Alex
 
Have you tried

# /usr/local/psa/admin/bin/httpdmng --reconfigure-all

?
 
Thans for the reply ;)

Unfortonaly that doesn't fixed it.

[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Jan 17 16:50:50 2013] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Thu Jan 17 16:50:50 2013] [notice] mod_python: Creating 4 session mutexes based on 512 max processes and 0 max threads.
[Thu Jan 17 16:50:50 2013] [notice] Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x Apache mod_fcgid/2.3.6 mod_jk/1.2.31 PHP/5.3.20 mod_python/3.2.8 Python/2.4.3 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
 
It is just warning but not error. How it is affect your Plesk operation?
 
Thans for the reply ;)

Unfortonaly that doesn't fixed it.

[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jan 17 16:50:50 2013] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Jan 17 16:50:50 2013] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Thu Jan 17 16:50:50 2013] [notice] mod_python: Creating 4 session mutexes based on 512 max processes and 0 max threads.
[Thu Jan 17 16:50:50 2013] [notice] Apache/2.2.22 (Unix) DAV/2 mod_ssl/2.2.22 OpenSSL/0.9.8x Apache mod_fcgid/2.3.6 mod_jk/1.2.31 PHP/5.3.20 mod_python/3.2.8 Python/2.4.3 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations

I have all this too. How to solve this?

Thanks
 
Hi TairkH,

Did you get fix for it?
How did you fix it? I am facing same problem.

Thank you.
/Tareq
 
Okay, at my Installation the Apache-config Directory is "/etc/apache2/" and not "/etc/httpd/" wich makes no difference in General. I had this Problem as well and added a file "/etc/apache2/conf.d/tomcat.conf" with the Content:

<IfModule mod_jk.c>
JkShmFile /var/log/apache2/jk-runtime-status
</IfModule>

Adjust this to your Need and after that restart Apache.
 
Hi Thomas,

Thank you for your help, this issue is resolved.
But now I am facing another issue :
[Tue Aug 06 14:26:14 2013] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Tue Aug 06 14:26:14 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

If I keep "SSLEngine off" then I am able to start httpd And if make it "SSLEngine on" then it gives me above error

Please help
 
Back
Top