Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 12
Report Inappropriate Content
Message 1 of 3

ePO 4.5 "The license for ePolicy Orchestrator is invalid" after restart

I had just gotten through backup up ePO and joining it to our domain (necessitated by host DLP being a bit broken on the ePO side with our domain workstations and ePO not being part of the same domain).  After the restart, attempting to log in to the web console gave 

"The license for ePolicy Orchestrator is invalid"

"Failed to load license data. To enter a new license, go here"

As I saw in a now archived thread,  I attempted to re-add the license and then the process repeats. I would wait a long time to get a logon screen telling me my license is invalid.

I've tried restarting the services and even rebooted the server.

Thanks to a helpful but archived, thread,  which said "It turned out the Dynamic port in the SQL config had changed after the server had been restarted. Checked what the port number was in the file then changed so they both matched, now all is fine." 

Sure enough,  I checked   C:\Program Files\McAfee\ePolicy Orchestrator\Server\conf\orion\  and the db.port  line had a number in it that was one or two less than any port I found listening on the system.    I found   a netstat -anob > portlist.txt  and then reviewing portlist.txt for instances of sqlserver.exe   rather helpful in this regard. 

I manually modified that db.port line to match what I observered in the netstat output,  restarted 3 of teh Mcafee ePO services, and sanity returned.

Shaking my head at ePO for throwing that error for a "can't find database" issue, and for making dynamic sql ports that move around in ways the freakin software can't deal with. 

2 Replies
Level 12
Report Inappropriate Content
Message 2 of 3

Re: ePO 4.5 "The license for ePolicy Orchestrator is invalid" after restart

Yep, that error can be caused by a connection problem to SQL. I think it's only 4.5 and earlier that had the issue - one version (4.6?) made the error message much better.


Re: ePO 4.5 "The license for ePolicy Orchestrator is invalid" after restart

its an easter egg. what, you dont like it?

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community