RE: Question about slotmem-shm- log file, etc. location

2022-06-23 Thread jonmcalexander
Ok, great. That wasn't evident from the documentation. I'll test it out and 
will report back later on.

Thanks,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.


> -Original Message-
> From: Ruediger Pluem 
> Sent: Thursday, June 23, 2022 1:55 PM
> To: dev@httpd.apache.org
> Subject: Re: Question about slotmem-shm- log file, etc. location
> 
> 
> 
> On 6/23/22 8:45 PM, jonmcalexan...@wellsfargo.com wrote:
> > You know, that makes sense, except, when you may have multiple
> > instances on a server and want to keep those separated. This is still
> > Relative to the ServerRoot, which points to the binaries. What we need
> > is some way it can be relative to the location of the parent of the
> > conf directory where httpd.conf lives. Kind of like Tomcat's concept
> > of CATALINA_HOME and CATALINA_BASE. :-)
> 
> No you can give an absolute path that is different for each instance.
> 
> Regards
> 
> Rüdiger
> 
> >
> >
> > Just my .02 worth.
> >
> > Dream * Excel * Explore * Inspire
> > Jon McAlexander
> > Senior Infrastructure Engineer
> > Asst. Vice President
> > He/His
> >
> > Middleware Product Engineering
> > Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >
> > 8080 Cobblestone Rd | Urbandale, IA 50322
> > MAC: F4469-010
> > Tel 515-988-2508 | Cell 515-988-2508
> >
> > jonmcalexan...@wellsfargo.com
> > This message may contain confidential and/or privileged information. If you
> are not the addressee or authorized to receive this for the addressee, you
> must not use, copy, disclose, or take any action based on this message or any
> information herein. If you have received this message in error, please advise
> the sender immediately by reply e-mail and delete this message. Thank you
> for your cooperation.
> >
> >
> >> -Original Message-
> >> From: Ruediger Pluem 
> >> Sent: Thursday, June 23, 2022 1:28 PM
> >> To: dev@httpd.apache.org
> >> Subject: Re: Question about slotmem-shm- log file, etc. location
> >>
> >> Have you tried using DefaultRuntimeDir
> >>
> (https://urldefense.com/v3/__https://httpd.apache.org/docs/2.4/mod/co
> >> r
> e.html*defaultruntimedir__;Iw!!F9svGWnIaVPGSwU!s1MtryTq7iWIm62jxvC
> >>
> WYGG9fmIt79giC5WhKWWWTB0ttC2MRtagTdKqEs4FfQ7gLBKA50H2wdJQ9iw
> >> BmOQNEac$ )
> >>
> >> Regards
> >>
> >> Rüdiger
> >>
> >> On 6/23/22 7:40 PM, jonmcalexan...@wellsfargo.com wrote:
> >>> Hello all.
> >>>
> >>> I have a question and haven't been able to find an answer yet on the
> >>> interwebs. I ran into an issue while setting up mod-proxy-http with
> >>> the
> >> balancer option and when I restarted Apache, it failed with this message:
> >>>
> >>>
> >>>
> >>> "AH02611: create: apr_shm_create(/apps/apache/2.4.53/logs/slotmem-
> >> shm-p18b8fc23_3.shm) failed"
> >>>
> >>>
> >>>
> >>> Turns out I didn't have a logs folder under 2.4.53. Looks like it
> >>> looks at the ServerRoot as to where the logs directory is located.
> >>> We run our apache servers with separate Instance directories and
> >>> centralized binaries to make upgrades, etc. easier. Is there any way
> >>> to
> >> specify something like a slotmem-file-target-location directive in
> >> the httpd.conf of the instance, or anything like that? I did see some
> >> rumblings around this from back in spring of 2012, but nothing since.
> >>>
> >>>
> >>>
> >>> Any assistance would be great.
> >>>
> >>> *Dream * Excel * Explore * Inspire*
> >>>
> >>> Jon McAlexander
> >>>
> >>> Senior Infrastructure Engineer
> >>>
> >>> Asst. Vice President
> >>>
> >>> He/His
> >>>
> >>>
> >>>
> >>> Middleware Product Engineering
> >>>
> >>> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >>>
> >>>
> >>>
> >>> 8080 Cobblestone Rd | Urbandale, IA 50322
> >>> MAC: F4469-010
> >>>
> >>> Tel 515-988-2508 | Cell 515-988-2508
> >>>
> >>>
> >>>
> >>> jonmcalexan...@wellsfargo.com
> >> 
> >>>
> >>> This message may contain confidential and/or privileged information.
> >>> If you are not the addressee or authorized to receive this for the
> >>> addressee, you must not use, copy, disclose, or take any action
> >>> based on this message or any information herein. If you have
> >>> received this
> >> message in error, please advise the sender immediately by reply
> >> e-mail and delete this message. Thank you for your 

Re: Question about slotmem-shm- log file, etc. location

2022-06-23 Thread Ruediger Pluem



