redhat 8.0 is diffrent from redhat 7.2first shoud change the glibc perhaps

解决方案 »

  1.   

    to joachern(我来我往)
    麻烦这位大侠说得明白点,我还是一头雾水
    看得我不清不楚的
    开机执行总是failed,总是提示没这个文件或命令不存在
    咋回事呢?
    郁闷ing
      

  2.   

    象以下的的脚本为什么不行呢?创建文件 /etc/rc.d/init.d/oracle8i, 内容: 
    #!/bin/sh
    #
    # chkconfig: 345 51 49
    # description: starts the oracle dabase deamons ( part of the aD ACS install )
    #
    echo "Oracle 8i auto start/stop"
     
    ORA_OWNER=oracle
    ORA_HOME=/ora8/m01/app/oracle/product/8.1.6
     
    case "$1" in
       'start')
     
    echo -n "Starting Oracle8i: "
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
    touch /var/lock/subsys/oracle8i
    echo
    ;;
     
     
    'stop')
     
    echo -n "Shutting Oracle8i: "
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut
    rm -f /var/lock/subsys/oracle8i
    echo
    ;;
     
     
    'restart')
     
    echo -n "Restarting Oracle8i: "
    $0 stop
    $0 start
    echo
    ;;
     
    *)
    echo "Usage: oracle8i {start | stop | restart }"
    exit 1
     
    esac
    exit 0
     
    # chown root.root /etc/rc.d/init.d/oracle8i
    # chmod 700 /etc/rc.d/init.d/oracle8i      
    # cd /etc/rc.d/init.d/                      
    # chkconfig --add oracle8i
    # chkconfig --list oracle8i
    显示结果为
    oracle8i          0:off    1:off    2:off    3:on     4:on     5:on     6:off
     
      

  3.   

    那位大侠麻烦看一下
    小弟初学linux,玩不转脚本语言
    红帽8.0真的和7.2的脚本不一样吗?
    该如何修改呢?那么简单的语句应该不复杂的呀!!!