开始新对话

未解决

Community Manager

 • 

6.3K 消息

704

2020年10月5日 05:00

Starting PowerPath: /etc/init.d/PowerPath: line 1717: uniq : command not found (000535665)

​ ​

​知识库文章:​​000535665​

​ ​


​Starting PowerPath: /etc/init.d/PowerPath: line 1717: uniq : command not found (000535665)​

​ ​

​主要产品:PowerPath for Linux 6.5​

​ ​

​产品:PowerPath for Linux 6.5​


​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​
​ ​

​版本:4​

​ ​
​ ​

​文章类型:​
​中断修复​

​ ​
​ ​

​目标受众:​
​级别 10 = 公用​

​ ​
​ ​

​上次发布时间:2020 年 3 月 12 日(星期四),21:09:32 GMT​

​ ​
​ ​

​ ​

​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​
​ ​

​总结:​

​ ​
​ ​

​安装 Powerpath for Linux 6.5 之后,在 Powerpath 加载时发生以下错误“Starting PowerPath: /etc/init.d/PowerPath: line 1717: uniq :​

​ ​

​command not found”。启动之后手动启动​

​ ​
​ ​

​ ​

​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​​ ​
​ ​

​问题:​

​ ​
​ ​

​安装 PowerPath for Linux 6.5 之后,PowerPath 在启动时不会启动。 尝试启动 PowerPath 时出现以下错误:​

​“Starting PowerPath: /etc/init.d/PowerPath: line 1717: uniq : command not found”​

​可以在主机启动之后手动启动 PowerPath。​

​ ​
​ ​

​ ​

​ ​
​ ​

​原因:​

​ ​
​ ​

​导致该问题的原因是主机将 /usr 与 / 分开。​
​例如: ​
​ ​

​ ​

​Filesystem 1K-blocks Used Available Use% Mounted on​

​ ​

​/dev/mapper/vg01-lvroot​

​ ​

​ 1998672 556332 1337484 30% / <--- Root​

​ ​

​tmpfs 132060916 0 132060916 0% /dev/shm​

​ ​

​/dev/sda1 245679 73875 158697 32% /boot​

​ ​

​/dev/mapper/vg01-lvgrid​

​ ​

​ 103164844 37104 97888268 1% /grid​

​ ​

​/dev/mapper/vg01-lvopt​

​ ​

​ 8125880 2230424 5476028 29% /opt​

​ ​

​/dev/mapper/vg01-lvoracle​

​ ​

​ 50992892 53080 48348248 1% /oracle​

​ ​

​/dev/mapper/vg01-lvtmp​

​ ​

​ 3030800 18720 2854796 1% /tmp​

​ ​

​/dev/mapper/vg01-lvusr​

​ ​

​ 8125880 2014876 5691576 27% /usr <--- /usr not located under root​

​ ​

​/dev/mapper/vg01-lvvar​

​ ​

​ 3997376 1078044 2709620 29% /var​

​ ​
​ ​

​ ​

​ ​
​ ​

​更改:​

​ ​
​ ​

​升级了 Powerpath 或全新安装了 PowerPath。​

​ ​
​ ​

​ ​

​ ​
​ ​

​解决方案:​

​ ​
​ ​

​要防止 PowerPath 在启动时不加载,客户可以将 /uniq 从 /usr/bin/uniq 拷贝到 / 的 /bin 下,这会使它可以在启动时加载。​

​注意:如果客户没有在 / 下装载 /bin,则此方法不会起作用,客户需要进行更改,以便可以在装载 / 时使用 /bin/uniq。​

​ ​
​ ​

​ ​

​ ​
​ ​

​备注:​

​ ​
​ ​

​错误消息并不总是显示在 /var/messages 中。但它会显示在 boot.log 中,您也可以对它进行检查。​

​此问题将在 PowerPath for Linux 7.0 及更高版本中得到更正。未计划对 PowerPath for Linux 6.5 进行更改。​

​ ​
​ ​

​ ​

​ ​
​ ​

​主要产品:​

​ ​
​ ​

​PowerPath for Linux 6.5​

​ ​
​ ​

​ ​

​ ​
​ ​

​产品:​

​ ​
​ ​

​PowerPath for Linux 6.5​

​ ​
​ ​

​ ​

​ ​
​ ​

​ ​

​ ​

#IWork4Dell

请您将合适的回复标记为“接受的回答”,并为喜欢的帖子“点赞”。这对我们非常重要!

没有回复!
找不到事件!

Top