Jump to content

First setup: Database update error: license missing


Cobra
 Share

Recommended Posts

Hey,

 

When i tryed to install c2-3.1.2_amd64_linux on a ubuntu 20.04 scalway instance i get a "Database update error: license missing". I can't reach the site. (It go's thru Cloudflare).

root@scw-priceless-franklin:~# ./c2-3_1_2_amd64_linux -hostname sub.domain.tld -debug 
info    | 2021-10-31 21:20:32 *********************************
info    | 2021-10-31 21:20:32           C2 DEBUG MODE
info    | 2021-10-31 21:20:32 Only use -debug while actively troubleshooting
info    | 2021-10-31 21:20:32  Using this option impacts server performance
info    | 2021-10-31 21:20:32 *********************************
info    | 2021-10-31 21:20:32 [*] Initializing Hak5 Cloud C2 v3.1.2
info    | 2021-10-31 21:20:32 [*] Hostname: test.wubbemaict.com
info    | 2021-10-31 21:20:32 [*] DB Path: c2.db
debug   | 2021-10-31 21:20:32 [*] DB Version Matches
info    | 2021-10-31 21:20:33 [*] Initial Setup Required - Setup token: *
debug   | 2021-10-31 21:20:33 [!] UI API Serving paused
debug   | 2021-10-31 21:20:33 [!] Generating Caches
debug   | 2021-10-31 21:20:33 [!] UI API Serving resumed
debug   | 2021-10-31 21:20:33 [!] Caches Rebuilt in 142.718µs
debug   | 2021-10-31 21:20:33 [!] All Active Sessions Invalidated
info    | 2021-10-31 21:20:33 [*] Running Hak5 Cloud C2
debug   | 2021-10-31 21:20:33 Database update error: license missing
debug   | 2021-10-31 21:25:33 Database update error: license missing

 

Link to comment
Share on other sites

I assume that you have gotten a valid license key from Hak5 for the Cloud C2 server you are setting up since you get that kind of message. Did it ever work or did you get these problems straight away? I haven't used Scaleway (what I guess you are referring to as "scalway") so I don't know how it works for that provider. Have you made sure that the server has access to the internet? Perhaps they are strict on the setup of new VPS machines and you need to open things in any firewall available even though it's about egress traffic. Cloud C2 generally complains if it can't "call home" to Hak5 and verify the license when the C2 server is started (and when running as well). I can't remember if it's this exact message, but it seems like a similar scenario. Might be worth checking at least.

FYI, there's another hostname specified in the debug output than the one you used in the command line in this post. Perhaps you masked your true hostname in the command line but forgot to mask it in the debug output. Might be something you want to "clean" in order not to get unwanted visitors.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...