客户在fusioncompute v1r5上安装Centos 7并安装Tools正常,但是yum update后无法使用;
[root@centos ~]# systemctl status uvp-monitor
uvp-monitor.service - LSB: uvp monitor
Loaded: loaded (/etc/rc.d/init.d/uvp-monitor)
Active: failed (Result: exit-code) since 三 2015-09-30 17:44:52 CST; 2min 8s ago
Process: 1395 ExecStart=/etc/rc.d/init.d/uvp-monitor start (code=exited, status=1/FAILURE)
9月 30 17:44:26 centos.vapp systemd[1]: Starting LSB: uvp monitor...
9月 30 17:44:26 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:31 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:37 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:42 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:47 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:52 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:52 centos.vapp systemd[1]: uvp-monitor.service: control proces...1
9月 30 17:44:52 centos.vapp systemd[1]: Failed to start LSB: uvp monitor.
9月 30 17:44:52 centos.vapp systemd[1]: Unit uvp-monitor.service entered fa....
Hint: Some lines were ellipsized, use -l to show in full.
[root@centos ~]# systemctl start uvp-monitor
Job for uvp-monitor.service failed. See 'systemctl status uvp-monitor.service' and 'journalctl -xn' for details.
经确认,yum升级时内核版本也进行了升级,导致加载失败。重装tools;
[root@centos ~]# ps -aux | grep uvp
root 12220 0.0 0.0 112656 972 pts/0 S+ 17:46 0:00 grep --color=auto uvp
[root@centos ~]# systemctl status uvp-monitor
uvp-monitor.service - LSB: uvp monitor
Loaded: loaded (/etc/rc.d/init.d/uvp-monitor)
Active: failed (Result: exit-code) since 三 2015-09-30 17:44:52 CST; 2min 8s ago
Process: 1395 ExecStart=/etc/rc.d/init.d/uvp-monitor start (code=exited, status=1/FAILURE)
9月 30 17:44:26 centos.vapp systemd[1]: Starting LSB: uvp monitor...
9月 30 17:44:26 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:31 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:37 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:42 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:47 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:52 centos.vapp uvp-monitor[1395]: [失败]
9月 30 17:44:52 centos.vapp systemd[1]: uvp-monitor.service: control proces...1
9月 30 17:44:52 centos.vapp systemd[1]: Failed to start LSB: uvp monitor.
9月 30 17:44:52 centos.vapp systemd[1]: Unit uvp-monitor.service entered fa....
Hint: Some lines were ellipsized, use -l to show in full.
1、挂载TOOLS,
[root@centos ~]# mount /dev/sr0 /mnt/cdrom/
mount: /dev/sr0 写保护,将以只读方式挂载
[root@centos ~]# cp /mnt/cdrom/uvp-tools-linux-1.3.10.32-408.tar.bz2 ~
2、安装tools;
[root@centos cdrom]# cd ~
[root@centos ~]# tar xjf uvp-tools-linux-1.3.10.32-408.tar.bz2
[root@centos uvp-tools-linux-1.3.10.32-408]# cd ..
[root@centos ~]# cd uvp-tools-linux-1.3.10.32-408
[root@centos uvp-tools-linux-1.3.10.32-408]# ./install
cat: /var/run/tools_upgrade/pvdriver_version.ini: 没有那个文件或目录
error: please boot kernel 3.10.0-229.el7.x86_64 and upgrade again. //此处报错,提示内核版本不一致
3、修改version.ini文件
[root@centos uvp-tools-linux-1.3.10.32-408]# vi /etc/.uvp-monitor/version.ini
pvdriverVersion=3.10.32.408
DriverVersion=1.3.10.32
#kernelVersion="3.10.0-229.el7.x86_64" 将此行注释掉。
[root@centos uvp-tools-linux-1.3.10.32-408]# ./install
Start Uninstallation :
restore system configurations.
uninstall uvp-monitor service.
uninstall kernel modules.
Start Installation :
install kernel modules.
install uvp-monitor service.
enable arp_notify setting.
change system configurations.
Update kernel initrd image.
无