LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 606|回复: 3

net.lo start出错

[复制链接]
发表于 2009-9-13 10:56:10 | 显示全部楼层 |阅读模式
开机的时候打印出一下信息:
ERROR: not enough args.

Usage: net.lo {start|stop|restart}
            net.lo without arguments for full help

手动起服务也是这样,不知道该咋弄
发表于 2009-9-13 11:14:33 | 显示全部楼层
你可以用 -d 选项跟踪一下。我查了net.lo文件,好像没有哪里输出enough这个词。你看看是哪个命令出错了。


  1. /etc/init.d $ ./net.lo
  2. Usage: net.lo [options] stop | start | restart | describe | zap

  3. Options: [dDsvChqv]
  4.   -d, --debug                       set xtrace when running the script
  5.   -s, --ifstarted                   only run commands when started
  6.   -D, --nodeps                      ignore dependencies
  7.   -h, --help                        Display this help output
  8.   -C, --nocolor                     Disable color output
  9.   -v, --verbose                     Run verbosely
  10.   -q, --quiet                       Run quietly
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-13 11:41:03 | 显示全部楼层
确实是没有输出enough的语句,似乎不是脚本本身的问题,而是调用脚本的时候传参可能有问题吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-13 11:54:06 | 显示全部楼层
系统是我新装的,用的是最新的stage3镜像(9月10号的),会不会是因为这个镜像还不够稳造成的,我之前一直没碰到过这个问题
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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