What is wrong with this automated script to install kurugo on ubuntu 14?

46 views
Skip to first unread message

alex....@gmail.com

unread,
Dec 5, 2014, 7:54:49 AM12/5/14
to kurog...@googlegroups.com

Hi,

I'm working on a script that automates the installation of Kurogo for  Ubuntu 14.04.1 LTS however something isn't working.

I'm trying to access the Universitas default site however it is not coming up. The path should just be  192.168.100.101\Universitas ?

I'm not sure is there a command line I can run to verify if kurogo is installed correctly?

Can someone tell if there is something wrong with this config and scripts?

The apache2 is running correctly although perhaps the site configuration is not correct?

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName 192.168.100.101
        ServerAlias 192.168.100.101
       
        #ServerName its.vamobita.com
        #ServerAlias www.its.vamobita.com

        DocumentRoot /var/www/its.vamobita.com/Kurogo-Mobile-Web/www

        SetEnv SITES_DIR /var/www/its.vamobita.com/sites
       
        <Directory /var/www/its.vamobita.com/Kurogo-Mobile-Web
             AllowOverride FileInfo
             Order allow,deny
             Allow from all
        </Directory>
       
</VirtualHost>


or the script has an error.:


apt-get -y install apache2

apt-get -y install unzip

echo "install MongoDB"
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list
apt-get -y update
apt-get install -y mongodb-org
service mongod start

echo "Install needed its packages"
apt-get -y install php5-intl 
apt-cache search php-apc
apt-get -y install php-apc
apt-get -y install php5-memcached memcached #HERE
apt-get -y install php5-mcrypt
apt-get -y install php5-tidy
apt-get -y install php5-gd

mkdir -p /var/www/its.vamobita.com/Kurogo-Mobile-Web/
unzip kurogo-mw-1.8.3.zip -d /var/www/its.vamobita.com/
mv /var/www/its.vamobita.com/kurogo-mw-1.8.3/* /var/www/its.vamobita.com/
rm -r  /var/www/its.vamobita.com/kurogo-mw-1.8.3/
chown -R www-data:www-data /var/www/its.vamobita.com/*
cp its.vamobita.com /etc/apache2/sites-available/
cp its.vamobita.com /etc/apache2/sites-enabled/
a2enmod rewrite
service apache2 restart



I haven't



Matt Willmore

unread,
Dec 5, 2014, 8:40:11 AM12/5/14
to kurog...@googlegroups.com
Can you verify Apache is working by making a basic index.html site somewhere in the www path and going to it?


--
You received this message because you are subscribed to the Google Groups "Kurogo-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurogo-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Muir

unread,
Dec 5, 2014, 9:11:55 AM12/5/14
to kurog...@googlegroups.com
Hi Matt,

Apache is working. Apache has a default html file at /var/www/html/index.html which loads

Here is the error log ouput

[Fri Dec 05 04:29:06.867598 2014] [mpm_event:notice] [pid 5685:tid 139922627950464] AH00491: caught SIGTERM, shutting down
[Fri Dec 05 04:29:08.611841 2014] [mpm_event:notice] [pid 6186:tid 140589715744640] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Dec 05 04:29:08.612932 2014] [core:notice] [pid 6186:tid 140589715744640] AH00094: Command line: '/usr/sbin/apache2'

Regards
Alex


-

Regards
Alex Muir
www.tilogeo.com

--
You received this message because you are subscribed to a topic in the Google Groups "Kurogo-Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kurogo-dev/ywkqGrew49M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kurogo-dev+...@googlegroups.com.

Matt Willmore

unread,
Dec 5, 2014, 9:26:20 AM12/5/14
to kurog...@googlegroups.com
Are you getting that error repeatedly or just the first time you launch Apache?

Is there any error at all in the browser when you attempt to load Kurogo? Have you checked the Kurogo log files?

Alex Muir

unread,
Dec 7, 2014, 4:47:03 PM12/7/14
to kurog...@googlegroups.com
Hi Matt,

The apache error does not seem to be repeating.

I searched with a find command and read through documentation but could not find a log file in Kurogo.

How would you normally launch the Universitas app? The documentation is really lacking some important details.

Regards
Alex

-

Regards
Alex Muir
www.tilogeo.com

Matt Willmore

unread,
Dec 8, 2014, 8:54:23 AM12/8/14
to kurog...@googlegroups.com
Can you confirm that PHP is also running? Something like this would work: http://php.net/manual/en/tutorial.firstpage.php
Also, is .htaccess enabled?

Essentially, is everything here installed? https://modolabs.jira.com/wiki/display/KDOC/Setup+and+Installation
Reply all
Reply to author
Forward
0 new messages