Xymon Mailing List Archive search

Hobbit server doesn't start on CentOS 5 with hobbit-4.2.0-7.el5.re.i386.rpm installed

15 messages in this thread

list Sebastian Auriol · Thu, 29 Nov 2007 18:29:28 -0000 ·
I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5
.re.html
It includes the All-in-one patch.  So I configured the cfg files and started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on http://www.hswn.dk/hobbit/help/known-issues.html that relate to
FreeBSD, but none of the sysctl keys listed are in this version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (user-cbb31f498875@xymon.invalid)
(gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40
EDT 2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks,

Sebastian
list Josh Luthman · Thu, 29 Nov 2007 13:43:53 -0500 ·
Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.
quoted from Sebastian Auriol

On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:
 I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html
*<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html>;
quoted from Sebastian Auriol
It includes the All-in-one patch.  So I configured the cfg files and
started hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues

listed on *http://www.hswn.dk/hobbit/help/known-issues.html*<http://www.hswn.dk/hobbit/help/known-issues.html>that relate to FreeBSD, but none of the sysctl keys listed are in this
quoted from Sebastian Auriol
version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (user-cbb31f498875@xymon.invalid)
(gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40
EDT 2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks,

Sebastian
-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Sebastian Auriol · Fri, 30 Nov 2007 14:47:05 -0000 ·
I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0 from
source with the allinone.patch and get exactly the same error.
 It might be worth noting that this was originally a minimum CentOS 5 install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile hobbit,
and I previously had to install gcc for compiling some other software - all
from yum.
 The server has 2 GB of RAM but is running several other services.
 Any other ideas?
 Sebastian
 

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed
quoted from Josh Luthman


Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 
I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,

which I probably got from here:  <http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el
5.re.html>
quoted from Josh Luthman
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5
.re.html It includes the All-in-one patch.  So I configured the cfg files and started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting 2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg 2007-11-29 17:33:47 Loading hostnames 2007-11-29 17:33:47 Loading saved state 2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore 2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984 2007-11-29 17:33:47 Setting up signal handlers 2007-11-29 17:33:47 Setting up hobbitd channels 2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device 2007-11-29 17:33:47 Cannot setup status channel 2007-11-29 17:33:47 Task hobbitd terminated, status 1 
This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that relate to FreeBSD, but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version Linux version 2.6.18-8.1.15.el5.centos.plus (user-cbb31f498875@xymon.invalid

<mailto:user-cbb31f498875@xymon.invalid> ) (gcc version 4.1.1 20070105 (Red
quoted from Josh Luthman
Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT 2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks, 
Sebastian  


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Josh Luthman · Fri, 30 Nov 2007 09:57:57 -0500 ·
Do you have SELinux installed and running by chance?

On 11/30/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:
 I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0from source with the
quoted from Sebastian Auriol
allinone.patch and get exactly the same error.

It might be worth noting that this was originally a minimum CentOS 5
install - I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile
hobbit, and I previously had to install gcc for compiling some other
software - all from yum.

The server has 2 GB of RAM but is running several other services.

Any other ideas?

Sebastian


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* 29 November 2007 18:44
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed

Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.

On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:
 I installed an RPM of hobbit-4.2.0 called
hobbit-4.2.0-7.el5.re.i386.rpm, which I probably got from here:
*http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html
*<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html>;
It includes the All-in-one patch.  So I configured the cfg files and
started hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that this is
normal:  "Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore".  The problem looks
like this:  "Could not get shm of size 262144: No space left on device".  I
see that there are two similar issues listed on *http://www.hswn.dk/hobbit/help/known-issues.html

* <http://www.hswn.dk/hobbit/help/known-issues.html>that relate to
quoted from Sebastian Auriol
FreeBSD, but none of the sysctl keys listed are in this version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (user-cbb31f498875@xymon.invalid
) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25
06:49:40 EDT 2007

Google returns 1 result for "Could not get shm of size" "No space left
on device" and that was the Known Issues page I've already checked.  Any
ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when
hobbitd terminated.  It seems like it should have been.

Many thanks,

Sebastian
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Hampl Pavel · Fri, 30 Nov 2007 16:07:54 +0100 ·
Hi,
 
What about to increase shmmax in the system when it complains that
cannot get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m
 
You can increase it in /etc/sysctl (just put there something big, it is
just a restriction, kernel.shmmax = XXXX)  and then apply it by : #
sysctl -p
 
Cheers,

Pavel Hampl 
quoted from Josh Luthman


From: Sebastian [mailto:user-7b2156f36779@xymon.invalid] 
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with

hobbit-4.2.0 installed
quoted from Josh Luthman


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0
from source with the allinone.patch and get exactly the same error.
 
It might be worth noting that this was originally a minimum CentOS 5
install - I had to install gcc-c++ (and rrd-devel and pcre-devel) to
compile hobbit, and I previously had to install gcc for compiling some
other software - all from yum.
 
The server has 2 GB of RAM but is running several other services.
 
Any other ideas?
 
Sebastian
 

	From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
	Sent: 29 November 2007 18:44
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5
with hobbit-4.2.0-7.el5.re.i386.rpm installed
	
	
	Just compile it from source.  If you don't know how to do that I
can give you instructions command by command, just ask.  I use CentOS5
on my boxes but I've never bothered with the RPM.
	
	
	On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 

		I installed an RPM of hobbit-4.2.0 called
hobbit-4.2.0-7.el5.re.i386.rpm, which I probably got from here: 
	

http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7
.el5.re.html
<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-
7.el5.re.html> 
quoted from Josh Luthman
		It includes the All-in-one patch.  So I configured the
cfg files and started hobbit, but I get this in hobbitlaunch.log:

		2007-11-29 17:33:47 hobbitlaunch starting 
		2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg 
		2007-11-29 17:33:47 Loading hostnames 
		2007-11-29 17:33:47 Loading saved state 
		2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore 
		2007-11-29 17:33:47 Setting up network listener on
0.0.0.0:1984 
		2007-11-29 17:33:47 Setting up signal handlers 
		2007-11-29 17:33:47 Setting up hobbitd channels 
		2007-11-29 17:33:47 Could not get shm of size 262144: No
space left on device 
		2007-11-29 17:33:47 Cannot setup status channel 
		2007-11-29 17:33:47 Task hobbitd terminated, status 1 

		This is the first time I've started it, so I presume
that this is normal:  "Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore".  The problem
looks like this:  "Could not get shm of size 262144: No space left on
device".  I see that there are two similar issues listed on
http://www.hswn.dk/hobbit/help/known-issues.html
<http://www.hswn.dk/hobbit/help/known-issues.html>; that relate to
FreeBSD, but none of the sysctl keys listed are in this version of
Linux:

		# cat /proc/version 
		Linux version 2.6.18-8.1.15.el5.centos.plus
(user-cbb31f498875@xymon.invalid ) (gcc version 4.1.1 20070105 (Red Hat
4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT 2007

		Google returns 1 result for "Could not get shm of size"
"No space left on device" and that was the Known Issues page I've
already checked.  Any ideas?

		Also, I noticed that the hobbitd.pid file did not get
deleted when hobbitd terminated.  It seems like it should have been.

		Many thanks, 

		Sebastian  


	-- 
	Josh Luthman
	Office: XXX-XXX-XXXX
	Direct: XXX-XXX-XXXX
	XXXX Wayne St
	Suite XXXX
	Troy, OH XXXXX
	
	Those who don't understand UNIX are condemned to reinvent it,
poorly. 
	--- Henry Spencer 


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Legal Disclaimer: This e-mail and any attached files are confidential and may be legally privileged. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify CSOB immediately and then delete this e-mail. CSOB does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of or reliance on the information. All e-mail messages addressed to, received or sent by CSOB or CSOB employees are deemed to be professional in nature. Accordingly, the sender or recipient of these messages agrees that they may be read by other CSOB employees than the official recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof.
list Josh Luthman · Fri, 30 Nov 2007 10:17:47 -0500 ·
FTR my Hobbit server:

-> sysctl -a|grep shmmax
kernel.shmmax = 4294967295
quoted from Hampl Pavel

On 11/30/07, HAMPL Pavel <user-989294c2384e@xymon.invalid> wrote:
 Hi,

What about to increase shmmax in the system when it complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m

You can increase it in /etc/sysctl (just put there something big, it is
just a restriction, kernel.shmmax = XXXX)  and then apply it by : # sysctl
-p

Cheers,

Pavel Hampl
*From:* Sebastian [mailto:user-7b2156f36779@xymon.invalid]
*Sent:* Friday, November 30, 2007 3:47 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed

 I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0from source with the
allinone.patch and get exactly the same error.

It might be worth noting that this was originally a minimum CentOS 5
install - I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile
hobbit, and I previously had to install gcc for compiling some other
software - all from yum.

The server has 2 GB of RAM but is running several other services.

Any other ideas?

Sebastian


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* 29 November 2007 18:44
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed

Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.

On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:
 I installed an RPM of hobbit-4.2.0 called
hobbit-4.2.0-7.el5.re.i386.rpm, which I probably got from here:
*http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html
*<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html>;
It includes the All-in-one patch.  So I configured the cfg files and
started hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that this is
normal:  "Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore".  The problem looks
like this:  "Could not get shm of size 262144: No space left on device".  I
see that there are two similar issues listed on *http://www.hswn.dk/hobbit/help/known-issues.html
* <http://www.hswn.dk/hobbit/help/known-issues.html>that relate to
FreeBSD, but none of the sysctl keys listed are in this version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (user-cbb31f498875@xymon.invalid
) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25
06:49:40 EDT 2007

Google returns 1 result for "Could not get shm of size" "No space left
on device" and that was the Known Issues page I've already checked.  Any
ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when
hobbitd terminated.  It seems like it should have been.

Many thanks,

Sebastian
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Legal Disclaimer: This e-mail and any attached files are confidential and
may be legally privileged. If you are not the addressee, any disclosure,
reproduction, copying, distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received this transmission
in error please notify CSOB immediately and then delete this e-mail. CSOB
does not accept liability for the correct and complete transmission of the
information, nor for any delay or interruption of the transmission, nor for
damages arising from the use of or reliance on the information. All e-mail
messages addressed to, received or sent by CSOB or CSOB employees are deemed
to be professional in nature. Accordingly, the sender or recipient of these
messages agrees that they may be read by other CSOB employees than the
official recipient or sender in order to ensure the continuity of
work-related activities and allow supervision thereof.
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Sebastian Auriol · Fri, 30 Nov 2007 15:45:47 -0000 ·
quoted from Josh Luthman
 

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: 30 November 2007 14:58
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


Do you have SELinux installed and running by chance?


On 11/30/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 
I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0 from
source with the allinone.patch and get exactly the same error.
 It might be worth noting that this was originally a minimum CentOS 5 install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile hobbit,
and I previously had to install gcc for compiling some other software - all
from yum.
 The server has 2 GB of RAM but is running several other services.
 Any other ideas?
 Sebastian
 

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 
I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:  <http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5
.re.html It includes the All-in-one patch.  So I configured the cfg files and started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting 2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg 2007-11-29 17:33:47 Loading hostnames 2007-11-29 17:33:47 Loading saved state 2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore 2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984 2007-11-29 17:33:47 Setting up signal handlers 2007-11-29 17:33:47 Setting up hobbitd channels 2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device 2007-11-29 17:33:47 Cannot setup status channel 2007-11-29 17:33:47 Task hobbitd terminated, status 1 
This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that relate to FreeBSD, but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version Linux version 2.6.18-8.1.15.el5.centos.plus (

<mailto:user-cbb31f498875@xymon.invalid> user-cbb31f498875@xymon.invalid ) (gcc
quoted from Josh Luthman
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks, 
Sebastian  


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer 


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Sebastian Auriol · Fri, 30 Nov 2007 15:46:37 -0000 ·
Oops.  Silly computer freeze.
 
No, I have don't have SELinux.
quoted from Josh Luthman


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 30 November 2007 14:58
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


Do you have SELinux installed and running by chance?


On 11/30/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 

I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0 from
source with the allinone.patch and get exactly the same error.
 
It might be worth noting that this was originally a minimum CentOS 5 install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile hobbit,
and I previously had to install gcc for compiling some other software - all
from yum.
 
The server has 2 GB of RAM but is running several other services.
 
Any other ideas?
 
Sebastian
 

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 

I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here: 
 
<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5
.re.html 
It includes the All-in-one patch.  So I configured the cfg files and started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting 
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg 
2007-11-29 17:33:47 Loading hostnames 
2007-11-29 17:33:47 Loading saved state 
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore 
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984 
2007-11-29 17:33:47 Setting up signal handlers 
2007-11-29 17:33:47 Setting up hobbitd channels 
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device 
2007-11-29 17:33:47 Cannot setup status channel 
2007-11-29 17:33:47 Task hobbitd terminated, status 1 

This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that relate to FreeBSD, but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version 
Linux version 2.6.18-8.1.15.el5.centos.plus (
<mailto:user-cbb31f498875@xymon.invalid> user-cbb31f498875@xymon.invalid ) (gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks, 

Sebastian  


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. 
--- Henry Spencer 


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. 
--- Henry Spencer
list Sebastian Auriol · Fri, 30 Nov 2007 15:49:02 -0000 ·
I looked at that already and it seemed high.  Mine is also:
kernel.shmmax = 4294967295
 
I found the problem though:
max number of segments = 4096
segments allocated 4096
 
Fixed with:
sysctl -w kernel.shmmni=8192
kernel.shmmni = 8192
 
Thanks for making me look at ipcs again though.
quoted from Sebastian Auriol
 
Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 30 November 2007 15:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


FTR my Hobbit server:

-> sysctl -a|grep shmmax
kernel.shmmax = 4294967295


On 11/30/07, HAMPL Pavel <user-989294c2384e@xymon.invalid  <mailto:user-989294c2384e@xymon.invalid> > wrote: 

Hi,
 
What about to increase shmmax in the system when it complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m
 
You can increase it in /etc/sysctl (just put there something big, it is just
a restriction, kernel.shmmax = XXXX)  and then apply it by : # sysctl -p
 
Cheers,

Pavel Hampl 


From: Sebastian [mailto:user-7b2156f36779@xymon.invalid] 
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0 from
source with the allinone.patch and get exactly the same error.
 
It might be worth noting that this was originally a minimum CentOS 5 install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile hobbit,
and I previously had to install gcc for compiling some other software - all
from yum.
 
The server has 2 GB of RAM but is running several other services.
 
Any other ideas?
 
Sebastian
 

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 

I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here: 
 
<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5
.re.html 
It includes the All-in-one patch.  So I configured the cfg files and started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting 
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg 
2007-11-29 17:33:47 Loading hostnames 
2007-11-29 17:33:47 Loading saved state 
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore 
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984 
2007-11-29 17:33:47 Setting up signal handlers 
2007-11-29 17:33:47 Setting up hobbitd channels 
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device 
2007-11-29 17:33:47 Cannot setup status channel 
2007-11-29 17:33:47 Task hobbitd terminated, status 1 

This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that relate to FreeBSD, but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version 
Linux version 2.6.18-8.1.15.el5.centos.plus (
<mailto:user-cbb31f498875@xymon.invalid> user-cbb31f498875@xymon.invalid ) (gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks, 

Sebastian  


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. 
--- Henry Spencer 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::

Legal Disclaimer: This e-mail and any attached files are confidential and
may be legally privileged. If you are not the addressee, any disclosure,
reproduction, copying, distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received this transmission
in error please notify CSOB immediately and then delete this e-mail. CSOB
does not accept liability for the correct and complete transmission of the
information, nor for any delay or interruption of the transmission, nor for
damages arising from the use of or reliance on the information. All e-mail
messages addressed to, received or sent by CSOB or CSOB employees are deemed
to be professional in nature. Accordingly, the sender or recipient of these
messages agrees that they may be read by other CSOB employees than the
official recipient or sender in order to ensure the continuity of
work-related activities and allow supervision thereof.


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. 
--- Henry Spencer
list Sebastian Auriol · Fri, 30 Nov 2007 15:57:55 -0000 ·
Thanks Pavel, although actually the command is: # ipcs -u
# ipcs -m
is not very useful - just produces a lot of spam with no totals.
 
Comparing
# ipcs -u
with
# ipcs -l
showed up the problem.
 
Sebastian
quoted from Hampl Pavel


From: HAMPL Pavel [mailto:user-989294c2384e@xymon.invalid] 
Sent: 30 November 2007 15:08
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


Hi,
 
What about to increase shmmax in the system when it complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m
 
You can increase it in /etc/sysctl (just put there something big, it is just
a restriction, kernel.shmmax = XXXX)  and then apply it by : # sysctl -p
 
Cheers,

Pavel Hampl 


From: Sebastian [mailto:user-7b2156f36779@xymon.invalid] 
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0 from
source with the allinone.patch and get exactly the same error.
 
It might be worth noting that this was originally a minimum CentOS 5 install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile hobbit,
and I previously had to install gcc for compiling some other software - all
from yum.
 
The server has 2 GB of RAM but is running several other services.
 
Any other ideas?
 
Sebastian
 

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 

I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here: 
 
<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5
.re.html 
It includes the All-in-one patch.  So I configured the cfg files and started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting 
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg 
2007-11-29 17:33:47 Loading hostnames 
2007-11-29 17:33:47 Loading saved state 
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore 
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984 
2007-11-29 17:33:47 Setting up signal handlers 
2007-11-29 17:33:47 Setting up hobbitd channels 
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device 
2007-11-29 17:33:47 Cannot setup status channel 
2007-11-29 17:33:47 Task hobbitd terminated, status 1 

This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that relate to FreeBSD, but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version 
Linux version 2.6.18-8.1.15.el5.centos.plus (user-cbb31f498875@xymon.invalid
<mailto:user-cbb31f498875@xymon.invalid> ) (gcc version 4.1.1 20070105 (Red
Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT 2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks, 

Sebastian  


-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly. 
--- Henry Spencer 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:::

Legal Disclaimer: This e-mail and any attached files are confidential and
may be legally privileged. If you are not the addressee, any disclosure,
reproduction, copying, distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received this transmission
in error please notify CSOB immediately and then delete this e-mail. CSOB
does not accept liability for the correct and complete transmission of the
information, nor for any delay or interruption of the transmission, nor for
damages arising from the use of or reliance on the information. All e-mail
messages addressed to, received or sent by CSOB or CSOB employees are deemed
to be professional in nature. Accordingly, the sender or recipient of these
messages agrees that they may be read by other CSOB employees than the
official recipient or sender in order to ensure the continuity of
work-related activities and allow supervision thereof.
list Mike Arnold · Fri, 30 Nov 2007 12:09:49 -0700 (MST) ·
So, for the record, there is nothing wrong with the RPM?

-- 
-m
quoted from Sebastian Auriol

Sebastian wrote:
I looked at that already and it seemed high.  Mine is also:
kernel.shmmax = 4294967295

I found the problem though:
max number of segments = 4096
segments allocated 4096

Fixed with:
sysctl -w kernel.shmmni=8192
kernel.shmmni = 8192

Thanks for making me look at ipcs again though.

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 30 November 2007 15:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


FTR my Hobbit server:

-> sysctl -a|grep shmmax
kernel.shmmax = 4294967295


On 11/30/07, HAMPL Pavel <user-989294c2384e@xymon.invalid  <mailto:user-989294c2384e@xymon.invalid> > wrote:

Hi,

What about to increase shmmax in the system when it complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m

You can increase it in /etc/sysctl (just put there something big, it is
just
a restriction, kernel.shmmax = XXXX)  and then apply it by : # sysctl -p

Cheers,

Pavel Hampl


From: Sebastian [mailto:user-7b2156f36779@xymon.invalid]
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0
from
source with the allinone.patch and get exactly the same error.

It might be worth noting that this was originally a minimum CentOS 5
install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile
hobbit,
and I previously had to install gcc for compiling some other software -
all
from yum.

The server has 2 GB of RAM but is running several other services.

Any other ideas?

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:

I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:

<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5
.re.html
It includes the All-in-one patch.  So I configured the cfg files and
started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that relate to FreeBSD,
but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (
<mailto:user-cbb31f498875@xymon.invalid> user-cbb31f498875@xymon.invalid )
(gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any
ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks,

Sebastian
list Sebastian Auriol · Fri, 30 Nov 2007 19:35:31 -0000 ·
I haven't bothered trying the RPM again now that I have the source compiled
version working, but there is probably nothing wrong with it. (I never
suggested there was.) Or, at least, the RPM was not what was causing the
problem I had - indeed the problem I had could have happened on any version
of Linux, etc..

Sebastian
quoted from Mike Arnold
 
-----Original Message-----
From: Mike Arnold [mailto:user-95d566fbb20b@xymon.invalid] Sent: 30 November 2007 19:10
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with hobbit-4.2.0 installed

So, for the record, there is nothing wrong with the RPM?

-- 
-m

Sebastian wrote:
I looked at that already and it seemed high.  Mine is also:
kernel.shmmax = 4294967295

I found the problem though:
max number of segments = 4096
segments allocated 4096

Fixed with:
sysctl -w kernel.shmmni=8192
kernel.shmmni = 8192

Thanks for making me look at ipcs again though.

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 30 November 2007 15:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


FTR my Hobbit server:

-> sysctl -a|grep shmmax
kernel.shmmax = 4294967295


On 11/30/07, HAMPL Pavel <user-989294c2384e@xymon.invalid  <mailto:user-989294c2384e@xymon.invalid> > wrote:

Hi,

What about to increase shmmax in the system when it complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m

You can increase it in /etc/sysctl (just put there something big, it is
just
a restriction, kernel.shmmax = XXXX)  and then apply it by : # sysctl -p

Cheers,

Pavel Hampl


From: Sebastian [mailto:user-7b2156f36779@xymon.invalid]
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled hobbit-4.2.0
from
source with the allinone.patch and get exactly the same error.

It might be worth noting that this was originally a minimum CentOS 5
install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile
hobbit,
and I previously had to install gcc for compiling some other software -
all
from yum.

The server has 2 GB of RAM but is running several other services.

Any other ideas?

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do that I can give
you instructions command by command, just ask.  I use CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:

I installed an RPM of hobbit-4.2.0 called hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:

<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbi
t-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit
-4-4.2.0-7.el5
quoted from Mike Arnold
.re.html
It includes the All-in-one patch.  So I configured the cfg files and
started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that this is normal:
"Cannot access checkpoint file /usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get shm of size
262144: No space left on device".  I see that there are two similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that relate to FreeBSD,
but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (
<mailto:user-cbb31f498875@xymon.invalid> user-cbb31f498875@xymon.invalid )
(gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No space left on
device" and that was the Known Issues page I've already checked.  Any
ideas?

Also, I noticed that the hobbitd.pid file did not get deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks,

Sebastian
list Josh Luthman · Fri, 30 Nov 2007 14:47:52 -0500 ·
It is quite likely that the RPM is just fine, but it isn't a 100% sure
thing...

Sebastian - did you make any changes to those kinds of things after
installing CentOS5?  I've installed Hobbit on half a dozen machines loaded
with CentOS5 and I've never seen this issue or had to change any such
option.
quoted from Sebastian Auriol

On 11/30/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:
I haven't bothered trying the RPM again now that I have the source
compiled
version working, but there is probably nothing wrong with it. (I never
suggested there was.) Or, at least, the RPM was not what was causing the
problem I had - indeed the problem I had could have happened on any
version
of Linux, etc..

Sebastian

-----Original Message-----
From: Mike Arnold [mailto:user-95d566fbb20b@xymon.invalid]
Sent: 30 November 2007 19:10
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5
with hobbit-4.2.0 installed

So, for the record, there is nothing wrong with the RPM?

--
-m

Sebastian wrote:
I looked at that already and it seemed high.  Mine is also:
kernel.shmmax = 4294967295

I found the problem though:
max number of segments = 4096
segments allocated 4096

Fixed with:
sysctl -w kernel.shmmni=8192
kernel.shmmni = 8192

Thanks for making me look at ipcs again though.

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 30 November 2007 15:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


FTR my Hobbit server:

-> sysctl -a|grep shmmax
kernel.shmmax = 4294967295


On 11/30/07, HAMPL Pavel <user-989294c2384e@xymon.invalid
<mailto:user-989294c2384e@xymon.invalid> > wrote:
Hi,

What about to increase shmmax in the system when it
complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m

You can increase it in /etc/sysctl (just put there
something big, it is
just
a restriction, kernel.shmmax = XXXX)  and then apply it by
: # sysctl -p
Cheers,

Pavel Hampl


From: Sebastian [mailto:user-7b2156f36779@xymon.invalid]
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled
hobbit-4.2.0
from
source with the allinone.patch and get exactly the same error.

It might be worth noting that this was originally a minimum CentOS 5
install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile
hobbit,
and I previously had to install gcc for compiling some
other software -
all
from yum.

The server has 2 GB of RAM but is running several other services.

Any other ideas?

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do
that I can give
you instructions command by command, just ask.  I use
CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:

I installed an RPM of hobbit-4.2.0 called
hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:

<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbi
t-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit
-4-4.2.0-7.el5
.re.html
It includes the All-in-one patch.  So I configured the cfg files and
started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No
space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that
this is normal:
"Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get
shm of size
262144: No space left on device".  I see that there are two
similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html>;
http://www.hswn.dk/hobbit/help/known-issues.html that
relate to FreeBSD,
but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (
user-cbb31f498875@xymon.invalid )
(gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct
25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No
space left on
device" and that was the Known Issues page I've already
checked.  Any
ideas?

Also, I noticed that the hobbitd.pid file did not get
deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks,

Sebastian
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Sebastian Auriol · Fri, 30 Nov 2007 19:55:16 -0000 ·
No, I didn't make any changes - it's just apache and, particularly, otrs
that are using a lot of shared memory segments (mostly of 1 byte each).
quoted from Josh Luthman
 
Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 30 November 2007 19:48
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


It is quite likely that the RPM is just fine, but it isn't a 100% sure
thing...

Sebastian - did you make any changes to those kinds of things after
installing CentOS5?  I've installed Hobbit on half a dozen machines loaded
with CentOS5 and I've never seen this issue or had to change any such
option. 


On 11/30/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote: 

I haven't bothered trying the RPM again now that I have the source compiled
version working, but there is probably nothing wrong with it. (I never
suggested there was.) Or, at least, the RPM was not what was causing the 
problem I had - indeed the problem I had could have happened on any version
of Linux, etc..

Sebastian

-----Original Message-----

From: Mike Arnold [mailto: user-95d566fbb20b@xymon.invalid
quoted from Josh Luthman
<mailto:user-95d566fbb20b@xymon.invalid> ]
Sent: 30 November 2007 19:10
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5
with hobbit-4.2.0 installed

So, for the record, there is nothing wrong with the RPM?

--
-m

Sebastian wrote:
I looked at that already and it seemed high.  Mine is also:
kernel.shmmax = 4294967295

I found the problem though:
max number of segments = 4096
segments allocated 4096

Fixed with:
sysctl -w kernel.shmmni=8192
kernel.shmmni = 8192

Thanks for making me look at ipcs again though.

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 30 November 2007 15:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


FTR my Hobbit server:

-> sysctl -a|grep shmmax 
kernel.shmmax = 4294967295


On 11/30/07, HAMPL Pavel <user-989294c2384e@xymon.invalid
<mailto:user-989294c2384e@xymon.invalid  <mailto:user-989294c2384e@xymon.invalid> > > wrote:
Hi,

What about to increase shmmax in the system when it
complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax 
This cmd says you what is already used: # ipcs -m

You can increase it in /etc/sysctl (just put there
something big, it is
just
a restriction, kernel.shmmax = XXXX)  and then apply it by
: # sysctl -p
Cheers,

Pavel Hampl


From: Sebastian [mailto: user-7b2156f36779@xymon.invalid]
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with 
hobbit-4.2.0 installed


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled
hobbit-4.2.0
from
source with the allinone.patch and get exactly the same error.

It might be worth noting that this was originally a minimum CentOS 5
install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile 
hobbit,
and I previously had to install gcc for compiling some
other software -
all
from yum.

The server has 2 GB of RAM but is running several other services. 

Any other ideas?

Sebastian


From: Josh Luthman [mailto:  <mailto:user-4c45a83f15cb@xymon.invalid>
user-4c45a83f15cb@xymon.invalid]
quoted from Josh Luthman
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with 
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do
that I can give
you instructions command by command, just ask.  I use 
CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:

I installed an RPM of hobbit-4.2.0 called
hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:

<  <http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbi>;

http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbi
t-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit
quoted from Josh Luthman
<http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit>; 
-4-4.2.0-7.el5
.re.html
It includes the All-in-one patch.  So I configured the cfg files and
started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames 
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No 
space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that 
this is normal:
"Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get
shm of size 
262144: No space left on device".  I see that there are two
similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html
<http://www.hswn.dk/hobbit/help/known-issues.html>; >
http://www.hswn.dk/hobbit/help/known-issues.html that
relate to FreeBSD,
but
none of the sysctl keys listed are in this version of Linux: 

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (
user-cbb31f498875@xymon.invalid )
(gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct
25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No
space left on
device" and that was the Known Issues page I've already
checked.  Any
ideas? 

Also, I noticed that the hobbitd.pid file did not get
deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks,

Sebastian
-- 
Josh Luthman
Office: XXX-XXX-XXXX 
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Josh Luthman · Fri, 30 Nov 2007 15:06:35 -0500 ·
I tried OTRS, how do you like it?

I've been looking for an intraoffice ticketing system for the longest time.
OTRS is a communication tool between customer base to employees, so it
didn't fit my need.  Let me know if you have something that I could use =)

Sorry for the off topic, just starting to get desperate.  Funds are low for
the technical needs...

Josh
quoted from Sebastian Auriol

On 11/30/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:
 No, I didn't make any changes - it's just apache and, particularly, otrs
that are using a lot of shared memory segments (mostly of 1 byte each).

Sebastian

*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* 30 November 2007 19:48
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed

It is quite likely that the RPM is just fine, but it isn't a 100% sure
thing...

Sebastian - did you make any changes to those kinds of things after
installing CentOS5?  I've installed Hobbit on half a dozen machines loaded
with CentOS5 and I've never seen this issue or had to change any such
option.

On 11/30/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:
I haven't bothered trying the RPM again now that I have the source
compiled
version working, but there is probably nothing wrong with it. (I never
suggested there was.) Or, at least, the RPM was not what was causing the

problem I had - indeed the problem I had could have happened on any
version
of Linux, etc..

Sebastian

-----Original Message-----
From: Mike Arnold [mailto: user-95d566fbb20b@xymon.invalid]
Sent: 30 November 2007 19:10
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5
with hobbit-4.2.0 installed

So, for the record, there is nothing wrong with the RPM?

--
-m

Sebastian wrote:
I looked at that already and it seemed high.  Mine is also:
kernel.shmmax = 4294967295

I found the problem though:
max number of segments = 4096
segments allocated 4096

Fixed with:
sysctl -w kernel.shmmni=8192
kernel.shmmni = 8192

Thanks for making me look at ipcs again though.

Sebastian


From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: 30 November 2007 15:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


FTR my Hobbit server:

-> sysctl -a|grep shmmax
kernel.shmmax = 4294967295


On 11/30/07, HAMPL Pavel <user-989294c2384e@xymon.invalid
<mailto:user-989294c2384e@xymon.invalid > > wrote:
Hi,

What about to increase shmmax in the system when it
complains that cannot
get allocated new 262kB?
You can check what is your size: # sysctl -a|grep shmmax
This cmd says you what is already used: # ipcs -m

You can increase it in /etc/sysctl (just put there
something big, it is
just
a restriction, kernel.shmmax = XXXX)  and then apply it by
: # sysctl -p
Cheers,

Pavel Hampl


From: Sebastian [mailto: user-7b2156f36779@xymon.invalid]
Sent: Friday, November 30, 2007 3:47 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0 installed


I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled
hobbit-4.2.0
from
source with the allinone.patch and get exactly the same error.

It might be worth noting that this was originally a minimum CentOS 5
install
- I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile
hobbit,
and I previously had to install gcc for compiling some
other software -
all
from yum.

The server has 2 GB of RAM but is running several other services.

Any other ideas?

Sebastian


From: Josh Luthman [mailto: user-4c45a83f15cb@xymon.invalid]
Sent: 29 November 2007 18:44
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
hobbit-4.2.0-7.el5.re.i386.rpm installed


Just compile it from source.  If you don't know how to do
that I can give
you instructions command by command, just ask.  I use
CentOS5 on my boxes
but I've never bothered with the RPM.


On 11/29/07, Sebastian <user-7b2156f36779@xymon.invalid> wrote:

I installed an RPM of hobbit-4.2.0 called
hobbit-4.2.0-7.el5.re.i386.rpm,
which I probably got from here:

< http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbi
t-4-4.2.0-7.el
5.re.html>
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit
-4-4.2.0-7.el5
.re.html
It includes the All-in-one patch.  So I configured the cfg files and
started
hobbit, but I get this in hobbitlaunch.log:

2007-11-29 17:33:47 hobbitlaunch starting
2007-11-29 17:33:47 Loading tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg
2007-11-29 17:33:47 Loading hostnames
2007-11-29 17:33:47 Loading saved state
2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore
2007-11-29 17:33:47 Setting up network listener on 0.0.0.0:1984
2007-11-29 17:33:47 Setting up signal handlers
2007-11-29 17:33:47 Setting up hobbitd channels
2007-11-29 17:33:47 Could not get shm of size 262144: No
space left on
device
2007-11-29 17:33:47 Cannot setup status channel
2007-11-29 17:33:47 Task hobbitd terminated, status 1

This is the first time I've started it, so I presume that
this is normal:
"Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk
for restore".  The problem looks like this:  "Could not get
shm of size
262144: No space left on device".  I see that there are two
similar issues
listed on  <http://www.hswn.dk/hobbit/help/known-issues.html >
http://www.hswn.dk/hobbit/help/known-issues.html that
relate to FreeBSD,
but
none of the sysctl keys listed are in this version of Linux:

# cat /proc/version
Linux version 2.6.18-8.1.15.el5.centos.plus (
user-cbb31f498875@xymon.invalid )
(gcc
version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct
25 06:49:40 EDT
2007

Google returns 1 result for "Could not get shm of size" "No
space left on
device" and that was the Known Issues page I've already
checked.  Any
ideas?

Also, I noticed that the hobbitd.pid file did not get
deleted when hobbitd
terminated.  It seems like it should have been.

Many thanks,

Sebastian
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer