mysql> select * from host;
+----+---------+------+-------+------+-------+------+--------+----------------------------+-----------+------+
| id | name    | root | style | info | owner | port | online | prefix 
                   | sitegroup | lang |
+----+---------+------+-------+------+-------+------+--------+----------------------------+-----------+------+
|  1 | abascal |    4 |     2 |      |     0 | 8001 |      1 | /aegir 
                   |         0 |    0 |
|  2 | abascal |   18 |     3 |      |     0 | 8001 |      1 |
/attachment/0              |         0 |    0 |
|  3 | abascal |   51 |     4 | auth |     0 | 8001 |      1 |
/spider-admin              |         0 |    0 |
|  4 | abascal |   64 |     6 | auth |     0 | 8001 |      1 |
/spider-admin/attachment/0 |         0 |    0 |
+----+---------+------+-------+------+-------+------+--------+----------------------------+-----------+------+
4 rows in set (0.00 sec)


]# cat /usr/local/etc/midgard/apache/httpd.conf
LoadModule midgard_module /usr/lib/apache2/midgard-apache2.so
MidgardEngine On
Listen 8001
Include /usr/local/etc/midgard/apache/vhosts/*
MidgardLog Debug+ /var/log/midgard.log


# ls /usr/local/etc/midgard/apache/vhosts/
abascal:8001


# cat /usr/local/etc/midgard/apache/vhosts/abascal\:8001

<VirtualHost abascal:8001>
ServerName abascal
DocumentRoot /var/local/lib/midgard/vhosts/abascal/8001
MidgardBlobDir /var/local/lib/midgard/blobs/midgard
MidgardEngine on
#MidgardRootfile /usr/lib/apache2/midgard-root-nommp.php
MidgardPageCacheDir /var/cache/midgard
MidgardRootFile /usr/lib/apache2/midgard-root.php
MidgardParser latin1
MidgardDefaultRealm "Midgard"
MidgardDatabase midgard root password
RLimitCPU 20 60
RLimitMem 67108864 134217728
</VirtualHost>

# ldconfig -v |grep midgard

Nothing!!! Have we got a winner? What did I forget to do? 




> > That I did :) I already had php-mysql and urpmied php-devel to be able
> > to compile midgard-php extension :)
> >
> > However it still refuse to find the database...
> 
> Bad :( I had this logs when midgard was not loaded in php.ini.
> 
> Send the output if You may:
> 
> 1.select * from host; // from midgard' DB
> 2. /usr/local/etc/midgard/apache/httpd.conf
> 3. ls /usr/local/etc/midgard/apache/vhosts/
> 4. /usr/local/etc/midgard/apache/vhosts/yourhost // without password
> 5. ldconfig -v | grep midgard
>

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

Reply via email to