You are not logged in.

#1 2006-01-01 19:30:46

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Hula

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

#2 2006-01-01 19:37:54

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Hula

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

#3 2006-01-01 20:36:57

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Hula

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

#4 2006-01-03 01:15:46

WillySilly
Member
From: Martinez, CA
Registered: 2005-01-14
Posts: 268
Website

Re: Hula

@Peque: If you have problems with the package its best to contact the mainainer as the problem will get fixed.


<Shadowhand> wizzomafizzo, sorry, i meant "soul mate" ... err, "better self" err "best friend with boobs"

<dadexter> I am not gonna become a fscking signature

Offline

#5 2006-01-03 01:18:01

klapmuetz
Member
From: Germany
Registered: 2005-03-19
Posts: 75

Re: Hula

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

Board footer

Powered by FluxBB