You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ewsinc <ew...@gmail.com> on 2007/05/13 00:56:40 UTC

Re: Help with mod_jk.so errno=13

I had this same problem ... see recent post about tracing down errors in the
ajp-8009 part of the manager/status page... well... it was SELinux... after
checking below, and googling around, I come to suspect SELinux... I did a
setenforce 0, then restarted HTTPD, and sure enough, the debug level log of
mod_jk shows correct access to the jk-runtime-status. Though httpd is
running as user apache, the file keeps getting created as root.

--tony


Mukarram Syed-2 wrote:
> 
>  
> Hi All,
> I know this has been asked before in the users group, but there are no
> solutions to this problem.
>  
> I am getting the following error in my mod_jk.log file:
>  
> Tue Apr 11 00:46:08 2006] [18962:20800] [error] jk_child_init::mod_jk.c
> (2312): Attachning shm:/var/log/jk-run
> time-status errno=13
>  
> this seems to me from my research as a permission denied error.  It
> looks like a shared memory error.  
> Any help would be appreciated in this regard.
>  
> I have been working on this all day researching without any progress.
>  
> Thanks in Advance.
>  
>  
> -Mukarram Syed.
> 
> 

-- 
View this message in context: http://www.nabble.com/Help-with-mod_jk.so-errno%3D13-tf1429628.html#a10450545
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Help with mod_jk.so errno=13

Posted by Martin Gainty <mg...@hotmail.com>.
#define EACCES 13 /* Permission denied */
So The current root hasnt granted permissions to the requesting user for the 
specified resource
To avoid these situations create your own root user on your own linux server 
and resinstall Apache, mod-jk module and tomcat

M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "ewsinc" <ew...@gmail.com>
To: <us...@tomcat.apache.org>
Sent: Saturday, May 12, 2007 6:56 PM
Subject: Re: Help with mod_jk.so errno=13


>
> I had this same problem ... see recent post about tracing down errors in 
> the
> ajp-8009 part of the manager/status page... well... it was SELinux... 
> after
> checking below, and googling around, I come to suspect SELinux... I did a
> setenforce 0, then restarted HTTPD, and sure enough, the debug level log 
> of
> mod_jk shows correct access to the jk-runtime-status. Though httpd is
> running as user apache, the file keeps getting created as root.
>
> --tony
>
>
> Mukarram Syed-2 wrote:
>>
>>
>> Hi All,
>> I know this has been asked before in the users group, but there are no
>> solutions to this problem.
>>
>> I am getting the following error in my mod_jk.log file:
>>
>> Tue Apr 11 00:46:08 2006] [18962:20800] [error] jk_child_init::mod_jk.c
>> (2312): Attachning shm:/var/log/jk-run
>> time-status errno=13
>>
>> this seems to me from my research as a permission denied error.  It
>> looks like a shared memory error.
>> Any help would be appreciated in this regard.
>>
>> I have been working on this all day researching without any progress.
>>
>> Thanks in Advance.
>>
>>
>> -Mukarram Syed.
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Help-with-mod_jk.so-errno%3D13-tf1429628.html#a10450545
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org