Hi again,

Thanks so much for all of your help. I tried installing from the beta repository but am getting the same results. I thought that it may be because I no longer have a clean install after all of my attempts at getting this working, so I moved on to a 2nd server (there will be 2 front end web servers and a back-end DB server in this setup).

The 2nd server does have a clean install of Midgard 1.8.6 from source. The server is running RHEL 5, Apache 2.2, PHP 5.1, MySQL 5.0. I have also installed php-devel, mysql-devel, and httpd-devel, along
with php-mysql.

When I try view a page on the site, I am getting segfaults. I used gdb to debug the problem and got the following stack trace:

#0  0x00002aaaad393a65 in __res_hostalias () from /lib64/libresolv.so.2
#1  0x00002aaaad394224 in __libc_res_nsearch () from /lib64/libresolv.so.2
#2 0x00002aaab9d1d8ef in _nss_dns_gethostbyname3_r () from /lib64/libnss_dns.so.2 #3 0x00002aaab9d1dade in _nss_dns_gethostbyname_r () from /lib64/libnss_dns.so.2 #4 0x00002aaaac85a9f1 in gethostbyname_r@@GLIBC_2.2.5 () from /lib64/libc.so.6 #5 0x00002aaab93b7204 in my_gethostbyname_r () from /usr/lib64/mysql/libmysqlclient.so.15 #6 0x00002aaab93ce82c in mysql_real_connect () from /usr/lib64/mysql/libmysqlclient.so.15 #7 0x00002aaaba13254d in zif_mysql_fetch_row () from /usr/lib64/php/modules/mysql.so
[... snip - numerous other calls ... ]

Looks to me like it's trying to make a database connection and resolve the name of the database server. I have verified all of my database connection info and am able to manually connect to the databases from this server.

Midgard is actually generating the cached page which I copied into my document root as test.php to see what was going on. The segfaults occur when any mgd_xxx function is called, starting with mgd_get_midgard().

Hopefully I can get the 2nd server functioning and then I can get back to the original issue ( replication ). Any ideas on what is
causing the segfaults ?

Thanks again.

Martin


Piotr Pokora wrote:
Martin Gottlieb pisze:

Hi!

ok, thanks.  I am attempting to follow the directions to get this set
up, but I'm not getting very far. I have a system running RHEL 5 with a
fresh install of Midgard 1.8.6.  It looks like MidCOM 2.6 gets
installed by default, so am I correct in assuming that I need to get the
latest MidCOM from Subversion
(http://www.midgard-project.org/documentation/running-latest-midcom-from-subversion/)
in order to get
2.8 ?

Just set pear preferred_state to beta and upgrade midcom using pear
tool. No need to get applications from SVN.

    pear config-set preferred_state beta
    pear -f upgrade midcom/midcom

Piotras
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to