OpenSOC / opensoc-vagrant

Vagrantfile and scripts for building a disposable OpenSOC Cluster
29 stars 25 forks source link

Error while installing node1 and missing java #14

Open zlajonja opened 8 years ago

zlajonja commented 8 years ago

At first glance when you try to install opensoc-vagrant it seemed to me it's completely plausable to install it fast as there were only two commands and there you go.. but alas, it took me some days and I feel I haven't even started..

When I vagrant up, nodes 4-2 install just fine (I've changed the box to the valid one 6.7), and then in the node1 while starting mysqld (prior to this no problems were reported):

==> node1: creating symbolic link `/opt/hive/lib/mysql-connector-java.jar'
==> node1: : No such file or directory
==> node1: Setting up mysql user
==> node1: Setting up metastore schema
==> node1: /tmp/vagrant-shell: line 38: cd: /opt/hive/scripts/metastore/upgrade/
mysql: No such file or directory
==> node1: cp:
==> node1: cannot create regular file `/opt/hive/conf/'
==> node1: : No such file or directory
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

After that I have tried 'fab vagrant quickstart' and get the error:

vagrant issue 1

And when I connect to my VM node1 - I see that there is no existence of java folder inside usr.

Is it possible that the node1 install script hasn't finished it's job? Or there might be some other prerequist I haven't done so the whole thing won't work? Also meld3 distribution 0.6.5 not found... how do I fix that?

saraAlizadeh commented 8 years ago

hi, I have the same problem. could you solve it? Can you help me on this? by the way...how can I login to VM? It requires a login name and password. I haven't set any during installation!

zlajonja commented 8 years ago

Hi, sorry for the late reply. So login on the VM: user: vagrant pass: vagrant :) it's written somewhere in the files.

I failed in the end to manage this cause I had other projects to do. But it always bugged me why it won't work. In the end I thought maybe I should install everything manually and not through this "quick" (really no way this is a quick setup as it took me a week to read through all this and do nothing in the end :D )

I hope you find a solution. Please do tell if you do. I would be very very grateful! :+1:

saraAlizadeh commented 8 years ago

Thank you so much for your reply, and by the way try fab vagrant postsetup -w. It worked for me. Hopefully it will solve yours too.