From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



NI的服务器为什么不能启动Red Hat 7.2和CentOS 7.2?



主要软件: Driver Software>>NI-VISA
主要软件版本: 14.0
主要软件修正版本: N/A
次要软件: N/A

问题:

我在使用RedHat 7.2或者CentOS 7.2,我注意到我的NI服务器不能够启动。

一个服务器不能启动的可能原因是在开始实用程序或运行应用程序时收到以下错误:

libnipalu.so failed to initialize Perhaps you need to run updateNIDrivers Aborted

我该如何解决这个问题?



解答:

这是一个在systemd这些系统中已知的问题。升级到systemd-219-19.el7_2.4或者以后的版本可以解决这个问题。如果您不能够升级,你可以采用如下操作:

1.在终端中运行ls -la /etc/init.d/ 来检索服务器列表。

2.对于每一个NI的服务器(服务器的开头是“ni”),运行下述命令来删除符号链接,启动开始脚本:

     a.运行readlink -f /etc/init.d/niservice,其中niservice是服务器的名字,来决定服务器开始脚本的位置。

     b.运行rm /etc/init.d/niservice来删除符号链接。

     c.当被询问是否移除符号链接,选择y。

     d.运行cp path /etc/init.d/niservice,其中path是a步骤中返回的路径。

下图是上述命令在nidevldu服务器运行的范例:

如果需要关于这个问题的更多信息,请参见下面的Red Hat Knowledgebase文章链接。



相关链接:

External Link: systemctl can't read symlinks to SysVinit service scripts in /etc/init.d after upgrading to RHEL 7.2's systemd-219-19.el7



附件:





报告日期: 05/06/2016
最近更新: 07/28/2016
文档编号: 795A9SNN