Su, Did you already have a previous version of FlowVisor before installing the latest version? I believe the problem is that the DB schema is a little different from version 0.8 to 0.10.
So please delete the DB by running: $ rm -rf /usr/local/share/db/flowvisor Then backup your config file (if you actually have config that you would like to keep). $ mv /etc/flowvisor/config.json /tmp Finally run make install again. This will regenerate the database from scratch and bring it to the correct version. Cheers. -- Ali On Dec 27, 2012, at 10:55 AM, "Su" <[email protected]> wrote: > Hi Ali, > > I did follow the instructions on the link you gave, at first, I guess it may > be the jdk problem, and I switched back from openjdk-6jdk to sun-java6-jdk, > but the same error information(complaining about DB_VERSION) appears again. > > After outputing config file, if I ignore this error and continue start > flowvisor, it prompts: > --- Logging threshold' not set in config; defaulting to loglevel 'NOTE' > Errors occured. Please make sure that datbase exists and/or no other > FlowVisor is running. > > my software environment is Ubuntu 10.04, kernel: 2.6.32-21-generic, so would > you or somebody else be kind to verify the problem? > > BTW, I want to use FV-0.10 to experiment on bandwidth isolation, so I chose > to use the latest verison. > > Thanks. > > ---原始邮件--- > 发件人:"ali.al-shabibi"<[email protected]> > 发送时间:2012年12月27日 星期四 上午11:23 > 收件人:"Su"<[email protected]> > 抄送:"openflow-discuss"<[email protected]> > 主题:Re: [openflow-discuss] Problem with installing flowvisor-0.10-maint > Hi Su, > Normally, all you need to do is clone flowvisor. And run 'make' and 'make > install' > Did you follow these instruction -> > https://github.com/OPENNETWORKINGLAB/flowvisor/wiki/Installation-from-Source > Cheers. > -- > Ali > On Dec 27, 2012, at 4:13 AM, "Su" <[email protected]> wrote: > > > > After asking me to input password for account "fvadmin",it prompts error > > while generating default config in db: > > java.sql.SQLSyntaxErrorException: 'DB_VERSION' is not a column in table or > > VTI 'APP.FLOWVISOR',so I am wondering is it necessary to install sql first, > > if yes, which sql libary should be selected? > > I have tried : > > sudo apt-get install build-essential openjdk-6-jdk ant eclipse libc3p0-java > > libhsqldb-java libmysql-java sun-javadb-common sun-javadb-core > > But this seems useless. > > Thanks ._______________________________________________ > > openflow-discuss mailing list > > [email protected] > > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss _______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
