Menu

Installing VirtualX on Ubuntu server 14.04 TLS

2014-06-16
2015-10-08
  • Telford Zimunhu

    Telford Zimunhu - 2014-06-16

    i would like to install VirtualX online exam management on Ubuntu server 14.04 and i am failing on Step 7: "apt-get install libruby1.8 libmysql-ruby1.8. libcurl4-gnutls-dev". its saying:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package libruby1.8
    E: Couldn't find any package by regex 'libruby1.8'
    E: Unable to locate package libmysql-ruby1.8.
    E: Couldn't find any package by regex 'libmysql-ruby1.8.'

    if i try to skip to step 8 "rvm install ruby-1.8.7" its failing as well with the following:

    info: Installing Ruby from source to: /home/...../.rvm/rubies/ruby-1.8.7-p302

    info: /home/...../.rvm/src/ruby-1.8.7-p302 has already been extracted.

    info: Configuring ruby-1.8.7-p302, this may take a while depending on your cpu(s)...

    error: Error running './configure --prefix=/home/...../.rvm/rubies/ruby-1.8.7-p302 --enable-shared ', please check /home/...../.rvm/log/ruby-1.8.7-p302/configure*.log

    info: Compiling ruby-1.8.7-p302, this may take a while depending on your cpu(s)...

    error: Error running 'make ', please check /home/...../.rvm/log/ruby-1.8.7-p302/make*.log

    please can you assist since i am stuck.

     
  • PIT Solutions

    PIT Solutions - 2014-06-19

    Please add the below in the top of the file, /etc/apt/sources.list

    deb http://cz.archive.ubuntu.com/ubuntu precise main universe

    Then,

    apt-get update
    apt-get install libruby1.8 libmysql-ruby1.8 libcurl4-gnutls-dev

    Let me know if it worked fine!

     
  • Telford Zimunhu

    Telford Zimunhu - 2014-06-19

    Thank you i managed to install apt-get install libruby1.8 libmysql-ruby1.8 libcurl4-gnutls-dev successfully. however, the next step rvm install ruby-1.8.7 is failing with following:

    info: Installing Ruby from source to: /home/xxxxx/.rvm/rubies/ruby-1.8.7-p302

    info: /home/xxxxx/.rvm/src/ruby-1.8.7-p302 has already been extracted.

    info: Configuring ruby-1.8.7-p302, this may take a while depending on your cpu(s)...

    info: Compiling ruby-1.8.7-p302, this may take a while depending on your cpu(s)...

    error: Error running 'make ', please check /home/xxxxx/.rvm/log/ruby-1.8.7-p302/make*.log

    error: There has been an error while running make. Aborting the installation.

    /home/xxxxx/.rvm/log/ruby-1.8.7-p302/make.log IS LIKE BELOW:

    [2014-06-19 19:32:41] make
    gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -L. -rdynamic -Wl,-export-dynamic main.o libruby-static.a -lrt -ldl -lcrypt -lm -o miniruby
    rbconfig.rb unchanged
    gcc -shared -Wl,-soname,libruby.so.1.8 array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric
    .o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -lrt -ldl
    -lcrypt -lm -o libruby.so.1.8.7
    compiling Win32API
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/Win32API' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/Win32API' compiling bigdecimal make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/bigdecimal'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/bigdecimal'
    compiling curses
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/curses' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/curses' compiling dbm make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/dbm'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/dbm'
    compiling digest
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest' compiling digest/bubblebabble make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/bubblebabble'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/bubblebabble'
    compiling digest/md5
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/md5' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/md5' compiling digest/rmd160 make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/rmd160'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/rmd160'
    compiling digest/sha1
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/sha1' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/sha1' compiling digest/sha2 make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/sha2'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/digest/sha2'
    compiling dl
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/dl' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/dl' compiling etc make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/etc'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/etc'
    compiling fcntl
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/fcntl' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/fcntl' compiling gdbm make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/gdbm'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/gdbm'
    compiling iconv
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/iconv' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/iconv' compiling io/wait make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/io/wait'
    make[1]: Nothing to be done for all'. make[1]: Leaving directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/io/wait'
    compiling nkf
    make[1]: Entering directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/nkf' make[1]: Nothing to be done forall'.
    make[1]: Leaving directory /home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/nkf' compiling openssl make[1]: Entering directory/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/openssl'
    gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -fPIC -c ossl_ssl.c
    make[1]: Leaving directory `/home/xxxxx/.rvm/src/ruby-1.8.7-p302/ext/openssl

     
  • PIT Solutions

    PIT Solutions - 2014-06-20

    The error may get resolved if you proceed with an updated version of RVM installed. We cannot be that specific about the issue since you have not mentioned all of the steps you have followed to install the same.

    Anyway, We have updated the Software Deployment Guide in Source forge. Please flush out all of the Ruby and Rails dependencies, rvm etc. that you have installed and then install VirtualX from scratch following the updated Software Deployment Guide available in Sourceforge. Hope that will resolve your issue and if not, please revert to us with the issue details.

     
  • Telford Zimunhu

    Telford Zimunhu - 2014-06-24

    Thank you very much for the updated deployment guide, its more detailed and friendly. i have successfully done steps 1 to 17 successfully, however, i am getting an error message when executing step 18: rake db:migrate RAILS_ENV=production:

    Rails Error: Unable to access log file. Please ensure that /var/www/VirtualX/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

    i have done chmod 0666 as per error message but am still getting the same error.

    Your usual assistance is greatly appreciated.

     
  • PIT Solutions

    PIT Solutions - 2014-06-27

    Please ensure that the file /var/www/VirtualX/log/production.log exists like as below

    ls -l /var/www/VirtualX/log/production.log

    If the file exist, please verify that the file have right permission, it looks as below,

    -rw-rw-rw- 1 pits pits 151113 Jun 20 17:05 /var/www/VirtualX/log/production.log

    If not,

    touch /var/www/VirtualX/log/production.log
    chmod 666 /var/www/VirtualX/log/production.log

    Also please change the ownership of the Virtualx directory to your current logged in user.

    chown -R username:username /var/www/VirtualX/

    If this doesn't work, we may require a detailed troubleshooting to find out the other possibilities.

    Anyway these are basic operating system based issues and it is out of our free support scope. If you need further assistance, you have to contact us for paid installation service.

     
  • Freddy Malatsi

    Freddy Malatsi - 2015-10-05

    I tried all instructions for installation and have done so successfully but instead of seeing the app I see files and folders as attached pic .
    What I'm I doing wrong ?

     
  • PIT Solutions

    PIT Solutions - 2015-10-08

    We suspect that the passenger module is not enabled. Please provide the output of the below command:

    sudo apachectl -t -D DUMP_MODULES

     

Log in to post a comment.