Midgard 1.6.3 - Data Database Import / Segfault
"Adam Douglas" <[email protected]>
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <[email protected]> |
I have Midgard 1.6.3 freshly installed and functioning 100%, at least to my knowledge. Im able to load all the web pages and log into Aegir. I have no error messages being logged into the MidgardLog or the HTTPD error_log. However after I import my Midgard database I get blank or empty web pages rendering in the browser. I did not see any error messages being logged into my HTTPD error_log. I turned on HTTPD debug log level (ex. LogLevel debug) and then turned on my Midgard logs (ex. MidgardLog debug /var/www/logs/midgard.log). Now in my HTTPD error_log I have [notice] child pid 265 exit signal Segmentation fault (11) and Midgard: Refreshing NTLM auth request for sitegroup 0. NTLM sitegroup: -1. See the logs below for further details. The logs will show me attempting to go to /midgard/.
I get blank/empty pages when I try to go to /midgard/, /mole/ (but page is not empty contains "< ?xml version="1.0"?>" and /example/. Anyone have any ideas how to resolve these two errors?
Heres how I imported my Midgard database of a previous install of Midgard 1.6.3.
* I logged into MySQL, executed the SQL command "drop database midgard;".
* Executed another SQL command create database midgard;.
* Logged out of MySQL.
* Then I imported the data by executing the following at the shell prompt "mysql -u username -p midgard < midgard_db.sql".
After this I just opened up my browser and tried to load some web pages from that server.
Apache error_log
Processing config directory: /usr/local/midgard-1.6.3/etc/midgard/apache/vhosts/*
Processing config file: /usr/local/midgard-1.6.3/etc/midgard/apache/vhosts/scorpius.venmarces.com_80
[notice] Initializing etag from /var/www/logs/etag-state
[notice] Apache/1.3.29 (Unix) Midgard/1.6.3/Repository/MultiLang PHP/4.3.11 mod_ssl/2.8.16 OpenSSL/0.9.7d configured - resuming normal operations
[info] Server built: unknown
[notice] Accept mutex: sysvsem (Default: sysvsem)
[debug] midgard-apache1.c(1355): [client ip-here] midgard_translate_handler(UTF-8, http://scorpius.venmarces.com:80/midgard)
[debug] select_db.h(51): [client ip-here] Midgard: select_database opened database midgard
[debug] midgard-apache1.c(192): [client ip-here] Midgard: lang set to 0
[debug] select_db.h(33): [client ip-here] Midgard: select_database kept current database midgard
[debug] midgard-apache1.c(977): [client ip-here] Midgard: Refreshing NTLM auth request for sitegroup 0. NTLM sitegroup: -1
[notice] child pid 12983 exit signal Segmentation fault (11)
Midgard Log
midgard-lib:12983:debug:query=SELECT id,style,root,lang,info&1,Length(prefix),sitegroup FROM host WHERE name=subdomain.domainname.com AND port in (0,80) AND ( (0 <> 0 AND prefix = ) OR (0 = 0 AN
D prefix=Left(/midgard,Length(prefix)) AND IF(8>=Length(prefix),MID(/midgard,1+Length(prefix),1) IN (','/),0)=1 ) ) AND online <> 0 ORDER BY prefix DESC, port DESC
midgard-lib:12983:debug:query=SELECT info&2 FROM page WHERE page.id=50
midgard-lib:12983:debug:query=SELECT style FROM page WHERE page.id=50