• Welcome to KonaKart Community Forum. Please login or sign up.
 
October 13, 2024, 05:30:57 pm

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - ejo

1
Hello !
I'm trying to install the latest version of Konakart (8.0) for Ubuntu during boot process but the installer fails when it runs from inside /etc/rc.local. The reason I want to install Konakart that way is because I want to ultimately install it using AWS Cloudformation process for automatic deployment.

The /etc/rc.local looks like this:

#=============================
#!/bin/bash -e

/home/ubuntu/KonaKart-8.0.0.0-Linux-Install-64 -S -DDatabaseType mysql -DDatabaseUrl jdbc:mysql://localhost:3306/konakart -DDatabaseUsername root -DDatabasePassword mypassword -DJavaJRE /usr/lib/jvm/java-7-openjdk-amd64/jre -DLoadDB 1

/usr/local/konakart/bin/startkonakart.sh
exit 0
#==============================

If I run the installer command (/home/ubuntu/KonaKart-8.0.0.0-Linux-Install-64 -S ...) from the command line, or even run /etc/rc.local directly, either as ubuntu user or root, Konakart is always installed properly in /usr/local/konakart (or local dir if installed by ubuntu user) and starts successfully ! So it seems it needs some information from the environment (?) that is not presented yet during /etc/rc.local processing. As the installer in Silent Mode gives no output to stdout or stderr I could not figure out what's wrong or missing when it runs from inside /etc/rc.local. Is there any other files I could look for any error messages from the installer ? Any suggestions ?

Thanks in advance.

Ed