-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Rich,

DrBunsen wrote:
| Hello
|
| I have installed midgard 1.6.1 on a RHEL3 box (apache info:
Apache/1.3.33 (Unix) Midgard/1.6.1/Repository/MultiLang
| mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.9
FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a).
|
| I compiled midgard from source and it seemed to compile and install
ok, but I am getting errors.
|
| When I add the midgard.so extension to the php.ini file and then call
php from the command line I get the following error:

AFAIR, Midgard cannot be used from the command line.

| /usr/bin/php: relocation error:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/midgard.so:
undefined symbol:
| ap_find_linked_module
|
| "nm /usr/local/lib/php/extensions/no-debug-non-zts-20020429/midgard.so
- -u" returns loads of undefined symbols including
| ap_find_linked_module
|
| /usr/local/lib/php/extensions/no-debug-non-zts-20020429/midgard.so:
|          U add_assoc_double_ex
|          U add_assoc_long_ex
|          U add_assoc_string_ex
|          U add_assoc_stringl_ex
|          U add_assoc_zval_ex
|          U add_index_string
|          U add_next_index_long
|          U add_property_long_ex
|          U add_property_null_ex
|          U add_property_resource_ex
|          U add_property_string_ex
|          U add_property_stringl_ex
|          U add_property_zval_ex
|          U ap_find_linked_module
|          U ap_log_rerror
|          U ap_psprintf
|          U ap_pstrdup
|          U ap_table_get
|          U ap_table_set
|          U ap_uuencode
|          U _array_init
|          U call_user_function
|          U compiler_globals
|          U compile_string
|          U convert_to_boolean
|          U convert_to_long
|       ... There were about 100 more
|
| When I visit the virtual server in web browser on port 8001 I get a
403 Forbidden error. The root of the midgard virtual server is
| empty. All permissions seem to be set ok.
| As I said the install from source seemed to go ok and I executed
datagard and created a database and a virtual server with no
| trouble.

Did you install any packages after db creation?

Take a look at the hosts table in your db. You should have
matches in name (as in hostname) and port (as in server port).
I.e. if you have VirtualHost for localhost:80, you should have
the exact same match in the hosts table (with name=localhost and
port=80).

You may also want to try and run midgard-pageresolve
(use -h for help). If you're able to connect to a Web page
with midgard-pageresolve, your Midgard installation is ok -
the problem is most likely in the Apache configuration.

| I did rename a line in httpd.conf that the midgard-apache1-1.6.1
install had added: it did read "AddModule mod_midgard.c" but I
| changed it to "AddModule midgard-apache1.c" (with quotes) as could not
find mod_midgard.c

This is correct, the Midgard Apache module used to be called mod_midgard.

| Please help!! Any suggestions would be very welcome at this stage.
|
|
| Rich
|
|

Cheers!

~  //Henri

- --
Henri Kaukola                   [EMAIL PROTECTED]
Consultant                      Tel: +358-20-198 6037
Nemein Oy                       http://www.nemein.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBnEOS3xWc2AolrKgRAjfQAKDmySVllI3fiaoVdPDlK1zVc0gdAACgmMZP
xuOYiXYI7htkY9rdLnTxDYI=
=dOj5
-----END PGP SIGNATURE-----

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



Reply via email to