Results 1 to 6 of 6

Thread: Multipathd ux_socket_connect: No such file or directory

  1. #1

    Default Multipathd ux_socket_connect: No such file or directory

    Hi there
    I have been trying to start the multipathd service but it does not start. My configuration looks as follows.

    # uname -a
    Linux qkenode1 2.6.34-12-xen #1 SMP 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux

    # ls /dev/mapper
    control mpathc vg_qkenode1-lv_root vg_qkenode1-lv_var
    mpathb vg_qkenode1-lv_home vg_qkenode1-lv_swap

    # cat /etc/multipath.conf
    # multipath.conf written by anaconda

    defaults {
    user_friendly_names yes
    }
    blacklist {
    devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
    devnode "^hd[a-z]"
    devnode "^dcssblk[0-9]*"
    device {
    vendor "DGC"
    product "LUNZ"
    }
    device {
    vendor "IBM"
    product "S/390.*"
    }
    # don't count normal SATA devices as multipaths
    device {
    vendor "ATA"
    }
    # don't count 3ware devices as multipaths
    device {
    vendor "3ware"
    }
    device {
    vendor "AMCC"
    }
    # nor highpoint devices
    device {
    vendor "HPT"
    }
    # wwid 60022190c5588900115ff58904c88dc3
    # wwid 60060160d58624009233cb34c106df11
    # wwid 60060160d58624008837b3a3fca6df11
    # wwid 60060160d58624009233cb34c106df11
    # wwid 60060160d58624008837b3a3fca6df11
    device {
    vendor TSSTcorp
    product DVD-ROM_TS-L333A
    }
    }
    multipaths {
    multipath {
    uid 0
    alias mpathb
    gid 0
    wwid 360060160d58624009233cb34c106df11
    mode 0600
    }
    multipath {
    uid 0
    alias mpathc
    gid 0
    wwid 360060160d58624008837b3a3fca6df11
    mode 0600
    }
    }
    #

    # multipath -l
    mpathc (360060160d58624008837b3a3fca6df11) dm-5 DGC,VRAID
    size=1.5T features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
    |-+- policy='round-robin 0' prio=-2 status=active
    | |- 5:0:1:0 sdf 8:80 active undef running
    | `- 6:0:1:0 sdh 8:112 active undef running
    `-+- policy='round-robin 0' prio=-2 status=enabled
    |- 5:0:0:0 sdb 8:16 active undef running
    `- 6:0:0:0 sdd 8:48 active undef running
    mpathb (360060160d58624009233cb34c106df11) dm-4 DGC,VRAID
    size=10G features='1 queue_if_no_path' hwhandler='1 emc' wp=rw
    |-+- policy='round-robin 0' prio=-2 status=active
    | |- 5:0:0:1 sdc 8:32 active undef running
    | `- 6:0:0:1 sde 8:64 active undef running
    `-+- policy='round-robin 0' prio=-2 status=enabled
    |- 5:0:1:1 sdg 8:96 active undef running
    `- 6:0:1:1 sdi 8:128 active undef running


    The problem is that i cannot start the multipathd service. Please help

    #service multipathd start
    Starting multipathd (no pidfile) failed

    I then decided to create the pid file manually just to see what is happening

    #touch /var/run/multipathd.pid
    #service multipathd start
    Multipathd ux_socket_connect: No such file or directory

    #rm /var/run/multipathd.pid
    #service multipathd start
    Starting multipathd (no pidfile) failed
    #

    The devices get created just fine but neither can i run multipathd -k

    # multipathd -k
    ux_socket_connect: No such file or directory

    Please help. Thank you in advance.

  2. #2

    Default Re: Multipathd ux_socket_connect: No such file or directory

    Hi,

    I have the exact same thing going on here. Seems to be a 11.3 related issue. "multipathd -d" works in my case, using the init.d script does not for some reason. it does not seem to want to create the PID file. Maybe it is related to the fact that it is started with "multipathd -k "reset log". This command only works when multipathd is already running as a daemon.

  3. #3

    Default Re: Multipathd ux_socket_connect: No such file or directory

    Hi

    I experienced exactly the same problem with OpenSuse 11.3. The package multipath-tools-0.4.8-51.3.x86_64 is definitely broken.
    When started /sbin/multipathd v0 just dies or exits!
    As a solution I downloaded the latest multipath package version from http://christophe.varoqui.free.fr/mu...-0.4.9.tar.bz2, compiled and installed it.
    It overwrites some of the OpenSuse 11.3 multipath-tools-0.4.8-51.3.x86_64.rpm files, but if works just fine.

    Another problem is, that multipathing is somehow not triggered at early boot time.
    /etc/init.d/boot.multipath has to run before the /etc/init.d/boot.lvm, so my system, when it get up and running does not see the volume groups on multipathded devices.
    There must be something wrong with init scripts, but I havent had time to inspect it jet.
    As a simple and dirty workaround I just added following to the /etc/init.d/multipathd:
    ----------------------------
    Start)
    [...]
    echo " (multipathd started)"
    echo "scan and activate VG's"
    vgscan > /dev/null 2>&1
    lvscan > /dev/null 2>&1
    vgchange -a y
    ---------------------------

    Best Regards

  4. #4

    Default Re: Multipathd ux_socket_connect: No such file or directory

    That seemed to be a good tip: I just compiled from source and multipathd seems to perform as expected, but for one thing: the "alias" statement seems not to be honored because multipathing devices are not created with this name in /dev/mapper/

    This is probably a udev issue I presume.

  5. #5

    Default Re: Multipathd ux_socket_connect: No such file or directory

    For those who care: fixed this by copying 70-kpartx.something from a SLES11SP1 host. The one on Opensuse 11.3 definitely is broken in the sense that it does not create the alias links in /dev/mapper.

  6. #6
    Join Date
    Oct 2008
    Location
    italy
    Posts
    1

    Default Re: Multipathd ux_socket_connect: No such file or directory

    intersting ... could you tell me how to compile the multipath-tools-0.4.9.tar.bz2 ...
    a simple " make "
    complains that libdevmapper.h is missing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •