1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

No JkShmFile defined in httpd.conf.

Discussion in 'Plesk 11.x for Linux' started by TairkH, Jan 11, 2013.

  1. TairkH

    TairkH Basic Pleskian

    21
    57%
    Joined:
    Feb 9, 2010
    Messages:
    61
    Likes Received:
    0
    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
     
  2. TairkH

    TairkH Basic Pleskian

    21
    57%
    Joined:
    Feb 9, 2010
    Messages:
    61
    Likes Received:
    0
    Lol nobody?..
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,539
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    Have you tried

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

    ?
     
  4. TairkH

    TairkH Basic Pleskian

    21
    57%
    Joined:
    Feb 9, 2010
    Messages:
    61
    Likes Received:
    0
    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
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,539
    Likes Received:
    1,239
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    It is just warning but not error. How it is affect your Plesk operation?
     
  6. GravuTrad

    GravuTrad Regular Pleskian

    28
    23%
    Joined:
    Apr 28, 2006
    Messages:
    269
    Likes Received:
    0
    I have all this too. How to solve this?

    Thanks
     
  7. tareqm

    tareqm New Pleskian

    6
     
    Joined:
    Aug 5, 2013
    Messages:
    2
    Likes Received:
    0
    Hi TairkH,

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

    Thank you.
    /Tareq
     
  8. Thomas Wilhelmi

    Thomas Wilhelmi Regular Pleskian

    24
    40%
    Joined:
    Aug 4, 2009
    Messages:
    102
    Likes Received:
    4
    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:

    Adjust this to your Need and after that restart Apache.
     
  9. tareqm

    tareqm New Pleskian

    6
     
    Joined:
    Aug 5, 2013
    Messages:
    2
    Likes Received:
    0
    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
     
Loading...