On 6/23/22 8:45 PM, jonmcalexan...@wellsfargo.com wrote:
> You know, that makes sense, except, when you may have multiple instances on a 
> server and want to keep those separated. This is still Relative to the 
> ServerRoot, which points to the binaries. What we need is some way it can be 
> relative to the location of the parent of the conf directory where httpd.conf 
> lives. Kind of like Tomcat's concept of CATALINA_HOME and CATALINA_BASE. :-)

No you can give an absolute path that is different for each instance.

Regards

Rüdiger

> 
> 
> Just my .02 worth.
> 
> Dream * Excel * Explore * Inspire
> Jon McAlexander
> Senior Infrastructure Engineer
> Asst. Vice President
> He/His
> 
> Middleware Product Engineering
> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> 
> 8080 Cobblestone Rd | Urbandale, IA 50322
> MAC: F4469-010
> Tel 515-988-2508 | Cell 515-988-2508
> 
> jonmcalexan...@wellsfargo.com
> This message may contain confidential and/or privileged information. If you 
> are not the addressee or authorized to receive this for the addressee, you 
> must not use, copy, disclose, or take any action based on this message or any 
> information herein. If you have received this message in error, please advise 
> the sender immediately by reply e-mail and delete this message. Thank you for 
> your cooperation.
> 
> 
>> -Original Message-
>> From: Ruediger Pluem 
>> Sent: Thursday, June 23, 2022 1:28 PM
>> To: dev@httpd.apache.org
>> Subject: Re: Question about slotmem-shm- log file, etc. location
>>
>> Have you tried using DefaultRuntimeDir
>> (https://urldefense.com/v3/__https://httpd.apache.org/docs/2.4/mod/cor
>> e.html*defaultruntimedir__;Iw!!F9svGWnIaVPGSwU!s1MtryTq7iWIm62jxvC
>> WYGG9fmIt79giC5WhKWWWTB0ttC2MRtagTdKqEs4FfQ7gLBKA50H2wdJQ9iw
>> BmOQNEac$ )
>>
>> Regards
>>
>> Rüdiger
>>
>> On 6/23/22 7:40 PM, jonmcalexan...@wellsfargo.com wrote:
>>> Hello all.
>>>
>>> I have a question and haven't been able to find an answer yet on the
>>> interwebs. I ran into an issue while setting up mod-proxy-http with the
>> balancer option and when I restarted Apache, it failed with this message:
>>>
>>>
>>>
>>> "AH02611: create: apr_shm_create(/apps/apache/2.4.53/logs/slotmem-
>> shm-p18b8fc23_3.shm) failed"
>>>
>>>
>>>
>>> Turns out I didn't have a logs folder under 2.4.53. Looks like it
>>> looks at the ServerRoot as to where the logs directory is located. We
>>> run our apache servers with separate Instance directories and
>>> centralized binaries to make upgrades, etc. easier. Is there any way to
>> specify something like a slotmem-file-target-location directive in the
>> httpd.conf of the instance, or anything like that? I did see some rumblings
>> around this from back in spring of 2012, but nothing since.
>>>
>>>
>>>
>>> Any assistance would be great.
>>>
>>> *Dream * Excel * Explore * Inspire*
>>>
>>> Jon McAlexander
>>>
>>> Senior Infrastructure Engineer
>>>
>>> Asst. Vice President
>>>
>>> He/His
>>>
>>>
>>>
>>> Middleware Product Engineering
>>>
>>> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
>>>
>>>
>>>
>>> 8080 Cobblestone Rd | Urbandale, IA 50322
>>> MAC: F4469-010
>>>
>>> Tel 515-988-2508 | Cell 515-988-2508
>>>
>>>
>>>
>>> jonmcalexan...@wellsfargo.com
>> 
>>>
>>> This message may contain confidential and/or privileged information.
>>> If you are not the addressee or authorized to receive this for the
>>> addressee, you must not use, copy, disclose, or take any action based
>>> on this message or any information herein. If you have received this
>> message in error, please advise the sender immediately by reply e-mail and
>> delete this message. Thank you for your cooperation.
>>>
>>>
>>>
> 


RE: Question about slotmem-shm- log file, etc. location

2022-06-23 Thread jonmcalexander
You know, that makes sense, except, when you may have multiple instances on a 
server and want to keep those separated. This is still Relative to the 
ServerRoot, which points to the binaries. What we need is some way it can be 
relative to the location of the parent of the conf directory where httpd.conf 
lives. Kind of like Tomcat's concept of CATALINA_HOME and CATALINA_BASE. :-)


Just my .02 worth.

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.


> -Original Message-
> From: Ruediger Pluem 
> Sent: Thursday, June 23, 2022 1:28 PM
> To: dev@httpd.apache.org
> Subject: Re: Question about slotmem-shm- log file, etc. location
> 
> Have you tried using DefaultRuntimeDir
> (https://urldefense.com/v3/__https://httpd.apache.org/docs/2.4/mod/cor
> e.html*defaultruntimedir__;Iw!!F9svGWnIaVPGSwU!s1MtryTq7iWIm62jxvC
> WYGG9fmIt79giC5WhKWWWTB0ttC2MRtagTdKqEs4FfQ7gLBKA50H2wdJQ9iw
> BmOQNEac$ )
> 
> Regards
> 
> Rüdiger
> 
> On 6/23/22 7:40 PM, jonmcalexan...@wellsfargo.com wrote:
> > Hello all.
> >
> > I have a question and haven't been able to find an answer yet on the
> > interwebs. I ran into an issue while setting up mod-proxy-http with the
> balancer option and when I restarted Apache, it failed with this message:
> >
> >
> >
> > "AH02611: create: apr_shm_create(/apps/apache/2.4.53/logs/slotmem-
> shm-p18b8fc23_3.shm) failed"
> >
> >
> >
> > Turns out I didn't have a logs folder under 2.4.53. Looks like it
> > looks at the ServerRoot as to where the logs directory is located. We
> > run our apache servers with separate Instance directories and
> > centralized binaries to make upgrades, etc. easier. Is there any way to
> specify something like a slotmem-file-target-location directive in the
> httpd.conf of the instance, or anything like that? I did see some rumblings
> around this from back in spring of 2012, but nothing since.
> >
> >
> >
> > Any assistance would be great.
> >
> > *Dream * Excel * Explore * Inspire*
> >
> > Jon McAlexander
> >
> > Senior Infrastructure Engineer
> >
> > Asst. Vice President
> >
> > He/His
> >
> >
> >
> > Middleware Product Engineering
> >
> > Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> >
> >
> >
> > 8080 Cobblestone Rd | Urbandale, IA 50322
> > MAC: F4469-010
> >
> > Tel 515-988-2508 | Cell 515-988-2508
> >
> >
> >
> > jonmcalexan...@wellsfargo.com
> 
> >
> > This message may contain confidential and/or privileged information.
> > If you are not the addressee or authorized to receive this for the
> > addressee, you must not use, copy, disclose, or take any action based
> > on this message or any information herein. If you have received this
> message in error, please advise the sender immediately by reply e-mail and
> delete this message. Thank you for your cooperation.
> >
> >
> >


Re: Question about slotmem-shm- log file, etc. location

2022-06-23 Thread Ruediger Pluem
Have you tried using DefaultRuntimeDir 
(https://httpd.apache.org/docs/2.4/mod/core.html#defaultruntimedir)

Regards

Rüdiger

On 6/23/22 7:40 PM, jonmcalexan...@wellsfargo.com wrote:
> Hello all.
> 
> I have a question and haven’t been able to find an answer yet on the 
> interwebs. I ran into an issue while setting up
> mod-proxy-http with the balancer option and when I restarted Apache, it 
> failed with this message:
> 
>  
> 
> “AH02611: create: 
> apr_shm_create(/apps/apache/2.4.53/logs/slotmem-shm-p18b8fc23_3.shm) failed"
> 
>  
> 
> Turns out I didn’t have a logs folder under 2.4.53. Looks like it looks at 
> the ServerRoot as to where the logs directory is
> located. We run our apache servers with separate Instance directories and 
> centralized binaries to make upgrades, etc. easier. Is
> there any way to specify something like a slotmem-file-target-location 
> directive in the httpd.conf of the instance, or anything
> like that? I did see some rumblings around this from back in spring of 2012, 
> but nothing since.
> 
>  
> 
> Any assistance would be great.
> 
> *Dream * Excel * Explore * Inspire*
> 
> Jon McAlexander
> 
> Senior Infrastructure Engineer
> 
> Asst. Vice President
> 
> He/His
> 
>  
> 
> Middleware Product Engineering
> 
> Enterprise CIO | EAS | Middleware | Infrastructure Solutions
> 
>  
> 
> 8080 Cobblestone Rd | Urbandale, IA 50322
> MAC: F4469-010
> 
> Tel 515-988-2508 | Cell 515-988-2508
> 
>  
> 
> jonmcalexan...@wellsfargo.com 
> 
> This message may contain confidential and/or privileged information. If you 
> are not the addressee or authorized to receive this
> for the addressee, you must not use, copy, disclose, or take any action based 
> on this message or any information herein. If you
> have received this message in error, please advise the sender immediately by 
> reply e-mail and delete this message. Thank you for
> your cooperation.
> 
>  
> 


Question about slotmem-shm- log file, etc. location

2022-06-23 Thread jonmcalexander
Hello all.
I have a question and haven't been able to find an answer yet on the interwebs. 
I ran into an issue while setting up mod-proxy-http with the balancer option 
and when I restarted Apache, it failed with this message:

"AH02611: create: 
apr_shm_create(/apps/apache/2.4.53/logs/slotmem-shm-p18b8fc23_3.shm) failed"

Turns out I didn't have a logs folder under 2.4.53. Looks like it looks at the 
ServerRoot as to where the logs directory is located. We run our apache servers 
with separate Instance directories and centralized binaries to make upgrades, 
etc. easier. Is there any way to specify something like a 
slotmem-file-target-location directive in the httpd.conf of the instance, or 
anything like that? I did see some rumblings around this from back in spring of 
2012, but nothing since.

Any assistance would be great.
Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.