Hi Just trying to install midgard 1.6 beta using the debs from webinone.com and the midgard-data1.6 package from midgard-project.org. One thing I have found is that when you create the vhost during the initial repligard install the:
/etc/midgard/apache/httpd.conf file points to the wrong midgard-apache mod. This is the line in that file: LoadModule midgard_module /usr/lib/apache/1.3/midgard-apache2.so I installed the apache1 midgard module so that file doesn't actually exist. I changed the line to: LoadModule midgard_module /usr/lib/apache/1.3/midgard-apache1.so I then tried to start apache but got the following errors: fopen: No such file or directory apache: could not open document config file /etc/midgard/apache/vhosts/* failed I ended up changing the dev.wilderness.org.au:80 file to vhost.conf and pinting the httpd.conf file to that and I was able to start apache. Another thing I had to change was the path to midgard-root-nommp.php file in the vhost.conf file, as that wasn't installed. I pointed it to the following: MidgardRootfile /usr/lib/libapache-mod-midgard/midgard-root.php and created the /var/cache/midgard directory. Once I changed the ownership of this directory to www-data I was then able to access dev.wilderness.org.au/aegir although I can't see any images. One thing I notice though is that the apache error log keeps displaying the following error messages for my other virtualhosts when andone access's them: [Sun Jun 13 02:00:07 2004] [error] [client 64.68.82.33] Midgard: database not defined for www.ngogeeks.com The sites works fine. I know in earlier versions of midgard I always put MidgardEngine Off in my config for the virtualhost. I tried that again but was told: Invalid command 'MidgardEngine', perhaps mis-spelled or defined by a module not included in the server configuration I rearranged it so my other virtualhosts file was loaded into apache after midgard and apache started without any problems. However when I went to view my other sites I noticed that everytime I loaded a page I got this in the apache error logs: [Sun Jun 13 02:16:40 2004] [notice] child pid 12092 exit signal Segmentation fault (11) [Sun Jun 13 02:16:47 2004] [notice] child pid 12093 exit signal Segmentation fault (11) The pages themselves appeared to load fine and I could still access aegir. I commented out the MidgardEngine Off line in my virtualhosts file and restarted apache and then I got the database not defined for www.ngogeeks.com error back and also the segmentation fault error. I changed the includes so that the midgard httpd.conf file would be included last and that got rid of the segmentation error leaving just the: [Sun Jun 13 02:28:44 2004] [error] [client 211.189.240.42] Midgard: database not defined for www.ngogeeks.com Both Aegir and Spider-Admin appear to be working fine, aside from the missing images which means the menus in aegir are broken. I am not sure what is going on with the images, the permissions for blobs dir are: rwxrwx--x 18 root root 4096 Jun 13 00:58 0 drwxrwx--x 18 root root 4096 Jun 13 00:58 1 drwxrwx--x 18 root root 4096 Jun 13 00:58 2 I tried changing the ownership of the blobs directory to www-data but that didn't help. The location for the spider admin is this: http://dev.wilderness.org.au/spider-admin/mgd_spideradmin.png Looking in the hosts in spider admin I see: [1] 0:80/aegir (SG0) ROOT [2] 0:80/attachment/0 (SG0) ROOT [3] 0:80/spider-admin (SG0) ROOT [4] 0:80/spider-admin/attachment/0 (SG0) ROOT My actuall hosts table in the database is: | 1 | dev.wilderness.org.au | 4 | 2 | | 0 | 80 | | 1 | /aegir | 0 | 0 | 2 | | dev.wilderness.org.au | 18 | 3 | | 0 | 80 | 1 | | /attachment/0 | 0 | 0 | 3 | | dev.wilderness.org.au | 51 | 4 | auth | 0 | 80 | 1 | | /spider-admin | 0 | 0 | 4 | | dev.wilderness.org.au | 64 | 6 | auth | 0 | 80 | 1 | | /spider-admin/attachment/0 | 0 | 0 | For some reason the server name is shown as 0? I tried changing this to dev.wilderness.org.au but it was still displayed the same. Looking in the mysql.log file I could see that the UPDATE query was being run: UPDATE host SET online=1,root=4,style=2,info=0,owner=0,lang=0 ,prefix='/aegir' ,name='dev.wilderness.org.au',port=80 WHERE id=1 AND (sitegroup = 0 OR 1<>0) When I ran the SELECT query that I could see being run in the mysql.log file in mysql it displayed the actuall hostname as dev.wilderness.org.au so I am not sure why it is not being displayed on the site. Anyone have any ideas? Well I better stop now and come back to this later. A couple more bugs to iron out. cheers John -- John Habermann The Wilderness Society, Cairns Tel: 0417 783 642 Email: [EMAIL PROTECTED] http://www.wilderness.org.au jabber: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
