Ganib Installation - Linux

18,345 views

Ganib Installation
Requirements
OS : Linux, Windows, Macintosh
Softwares : JAVA, MySQL, Apache tomcat version 6 & above.
Installation In Linux

Download latest Ganib from sourceforge.
Unzip downloaded file in your home directory with below command

      $cd ~
      $unzip Ganib-x.x_with_jre.zip
      $cd Ganib-x.x_with_jre

MySQL Database

Now you need to import database script files.
 

     $mysql -u root -p
     mysql > CREATE DATABASE ganib CHARACTER SET utf8 COLLATE utf8_general_ci;
     mysql > exit;
     #mysql -h localhost -u root -p ganib < database/ganib.sql



 

SMTP

To change SMTP settings you need to edit tomcat/conf/context.xml & edit below lines.

<Resource 
name="mail/GanibSession" 
type="javax.mail.Session" 
auth="Container" 
mail.smtp.host="localhost" 
mail.smtp.auth="false" 
mail.smtp.user="username" 
password="password" 
mail.smtp.port="25" 
mail.transport.protocol="smtp" 
/>

Port settings

Bydefault ganib run on port 8080. If port 8080 is already in use, you can change port by editing tomcat/conf/server.xml.

<Connector port="7070" protocol="HTTP/1.1"
               connectionTimeout="20000"
                URIEncoding="UTF-8"
               redirectPort="8443"
/>

Change connector port from above lines to run ganib on another port.

Start Ganib

Now you need to start ganib with below commands.

   $chmod +x Start Ganib.sh
      $./Start Ganib.sh


If everything is configured as per above instructions. you can access it using web browser. Enter below url in web browser.

 http://localhost:8080

Replace "localhost" with your system IP address. Also you need to replace port no if you've changed it.

If MySQL database is reachable it will take you to sign page.

Complete sign up process & now you can use ganib.



        

asked May 13, 2013 by Emily S (820 points)
edited Sep 15, 2014 by Ganib

6 Answers

0 votes
I am trying to install on a Ubuntu 13.04 server. When i execute ./Start Hanib.sh i get ./Start Ganib.sh: line 4: firefox: command not found
        
answered Aug 21, 2013 by Moises (200 points)
0 votes

It seems you don't have firefox command in PATH.

  • Please remove the below lines from start ganib.sh
    sleep 5
    firefox http://localhost:8080/

       

answered Aug 22, 2013 by Emily S (820 points)
0 votes
Mine doesnt work. Im trying to start it with Red Hat Enterprise Linux 6 (64-bit off course) and the included JRE doesnt run, it says bad ELF version and cant find C libraries..
Do you have any instructions for installing with own JRE or/and Tomcat ?
        
answered Feb 14, 2014 by martinrm (140 points)
0 votes
Please refer the below documentation here to install Ganib with Java and Tomcat.
http://help.ganib.com/faq/content/28/227/en/installing-ganib-with-jre.html
In case you need a support to install and get started with Ganib Please send an email to support@ganib.com
        

Jaclyn

Jaclyn N,
Ganib Support Team, Ganib Inc.
Free Signup | Free Download | Documentation
Skype ID: ganib.support
Email: support@ganib.com

 

answered Feb 14, 2014 by Jaclyn (18,310 points)
I did follow the guide - and the guide in the article. It doesn't work, because your JRE is not 64-bit Red Hat Enterprise Linux compatible.
You don't supply any requirements for Linux or Windows - do you only support 32-bit?
How do I override the lin_jre JRE and supply my own?
        
Ok, I followed the guide with the war file on source forge.net - it seems to have all the info.
I also installed Ganib on a 64 bit Linux server and followed all the instructions on http://help.ganib.com/questions/4/ganib-installation-linux. Because I could not connect to the Ganib application, I changed JRE_HOME to /usr/lib/jvm/java-6-openjdk-amd64/jre (64 bit jre was seperately installed). Now I get the message: "Ganib Error. Not Found. The requested page was not found on this server." Does anyone know how to get Ganib running?
        
0 votes
Hello Rene,
Can you please provide the Error log, So that we can help you further.
Thanks,

Jaclyn

Jaclyn N,
Ganib Support Team, Ganib Inc.
Free Signup | Free Download | Documentation
Skype ID: ganib.support
Email: support@ganib.com

 

answered Feb 17, 2014 by Jaclyn (18,310 points)
edited Mar 13, 2014 by Jaclyn
0 votes

Hello,

We have gone through your Catalina.out error log and have traced what seems to be the problem.

java.net.BindException: Address already in use <null>:8080

From above error log it seems that port number 8080 is already used by some other application.

To make Ganib working in your system, you need to change the ajp, http and shutdown ports in your server.xml file located at ganib_dir/tomcat/conf/

After that restart the tomcat and start using Ganib.

If you have any issues, please contact again. We would be happy to help you.

Happy using Ganib!

Thanks,

Jaclyn

Jaclyn N,
Ganib Support Team, Ganib Inc.
Free Signup | Free Download | Documentation
Skype ID: ganib.support
Email: support@ganib.com

 

answered Mar 13, 2014 by Jaclyn (18,310 points)
...