Win 10 Error 1008. [MSK_RES_ERR_MISSING_LICENSE_FILE]

571 views
Skip to first unread message

lily thepooh

unread,
Jul 2, 2018, 5:16:41 PM7/2/18
to mosek
The system is Win 10, I have tried to save the license in systemdrive/user/username/mosek and systemdrive/user/username/8/tools/platform/win64x86/mosek, but the MATLAB 2017a still returns such error:
Error using mosekdiag (line 58)
mosekopt returned an error: 1008. [MSK_RES_ERR_MISSING_LICENSE_FILE]
I would appreciate it very much if someone could help me. Thank you.

Michal Adamaszek

unread,
Jul 2, 2018, 5:21:41 PM7/2/18
to mosek
If you execute in the console 

mosek -f

it will print out the path where it is expecting the license file to be. By default c:\Users\username\mosek

Michal

lily thepooh

unread,
Jul 3, 2018, 5:00:42 PM7/3/18
to mosek
hello, thanks so much for your help. I have executed mosek -f, it prints out license path C:\Users\username\mosek. I saved the license in the path, but MATLAB 2017b still gets the same error:

Error using mosekdiag (line 58)
mosekopt returned an error: 1008. [MSK_RES_ERR_MISSING_LICENSE_FILE]
Thanks again for your reply.
在 2018年7月2日星期一 UTC+1下午10:21:41,Michal Adamaszek写道:

Michal Adamaszek

unread,
Jul 3, 2018, 5:11:14 PM7/3/18
to mosek
Please 1) make sure the file is called mosek.lic and 2) restart matlab.

M.

Ekuru Ebyau

unread,
Jul 23, 2018, 4:59:00 PM7/23/18
to mo...@googlegroups.com
Hello i get this error on testing mosek using mosekdiag in matlab r 2016a

mosekopt is working correctly.
Warning: MOSEK Fusion is not configured correctly; check that mosek.jar is added to the
javaclasspath.
> In mosekdiag (line 72)

Edward Ekuru Ebyau.

--
You received this message because you are subscribed to the Google Groups "mosek" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mosek+unsubscribe@googlegroups.com.
To post to this group, send email to mo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michal Adamaszek

unread,
Jul 23, 2018, 5:03:27 PM7/23/18
to mosek
If you don't want to use fusion then it says all else is OK.
Reply all
Reply to author
Forward
0 new messages