You are not logged in.
Pages: 1
Now I got hula to start up and working - by compiling it selv
If I want to make at startup -script (daemon) How do I do that....
Becaurse if I put in the hulamanager in rc.local - I can´t get to log in cause it keeps writing in consol - so I can´t write my username and login
so please help me with that one
Just getting better .... All the time
Offline
What I mean - It keeps writing some system messages and then I can´t login - why I don´t know.
I followed the cactus installing hula - but not with the PKG (Never find the meaning and howto building my own packages)
But it says that you can make a daemon like everything else - but I can´t get the thing to work.
They keep coming with errors about everything...
I put this one in /etc/profile.d/:
export HULADIR=/opt/hula
export PATH=$PATH:$HULADIR/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HULADIR/lib/pkgconfig
And this one as the daemon in /etc/rc.d/hula:
##!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
DAEMON_NAME="hulamanager"
DAEMON_PATH="/opt/hula/sbin/${DAEMON_NAME}"
PID=`pidof -o %PPID ${DAEMON_NAME}`
case "$1" in
start)
stat_busy "Starting ${DAEMON_NAME}"
[ -z "$PID" ] && ${DAEMON_PATH} &>/dev/null &
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon ${DAEMON_NAME}
stat_done
fi
;;
stop)
stat_busy "Stopping ${DAEMON_NAME}"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon ${DAEMON_NAME}
stat_done
fi
;;
restart)
$0 stop
sleep 3
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0
So what´s wrong and why????
THX
Just getting better .... All the time
Offline
I'm not sure about the Hula-problem, but normally you should be able to log in just fine, even tho you get messages from running processes: those messages won't be seen as input to the prompt. I admit it's harder to login when you have messages flying by, but if you make no typos you'll be logged in just fine.
The messages probably keep coming once you're logged in, tho.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
@Peque: If you have problems with the package its best to contact the mainainer as the problem will get fixed.
Offline
http://benny.klapmuetz.org/hula.txt
My version is there, at least for now. It works okay...
But anyway... You should go with the community package of hula. It will include the daemon script from above. + Being updated regularely.
I was the package-holder on AUR for a while on hula and the daemon script sucked ass. I knew a workaround, so I didn't care about fixing the package... Oopsy. :-)
HTH
Hello girls, I like rock climbing, mountain biking and rafting! Write me!
Offline
Pages: 1