VPS侦探论坛

 找回密码
 注册
查看: 9694|回复: 0

[总结] apt-get install -y build-essential 命令后返回FATAL -> Failed to fork. 错误

[复制链接]
发表于 2011-12-2 11:31:44 | 显示全部楼层 |阅读模式

  1. root@vpser:~/mysql-5.1.60# apt-get install -y build-essential gcc g++ make
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. make is already the newest version.
  6. The following extra packages will be installed:
  7.   dpkg-dev fakeroot g++-4.4 gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  8.   libc-dev-bin libc6-dev libdpkg-perl libstdc++6-4.4-dev libtimedate-perl linux-libc-dev manpages-dev patch
  9. Suggested packages:
  10.   debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib autoconf automake1.9 libtool
  11.   flex bison gdb gcc-doc gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg
  12.   libcloog-ppl0 libppl-c2 libppl7 glibc-doc libstdc++6-4.4-doc diffutils-doc
  13. The following NEW packages will be installed:
  14.   build-essential dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  15.   libalgorithm-merge-perl libc-dev-bin libc6-dev libdpkg-perl libstdc++6-4.4-dev libtimedate-perl linux-libc-dev
  16.   manpages-dev patch
  17. 0 upgraded, 18 newly installed, 0 to remove and 29 not upgraded.
  18. FATAL -> Failed to fork.
复制代码

一般是内存不足,建议升级内存后再试试,也可以检查一下有没有不必要的程序占用了过多的内存。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-23 13:26 , Processed in 0.024495 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表