Unfortunately I still receive the same error: [Fri Mar 17 16:42:42 2006] [error] jk_child_init::mod_jk.c (2326): Attachning shm:"/var/www/tomcat/webapps/siteB/ROOT" errno=2
? -----Original Message----- From: Vanessa Campos [mailto:[EMAIL PROTECTED] Sent: 17 March 2006 16:40 To: Tomcat Users List Subject: RE: Mod JK Connector Error Codes ? Neil, Check this: > <Directory "var/www/tomcat/webapps/siteA/ROOT"> > AllowOverride All > Order allow,deny > Allow from all > </Directory> Try to put a "/" before var, like this: <Directory "/var/www/tomcat/webapps/siteA/ROOT"> AllowOverride All Order allow,deny Allow from all </Directory> --- Neil Sherman <[EMAIL PROTECTED]> escreveu: > My httpd.conf file has a bunch of include statements at the bottom of > the file (so that I can keep each virtual hosts configuration > separate) e.g. > > ... > Include conf/siteA.conf > > Include conf/siteB.conf > > Include conf/siteC.conf > ... > > Each of these include files looks like: > > <VirtualHost 1.1.1.1:80> > > # Set the document root folder > DocumentRoot /var/www/tomcat/webapps/siteA/ROOT > > # Set the name of the server > ServerName siteA.com > > # Set up the alias for the maps > Alias /maps /mnt/siteA.maps > > # Mount the worker > JkMount /*.jsp LBsiteA > > # Set the server admin > ServerAdmin [EMAIL PROTECTED] > > # Set the log files > ErrorLog "|/usr/local/sbin/cronolog > /var/log/apache/siteA/%Y/%m/error_%Y_%m_%d.log" > CustomLog "|/usr/local/sbin/cronolog > /var/log/apache/siteA/%Y/%m/access_%Y_%m_%d.log" common > > # Set the directory security > <Directory "var/www/tomcat/webapps/siteA/ROOT"> > AllowOverride All > Order allow,deny > Allow from all > </Directory> > </VirtualHost> > > > > The actual error message returned in the mod_jk.log file is > > [Fri Mar 17 13:51:46 2006] [error] jk_child_init::mod_jk.c > (2326): Attachning shm:"var/www/tomcat/siteB/ROOT" errno=2 > > Strangely if I uncomment the include for Site B in my httpd.conf file > I then receive the following error: > > [Fri Mar 17 16:30:46 2006] [error] jk_child_init::mod_jk.c > (2326): Attachning shm: errno=2 > > If I uncomment all of the includes I see no errors in the mod_jk log > file. > > Strangely if I uncomment all of the includes except for just one, I > also see no errors in the log file, and it dosen't matter which one is > left in. This leads me to believe that the actual paths etc are setup > correctly otherwise I would receive this error whenever a specific > include was not commented out. > > It looks like I am hitting some limit ? Perhaps the number of allowed > connectors ? > > Neil > > > -----Original Message----- > From: Vanessa Campos [mailto:[EMAIL PROTECTED] > Sent: 17 March 2006 16:24 > To: Tomcat Users List > Subject: RE: Mod JK Connector Error Codes ? > > > Neil, > > That's what I was trying to tell you. There is no way to set shm file > on mod_jk. It's default location is on apache log directory. Did you > check you conf files to see if there is any where a missing "/" on > "var/www/tomcat/ROOT"? I thought the correct string was > "/var/www/tomcat/ROOT"... Then, if this is correct, mod_jk is really > trying to write to an invalid drectory. > > --- Neil Sherman <[EMAIL PROTECTED]> escreveu: > > > Correct me if I am wrong but I believe I am using the JK module > and > > not the JK2 module I am using version 1.2.15, and believe this is > the > > version recommended by Apache for a production environment ? > > > > There is definitely no SHM file located in my logs directory. > > > > What does SHM stand for ? And what is it ? > > > > > > -----Original Message----- > > From: Vanessa Campos [mailto:[EMAIL PROTECTED] > > Sent: 17 March 2006 16:11 > > To: Tomcat Users List > > Subject: RE: Mod JK Connector Error Codes ? > > > > > > Neil, > > > > When you use mod_jk you don't configure shm file (JK2 has a > special > > configuration for shm file on worker2.properties). In my case, > while > > TomCat/Apache are active, there is a shm.file on apache log > directory. > > > > Check you config files to see if there is any reference to shm or > to > > "var/www/tomcat/ROOT" (is the first "/" be missing?) > > > > --- Neil Sherman <[EMAIL PROTECTED]> escreveu: > > > > > Yes, the "var/www/tomcat/ROOT" directory does exist. > > > > > > What is a SHM file ? Is this referenced in the httpd.conf file > ? > > > > > > Neil > > > > > > -----Original Message----- > > > From: Vanessa Campos [mailto:[EMAIL PROTECTED] > > > Sent: 17 March 2006 15:54 > > > To: Tomcat Users List > > > Subject: Re: Mod JK Connector Error Codes ? > > > > > > > > > Neil, > > > > > > The directory "var/www/tomcat/ROOT" exists? Check your conf > files > > to > > > see where it's trying to write the SHM file. Maybe mod_jk is > > trying to > > > create the shm file on an invalid directory. > > > > > > --- Neil Sherman <[EMAIL PROTECTED]> escreveu: > > > > > > > I have Apache(2.0.55) and Tomcat (5.5.12) connected via the > Mod > > > JK > > > > (1.2.15) connector, setup and running on a Linux RedHat > > > Enterprise > > > > Edition. > > > > > > > > On startup of Apache I get the following error in my > Mod_JK.log > > > > file: > > > > > > > > [Fri Mar 17 13:51:46 2006] [error] init_jk::mod_jk.c (2370): > > > > Initializing shm:"var/www/tomcat/ROOT" errno=2 [Fri Mar 17 > > > 13:51:47 > > > > 2006] [error] jk_child_init::mod_jk.c (2326): Attachning > > > > shm:"var/www/tomcat/ROOT" errno=2 [Fri Mar 17 13:51:47 2006] > > > [error] > > > > jk_child_init::mod_jk.c (2326): Attachning > > > shm:"var/www/tomcat/ROOT" > > > > errno=2 > > > > > > > > I have been trying to find what this "errno=2" is actually > > > refering > > > > too but can not find any documentation containing the list of > > > error > > > > codes > > > > for the Mod JK connector. > > > > > > > > Although I get this error the website seems to function > > > correctly. > > > > > > > > Can somebody please tell me what error code 2 actually is ? > Or > > > better > > > > still refer me to a list of all the Mod JK error codes ? > > > > > > > > Many thanks > > > > > > > > Neil > > > > > > > > > > > > This email message contains confidential information and is > > > intended > > > > for the use of its intended recipient only. Access to this > > email > > > by > > > > anyone else is unauthorised. If you are not the intended > > > recipient > > > > you are hereby notified that any use, disclosure, copying or > > > > distribution or any action taken or omitted to be taken in > > > reliance on > > > > it is strictly prohibited. > > > > > > > > If this communication has been sent to you in error, please > > > notify us > > > > immediately. > > > > > > > > Action Information Management Ltd. > > > > 129 Devizes Road, Hilperton, Trowbridge, Wiltshire BA14 7SZ. > > > > Tel: +44 (0) 1225 711200 > > > > Fax: +44 (0) 1225 711222 > > > > Website www.aimltd.co.uk > > > > email: [EMAIL PROTECTED] > > > > > > > > > > > > > Vanessa Campos > > > [EMAIL PROTECTED] > > > ICQ 35381281 > > > > > > "Efetivamente, para o homem, enquanto homem, nada tem valor a > > menos > > > que ele possa executa-lo com entusiasmo" Max Weber > > > > > > > > > > > > _______________________________________________________ > > > Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o > > discador > > > agora! http://br.acesso.yahoo.com > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > This email message contains confidential information and is > > intended > > > for the use of its intended recipient only. Access to this > email > > by > > > anyone else is unauthorised. If you are not the intended > > recipient > > > you are hereby notified that any use, disclosure, copying or > > > distribution or any action taken or omitted to be taken in > > reliance on > > > it is strictly prohibited. > > > > > > If this communication has been sent to you in error, please > > notify us > > > immediately. > > > > > > Action Information Management Ltd. > > > 129 Devizes Road, Hilperton, Trowbridge, Wiltshire BA14 7SZ. > > > Tel: +44 (0) 1225 711200 > > > Fax: +44 (0) 1225 711222 > > > Website www.aimltd.co.uk > > > email: [EMAIL PROTECTED] > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > Vanessa Campos > > [EMAIL PROTECTED] > > ICQ 35381281 > > > > "Efetivamente, para o homem, enquanto homem, nada tem valor a > menos > > que ele possa executa-lo com entusiasmo" Max Weber > > > > > > > > _______________________________________________________ > > Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o > discador > > agora! http://br.acesso.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > This email message contains confidential information and is > intended > > for the use of its intended recipient only. Access to this email > by > > anyone else is unauthorised. If you are not the intended > recipient > > you are hereby notified that any use, disclosure, copying or > > distribution or any action taken or omitted to be taken in > reliance on > > it is strictly prohibited. > > > > If this communication has been sent to you in error, please > notify us > > immediately. > > > > Action Information Management Ltd. > > 129 Devizes Road, Hilperton, Trowbridge, Wiltshire BA14 7SZ. > > Tel: +44 (0) 1225 711200 > > Fax: +44 (0) 1225 711222 > > Website www.aimltd.co.uk > > email: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > Vanessa Campos > [EMAIL PROTECTED] > ICQ 35381281 > > "Efetivamente, para o homem, enquanto homem, nada tem valor a menos > que ele possa executa-lo com entusiasmo" Max Weber > > > > _______________________________________________________ > Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador > agora! http://br.acesso.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > This email message contains confidential information and is intended > for the use of its intended recipient only. Access to this email by > anyone else is unauthorised. If you are not the intended recipient > you are hereby notified that any use, disclosure, copying or > distribution or any action taken or omitted to be taken in reliance on > it is strictly prohibited. > > If this communication has been sent to you in error, please notify us > immediately. > > Action Information Management Ltd. > 129 Devizes Road, Hilperton, Trowbridge, Wiltshire BA14 7SZ. > Tel: +44 (0) 1225 711200 > Fax: +44 (0) 1225 711222 > Website www.aimltd.co.uk > email: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Vanessa Campos [EMAIL PROTECTED] ICQ 35381281 "Efetivamente, para o homem, enquanto homem, nada tem valor a menos que ele possa executa-lo com entusiasmo" Max Weber _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email message contains confidential information and is intended for the use of its intended recipient only. Access to this email by anyone else is unauthorised. If you are not the intended recipient you are hereby notified that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If this communication has been sent to you in error, please notify us immediately. Action Information Management Ltd. 129 Devizes Road, Hilperton, Trowbridge, Wiltshire BA14 7SZ. Tel: +44 (0) 1225 711200 Fax: +44 (0) 1225 711222 Website www.aimltd.co.uk email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]