4

Ubuntu 12.04 出现“Could not write bytes: broken pipe”原因与解决

 3 years ago
source link: https://blog.csdn.net/yanxiangtianji/article/details/12612839
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Ubuntu 12.04 出现“Could not write bytes: broken pipe”原因与解决

根据我的实际经验和网上搜索到的一些信息,出现这个问题的原因一般是修改了:/etc/enviroment 并且出现了一些错误,导致启动异常。

这有可能是:在修改的时候出现了一些逻辑上的错误包括打错字之类的;也有可能是修改的环境变量(如PATH)导致一些系统需要的程序被自定义的替代了。

我在将/etc/enviroment文件中我添加的东西删除掉之后,一切正常。

所以如果要加入或修改环境变量,还是在~/profile或者/etc/profile(/etc/profile.d/)中进行修改吧,详见(http://blog.csdn.net/yanxiangtianji/article/details/12612963)。

原载于http://blog.csdn.net/yanxiangtianji

转载请注明出处


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK