U use Apache 2 and Fedora 3 x_86 distr.

My conf:

LoadModule midgard_module /usr/lib64/httpd/modules/midgard-apache2.so
MidgardRootFile "MidgardRootFile /usr/lib64/httpd/modules/midgard-root.php"
Listen 80
NameVirtualHost 10.10.16.110:80
Listen 8001
NameVirtualHost 10.10.16.110:8001

one of virtual hosts def:
<VirtualHost 10.10.16.110:8001>
ServerName front2.corp:8001
DocumentRoot /var/www/html
MidgardBlobDir /var/local/lib/midgard/blobs/mgdend
MidgardEngine on
#MidgardRootfile /usr/lib64/httpd/modules/midgard-root-nommp.php
MidgardPageCacheDir /var/cache/midgard
MidgardRootFile /usr/lib64/httpd/modules/midgard-root.php
MidgardParser UTF-8
MidgardDefaultRealm "Midgard"
MidgardDatabase mgdend us midgard
RLimitCPU 20 60
RLimitMem 67108864 134217728
#LogLevel debug
#MidgardLog Debug+ /var/log/httpd/midgard.log
</VirtualHost>


$ httpd -D DUMP_VHOSTS:

VirtualHost configuration:
10.10.16.110:80        is a NameVirtualHost
         default server front2.corp
(/usr/local/etc/midgard/apache/vhosts/front2.corp_80:1)
         port 80 namevhost front2.corp
(/usr/local/etc/midgard/apache/vhosts/front2.corp_80:1)
         port 80 namevhost sample.corp
(/usr/local/etc/midgard/apache/vhosts/sample.corp_80:1)
10.10.16.110:8001      is a NameVirtualHost
         default server front2.corp
(/usr/local/etc/midgard/apache/vhosts/front2.corp_8001:1)
         port 8001 namevhost front2.corp
(/usr/local/etc/midgard/apache/vhosts/front2.corp_8001:1)
wildcard NameVirtualHosts and _default_ servers:
_default_:443          localhost (/etc/httpd/conf.d/ssl.conf:88)

>> this is not importing, I suppose...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "pl=PL",
        LANG = "pl_PL"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").




/midgard - no response 

When I trying login  to aegir in IE the url as change to: 
http://front2.corp:8001/aegir/newframeset/
and show the IE error "Couldn't open page"

sample page stop working after change with the similarly error:

