Piotras <[EMAIL PROTECTED]> writes:

> 
> Bruce <[EMAIL PROTECTED]> wrote:
> 
> > [Fri Dec 10 12:01:05 2004] [debug] midgard-apache2.c(2267):
> > [client 127.0.0.1] Midgard: Couldn't create cache file
> > [Fri Dec 10 12:01:05 2004] [error] [client 127.0.0.1] File does not 
> > exist: /var/lib/midgard/vhosts/localhost/8001/midgard
> >  
> > 
> 
> chmod 550 /var/cache/midgard
> chown www-data:www-data /var/cache/midgard
> 
> Piotras
> 

Had already done this (except had done chown root:www-data), per your 
earlier suggestion: 

 http://article.gmane.org/gmane.comp.web.midgard.user/6576

I still get the same error message.

Yes, Apache2 is running as user:group www-data:www-data

 [EMAIL PROTECTED] [~]# ls -l /var/cache
     ~
     dr-xr-x---   2 www-data www-data 4096 2004-12-09 10:23 midgard
 [EMAIL PROTECTED] [~]# 

I noticed there were no files in /var/cache/midgard. I tried temporarily
changing permissions on /var/cache/midgard to 750, reloaded the webserver, 
and opened the browser to http://localhost:8001/midgard, /spider-admin, and
/aegir. /aegir works as long as the permissions /var/cache/midgard are 
at 750.

For /midgard and /spider-admin, I got the following error in the browser:

 Server Error
   Invalid Path: /de/linkm/taviewer
 Error 500

with the following errors in my log:

[Fri Dec 10 13:29:03 2004] [debug] midgard-apache2.c(2302): 
[client 127.0.0.1] Midgard: serving page /var/cache/midgard/49-8-0.php
[Fri Dec 10 13:29:03 2004] [debug] midgard-apache2.c(2307): 
[client 127.0.0.1] Midgard: setting blobdir 
 /var/lib/midgard/blobs/midgard
[client 127.0.0.1] PHP Notice:  Undefined index:  session_timeout in
 /var/cache/midgard/49-8-0.php(236) : eval()'d code(17) : eval()'d code 
 on line 10
[client 127.0.0.1] PHP Notice:  Undefined index:  dictionary_guid in
 /var/cache/midgard/49-8-0.php(236) : eval()'d code(17) : eval()'d code 
 on line 14 
[client 127.0.0.1] PHP Notice:  Undefined index:  path_override in
 /var/cache/midgard/49-8-0.php(236) : eval()'d code(19) :
 eval()'d code on line 22
[client 127.0.0.1] PHP Notice:  Undefined variable:
 nemeinlocalization_available in /var/cache/midgard/49-8-0.php(236) :
 eval()'d code(20) : eval()'d code on line 35
[client 127.0.0.1] PHP Notice:  Undefined variable: 
 localization_conf in  /var/cache/midgard/49-8-0.php(236) :
 eval()'d code(20) : eval()'d code(41) :  eval()'d code on line 2
[client 127.0.0.1] PHP Notice:  Undefined index: 
 midcom_site in /var/cache/midgard/49-8-0.php on line 241
[client 127.0.0.1] PHP Notice:  Undefined index:
 auth_session_a4fbba106ca062e67b38e0de579c9e03 in
 /var/cache/midgard/49-8-0.php(236) : eval()'d code(19) : 
 eval()'d code on line 34
[client 127.0.0.1] PHP Notice:  Undefined variable:  myguid in 
 /var/cache/midgard/49-8-0.php(236) : eval()'d code(20) : eval()'d
 code(42) :  eval()'d code on line 37

So it looks like the aegir page will load, provided
www-data:www-data has write permission to /var/cache/midgard. Haven't 
had a chance to try anything further.

B. 




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

Reply via email to