[hobbit] Problems starting hobbit

Kasperowicz, Shaun skasperowicz at c-cor.com
Sat Jul 1 02:05:23 CEST 2006


Thanks Charles,

I actually did run ipcs and ipcrm, which got me to my current problem
;).  I have also edited /etc/system (Solaris machine) to add more shared
memory segments, but I think this is another problem now.  Maybe I
should just recompile on a different machine and see if it works.

Thanks,

-Shaun

________________________________________
From: Charles Jones [mailto:jonescr at cisco.com] 
Sent: Wednesday, June 28, 2006 4:11 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Problems starting hobbit

Don't know if it will help, but the last time I had this problem, the
fix was completely stop hobbit, make sure all of the processes are gone,
and run /usr/bin/ipcs. I had a bunch of shared memory segments that were
hung, that I was able to remove using /usr/bin/ipcrm. Note the user in
the ipcs output - do not remove segments belong to other users or you
may break some other application you have running (I did that too) :-)

If this does not help, you may need to edit your /etc/sysctl.conf and
increase your shared memory.

-Charles

Kasperowicz, Shaun wrote: 
Henrik, 

In the other logfiles I have nothing.  Hobbitlaunch.log is the only one
getting any data.

Hobbit user is owner of both /var/log/hobbit and everything under
/usr/local/hobbit/.

And when I run the bbcmd command you suggested, I get this:

bash-2.03$ /usr/local/hobbit/server/bin/bbcmd hobbitd_channel
--channel=stachg hobbitd_history
2006-06-28 15:15:16 Using default environment file
/usr/local/hobbit/server/etc/hobbitserver.cfg
2006-06-28 15:15:16 Could not get shm of size 262144: No such file or
directory
2006-06-28 15:15:16 Channel not available


Looks like still more shared memory problems?

Regards,

-Shaun



-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Tuesday, June 27, 2006 5:38 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Problems starting hobbit

On Wed, Jun 21, 2006 at 11:17:12AM -0700, Kasperowicz, Shaun wrote:
  
Thanks Henrik,  I was able to delete the stale shared memory segments
and start hobbit.  Still getting some errors in hobbitlaunch.log
    
though:
  
2006-06-21 10:10:21 Setting up hobbitd channels
2006-06-21 10:10:21 Setting up logfiles
2006-06-21 10:10:26 Task bbhistory terminated, status 1
2006-06-21 10:10:26 Task bbpage terminated, status 1
2006-06-21 10:10:26 Task rrdstatus terminated, status 1
2006-06-21 10:10:26 Task rrddata terminated, status 1
2006-06-21 10:10:27 Task bbdisplay terminated by signal 9
2006-06-21 10:10:27 Task clientdata terminated, status 1
2006-06-21 10:10:27 Task bbcombotest terminated by signal 9
2006-06-21 10:10:32 Task clientdata terminated, status 1
2006-06-21 10:10:32 Task rrddata terminated, status 1
2006-06-21 10:10:32 Task rrdstatus terminated, status 1
2006-06-21 10:10:32 Task bbhistory terminated, status 1

I assume these are not normal?  Hobbitd is running, but no web pages
    
are
  
being generated.
    

It's definitely not normal.

What's in the other logfiles besides hobbitlaunch.log ?

Does you "hobbit" user have write access to the logfile directory
and the ~hobbit/server/www/ directory ?

What happens if you login as the hobbit user, then run 
   ./server/bin/bbcmd hobbitd_channel --channel=stachg hobbitd_history


  




More information about the Xymon mailing list