From: Bán M. <ba...@vo...> - 2011-04-27 21:08:23
|
Hi, I don't know is it helps or not, I used the external ip address on the master server which is identical with the ip address on the other chunkservers. e.g.: 127.0.0.1 localhost sokar 192.168.1.2 mfsmaster Miklos On Wed, 27 Apr 2011 21:56:02 +0200 Papp Tamas <to...@ma...> wrote: > hi! > > I'm a quite new to mfs, sorry if I'm doing something wrong. > > I've installed a small "cluster" on an Ubuntu 10.04 LTS from ppa. > > Everything seemd fine: mount was OK, I could read and write it. > > Unfortunately I had never rebooted the server until I upgraded it to > 11.04. So the root of problem can be the reboot (restart of services) > and also the upgrade, I don't know:) > > So, I upgraded the server, rebooted it and now trying to start mfs > services: > > mfsmaster starts fine, but chunserver: > > $ /etc/init.d/mfs-chunkserver start > Starting mfs-chunkserver: working directory: /var/lib/mfs > lockfile created and locked > initializing mfschunkserver modules ... > hdd space manager: scanning folder /data/ ... > hdd space manager: scanning... 34% > [.....it's counting percentages here for a long time.......] > hdd space manager: scanning complete > hdd space manager: /data/: 5122835 chunks found > hdd space manager: scanning complete > main server module: listen on *:9422 > master connection module: localhost (127.0.0.1) can't be used for > connecting with master (use ip address of network controller) > init: master connection module failed !!! > error occured during initialization - exiting > > $ cat /etc/hosts > 127.0.0.1 localhost mfsmaster > > Config files are the defaults. > > While chunkserver is starting, these are getting in syslog: > > Apr 27 21:42:34 backup1 mfsmaster[7935]: unavailable chunks: > 474000 ... Apr 27 21:42:35 backup1 mfsmaster[7935]: unavailable > files: 463000 ... Apr 27 21:42:36 backup1 mfsmaster[7935]: > unavailable chunks: 475000 ... Apr 27 21:42:37 backup1 > mfsmaster[7935]: unavailable files: 464000 ... Apr 27 21:42:38 > backup1 mfsmaster[7935]: unavailable chunks: 476000 ... Apr 27 > 21:42:39 backup1 mfsmaster[7935]: unavailable files: 465000 ... Apr > 27 21:42:39 backup1 mfsmaster[7935]: unavailable chunks: 477000 ... > Apr 27 21:42:40 backup1 mfsmaster[7935]: unavailable files: > 466000 ... Apr 27 21:42:41 backup1 mfsmaster[7935]: unavailable > chunks: 478000 ... [....and so on...] > > > I don't get the error message. What's the problem with the host name, > where and how should I use IP address? > > Thank you, > > tamas > |