mogilefsd cannot see mogstored's running
JAzoff at uamail.albany.edu
Thu Jul 14 13:21:13 PDT 2005
On Thu, 2005-07-14 at 16:07 -0400, j.ignacio.leon at gmail.com wrote:
> The newbie again,
> I still can't get things working... everything builds fine and is
> actually executing... but I get only tempfile entries in the db. I
> can also do a direct HTTP PUT to port 7500 on either of the storage
> nodes resulting in the file being written to disk.
> At the moment, I have reverted to all default configuration files from
> CVS as well as all current CVS versions of the api and the server
> I have two Centos 4.1 boxes running mogstored and one of these is also
> running mysqld and mogilefsd.
> Do I need to be running mogilefsd on each storage node? (I have tried
> it both ways, but this is a fundamental question I assume).
> I set the root to be /var/mogdata in the binaries, conf files and database.
> I created /var/mogdata/devN folders on the correct storage nodes.
> mogstored is being run as a daemon from root
> mogilefsd is being run as regular user mogilefs
> mogilefsd reports:
> [monitor(25994)] Monitor running; scanning usage files
> [monitor(25994)] Failed getting dev1: 404 Not Found
> [monitor(25994)] Failed getting dev2: 404 Not Found
try finding the line in mogstored that looks like this:
next unless $disk =~ /^$path/;
and change it to
next unless $path =~ /^$disk/;
> mogtool hangs at the file close...
$ mogtool --debug inject /etc/motd /etc/motd
after running that, does the file in /var/mogdata/devN referenced in the
tempfile table contain anything, or is its size 0?
-- Justin Azoff
-- Network Performance Analyst
More information about the mogilefs