It is quite likely that the RPM is just fine, but it isn't a 100% sure thing...<br><br>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.
<br><br><div><span class="gmail_quote">On 11/30/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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I haven't bothered trying the RPM again now that I have the source compiled<br>version working, but there is probably nothing wrong with it. (I never<br>suggested there was.) Or, at least, the RPM was not what was causing the
<br>problem I had - indeed the problem I had could have happened on any version<br>of Linux, etc..<br><br>Sebastian<br><br><br>> -----Original Message-----<br>> From: Mike Arnold [mailto:<a href="mailto:hobbit@razorsedge.org">
hobbit@razorsedge.org</a>]<br>> Sent: 30 November 2007 19:10<br>> To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>> Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5<br>> with hobbit-4.2.0
 installed<br>><br>> So, for the record, there is nothing wrong with the RPM?<br>><br>> --<br>> -m<br>><br>> Sebastian wrote:<br>> > I looked at that already and it seemed high.  Mine is also:<br>
> > kernel.shmmax = 4294967295<br>> ><br>> > I found the problem though:<br>> > max number of segments = 4096<br>> > segments allocated 4096<br>> ><br>> > Fixed with:<br>> > sysctl -w 
kernel.shmmni=8192<br>> > kernel.shmmni = 8192<br>> ><br>> > Thanks for making me look at ipcs again though.<br>> ><br>> > Sebastian<br>> ><br>> ><br>> ><br>> >   _____
<br>> ><br>> > From: Josh Luthman [mailto:<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>]<br>> > Sent: 30 November 2007 15:18<br>> > To: <a href="mailto:hobbit@hswn.dk">
hobbit@hswn.dk</a><br>> > Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with<br>> > hobbit-4.2.0 installed<br>> ><br>> ><br>> > FTR my Hobbit server:<br>> ><br>> > -> sysctl -a|grep shmmax
<br>> > kernel.shmmax = 4294967295<br>> ><br>> ><br>> > On 11/30/07, HAMPL Pavel <<a href="mailto:phampl@csob.cz">phampl@csob.cz</a><br>> <mailto:<a href="mailto:phampl@csob.cz">phampl@csob.cz
</a>> > wrote:<br>> ><br>> > Hi,<br>> ><br>> > What about to increase shmmax in the system when it<br>> complains that cannot<br>> > get allocated new 262kB?<br>> > You can check what is your size: # sysctl -a|grep shmmax
<br>> > This cmd says you what is already used: # ipcs -m<br>> ><br>> > You can increase it in /etc/sysctl (just put there<br>> something big, it is<br>> > just<br>> > a restriction, kernel.shmmax
 = XXXX)  and then apply it by<br>> : # sysctl -p<br>> ><br>> > Cheers,<br>> ><br>> > Pavel Hampl<br>> ><br>> ><br>> >   _____<br>> ><br>> > From: Sebastian [mailto:
<a href="mailto:spa@syntec.co.uk">spa@syntec.co.uk</a>]<br>> > Sent: Friday, November 30, 2007 3:47 PM<br>> > To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>> > Subject: RE: [hobbit] Hobbit server doesn't start on CentOS 5 with
<br>> > hobbit-4.2.0 installed<br>> ><br>> ><br>> ><br>> > I uninstalled hobbit-4.2.0-7.el5.re.i386.rpm and compiled<br>> hobbit-4.2.0<br>> > from<br>> > source with the allinone.patch
 and get exactly the same error.<br>> ><br>> > It might be worth noting that this was originally a minimum CentOS 5<br>> > install<br>> > - I had to install gcc-c++ (and rrd-devel and pcre-devel) to compile
