[mapguide-users] RE: Unable to compile MGOS 2.2 on Linux (newbie)
Trevor Wekel
trevor_wekel at otxsystems.com
Fri Apr 1 11:43:05 EDT 2011
Hello Riccardo,
For the first scenario, are there any messages in the MapGuide Server error log? It sounds like either Apache or the MapGuide server crashed while executing the requests.
For the second scenario, we only compile MGOS on Linux as 32 bit. Using the MapGuide 32 bit Apache modules with a 64 bit Apache Server will not work because they are a different executable type and the memory models are incompatible.
Regards,
Trevor
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of ar_gaeta
Sent: April 1, 2011 7:48 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: Unable to compile MGOS 2.2 on Linux (newbie)
Hi all.
I've successful installed MGOS 2.2 on Lubuntu 10 (virtual machine with
VMWare), and on a server machine of my agency that is on RedHat (I don't
know the version: how to know the version by shell?).
I've token the binary files from:
http://download.osgeo.org/mapguide/releases/2.2.0/RC4/
On RedHat there is yet a Apache going on. So I try to explain my situation
with 2 scenarios:
1)First Scenario:
I launch all the processes (Apache, Tomcat and MGServer) from my MGOS
directory.
In this case, I'm able to connect to my site with mapadmin and mapagent (via
browser web), but when I try to connect to my site with MapGuideMaestro I
cannot modify any contents and I received these errors:
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_1.jpg
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_2.jpg
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_1-lubuntu.jpg
http://osgeo-org.1803224.n2.nabble.com/file/n6230864/error_2-lubuntu.jpg
Why I get these errors? What do they mean?
2)Second Scenario:
I try to utilize the Apache that is yet working on the machine, modifying
the httpd.conf including my mapguide.conf, and copying some modules.
In this case I'm not able to start the httpd service. It gives me these 2
errors:
[root at ss05-02 conf]# httpd -k restart
httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load
/etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so:
wrong ELF class: ELFCLASS32
And, when I comment this line, I get this other error:
[root at ss05-02 conf]# httpd -k restart
httpd: Syntax error on line 1006 of /etc/httpd/conf/httpd.conf: Syntax error
on line 6 of /etc/httpd/conf/mapguide.conf: Cannot load
/etc/httpd/modules/mod_mgmapagent.so into server:
/etc/httpd/modules/mod_mgmapagent.so: wrong ELF class: ELFCLASS32
I've searched on Google and it seems that this error is because my httpd is
in 64bit and my MG libraries are in 32bit. It's exact? In any case, how can
I resolve this?
Thanks again at all.
Riccardo
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Unable-to-compile-MGOS-2-2-on-Linux-newbie-tp6203409p6230864.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list