发布时间:2014-06-10 11:14:51来源:红联作者:velcbo
1.用yum安装软件出现磁盘空间满
[root@node1 ~]# yum install ftp --安装软件出现错误
...................................
Error Downloading Packages:
ftp-0.17-53.el6.i686: Insufficient space in download directory /var/cache/yum/i386/6/c6-tong/packages
* free 0
* needed 56 k
[root@node1 ~]#
解决方法:
[root@node1 ~]# df -h --查看磁盘空间,空间已满
文件系统 容量 已用 可用 已用%% 挂载点
/dev/mapper/VolGroup-lv_root
6.5G 6.1G 0 100% / --根分区空间已满,清除文件
tmpfs 504M 0 504M 0% /dev/shm
/dev/sda1 485M 46M 414M 10% /boot
/dev/sr0 3.6G 3.6G 0 100% /mnt
[root@node1 home]# df -h --清除后的结果
文件系统 容量 已用 可用 已用%% 挂载点
/dev/mapper/VolGroup-lv_root
6.5G 1.9G 4.2G 31% /
tmpfs 504M 0 504M 0% /dev/shm
/dev/sda1 485M 46M 414M 10% /boot
/dev/sr0 3.6G 3.6G 0 100% /mnt
[root@node1 home]#
测试结果:
[root@node1 home]# yum install ftp --安装成功
Loaded plugins: fastestmirror
Determining fastest mirrors
c6-tong
........................................
Running Transaction
Installing : ftp-0.17-53.el6.i686 1/1
Verifying : ftp-0.17-53.el6.i686 1/1
Installed:
ftp.i686 0:0.17-53.el6
Complete!
[root@node1 home]#
2.用yum使用网络源,出现网络不通
[root@node1 yum.repos.d]# yum install squid
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.CentOS.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=centosplus error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
^C^C^C^Z
[1]+ Stopped yum install squid
[root@node1 yum.repos.d]# ping www.baidu.com
^C
这种情况启动到画面的时候按tab,看具体服务卡在哪里然后尝试进linux安全模式,grub那里修改启动项,然后查看系统日志看报错是什么,是加载什么服务异常,先去除对应服务再启动
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)