mogilefsd monitor is unhappy when not on localhost?

Andy Lo A Foe andy.loafoe at gmail.com
Sat May 3 06:30:59 UTC 2008


If you do a "mogadm host list", do any of your hosts have IP
127.0.0.1? The mogstored is probably only binding to your external IP
and not localhost. Solution would be to change the host ip config to
the external IP.

HTH,
Andy


On Sat, May 3, 2008 at 8:15 AM, Andrew McClain <andrew at fluther.com> wrote:
> This is confusing because before, I could run mogilefsd without worrying
> about mogstored. That aside: I can run mogstored correctly... but mogilefsd
> is still looking for it on localhost.
>
> That's the problem. What config option changes where mogilefsd monitor is
> looking?
>
>
>
> On Fri, May 2, 2008 at 5:51 PM, dormando <dormando at rydia.net> wrote:
> > It's looking for your mogstored, which should be related to a configured
> device?
> >
> > Er, I'm going to be evil and leave that as a half baked answer for now.
> It's usually because mogstored isn't up or working right.
> >
> > -Dormando
> >
> > Andrew McClain wrote:
> >
> > >
> > > I'm trying to set up my mogileFS configuration so that I can split
> things up on different machines. My mogilefsd.conf looks like:
> > >
> > > db_dsn = DBI:mysql:mogilefs:host={{ip_address}}
> > > db_user = mogilefs
> > > db_pass = MOGILE_PASS
> > > listen = {{ip_address}}:7001
> > > conf_port = 7001
> > > listener_jobs = 10
> > > delete_jobs = 1
> > > replicate_jobs = 5
> > > mog_root = /var/mogilefs
> > > reaper_jobs = 1
> > >
> > > Where {{ip_address}} is the external IP of the machine.
> > >
> > > However, I keep getting this when I run mogilefsd:
> > >
> > > [monitor(14155)] Port 7500 not listening on otherwise-alive machine
> 127.0.0.1 <http://127.0.0.1>?
> > > Error was: 500 Can't connect to 127.0.0.1:7500 <http://127.0.0.1:7500>
> (connect: Connection refused)
> > >
> > >
> > > Where is it looking for localhost?
> > >
> > > Andrew
> > >
> > > --
> > > Tap the collective.
> > > http://www.fluther.com
> > >
> >
> >
>
>
>
> --
> Tap the collective.
> http://www.fluther.com


More information about the mogilefs mailing list