Skip to main content

How to find the license file for the Community Edition !

  • January 11, 2016
  • 5 replies
  • 28 views

Ammar

Hi,

 

I am using Vertica community edition. However, when I tried to create a database I got an error:

 

Info: no password specified, using none
Error: a database license has not been installed.
You must supply a valid license using the -l (--license) option.

 

 

Kindly note that I cannot use a GUI. I need to fix this problem using command line.

 

I appreciate your prompt response.

 

Thanks,

-Khaled

 

5 replies

Sumit_Singh
  • New Participant
  • January 11, 2016

have u open admintools ? because it should asked for license agreement with first time and you should accept that then only you can create the database.

 

/opt/Vertica/bin/admintools.sh

 

 

Regards,

Sumit Kumar


icingil
  • New Participant
  • January 11, 2016

[root]# su - dbadmin -> login as dbadmin user

[dbadmin]#admintools -> run admintools

Choose Accept License in the window opened

 


Ammar
  • Author
  • New Participant
  • January 11, 2016

Thank you for your replies. 

 

I need to do this with command line, I do not have acces to GUI on my server!

 

Any idea?

 

Thanks,

-Khaled


icingil
  • New Participant
  • January 11, 2016

no need Access for GUI, all can be done from command line, what do you see when you just run "admintools" via dbadmin user ?

try installing dialog (yum install dialog) if you can not see admintools screen,


eli_revach
Forum|alt.badge.img+2
  • Participating Frequently
  • January 11, 2016
Hi
As a part of the create_db command line ,you need to add the -l with a value of ce

Eg. -l ce

This will creare db with community lincensing.

Thanks