Article ID: 117030, created on Aug 30, 2013, last review on May 10, 2014

  • Applies to:
  • Virtuozzo 6.0

Symptoms

MDS server fails with error:

    ~# pstorage -c <cluster_name> get-event
    ...
    27-08-13 07:25:39  MON ERR mdsd #5 died unexpectedly (122): can't set local address 10.254.254.12:2510, err 98 (Address already in use)

Cause

Multiple MDS servers exist on the same host are bound to the same IP address.

    ~# cat /etc/pstorage/clusters/<cluster_name>/mds.list
    # autogenerated, unique
    /pstorage/<cluster_name_mds_1>
    /pstorage/<cluster_name_mds_2>

Resolution

  1. Stop MDS service :

    ~# service pstorage-mdsd stop
    
  2. Kill all mdsd processes if there are any :

    ~# kill -9 `pgrep mdsd`
    
  3. Delete or comment unneeded line in the list of MDS servers:

    ~# cat /etc/pstorage/clusters/<cluster_name>/mds.list
    # autogenerated, unique
    #/pstorage/<cluster_name_mds_1>/mds/data
    /pstorage/<cluster_name_mds_2>
    
  4. Start MDS service back :

    ~# service pstorage-mdsd start
    

Search Words

Address already in use

mds

pstorage

died unexpectedly

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF