opennetworkinglab / flowvisor

FlowVisor - A network hypervisor
Other
164 stars 67 forks source link

Running flowvisor #289

Open simone-agliano-dev opened 7 years ago

simone-agliano-dev commented 7 years ago

Hello,

I'm writing because I have a problem with running of flowvisor. I have tried both Ubuntu 16.04 and Ubuntu 12 I have done these steps:

1)Dependencies installation

sudo apt-get install build-essential oracle-java6-installer

ant eclipse

2)clone from repository

3)adding user and give the permission to usr/local and flowvisor( maybe chmod o chown)

4)make and install as a user

sudo make

sudo make fvuser=flowvisor fvgroup=flowvisor install

Everything it's been done without errors, but when I try to generate the configuration

sudo -u flowvisor fvconfig generate /etc/flowvisor/config.json

I get a NullPointerException on database, basically it told me that I can't start the configuration

I can't access to DB.

5)Also if I try to type this command sudo /etc/init.d/flowvisor start

I get an error. Db is not populated.

I hope someone can help me.

Best regards,

Simone Aglianò

simone-agliano-dev commented 7 years ago

Hello again, I understood why I had that Null Pointer Exception, if you try to restart flowvisor if it is executed it will give this error. Now I have set up flowvisor from binary. I have started it with: $ sudo -u flowvisor start and the output is 2017-04-11 11:17:56.288:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog 2017-04-11 11:17:56.333:INFO::jetty-7.0.2.v20100331 2017-04-11 11:17:56.902:INFO::Started SslSelectChannelConnector@0.0.0.0:8081

From a remote mininet I open a topology with remote controller flowvisor and "Start-up failed comes out in the flowvisor terminal". I have tried aso to use the command fvctl but it said to me that the authentication is failed even if I had created a new user flowvisor.