[Thu Dec 30 11:39:57 2004] [debug] midgard-apache2.c(2091): [client
10.10.16.106] midgard_translate_handler(UTF-8, http://sample.corp:80/)
[Thu Dec 30 11:39:57 2004] [debug] select_db2.h(51): [client 10.10.16.106]
Midgard: select_database opened database mgdend
[Thu Dec 30 11:39:57 2004] [debug] midgard-apache2.c(513): [client
10.10.16.106] Midgard: lang set to 0
[Thu Dec 30 11:39:57 2004] [debug] midgard-apache2.c(1291): [client
10.10.16.106] Midgard: extension = .php, default: .php, parser = UTF-8
[Thu Dec 30 11:39:57 2004] [debug] select_db2.h(33): [client 10.10.16.106]
Midgard: select_database kept current database mgdend
[Thu Dec 30 11:39:57 2004] [debug] midgard-apache2.c(2302): [client
10.10.16.106] Midgard: serving page /var/cache/midgard/46-7-0.php
[Thu Dec 30 11:39:57 2004] [debug] midgard-apache2.c(2307): [client
10.10.16.106] Midgard: setting blobdir /var/local/lib/midgard/blobs/mgdend
[client 10.10.16.106] PHP Notice:  Undefined variable:  grps_array in
/var/cache/midgard/46-7-0.php(47) : eval()'d code on line 56
[client 10.10.16.106] PHP Notice:  Undefined variable:  nnb_indentstr in
/var/cache/midgard/46-7-0.php(47) : eval()'d code(70) : eval()'d code on line
21
[client 10.10.16.106] PHP Notice:  Undefined variable:  disable404 in
/var/cache/midgard/46-7-0.php(47) : eval()'d code(71) : eval()'d code on line
43
[client 10.10.16.106] PHP Notice:  Undefined variable:  article in
/var/cache/midgard/46-7-0.php(47) : eval()'d code(71) : eval()'d code on line
44
[client 10.10.16.106] PHP Notice:  Undefined variable:  topic_not_readable in
/var/cache/midgard/46-7-0.php(47) : eval()'d code(71) : eval()'d code on line
60
[client 10.10.16.106] PHP Notice:  Undefined variable:  disable403 in
/var/cache/midgard/46-7-0.php(47) : eval()'d code(71) : eval()'d code on line
60
[client 10.10.16.106] PHP Notice:  Undefined variable:  article in
/var/cache/midgard/46-7-0.php on line 50
[client 10.10.16.106] PHP Notice:  Undefined variable:  article in
/var/cache/midgard/46-7-0.php on line 51
[client 10.10.16.106] PHP Notice:  Undefined variable:  article in
/var/cache/midgard/46-7-0.php on line 59
[client 10.10.16.106] PHP Notice:  Undefined variable:  last_modified in
/var/cache/midgard/46-7-0.php on line 87
[client 10.10.16.106] PHP Notice:  Undefined variable:  article in
/var/cache/midgard/46-7-0.php on line 88
[client 10.10.16.106] PHP Fatal error:  Call to a member function on a
non-object in /var/cache/midgard/46-7-0.php on line 92


is "AddModule mod_midgard.c" necessary in httpd.conf??

Wojtek

-----Original Message-----
From: Jon Ortiz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 29, 2004 5:52 PM
To: [email protected]
Subject: RE: [midgard-user] Problem wih domain/aegir and domain/midgrd 

Are you using Apache 2 or 1? I had a similar issue using Apache 2 and I had
to modify the vhost for it to include the port address in the ServerName
declaration. I would highly suggest hitting the online web archive and
checking out the thread that I started about a week ago and try the
troubleshooting tips in there. 

Try running apache2 (or apache) -D DUMP_VHOSTS and see if your vhost is
appearing. Are you using a plain linux install or a distro?


-----Original Message-----
From: Wojciech Chmielewski [mailto:[EMAIL PROTECTED]
Sent: Wed 12/29/2004 11:32 AM
To: [email protected]
Subject: RE: [midgard-user] Problem wih domain/aegir and domain/midgrd 
 
> Try midgard-pageresolve and see if it can connect
 ok... 
 
midgard-pageresolve -N mgdend -U db -P db -h front2.corp -p 80 -u /midgard -d
dump.html -c ls
 
&  I received:
 
Connecting to mysql://midgard:<hidden>@localhost/mgdend
Resolving host: http://front2.corp:80/midgard
Host found: 5 in sitegroup 0
Resolving page: http://front2.corp:80/midgard
Page found: 51, active=2, redirect=1
Path: 51:
Style: 9
Rebuilding cache for 51
Parse page
Cannot open root file midgard-root.php
 
Wojtek
 
________________________________

From: Jon Ortiz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 29, 2004 2:23 PM
To: [email protected]
Subject: RE: [midgard-user] Problem wih domain/aegir and domain/midgrd 
 
Try midgard-pageresolve and see if it can connect
 
________________________________

From: Wojciech Chmielewski [mailto:[EMAIL PROTECTED]
Sent: Wed 12/29/2004 4:00 AM
To: [email protected]
Subject: RE: [midgard-user] Problem wih domain/aegir and domain/midgrd 
I'm use Midgard_AllinOne.tar.bz2 from midgard project page. ver 1.6.1 
 
Wojtek
 
________________________________

From: Jon Ortiz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 6:00 PM
To: [email protected]
Subject: RE: [midgard-user] Problem wih domain/aegir and domain/midgrd 
 
Did you install from a tarball or did you use one of the packages?
 
________________________________

From: Wojciech Chmielewski [mailto:[EMAIL PROTECTED]
Sent: Tue 12/28/2004 11:29 AM
To: [email protected]
Subject: [midgard-user] Problem wih domain/aegir and domain/midgrd 
Hi
I've some problem with login to Aegir.
I can't login to domain/aegir  - system all the time back to login page (user
& pass are ok - I'm using the same to spider-admin, register_globals set to
'1')


errors.log:
[Tue Dec 28 17:01:23 2004] [debug] midgard-apache2.c(2091): [client
10.10.16.106] midgard_translate_handler(UTF-8,
http://front2.corp:8001/aegir/newframeset/), referer:
http://front2.corp:8001/aegir/
[...]
 [client 10.10.16.106] PHP Notice:  Undefined variable:  localization_conf in
/var/cache/midgard/26-6-0.php(75) : eval()'d code(12) : eval()'d code(34) :
eval()'d code on line 2, referer: http://front2.corp:8001/aegir/
[client 10.10.16.106] PHP Notice:  Undefined index:  messagebox in
/var/cache/midgard/26-6-0.php(76) : eval()'d code on line 15, referer:
http://front2.corp:8001/aegir/
[...]
[Tue Dec 28 17:01:24 2004] [notice] child pid 10245 exit signal Segmentation
fault (11)

Similar error with domain/midgard, (I receive only white page)

errors.log:
[Tue Dec 28 17:13:40 2004] [debug] midgard-apache2.c(2091): [client
10.10.16.106] midgard_translate_handler(UTF-8, http://front2.corp:80/midgard)
[...]
 [client 10.10.16.106] PHP Notice:  Undefined index:  session_timeout in
/var/cache/midgard/51-9-0.php(236) : eval()'d code(17) : eval()'d code on
line 10
[client 10.10.16.106] PHP Notice:  Undefined index:  dictionary_guid in
/var/cache/midgard/51-9-0.php(236) : eval()'d code(17) : eval()'d code on
line 14
 [...]
[client 10.10.16.106] PHP Fatal error:  Call to a member function on a
non-object in /var/cache/midgard/51-9-0.php on line 315

/var/cache/midgard/51-9-0.php:

  if ($GLOBALS["midcom_site"]['midcom_debug_enable'] != "YES") {
315:    $GLOBALS["midcom_debugger"]->disable();
  } else {
    // MidCOM debugger. Don't use for production setups!
    $GLOBALS["midcom_debugger"]->enable();
  }

Sample Aegir Page and Spider-Admin work without problem.

Any idea??
Thanks for your help.


Wojtek


---------------------------------------------------------------------
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