<br>> > hobbit,<br>> > and I previously had to install gcc for compiling some<br>> other software -<br>> > all<br>> > from yum.<br>> ><br>> > The server has 2 GB of RAM but is running several other services.
<br>> ><br>> > Any other ideas?<br>> ><br>> > Sebastian<br>> ><br>> ><br>> ><br>> >   _____<br>> ><br>> > From: Josh Luthman [mailto:<a href="mailto:josh@imaginenetworksllc.com">
josh@imaginenetworksllc.com</a>]<br>> > Sent: 29 November 2007 18:44<br>> > To: <a href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</a><br>> > Subject: Re: [hobbit] Hobbit server doesn't start on CentOS 5 with
<br>> > hobbit-4.2.0-7.el5.re.i386.rpm installed<br>> ><br>> ><br>> > Just compile it from source.  If you don't know how to do<br>> that I can give<br>> > you instructions command by command, just ask.  I use
<br>> CentOS5 on my boxes<br>> > but I've never bothered with the RPM.<br>> ><br>> ><br>> > On 11/29/07, Sebastian <<a href="mailto:spa@syntec.co.uk">spa@syntec.co.uk</a>> wrote:<br>> >
<br>> > I installed an RPM of hobbit-4.2.0 called<br>> hobbit-4.2.0-7.el5.re.i386.rpm,<br>> > which I probably got from here:<br>> ><br>> ><br>> <<a href="http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbi">
http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbi</a><br>> t-4-4.2.0-7.el<br>> > 5.re.html><br>> ><br>> <a href="http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit">http://rpm.razorsedge.org/centos-5/RE/repodata/repoview/hobbit
</a><br>> -4-4.2.0-7.el5<br>> > .re.html<br>> > It includes the All-in-one patch.  So I configured the cfg files and<br>> > started<br>> > hobbit, but I get this in hobbitlaunch.log:<br>> >
<br>> > 2007-11-29 17:33:47 hobbitlaunch starting<br>> > 2007-11-29 17:33:47 Loading tasklist configuration from<br>> > /usr/libexec/hobbit/server/etc/hobbitlaunch.cfg<br>> > 2007-11-29 17:33:47 Loading hostnames
<br>> > 2007-11-29 17:33:47 Loading saved state<br>> > 2007-11-29 17:33:47 Cannot access checkpoint file<br>> > /usr/libexec/hobbit/server/tmp/hobbitd.chk for restore<br>> > 2007-11-29 17:33:47 Setting up network listener on 
<a href="http://0.0.0.0:1984">0.0.0.0:1984</a><br>> > 2007-11-29 17:33:47 Setting up signal handlers<br>> > 2007-11-29 17:33:47 Setting up hobbitd channels<br>> > 2007-11-29 17:33:47 Could not get shm of size 262144: No
<br>> space left on<br>> > device<br>> > 2007-11-29 17:33:47 Cannot setup status channel<br>> > 2007-11-29 17:33:47 Task hobbitd terminated, status 1<br>> ><br>> > This is the first time I've started it, so I presume that
<br>> this is normal:<br>> > "Cannot access checkpoint file<br>> /usr/libexec/hobbit/server/tmp/hobbitd.chk<br>> > for restore".  The problem looks like this:  "Could not get<br>> shm of size
<br>> > 262144: No space left on device".  I see that there are two<br>> similar issues<br>> > listed on  <<a href="http://www.hswn.dk/hobbit/help/known-issues.html">http://www.hswn.dk/hobbit/help/known-issues.html
</a>><br>> > <a href="http://www.hswn.dk/hobbit/help/known-issues.html">http://www.hswn.dk/hobbit/help/known-issues.html</a> that<br>> relate to FreeBSD,<br>> > but<br>> > none of the sysctl keys listed are in this version of Linux:
<br>> ><br>> > # cat /proc/version<br>> > Linux version 2.6.18-8.1.15.el5.centos.plus (<br>> > <mailto:<a href="mailto:mockbuild@builder6.centos.org">mockbuild@builder6.centos.org</a>><br>> 
<a href="mailto:mockbuild@builder6.centos.org">mockbuild@builder6.centos.org</a> )<br>> > (gcc<br>> > version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Thu Oct<br>> 25 06:49:40 EDT<br>> > 2007<br>> >
<br>> > Google returns 1 result for "Could not get shm of size" "No<br>> space left on<br>> > device" and that was the Known Issues page I've already<br>> checked.  Any<br>> > ideas?
<br>> ><br>> > Also, I noticed that the hobbitd.pid file did not get<br>> deleted when hobbitd<br>> > terminated.  It seems like it should have been.<br>> ><br>> > Many thanks,<br>> >
<br>> > Sebastian<br>> ><br>><br>><br>> To unsubscribe from the hobbit list, send an e-mail to<br>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>><br>><br><br>
<br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></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