Forum OpenACS Q&A: Daemontools + Keep Aolserver Alive problem

I am trying to install Openacs4.5/Postgres on Suse Linux8.0.
At the "Keep AOLserver alive" - "Install daemontools" section I had this answer from my machine:

linux:~ # killall nsd
linux:~ # ln -s /web/birdnotes /service
linux:~ # ps -A | grep nsd
5018 ? 00:00:00 nsd (defunct)

What does it mean? What did I do wrong?
What will I do to get the right answer from the system?
Collapse
Posted by Jon Griffin on
You have a problem with svcscan. Do a ps eax |grep supervise and see what you have.

Also, why are you using /web/birdnotes? That was an example name. --- NOTE to Vinod, you should change the references to mywebsite or something.

Collapse
Posted by James Harris on
I had the same problem.  Did you compile from source?  If so, see Lachlan's note at the bottom.

"One trap is that you should NOT have the

/service

directory set up, or it will assume that svc is already running, and not complete the install.

So leave the setting of the link as the last step."

This might be worth adding in to the documentation as it caused me a few issues when I tried installing.  From memory I had to kill the daemontools processes, delete the /service directory, reinstall and then create the link again.

Collapse
Posted by Luigi Martini on
I actually used /web/birdnotes just in the post, willing to be consistent with the online documentation: being a beginner I am used to a step-by-step, word-by-word, quiet method, without much phantasy and supported by no knowldge at all. Mastering the whole thing in english is already a tough task to me; add your computer jargon, plus all those technical things... Every time I switch my computer on, I sweat cold.
The real directory in my system is /web/kirpi.
Ten minutes ago I came home; I just switched my PC on, opened a console as root and here is the result: something I cannot understand at all. I hope you can.

linux:~ # ps eax | grep supervise
1011 ? S 0:00 supervise kirpi PATH=/command:/usr/local/bin:/usr/loc al/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin 5595 pts/27 S 0:00 grep supervise PWD=/root LD_HWCAP_MASK=0x20000000 KDE _MALLOC=1 KONSOLE_DCOP=DCOPRef(konsole-5556,konsole) PAGER=less SHLIB_PATH=/opt/ mozilla/ GS_LIB=/root/.kde/share/fonts HOSTNAME=linux MOZILLA_DIR=/opt/mozilla/ LESSCLOSE=lessclose.sh %s %s RC_LANG=en_US LS_OPTIONS=-a -N --color=tty -T 0 KDE HOME=/root/.kde QTDIR=/usr/lib/qt3 _SUSECONFIG_PROFILE=true OPENWINHOME=/usr/ope nwin KDEROOTHOME=/root/.kde D=32 LESSKEY=/etc/lesskey.bin KONSOLE_DCOP_SESSION=D COPRef(konsole-5556,session-1) LESSOPEN=lessopen.sh %s MANPATH=/usr/share/man:/u sr/local/man:/usr/X11R6/man:/opt/gnome/man JAVA_BINDIR=/usr/lib/java/bin GNOME_P ATH=:/opt/gnome:/usr NNTPSERVER=news LESS=-M -I ADDON_PATH=/opt/mozilla/ USER=ro ot LS_COLORS=no=00:fi=00:di=01;34:ln=01:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;0 1:or=40;31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01; 32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;31:*.taz =00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2 =00;31:*.png=01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.pcx=01;35: *.ppm=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.wav=00;32:*.mp3=00;32:*.au=00; 32:*.aiff=00;32:*.mid=00;32:*.voc=00;32: XSESSION_IS_UP=yes MACHTYPE=i686-suse-l inux XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB RC_LC_COLLATE=POSIX KDE_MULTIHEAD=fa lse INPUTRC=/etc/inputrc GTK_RC_FILES=/etc/gtk/gtkrc:/root/.gtkrc:/root/.gtkrc-k de XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched moz_debug=0 LESS_ADVA NCED_PREPROCESSOR=no GNOMEDIR=/opt/gnome HOST=linux JAVA_HOME=/usr/lib/java LIBP ATH=/opt/mozilla/ COLORTERM= X=1024 INFOPATH=/usr/local/info:/usr/share/info:/us r/info Y=768 DISPLAY=:0.0 LOGNAME=root SHLVL=2 TEXINPUTS=:/root/.TeX:/usr/share/ doc/.TeX:/usr/doc/.TeX LC_CTYPE=en_US MINICOM=-c on INFODIR=/usr/local/info:/usr /share/info:/usr/info SESSION_MANAGER=local/linux:/tmp/.ICE-unix/3332 KONQ_DIR=/ root/.kde/share/apps/konqueror/dirtree/ SHELL=/bin/bash PRINTER=lp JDK_HOME=/usr /lib/java HOSTTYPE=i386 CPU=i686 OSTYPE=linux WINDOWMANAGER=/usr/X11R6/bin/kde J RE_HOME=/usr/lib/java HOME=/root TERM=xterm XNLSPATH=/usr/X11R6/lib/X11/nls no_p roxy=localhost PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/us r/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin: /usr/lib/java/bin:/opt/gnome/bin mc=() { mkdir -p $HOME/.mc/tmp 2>/dev/null;? c hmod 700 $HOME/.mc/tmp;? MC=$HOME/.mc/tmp/mc-$$;? /usr/bin/mc -P "$@" >"$MC";? c d "`cat $MC`";? rm -f "$MC";? unset MC?} _=/usr/bin/grep
linux:~ #
Collapse
Posted by Jon Griffin on
Please wrap your code in <pre></pre>.It is almost impossible to read, but it looks like you don't have supervise running. Please look at your inittab and see if it is setup to run.

Collapse
Posted by Luigi Martini on

I tried and learn how to use the pre /pre tags to help you better read the console output: no way for me to really understand it.
As I write
ps eax | grep supervise
an unformatted block of unreadable text fills the console window. I now try again and provide you with the last output. I put pre /pre tags just before and after the following block, and it becomes a long line...
linux:~ # ps eax | grep supervise
 1011 ?        S      0:00 supervise kirpi PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
 5165 pts/1    R      0:00 grep supervise PWD=/root LD_HWCAP_MASK=0x20000000 KDE_MALLOC=1 KONSOLE_DCOP=DCOPRef(konsole-5098,konsole) PAGER=less GS_LIB=/share/fonts HOSTNAME=linux LESSCLOSE=lessclose.sh %s %s LS_OPTIONS=-a -N --color=tty -T 0 KDEHOME=/home/luigi/.kde QTDIR=/usr/lib/qt3 _SUSECONFIG_PROFILE=true OPENWINHOME=/usr/openwin LESSKEY=/etc/lesskey.bin KONSOLE_DCOP_SESSION=DCOPRef(konsole-5098,session-1) LESSOPEN=lessopen.sh %s JAVA_BINDIR=/usr/lib/java/bin MANPATH=/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome/man GNOME_PATH=:/opt/gnome:/usr:/opt/gnome:/usr NNTPSERVER=news LESS=-M -I USER=luigi LS_COLORS=no=00:fi=00:di=01;34:ln=01:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2=00;31:*.png=01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.pcx=01;35:*.ppm=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.wav=00;32:*.mp3=00;32:*.au=00;32:*.aiff=00;32:*.mid=00;32:*.voc=00;32: XSESSION_IS_UP=yes MACHTYPE=i686-suse-linux XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB KDE_MULTIHEAD=false INPUTRC=/etc/inputrc OLDPWD=/home/luigi GTK_RC_FILES=/etc/gtk/gtkrc:/home/luigi/.gtkrc XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched LESS_ADVANCED_PREPROCESSOR=no LANG=en_US GNOMEDIR=/opt/gnome HOST=linux JAVA_HOME=/usr/lib/java COLORTERM= INFOPATH=/usr/local/info:/usr/share/info:/usr/info DISPLAY=:0.0 LOGNAME=luigi SHLVL=3 TEXINPUTS=::/home/luigi/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/home/luigi/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX MINICOM=-c on INFODIR=/usr/local/info:/usr/share/info:/usr/info SESSION_MANAGER=local/linux:/tmp/.ICE-unix/1313 SHELL=/bin/bash PRINTER=lp JDK_HOME=/usr/lib/java HOSTTYPE=i386 CPU=i686 OSTYPE=linux WINDOWMANAGER=/usr/X11R6/bin/kde JRE_HOME=/usr/lib/java HOME=/root TERM=xterm XNLSPATH=/usr/X11R6/lib/X11/nls no_proxy=localhost PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin LC_COLLATE=POSIX mc=() {  mkdir -p $HOME/.mc/tmp 2>/dev/null;? chmod 700 $HOME/.mc/tmp;? MC=$HOME/.mc/tmp/mc-$$;? /usr/bin/mc -P "$@" >"$MC";? cd "`cat $MC`";? rm -f "$MC";? unset MC?} _=/bin/grep
linux:~ #
linux:~ #
As for inittab, I cannot even figure out what you mean.
Sorry for being a beginner.