红联Linux门户
Linux帮助

系统启动不了!!!!!!!!!!!!

发布时间:2012-08-06 12:52:15来源:红联作者:oicqfbi
/etc/gdm/presession/default: registering your session with wtmp and utmp
/etc/gdm/presession/default: running: /usr/bin/x11/sessreg -a -w /var/run/utmp -x "/var/gdm/ :0.Xservers" -h "" -l ":0" "oracle"
/etc/profile: line 57 export command not found
/etc/bashrc: line 8 id command not found
/etc/bashrc: line 8 too many arguments
failed to excute message bus daemon no such file or directory
eof in dbus-launch reading address from bus daemon
我现在连root用户都登录不了。用CRT连接上去打什么命令都不行。都提示command not found
文章评论

共有 6 条评论

  1. oicqfbi 于 2012-08-10 23:21:52发表:

    thank you!!!

  2. 相思爱文 于 2012-08-10 20:35:59发表:

    [i=s] 本帖最后由 相思爱文 于 2012-8-10 20:39 编辑 [/i]

    用绝对路径运行命令
    比如要运行ls命令,经对路径是/bin/ls
    PATH变量改变,系统会找不到命令,只能用绝对路径或相对路径运行。
    执行下行命令,可以临时修复root的PATH变量
    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

    根本解决方法,需要查明原因,才能处理。
    很大可能是配置文件问题。方法,请查看http://linux.vbird.org/linux_basic/0320bash.php#settings_bashrc

  3. oicqfbi 于 2012-08-09 22:32:48发表:

    ...................

  4. oicqfbi 于 2012-08-07 12:53:36发表:

    麻烦说的详细一点...谢谢

  5. oicqfbi 于 2012-08-07 12:52:37发表:

    麻烦说的详细一点...谢谢

  6. 相思爱文 于 2012-08-07 07:29:21发表:

    能登录,执行命令先用绝对路径,修改PATH变量,然后修改相应配置文件配置。最好是改家目录中的~/.bashrc
    不能登录,单用户启动,修复