On Friday 26 March 2004 23:18, Robert Mazur wrote:
> I am running into an error when launching tomcat:
> "shm.create(): error creating shm 70014 End of file found"
>
> I have set up the coyote connector on the following system:
> -SUSE9
> -Apache 2.0.49
> -Tomcat 5.0.19
> -jakarta-tomcat-connectors-jk2-2.0.4-src
> ...using instructions at:
> http://cymulacrum.net/writings/tomcat5/c831.html#USING_MOD_JK2
>
> Can someone point me towards what this might mean in catalina.out:
> ---------------------------start log snip----------------------
> <snip>
> [Fri Mar 26 22:54:38 2004] ( info ) [jk_channel_un.c (152)] 
> channelUn.init(): extracted file from name
> /usr/local/tomcat-5.0.19/work/jk2.socket
>
> [Fri Mar 26 22:54:38 2004] (error ) [jk_shm.c (105)]  shm.create(): error
> creating shm 70014 End of file found
>
> [Fri Mar 26 22:54:38 2004] (error ) [jk_shm.c (178)]  shm.create(): error
> creating shm /usr/local/tomcat-5.0.19/logs/jk2.shm
> <snip>
> ----------------------------end log snip----------------------
>
> The file jk2.shm exists at the location noted in the error message. 
> Creating the *.so files went fine.  I believe I have adjusted all config
> files accordingly (triple checked).  I am running everything as root (just
> during this test) to assure this isn't a permission problem.
>
> Apache also gives me a related message in the error log:
> [Fri Mar 26 23:12:09 2004] [error] shm.create(): error creating shm 70014
> End of file found
> [Fri Mar 26 23:12:09 2004] [error] shm.create(): error creating shm /usr/
> local/tomcat-5.0.19/logs/jk2.sh
>
> Can someone tell me what may be causing this?
> Thanks,
> Rob
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

UPDATE:
OK, if I drop back to using TCP sockets instead of unix domain sockets, the 
error creating the shm is clear, and everything works.  However I do get this 
in my catalina.log file while using tcp sockets:
--------
Mar 27, 2004 10:36:21 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
--------

So I guess I still can not resolve two questions:

1) I am still wondering what is wrong with the unix socket option and why I'm 
getting shm errors.  What does this mean?  I've checked over and over for 
file permission issues:
[error] shm.create(): error creating shm 70014 End of file found
[error] shm.create(): error creating shm /usr/ local/tomcat-5.0.19/logs/jk2.sh

2) How scared should I be of the jk.common error above while using tcp 
sockets?  Unfortunately I can't wrap my mind around what that means.

Thanks folks,
Rob


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

Reply via email to