FTR my Hobbit server:<br><br>-> sysctl -a|grep shmmax<br>kernel.shmmax = 4294967295<br><br><div><span class="gmail_quote">On 11/30/07, <b class="gmail_sendername">HAMPL Pavel</b> <<a href="mailto:phampl@csob.cz">phampl@csob.cz
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font face="Arial" size="2"><span>Hi,</span></font></div>
<div dir="ltr" align="left"><font face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" size="2"><span>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>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>This cmd says you what is already used: # ipcs
-m</span></font></div>
<div dir="ltr" align="left"><font face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" align="left"><font face="Arial" size="2"><span>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><font face="Arial" size="2">Cheers,</font></span></div>
<p><span lang="en-us"><font face="Arial" size="2">Pavel Hampl</font></span> <br></p>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Sebastian [mailto:<a href="mailto:spa@syntec.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">spa@syntec.co.uk</a>]
<br><b>Sent:</b> Friday, November 30, 2007 3:47 PM<br><b>To:</b>
<a href="mailto:hobbit@hswn.dk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hobbit@hswn.dk</a><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><span class="e" id="q_116911d2305755dc_1">
<div></div>
<div dir="ltr" align="left"><span><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><font face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><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><font face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><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><font face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2">Any other ideas?</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2">Sebastian</font></span></div>
<div dir="ltr" align="left"><span></span> </div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Josh Luthman
[mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">josh@imaginenetworksllc.com</a>] <br><b>Sent:</b> 29 November 2007
18:44<br><b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hobbit@hswn.dk</a><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">spa@syntec.co.uk</a>> wrote:
</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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 href="http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit-4-4.2.0-7.el5.re.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><u><font color="#0000ff" face="Arial" 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 href="http://0.0.0.0:1984" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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 href="http://www.hswn.dk/hobbit/help/known-issues.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><u><font color="#0000ff" face="Arial" 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 href="mailto:mockbuild@builder6.centos.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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></span></div>
<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>
</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