I've got Linux:AIO installed via cpan install Linux::AIO, but I've still had the error, that's why I guessed there was something wrong :)<br><br>test results Debian Sarge (i386)<br>IO-AIO-1.71# make test<br>cp <a href="http://autoconf.pm">
autoconf.pm</a> blib/lib/IO/autoconf.pm<br>cp AIO.pm blib/lib/IO/AIO.pm<br>/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp&nbsp; -typemap /usr/share/perl/5.8/ExtUtils/typemap&nbsp; AIO.xs &gt; AIO.xsc &amp;&amp; mv AIO.xsc AIO.c<br>
cc -c&nbsp;&nbsp; -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2&nbsp;&nbsp; -DVERSION=\&quot;1.71\&quot; -DXS_VERSION=\&quot;1.71\&quot; -fPIC &quot;-I/usr/lib/perl/5.8/CORE&quot;&nbsp;&nbsp; 
AIO.c<br>Running Mkbootstrap for IO::AIO ()<br>chmod 644 AIO.bs<br>rm -f blib/arch/auto/IO/AIO/AIO.so<br>LD_RUN_PATH=&quot;&quot; cc&nbsp; -shared -L/usr/local/lib AIO.o&nbsp; -o blib/arch/auto/IO/AIO/AIO.so&nbsp;&nbsp; -lpthread -lrt<br>chmod 755 blib/arch/auto/IO/AIO/AIO.so
<br>cp AIO.bs blib/arch/auto/IO/AIO/AIO.bs<br>chmod 644 blib/arch/auto/IO/AIO/AIO.bs<br>PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, 'blib/lib', 'blib/arch')&quot; t/*.t
<br>t/00_load.......ok<br>t/01_stat.......ok<br>t/02_read.......ok<br>t/03_errors.....ok<br>t/04_fork.......ok<br>t/05_readdir....ok<br>All tests successful.<br>Files=6, Tests=44,&nbsp; 1 wallclock secs ( 0.45 cusr +&nbsp; 0.05 csys =&nbsp; 
0.50 CPU)<br><br>Linux-AIO-1.8# make test<br>PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, 'blib/lib', 'blib/arch')&quot; t/*.t<br>t/00_load......ok<br>t/01_stat......ok
<br>t/02_read......ok<br>t/03_errors....ok<br>All tests successful.<br>Files=4, Tests=26,&nbsp; 1 wallclock secs ( 0.42 cusr +&nbsp; 0.04 csys =&nbsp; 0.46 CPU)<br><br>-------<br>IO-AIO under FreeBSD amd64<br><br>make test<br>cp <a href="http://autoconf.pm">
autoconf.pm</a> blib/lib/IO/autoconf.pm<br>cp AIO.pm blib/lib/IO/AIO.pm<br>/usr/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp&nbsp; -typemap /usr/local/lib/perl5/5.8.7/ExtUtils/typemap&nbsp; AIO.xs &gt; AIO.xsc &amp;&amp; mv 
AIO.xsc AIO.c<br>cc -c&nbsp;&nbsp;&nbsp; -DAPPLLIB_EXP=&quot;/usr/local/lib/perl5/5.8.7/BSDPAN&quot; -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe&nbsp;&nbsp;&nbsp; -DVERSION=\&quot;1.71\&quot;&nbsp; -DXS_VERSION=\&quot;
1.71\&quot; -DPIC -fPIC &quot;-I/usr/local/lib/perl5/5.8.7/mach/CORE&quot;&nbsp;&nbsp; AIO.c<br>Running Mkbootstrap for IO::AIO ()<br>chmod 644 AIO.bs<br>rm -f blib/arch/auto/IO/AIO/AIO.so<br>LD_RUN_PATH=&quot;/usr/lib&quot; cc&nbsp; -shared&nbsp; -L/usr/local/lib 
AIO.o&nbsp; -o blib/arch/auto/IO/AIO/AIO.so&nbsp;&nbsp; -lpthread<br>chmod 755 blib/arch/auto/IO/AIO/AIO.so<br>cp AIO.bs blib/arch/auto/IO/AIO/AIO.bs<br>chmod 644 blib/arch/auto/IO/AIO/AIO.bs<br>PERL_DL_NONLAZY=1 /usr/bin/perl &quot;-MExtUtils::Command::MM&quot; &quot;-e&quot; &quot;test_harness(0, 'blib/lib', 'blib/arch')&quot; t/*.t
<br>t/00_load.......ok<br>t/01_stat.......ok<br>t/02_read.......ok<br>t/03_errors.....ok<br>t/04_fork.......ok<br>t/05_readdir....ok<br>All tests successful.<br>Files=6, Tests=44,&nbsp; 0 wallclock secs ( 0.24 cusr +&nbsp; 0.09 csys =&nbsp; 
0.33 CPU)<br><br>I hope you find this usefull :)<br><br>Arnoud<br><br><div><span class="gmail_quote">On 1/29/06, <b class="gmail_sendername">Brad Fitzpatrick</b> &lt;<a href="mailto:brad@danga.com">brad@danga.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Are you using Linux::AIO or IO::AIO?&nbsp;&nbsp;My guess is you installed Linux::AIO<br>but the test suite didn't pass.&nbsp;&nbsp;Go download it,
<br><br><a href="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Linux-AIO-1.8.tar.gz">http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Linux-AIO-1.8.tar.gz</a><br><br>and then:<br><br>$ perl Makefile.PL<br>$ make test
<br><br>What does it say?<br><br>If it fails, could you also try IO::AIO and let me know what that test<br>suite says.&nbsp;&nbsp;I may have to change the default preference to use IO::AIO<br>instead of Linux::AIO.<br><br><a href="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/IO-AIO-1.71.tar.gz">
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/IO-AIO-1.71.tar.gz</a><br><br>(Anybody reading this that wants to test both, I'm interested in hearing<br>your results....)<br><br>- Brad<br><br><br>On Sun, 29 Jan 2006, Arnoud Vermeer wrote:
<br><br>&gt; I fixed the problem by manually creating the dir dev[456] in /var/mogdata.<br>&gt; It seems like there is a problem with the mogstored demon (I think?)<br>&gt; <a href="http://lists.danga.com/pipermail/mogilefs/2006-January/000244.html">
http://lists.danga.com/pipermail/mogilefs/2006-January/000244.html</a> is having<br>&gt; the same problem as I am.<br>&gt;<br>&gt; I hope this problem can get fixed.<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Arnoud Vermeer<br>
&gt;<br>&gt; On 1/29/06, Arnoud Vermeer &lt;<a href="mailto:a.vermeer@freshway.biz">a.vermeer@freshway.biz</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Thanks for your replies.<br>&gt; &gt;<br>&gt; &gt; Regarding Joshua:<br>&gt; &gt; mfs1:# df -l
<br>&gt; &gt; Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used Available Use% Mounted on<br>&gt; &gt; /dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37776652&nbsp;&nbsp;&nbsp;&nbsp;555432&nbsp;&nbsp;35302260&nbsp;&nbsp; 2% /<br>&gt; &gt; tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 124472&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;124472&nbsp;&nbsp; 0% /dev/shm
<br>&gt; &gt;<br>&gt; &gt; mfs2:# df -l<br>&gt; &gt; Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used Available Use% Mounted on<br>&gt; &gt; /dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37136300&nbsp;&nbsp;&nbsp;&nbsp;501176&nbsp;&nbsp;34748696&nbsp;&nbsp; 2% /<br>&gt; &gt; tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 225764&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;225764&nbsp;&nbsp; 0% /dev/shm
<br>&gt; &gt;<br>&gt; &gt; mfs3:# df -l<br>&gt; &gt; Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used Available Use% Mounted on<br>&gt; &gt; /dev/hda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37744520&nbsp;&nbsp;&nbsp;&nbsp;510772&nbsp;&nbsp;35316392&nbsp;&nbsp; 2% /<br>&gt; &gt; tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 128520&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;128520&nbsp;&nbsp; 0% /dev/shm
<br>&gt; &gt;<br>&gt; &gt; I didn't map any device to the devicenames in mogilefs, should I ? and<br>&gt; &gt; how?<br>&gt; &gt;<br>&gt; &gt; Regarding brad:<br>&gt; &gt;<br>&gt; &gt; telnet localhost 7500<br>&gt; &gt; Trying 
127.0.0.1...<br>&gt; &gt; Connected to localhost.localdomain.<br>&gt; &gt; Escape character is '^]'.<br>&gt; &gt; GET <a href="http://81.171.121.30:7500/dev4/usage">http://81.171.121.30:7500/dev4/usage</a><br>&gt; &gt;<br>
&gt; &gt; doesn't return anything..<br>&gt; &gt;<br>&gt; &gt; This is my config:<br>&gt; &gt; cat /etc/mogilefs/mogstored.conf<br>&gt; &gt; httplisten = <a href="http://0.0.0.0:7500">0.0.0.0:7500</a><br>&gt; &gt; docroot = /var/mogdata
<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt;<br>&gt; &gt; cat /etc/mogilefs/mogilefsd.conf<br>&gt; &gt; daemonize = 1<br>&gt; &gt; db_dsn = DBI:mysql:mogilefs:host=<a href="http://111.111.111.43">111.111.111.43</a><br>&gt; &gt; db_user = mogilefs
<br>&gt; &gt; db_pass = PASSWD<br>&gt; &gt; conf_port = 7001<br>&gt; &gt; listener_jobs = 10<br>&gt; &gt; delete_jobs = 1<br>&gt; &gt; replicate_jobs = 5<br>&gt; &gt; mog_root = /mnt/mogilefs<br>&gt; &gt; reaper_jobs = 1<br>
&gt; &gt; # debug = 3<br>&gt; &gt;<br>&gt; &gt; any suggestions?<br>&gt; &gt;<br>&gt; &gt; Thanks,<br>&gt; &gt;<br>&gt; &gt; Arnoud<br>&gt; &gt;<br>&gt; &gt; On 1/29/06, Brad Fitzpatrick &lt;<a href="mailto:brad@danga.com">
brad@danga.com</a>&gt; wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; You have some port numbers wrong somewhere... the tracker doesn't speak<br>&gt; &gt; &gt; HTTP.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; - Brad<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On Sat, 28 Jan 2006, Arnoud Vermeer wrote:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Hi guys,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I'm trying to setup a small test cluster of MogileFS, but I'm running
<br>&gt; &gt; &gt; into a<br>&gt; &gt; &gt; &gt; problem.<br>&gt; &gt; &gt; &gt; I've got 3 desktop PC's in the datacenter running Debian Sarge<br>&gt; &gt; &gt; (installed<br>&gt; &gt; &gt; &gt; via netinstall)<br>&gt; &gt; &gt; &gt; 2 x 1200 Mhz intel with a single PATA 40 gb HD
<br>&gt; &gt; &gt; &gt; and a AMD 2400+ also with a PATA 40 gb HD.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I've installed mogileFS just fine, first the .tar.gz release from the<br>&gt; &gt; &gt; site,<br>&gt; &gt; &gt; &gt; but that one was running into problems with adding disks.
<br>&gt; &gt; &gt; &gt; So I grabbed the latest CVS (28-jan-2006), but this one seems to run<br>&gt; &gt; &gt; into<br>&gt; &gt; &gt; &gt; the same problems.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; mfs1 (1200Mhz+40GB HD) runs Perlbal, mogilefsd and mogstored
<br>&gt; &gt; &gt; &gt; mfs2 (2400Mhz+40GB HD) runs Perlbal, mogilefsd and mogstored<br>&gt; &gt; &gt; &gt; mfs3 (1200Mhz+40GB HD) just runs mogstored<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I've added the hosts and disks via the mogadm commandline, but when I
<br>&gt; &gt; &gt; run a:<br>&gt; &gt; &gt; &gt; mogadm -c /etc/mogilefs/mogadm.conf check<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I get the following result:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; mogadm -c /etc/mogilefs/mogadm.conf check (IP's and domain removed..)
<br>&gt; &gt; &gt; &gt; Checking trackers...<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://111.111.111.30:7001">111.111.111.30:7001</a> ... OK<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://111.111.111.31:7001">111.111.111.31:7001
</a> ... OK<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Checking hosts...<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 1] mfs1.domain ... OK<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 2] mfs2.domain ... OK<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 3] 
mfs3.domain ... OK<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Checking devices...<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size(G)&nbsp;&nbsp;&nbsp;&nbsp;used(G)&nbsp;&nbsp;&nbsp;&nbsp;free(G)&nbsp;&nbsp; use%<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- --------------- ---------- ---------- ---------- ------
<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 1] dev4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REQUEST FAILURE<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 2] dev3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REQUEST FAILURE<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ 3] dev5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;REQUEST FAILURE<br>&gt; &gt; &gt; &gt; Illegal division by zero at /usr/bin/mogadm line 165,
<br>&gt; &gt; &gt; &gt; &lt;Sock_81.171.121.31:7001&gt; line 2.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; So I looked into the source and found the command at line 165, and<br>&gt; &gt; &gt; gave this<br>&gt; &gt; &gt; &gt; via telnet onto the the tracker:
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; telnet localhost 7001<br>&gt; &gt; &gt; &gt; Trying 127.0.0.1...<br>&gt; &gt; &gt; &gt; Connected to localhost.localdomain.<br>&gt; &gt; &gt; &gt; Escape character is '^]'.<br>
&gt; &gt; &gt; &gt; GET <a href="http://81.171.121.30:7500/dev4/usage">http://81.171.121.30:7500/dev4/usage</a><br>&gt; &gt; &gt; &gt; ERR unknown_command Unknown+server+command<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; So now I'm stumped.
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Does anybody have a clue?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thanks,<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Arnoud Vermeer<br>&gt; &gt; &gt; &gt; FreshWay Innovations
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br></blockquote></div><br>