<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2>Thanks <SPAN lang=en-us><FONT face=Arial size=2>Pavel, although
a</FONT></SPAN></FONT></SPAN><SPAN class=830265415-30112007><FONT face=Arial
size=2>ctually the command is: # ipcs -u</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial size=2>#
ipcs -m</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2>is not very useful - just produces a lot of spam with no
totals.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2>Comparing</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial size=2>#
ipcs -u</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2>with</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial size=2>#
ipcs -l</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2>showed up the problem.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=830265415-30112007><FONT face=Arial
size=2>Sebastian</FONT></SPAN></DIV><FONT face=Arial size=2></FONT><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> HAMPL Pavel [mailto:phampl@csob.cz]
<BR><B>Sent:</B> 30 November 2007 15:08<BR><B>To:</B>
hobbit@hswn.dk<BR><B>Subject:</B> RE: [hobbit] Hobbit server doesn't start on
CentOS 5 with hobbit-4.2.0 installed<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=540165914-30112007>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=540165914-30112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=540165914-30112007>What about to increase shmmax in the system when it
complains that cannot get allocated new 262kB?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=540165914-30112007>You can check what is your size: # sysctl -a|grep
shmmax</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=540165914-30112007>This cmd says you what is already used: # ipcs
-m</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=540165914-30112007></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2><SPAN
class=540165914-30112007>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</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=540165914-30112007><FONT face=Arial
size=2>Cheers,</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Arial size=2>Pavel Hampl</FONT></SPAN> <BR></P>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Sebastian [mailto:spa@syntec.co.uk]
<BR><B>Sent:</B> Friday, November 30, 2007 3:47 PM<BR><B>To:</B>
hobbit@hswn.dk<BR><B>Subject:</B> RE: [hobbit] Hobbit server doesn't start on
CentOS 5 with hobbit-4.2.0 installed<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2>I uninstalled <FONT face=Tahoma>hobbit-4.2.0-7.el5.re.i386.rpm
</FONT>and compiled hobbit-4.2.0 from source with the allinone.patch and get
exactly the same error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2>The server has 2 GB of RAM but is running several other
services.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2>Any other ideas?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007><FONT face=Arial
size=2>Sebastian</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=671333714-30112007></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Josh Luthman
[mailto:josh@imaginenetworksllc.com] <BR><B>Sent:</B> 29 November 2007
18:44<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> Re: [hobbit] Hobbit
server doesn't start on CentOS 5 with hobbit-4.2.0-7.el5.re.i386.rpm
installed<BR></FONT><BR></DIV>
<DIV></DIV>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.<BR><BR>
<DIV><SPAN class=gmail_quote>On 11/29/07, <B
class=gmail_sendername>Sebastian</B> <<A
href="mailto:spa@syntec.co.uk">spa@syntec.co.uk</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><FONT face=Arial size=2>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:</FONT>
<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html"
target=_blank><U><FONT face=Arial color=#0000ff
size=2>http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html
</FONT></U></A><BR><FONT face=Arial size=2>It includes the All-in-one
patch. So I configured the cfg files and started hobbit, but I get
this in hobbitlaunch.log:</FONT></P>
<P><FONT face=Arial size=2>2007-11-29 17:33:47 hobbitlaunch
starting</FONT> <BR><FONT face=Arial size=2>2007-11-29 17:33:47 Loading
tasklist configuration from
/usr/libexec/hobbit/server/etc/hobbitlaunch.cfg</FONT> <BR><FONT
face=Arial size=2>2007-11-29 17:33:47 Loading hostnames</FONT> <BR><FONT
face=Arial size=2>2007-11-29 17:33:47 Loading saved state</FONT> <BR><FONT
face=Arial size=2>2007-11-29 17:33:47 Cannot access checkpoint file
/usr/libexec/hobbit/server/tmp/hobbitd.chk for restore</FONT> <BR><FONT
face=Arial size=2>2007-11-29 17:33:47 Setting up network listener on <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://0.0.0.0:1984" target=_blank>0.0.0.0:1984</A></FONT> <BR><FONT
face=Arial size=2>2007-11-29 17:33:47 Setting up signal handlers</FONT>
<BR><FONT face=Arial size=2>2007-11-29 17:33:47 Setting up hobbitd
channels</FONT> <BR><FONT face=Arial size=2>2007-11-29 17:33:47 Could not
get shm of size 262144: No space left on device</FONT> <BR><FONT
face=Arial size=2>2007-11-29 17:33:47 Cannot setup status channel</FONT>
<BR><FONT face=Arial size=2>2007-11-29 17:33:47 Task hobbitd terminated,
status 1</FONT> </P>
<P><FONT face=Arial size=2>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 </FONT><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.hswn.dk/hobbit/help/known-issues.html"
target=_blank><U><FONT face=Arial color=#0000ff
size=2>http://www.hswn.dk/hobbit/help/known-issues.html
</FONT></U></A><FONT face=Arial size=2>that relate to FreeBSD, but none of
the sysctl keys listed are in this version of Linux:</FONT></P>
<P><FONT face=Arial size=2># cat /proc/version</FONT> <BR><FONT face=Arial
size=2>Linux version 2.6.18-8.1.15.el5.centos.plus (<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:mockbuild@builder6.centos.org"
target=_blank>mockbuild@builder6.centos.org </A>) (gcc version 4.1.1
20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct 25 06:49:40 EDT
2007</FONT></P>
<P><FONT face=Arial size=2>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?</FONT></P>
<P><FONT face=Arial size=2>Also, I noticed that the hobbitd.pid file did
not get deleted when hobbitd terminated. It seems like it should
have been.</FONT></P>
<P><FONT face=Arial size=2>Many thanks,</FONT> </P>
<P><FONT face=Arial size=2>Sebastian </FONT>
</P></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>Josh
Luthman<BR>Office: 937-552-2340<BR>Direct: 937-552-2343<BR>1100 Wayne
St<BR>Suite 1337<BR>Troy, OH 45373<BR><BR>Those who don't understand UNIX
are condemned to reinvent it, poorly. <BR>--- Henry Spencer </BLOCKQUOTE>
<P><FONT face=Arial
size=1>:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::<BR><BR>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.<BR></FONT></P></BLOCKQUOTE></BODY></HTML>