Xymon Mailing List Archive search

segmentation fault on startup

2 messages in this thread

list Bob Ababurko · Thu, 03 Nov 2005 18:33:59 -0500 ·
I have just installed the hobbit server 4.1.2 on openbsd 3.8-sparc64.  I used gmake to make everything and when I get everything installed and go to start the little devil, I get:

/var/www/htdocs/hobbit $/var/www/htdocs/hobbit/server/bin/hobbit.sh start
Segmentation fault
Hobbit started

It says it started, but it did not.

/var/www/htdocs/hobbit $ps waux|grep hobbit
hobbit   15376  0.0  0.1   696   560 p0  S      6:31PM    0:00.18 -ksh (ksh)
hobbit   25169  0.0  0.2   504  1168 p0  S+     6:39PM    0:00.05 grep hobbit
hobbit   13080  0.0  0.1   464   288 p0  R+     6:39PM    0:00.02 ps -waux


Now, I really do not know what to do to track this down.  Can anyone help?

-Bob
list Henrik Størner · Fri, 4 Nov 2005 10:21:54 +0100 ·
quoted from Bob Ababurko
On Thu, Nov 03, 2005 at 06:33:59PM -0500, Bob Ababurko wrote:
I have just installed the hobbit server 4.1.2 on openbsd 3.8-sparc64.  I used gmake to make everything and when I get everything installed and go to start the little devil, I get:

/var/www/htdocs/hobbit $/var/www/htdocs/hobbit/server/bin/hobbit.sh start
Segmentation fault
Very odd. It's been a very long time since I've heard any problems with
hobbitlaunch (which is the utility that starts first).

If you look inside the hobbit.sh script you'll find the command that
invokes hobbitlaunch - something like (wrapped for readability):

    /var/www/htdocs/hobbit/server/bin/hobbitlaunch 	--config=/var/www/htdocs/hobbit/server/etc/hobbitlaunch.cfg
	--env=/var/www/htdocs/hobbit/server/etc/hobbitserver.cfg 	--log=/var/log/hobbit/hobbitlaunch.log
	--pidfile=/var/log/hobbit/hobbitlaunch.pid

What happens if you run that command by hand, while you're logged in as
the "hobbit" user ? Do the files refered to in the --config and --env
options really exist ? Is the logfile directory writable by the user
that runs Hobbit ?

(BTW, I'd really advise against having the entire Hobbit installation inside your publicly-available Apache webroot. Much better to configure your webserver to publicize only the Hobbit web-directory; there is a
sample Apache configuration in Hobbit's server/etc/ directory).


Regards,
Henrik