RE: [users@httpd] Apache2 variable was undefined warning message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua

Thanks, this is very useful. I'm not an Apache expert, and I was
following instructions written by someone else who, also, clearly does
not know how to use setenv & passenv.

The /var/apache2/logs/error_log reported:

[Wed Jun 07 17:08:22 2006] [error] httpd: could not log pid to file
/var/run/apache2/httpd.pid

..and this was because there was no apache2 directory in /var/run. Once
created, the httpd server started.

Many thanks.

James



-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua
Slive
Sent: 07 June 2006 17:07
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Apache2 variable was undefined warning
message

On 6/7/06, Geoghegan, James (CSS) <James.Geoghegan@xxxxxxxxxxxx> wrote:

> setenv DIRECT_SYSTEM /apps/CapitaDirect/System
>
> setenv DIRECT_TEMPLATE /apps/CapitaDirect/Template
>
> passenv DIRECT_SYSTEM
>
> passenv DIRECT_TEMPLATE

This doesn't make sense.  Setenv is used to set new variables that
apache will pass to cgi scripts.  Passenv is used to take env
variables that were set in the shell that started apache and pass them
along to cgi scripts.  You would never want to use both for the same
variable.

>
> ..and the httpd server did not start. I have found lots of reports of
this
> using Google, but no-one seems to know the solution. Does anybody here
know
> how to resolve this?

The fact that the server did not start is possibly unrelated.  The
messages you quoted were only warnings.  Was there anything else in
the error log?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


This email has been scanned for all viruses by the MessageLabs SkyScan
service.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux