Hi,
Any help on this would be appreciated.

Thanks

-Mukarram.

-----Original Message-----
From: Mukarram Syed 
Sent: Wednesday, April 12, 2006 4:29 PM
To: 'Tomcat Users List'
Subject: Help with mod_jk.so errno=2


Hi
I am now getting an errn=2

[Wed Apr 12 19:20:36 2006] [14611:28992] [debug] jk_child_init::mod_jk.c
(2330): Initialized mod_jk/1.2.15 [Wed Apr 12 19:20:36 2006]
[14612:28992] [error] jk_child_init::mod_jk.c (2326): Attachning
shm:/apache2/jk-runtime-status errno=2 [Wed Apr 12 19:20:36 2006]
[14612:28992] [debug] jk_child_init::mod_jk.c (2330): Initialized
mod_jk/1.2.15

My JkShmFile is:
#
JkShmFile /apache2/jk-runtime-status
#
 
Permissions are:

[EMAIL PROTECTED] /]# ls -lart |grep apache
drwxrwxrwx   2 apache apache  4096 Apr 12 19:19 apache2
[EMAIL PROTECTED] /]# 

Httpd runs as apache user.

It does not create the jk-runtime-status file in /apache2 directory.

Can anyone help.

Thanks

-Mukarram.


-----Original Message-----
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 1:27 AM
To: Tomcat Users List
Subject: Re: Help with mod_jk.so errno=13

I assume the line break was done by the mailer, so the path in the
original log messages is

/var/log/jk-runtime-status

It tries to open such a file, so the user under which apache runs needs
to have full access to /var/log and to /var/log/jk-runtime-status.

Did you check the ownerships and permissions of these file system
objects. Could you crreate and remove the file with touch and rm as the
user who runs apache?

A nice errno table is

http://www.ioplex.com/~miallen/errcmp.html

and in fact it's very likely (depending on your platform) "Permission
denied".

Mukarram Syed 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to