daemontools-0.76安装出现问题
# uname -aLinux qmail.like.com 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
根据所收集的资料,解压完安装包后,执行了以下命令:
# cd admin/daemontools
# package/install
............
grep sysdep select.h >> sysdeps
grep sysdep uint64.h >> sysdeps
grep sysdep iopause.h >> sysdeps
grep sysdep hasmkffo.h >> sysdeps
grep sysdep hasflock.h >> sysdeps
grep sysdep hasshsgr.h >> sysdeps
Copying commands into ./command...
Creating symlink daemontools -> daemontools-0.76...
Making command links in /command...
Making compatibility links in /usr/local/bin...
Creating /service...
Adding svscanboot to inittab...
init should start svscan now. #到这里显示应该是没有问题的
# ps -ef|grep svscan
root 1354912420 18:33 pts/0 00:00:00 grep svscan #这里查找不到进程
# cat /etc/inittab #查看这个文件
.........
SV:123456:respawn:/command/svscanboot 文件末尾多了这一行
# svscan #执行svscan命令开始出现如下错误:
supervise: fatal: unable to acquire command/supervise/lock: not a directory
supervise: fatal: unable to acquire compile/supervise/lock: not a directory
supervise: fatal: unable to start src/run: file does not exist
Wrong working directory.
supervise: fatal: unable to start src/run: file does not exist
Wrong working directory.
supervise: fatal: unable to start src/run: file does not exist
Wrong working directory.
.............
# svscanboot #执行svscanvboot命令
光标一直动,就像卡机了一样,trl+c 可退出
不知道哪些环节出现了错误,希望各位大师指点。 光标一直不动 原来是要后台执行命令 svscanboot晕! 原来是要后台执行命令 svscanboot晕!
页:
[1]