[Zoo-discuss] Install Mapmint

Venkatesh Raghavan raghavan at media.osaka-cu.ac.jp
Thu Jan 21 15:15:13 PST 2016


Hi Chingchai,

Are you able to connect to the postgresql database as user that
is running apache.

I remember that I had to Make sure "local   all    postgres trust" is 
set in pg_hba.conf
(if necessary edit pg_hba.conf with sudo vi 
/etc/postgresql/9.3/main/pg_hba.conf).

Not sure if that will solve the issue that you have reported.

However, the Ansible scripts that Gerald has developed would
make installation much easier, I think.

Best

Venka

On 2016/01/21 5:31, Fenoy Gerald wrote:
> Dear Chingchai,
> nice to hear that you are trying to install the MapMint product on your platform.
>
> For your first point, there is probably something wrong in the way the database is defined in the main.cfg file or configuration of the database server itself.
> For your second point, it seems that the directory to store sessions is not defined or pointing to a non existing directory, or it can also be an issue with privileges to write in this directory.
> So we should dig into details about the specific failure to solve them.
>
> In other case, I personally think it is the preferred way, you may use the Ansible scripts we published on github [1] to install MapMint. The script do every single step that I tried to describe earlier in the INSTALL.md file (the one you used). From now, you may refer to the following documentation [2] (the source is also available on github [3]) to setup MapMint with only few command lines.
>
> I hope you can give the Ansible scripts a try and give feedbacks to us.
>
> Best regards,
>
> [1]https://github.com/mapmint/ansible-roles
> [2]http://zoo-project.org/mm/userguide-fr/_build/html/introduction/installmapmint.html
> [3]https://github.com/mapmint/userguide-fr
>
>> Le 20 janv. 2016 à 03:27, chingchai humhong<chingchai.h at gmail.com>  a écrit :
>>
>> Dear All,
>> I'm master student of Dr.Sittichai Choosumrong (Bomp)'s laboratory at Naresuan University, Thailand. I also used to met and discussed with Prof.Venkatesh about MapMint. So, I interested on MapMint and start learning some month ago.
>> recently, I've learned MapMint software,
>> I'm trying to install mapmint from github[1]
>> I have two problem during set up mapmint.
>>
>> 1. When access login mapmint using id test and the password is demo02 through url:http://127.0.0.1/ui/Dashboard_bs/. see the picture from this link[2]
>> I had problem massage alert Unable to run the Service. The message returned back by the Service was the following: Unable to connect to the User Database.
>>
>> 2.When access mapmint through url:http://127.0.0.1/ui/public/  I had problem with service.py. see the picture from this link[3]
>>
>> <ows:ExceptionReport xsi:schemaLocation="http://www.opengis.net/ows/1.1 
>> http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"  xml:lang="fr-FR" version="1.1.0">
>> 	<ows:Exception exceptionCode="NoApplicableCode">
>> 		<ows:ExceptionText>
>> 			TRACE: ('senv',)
>> 			<type 'exceptions.KeyError'>Unable to run your python process properly. Please check the following messages :
>> 			['  File "/home/eileen/src/mapmint/mapmint-services/template/service.py", line 114, in display\n    conf[\'senv\'][\'last_map\']="Georeferencer"\n']
>> 		</ows:ExceptionText>
>> 	</ows:Exception>
>> </ows:ExceptionReport>
>>
>> Best regards,
>> Chingchai
>>
>> [1]https://github.com/mapmint/mapmint/blob/master/INSTALL.md
>> [2]https://drive.google.com/a/nu.ac.th/file/d/0B6Fk2noS6wzNZjNFTkJoNzhfZTA/view
>> [3]https://drive.google.com/a/nu.ac.th/file/d/0B6Fk2noS6wzNUHVFa3o4bFkySU0/view
>>
>> -- 
>> Chingchai  Humhong
>> Regional Center of Geo-Informatics and
>> Space Technology, Lower Northern Region
>> Naresuan University Phitsanulok 65000
>> Lat:16.742496, Lon:100.191605
>> Map:http://maps.googleapis.com/maps/api/staticmap?center=16.742496,100.191605&zoom=14&size=400x400&sensor=false
>> Mobile: 08-4624-6278
>> Blog:http://nu-gis.blogspot.com
>> Website:http://www.cgistln.nu.ac.th
>>
>> _______________________________________________
>> Zoo-discuss mailing list
>> Zoo-discuss at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/zoo-discuss
>
> Gérald Fenoy
> http://wiki.osgeo.org/wiki/User:Djay
>
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/zoo-discuss



More information about the Zoo-discuss mailing list