I changed the config in
/usr/local/etc/midgard/apache/vhosts/localhost:8008
the line as you recommended.

Than I changed the rights of the /var/local/cache/midgard that apache
can read and
write this directory. In this directory is a file called 4-2-0.php.

I restarted apache. But it still not work.

Here is the error_log when I try to access http://localhost:8008/aegir :

[Tue Jun 01 14:49:55 2004] [debug] midgard-apache2.c(2071): [client
127.0.0.1] midgard_translate_handler(latin1,
http://localhost:8008/aegir/)
[Tue Jun 01 14:49:55 2004] [debug] select_db2.h(51): [client 127.0.0.1]
Midgard: select_database opened database midgard
[Tue Jun 01 14:49:55 2004] [debug] midgard-apache2.c(513): [client
127.0.0.1] Midgard: lang set to 0
[Tue Jun 01 14:49:55 2004] [debug] midgard-apache2.c(1291): [client
127.0.0.1] Midgard: extension = .php, default: .php, parser = latin1
[Tue Jun 01 14:49:55 2004] [debug] select_db2.h(33): [client 127.0.0.1]
Midgard: select_database kept current database midgard
[Tue Jun 01 14:49:55 2004] [debug] midgard-apache2.c(2276): [client
127.0.0.1] Midgard: serving page /var/local/cache/midgard/4-2-0.php
[Tue Jun 01 14:49:55 2004] [debug] midgard-apache2.c(2281): [client
127.0.0.1] Midgard: setting blobdir /var/local/lib/midgard/blobs/midgard
[Tue Jun 01 14:49:56 2004] [debug]
/usr/src/build/319288-i386/BUILD/httpd-2.0.47/modules/experimental/util_
ldap.c(1104): [6933] ldap cache init: Success
[Tue Jun 01 14:49:56 2004] [notice] child pid 6914 exit signal
Segmentation fault (11)

and here is the midgard.log:

midgard-lib:6915:debug:query=SELECT
id,style,root,lang,info&1,Length(prefix),sitegroup FROM host WHERE
name='localhost' AND port in (0,8008) AND ( (0 <> 0 AND prefix = '')  OR
(0 = 0 AND prefix=Left('/aegir/',Length(prefix)) AND
IF(7>=Length(prefix),MID('/aegir/',1+Length(prefix),1) IN ('','/'),0)=1
) ) AND online <> 0 ORDER BY prefix DESC, port DESC
midgard-lib:6915:debug:query=SELECT info&1 FROM page WHERE page.id=4
midgard-lib:6915:debug:query=SELECT info&2 FROM page WHERE page.id=4
midgard-lib:6915:debug:query=SELECT style FROM page WHERE page.id=4
midgard-lib:6915:debug:query=SELECT page FROM cache WHERE page=4 AND
style=2 AND lang=0 LIMIT 1
midgard-lib:6915:debug:query=SELECT title,content FROM page_i WHERE
sid=4 AND lang=0
midgard-lib:6915:debug:query=SELECT element.name,element_i.value FROM
element,element_i,cache WHERE element.id=element_i.sid AND
element_i.lang=0 AND cache.page=4 AND cache.type=1 AND
cache.id=element.id AND cache.style=element.style
midgard-lib:6915:debug:query=SELECT element.name,element_i.value FROM
element,element_i,cache WHERE element.id=element_i.sid AND
element_i.lang=0 AND cache.page=4 AND cache.type=1 AND
cache.id=element.id AND cache.style = element.style
midgard-lib:6915:debug:query=SELECT pageelement.name,pageelement_i.value
FROM pageelement,pageelement_i,cache WHERE
pageelement.id=pageelement_i.sid AND pageelement_i.lang=0 AND
cache.page=4 AND cache.type=0 AND cache.id=pageelement.id
midgard-lib:6915:debug:query=SELECT pageelement.name,pageelement_i.value
FROM pageelement,pageelement_i,cache WHERE
pageelement.id=pageelement_i.sid AND pageelement_i.lang=0 AND
cache.page=4 AND cache.type=0 AND cache.id=pageelement.id


I get the error: 

NOT FOUND
The requested URL /aegir/ was not found on this server.

Christian

-----Original Message-----
From: David Schmitter [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 28, 2004 8:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [midgard-user] Beta Release of Midgard and Aegir

I just installed Midgard on Fedora, because I'm in the process of making

packages. I ran into the same problems. Midgard somehow does not want to

believe that there really is no MidgardPageCacheDir and instead thinks 
it's there but empty. Maybe this is an Apache 2 thing? For me, the fix 
was activating the page cache.

before:

MidgardRootfile /etc/httpd/modules/midgard-root-nommp.php
#MidgardPageCacheDir /var/local/cache/midgard
#MidgardRootFile /etc/httpd/modules/midgard-root.php

after:

#MidgardRootfile /etc/httpd/modules/midgard-root-nommp.php
MidgardPageCacheDir /var/local/cache/midgard
MidgardRootFile /etc/httpd/modules/midgard-root.php

The MidgardPageCacheDir must exist and be writable by apache.

David

> No, I'haven't! 
> 
> -----Original Message-----
> From: David Schmitter [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 26, 2004 4:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [midgard-user] Beta Release of Midgard and Aegir
> 
> [EMAIL PROTECTED] wrote:
> 
> 
>>apachectl configtest
>>
>>checks only the syntax of the config
>>
>>it returns: Syntax ok! 
>>
> 
> 
> Must be the wrong day :)
> 
> Have you tried to replace the "Include" directives with the content of

> the included files?
> 
> David
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
David Schmitter, Software Developer, [EMAIL PROTECTED]
Dataflow Solutions GmbH - Pappelweg 48 - 3013 CH-Bern
[EMAIL PROTECTED] - +41 31 332 01 01


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




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

Reply via email to