✓ Solved
Ubunto 22.04 multipathd issues cusing apt-upgrade not to work.
Hi, i am having issues with the apt
command after doing a sudo apt upgrade.
Here is my logs.
sudo apt upgrade
Setting up multipath-tools (0.8.8-1ubuntu1.22.04.1) ...
multipathd.socket is a disabled or a static unit, not starting it.
Job for multipathd.service failed because the control process exited with error code.
See "systemctl status multipathd.service" and "journalctl -xeu multipathd.service" for details.
invoke-rc.d: initscript multipath-tools, action "restart" failed.
× multipathd.service - Device-Mapper Multipath Device Controller
Loaded: loaded (/lib/systemd/system/multipathd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-12-27 21:39:35 UTC; 13ms ago
TriggeredBy: ○ multipathd.socket
Process: 1796 ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath (code=exited, status=1/FAILURE)
Process: 1797 ExecStart=/sbin/multipathd -d -s (code=exited, status=1/FAILURE)
Main PID: 1797 (code=exited, status=1/FAILURE)
Status: "configure"
CPU: 43ms
Dec 27 21:39:35 localhost modprobe[1796]: modprobe: WARNING: Module scsi_dh_emc not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:39:35 localhost modprobe[1796]: modprobe: WARNING: Module scsi_dh_rdac not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:39:35 localhost modprobe[1796]: modprobe: WARNING: Module dm-multipath not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:39:35 localhost multipathd[1797]: --------start up--------
Dec 27 21:39:35 localhost multipathd[1797]: read /etc/multipath.conf
Dec 27 21:39:35 localhost multipathd[1797]: DM multipath kernel driver not loaded
Dec 27 21:39:35 localhost multipathd[1797]: path checkers start up
Dec 27 21:39:35 localhost systemd[1]: multipathd.service: Main process exited, code=exited, status=1/FAILURE
Dec 27 21:39:35 localhost systemd[1]: multipathd.service: Failed with result 'exit-code'.
Dec 27 21:39:35 localhost systemd[1]: Failed to start Device-Mapper Multipath Device Controller.
dpkg: error processing package multipath-tools (--configure):
installed multipath-tools package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
multipath-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:~# sudo systemctl start multipathd.service
Job for multipathd.service failed because the control process exited with error code.
See "systemctl status multipathd.service" and "journalctl -xeu multipathd.service" for details.
root@localhost:~# ^C
root@localhost:~# systemctl status multipathd.service
× multipathd.service - Device-Mapper Multipath Device Controller
Loaded: loaded (/lib/systemd/system/multipathd.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-12-27 21:40:31 UTC; 12s ago
TriggeredBy: ○ multipathd.socket
Process: 1860 ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath (code=exited, status=1/FAILURE)
Process: 1861 ExecStart=/sbin/multipathd -d -s (code=exited, status=1/FAILURE)
Main PID: 1861 (code=exited, status=1/FAILURE)
Status: "configure"
CPU: 59ms
Dec 27 21:40:31 localhost modprobe[1860]: modprobe: WARNING: Module scsi_dh_emc not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:40:31 localhost modprobe[1860]: modprobe: WARNING: Module scsi_dh_rdac not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:40:31 localhost modprobe[1860]: modprobe: WARNING: Module dm-multipath not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:40:31 localhost multipathd[1861]: --------start up--------
Dec 27 21:40:31 localhost multipathd[1861]: read /etc/multipath.conf
Dec 27 21:40:31 localhost multipathd[1861]: DM multipath kernel driver not loaded
Dec 27 21:40:31 localhost multipathd[1861]: path checkers start up
Dec 27 21:40:31 localhost systemd[1]: multipathd.service: Main process exited, code=exited, status=1/FAILURE
Dec 27 21:40:31 localhost systemd[1]: multipathd.service: Failed with result 'exit-code'.
Dec 27 21:40:31 localhost systemd[1]: Failed to start Device-Mapper Multipath Device Controller.
Upon running some dignose
root@localhost:~# journalctl -xeu multipathd.service
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit multipathd.service has entered the 'failed' state with result 'exit-code'.
Dec 27 21:39:35 localhost systemd[1]: Failed to start Device-Mapper Multipath Device Controller.
░░ Subject: A start job for unit multipathd.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit multipathd.service has finished with a failure.
░░
░░ The job identifier is 670 and the job result is failed.
Dec 27 21:40:31 localhost systemd[1]: Starting Device-Mapper Multipath Device Controller...
░░ Subject: A start job for unit multipathd.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit multipathd.service has begun execution.
░░
░░ The job identifier is 675.
Dec 27 21:40:31 localhost modprobe[1860]: modprobe: WARNING: Module scsi_dh_alua not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:40:31 localhost modprobe[1860]: modprobe: WARNING: Module scsi_dh_emc not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:40:31 localhost modprobe[1860]: modprobe: WARNING: Module scsi_dh_rdac not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:40:31 localhost modprobe[1860]: modprobe: WARNING: Module dm-multipath not found in directory /lib/modules/6.0.2-x86_64-linode157
Dec 27 21:40:31 localhost multipathd[1861]: --------start up--------
Dec 27 21:40:31 localhost multipathd[1861]: read /etc/multipath.conf
Dec 27 21:40:31 localhost multipathd[1861]: DM multipath kernel driver not loaded
Dec 27 21:40:31 localhost multipathd[1861]: path checkers start up
Dec 27 21:40:31 localhost systemd[1]: multipathd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit multipathd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Dec 27 21:40:31 localhost systemd[1]: multipathd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit multipathd.service has entered the 'failed' state with result 'exit-code'.
Dec 27 21:40:31 localhost systemd[1]: Failed to start Device-Mapper Multipath Device Controller.
░░ Subject: A start job for unit multipathd.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit multipathd.service has finished with a failure.
░░
░░ The job identifier is 675 and the job result is failed.
Here are my resptories.
deb http://mirrors.linode.com/ubuntu/ jammy main restricted
deb http://mirrors.linode.com/ubuntu/ jammy-updates main restricted
deb http://mirrors.linode.com/ubuntu/ jammy universe
deb http://mirrors.linode.com/ubuntu/ jammy-updates universe
deb http://mirrors.linode.com/ubuntu/ jammy multiverse
deb http://mirrors.linode.com/ubuntu/ jammy-updates multiverse
deb http://mirrors.linode.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted
deb http://security.ubuntu.com/ubuntu/ jammy-security universe
deb http://security.ubuntu.com/ubuntu/ jammy-security multiverse
As of now, I suspect it has to do with a bad respiratory, Any light on what I need to change, or a fix to this issue would be appreciated.
Related articles.
Strange new error: Failed to start Device-Mapper Multipath Device Controller.