签出许可证时出错:系统时钟已调回
Error checking out license: System clock has been set back
在 Azure CentOS VM 上启动依赖于 FLEXnet 许可证的自定义应用程序服务器时,出现以下错误:
Error checking out license: System clock has been set back.
Feature: ep_u
License path: /opt/MyApplication/license/MyApplication-license.dat:
FLEXnet Licensing error:-88,309
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
在网上查找后,发现这个错误是由于以后修改了一些系统文件造成的。
由于我没有找到对这个问题的明确回应,所以我自己写了。
首先在 centOS 上我可以检查当前时区:
ls -l /etc/localtime
并最终更新它
timedatectl list-timezones | grep Paris
sudo timedatectl set-timezone Europe/Paris
然后我需要检查我的系统是否有未来日期的目录或文件:
cd /
sudo find . -newermt "1 days"|more
我不知道为什么我在这里有一些结果,但是这个命令 return 我有很多文件和目录,事件虚拟文件,比如 /dev /sys /proc
...
我终于通过更新一些工作 files/directory 的时间戳解决了这个问题。在之前的结果中,我修复了 /etc
和 /var
目录。
这是修复(重置未来日期)给定目录内容(例如 /var
)并为每个条目设置当前日期(具有未来日期)的命令:
cd /var
sudo find . -newermt "1 days"|sudo xargs touch
希望这对您有所帮助
我想这会有所帮助:
$ cd /
$ touch ref_file
$ find . -newer ref_file
$ find . -newer ref_file -exec touch {} \;
在 Azure CentOS VM 上启动依赖于 FLEXnet 许可证的自定义应用程序服务器时,出现以下错误:
Error checking out license: System clock has been set back.
Feature: ep_u
License path: /opt/MyApplication/license/MyApplication-license.dat:
FLEXnet Licensing error:-88,309
For further information, refer to the FLEXnet Licensing documentation,
available at "www.flexerasoftware.com".
在网上查找后,发现这个错误是由于以后修改了一些系统文件造成的。
由于我没有找到对这个问题的明确回应,所以我自己写了。
首先在 centOS 上我可以检查当前时区:
ls -l /etc/localtime
并最终更新它
timedatectl list-timezones | grep Paris
sudo timedatectl set-timezone Europe/Paris
然后我需要检查我的系统是否有未来日期的目录或文件:
cd /
sudo find . -newermt "1 days"|more
我不知道为什么我在这里有一些结果,但是这个命令 return 我有很多文件和目录,事件虚拟文件,比如 /dev /sys /proc
...
我终于通过更新一些工作 files/directory 的时间戳解决了这个问题。在之前的结果中,我修复了 /etc
和 /var
目录。
这是修复(重置未来日期)给定目录内容(例如 /var
)并为每个条目设置当前日期(具有未来日期)的命令:
cd /var
sudo find . -newermt "1 days"|sudo xargs touch
希望这对您有所帮助
我想这会有所帮助:
$ cd /
$ touch ref_file
$ find . -newer ref_file
$ find . -newer ref_file -exec touch {} \;