mogilefsd cannot see mogstored's running

j.ignacio.leon at j.ignacio.leon at
Fri Jul 15 15:18:48 PDT 2005

On 7/15/05, Mark Smith <junior at> wrote:
> This really sounds like a permissions problem.  Please verify that
> /var/mogdata is correctly writable by the user that you're running
> mogstored as.
> Best way to do that:
> # su - <user>
> $ cd /var/mogdata/dev3
> $ mkdir tmp
> $ touch tmp/foo
> $ ls tmp/foo
> $ rm tmp/foo
> $ rmdir tmp
> If all of those succeed, then you should be set... but if any of those
> operations fail, then there's a permissions issue that needs resolving.

I was running mogstored as root... but just to test I also ran it as
my mogile user and chown'd the directory.  I can perform all the
making and removing that I want without a problem.

When I try to curl a file, the only ones that get written successfully
are ones at the root directory. When I try to curl a file to a nested
directory that doesn't exist I get:
system error: Unable to create file (error = Invalid argument, path =
/var/mogdata//dev2/0, file = dmotd2.txt, fd = -1 (Error obtaining link
info: No such file or directory))

> Anyway, you're also not running the latest Perlbal code.  We recently
> changed a lot of the file handling, and you may want to update to the
> latest.  (Of course, this code is still being tested, so YMMV...)

When I try to install the latest Perlbal code (from public CVS), I get
to make install when it dies :

[root at centos perlbal]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/l                         ib', 'blib/arch')"
t/20-put............ok 18/0epoll() returned fd 13 w/ state 1 for which
we have no mappi                         ng.  removing.
t/20-put............ok 27/0epoll() returned fd 13 w/ state 1 for which
we have no mappi                         ng.  removing.
#     Failed test (t/20-put.t at line 98)
t/20-put............NOK 28#     Failed test (t/20-put.t at line 99)
t/20-put............NOK 29epoll() returned fd 13 w/ state 1 for which
we have no mappin                         g.  removing.
#     Failed test (t/20-put.t at line 103)
t/20-put............ok 34/0# Looks like you failed 3 tests of 34.
        Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 28-30
        Failed 3/34 tests, 91.18% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
t/20-put.t     3   768    34    3   8.82%  28-30
Failed 1/4 test scripts, 75.00% okay. 3/43 subtests failed, 93.02% okay.
make: *** [test_dynamic] Error 2

Again, I am running Centos 4.1 i386 on dual Xeons (previously was
getting epoll issues on 386_64 but they went away on i386).

More information about the perlbal mailing list