Failed to start iSCSI daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nexenta Operating System |
Fix Released
|
High
|
Tim Spriggs |
Bug Description
I'm running NexentaCore 2.0 alpha 2 on amd athlon64 x2
#uname -a
SunOS pnas01 5.11 NexentaOS_20080312 i86pc i386 i86pc Solaris
I've created a zfs volume which I'd like to share as iscsi
I try to share zfs volume as iscsi like so:
# zfs set shareiscsi=on vault1/vol1
I then receive error "cannot share 'vault1/vol1': iscsitgt service need to be enabled by a privileged user"
I thought this service should start automatically, but anyway I try to start manually:
#svcadm enable svc:/system/
I then check service to make sure it's running
# svcs -a | grep iscsitgt
Nope, it's in maintenance
maintenance 21:36:32 svc:/system/
I check status of services set to auto but not running
# svcs -xv
svc:/system/
State: maintenance since Sun Nov 30 21:50:36 2008
Reason: Start method failed repeatedly, last exited with status 1.
See: http://
See: man -M /usr/share/man -s 1M iscsitgtd
See: man -M /usr/share/man -s 1M iscsitadm
See: /var/svc/
Impact: This service is not running.
I then tail the svc log:
# tail /var/svc/
Failed to start iSCSI daemon
[ Nov 30 21:36:32 Method "start" exited with status 1. ]
[ Nov 30 21:50:36 Leaving maintenance because clear requested. ]
[ Nov 30 21:50:36 Enabled. ]
[ Nov 30 21:50:36 Executing start method ("/lib/
ld.so.1: iscsitgtd: fatal: libxml2.so.2: open failed: No such file or directory
ld.so.1: iscsitgtd: fatal: relocation error: file /usr/sbin/
Killed
Failed to start iSCSI daemon
[ Nov 30 21:50:36 Method "start" exited with status 1. ]
end of bug report.
description: | updated |
See also bug #275841
Probably caused by the missing libxml2 library, plus a lot of other missing libraries for amd64:
# ldd /usr/sbin/ amd64/iscsitgtd
libumem. so.1 => /lib/64/ libumem. so.1
libuuid. so.1 => /lib/64/ libuuid. so.1
libsocket. so.1 => /lib/64/ libsocket. so.1
libdoor. so.1 => /lib/64/ libdoor. so.1
libiscsitgt. so.1 => /lib/64/ libiscsitgt. so.1
libdlpi. so.1 => /lib/64/ libdlpi. so.1
libsasl. so.1 => /usr/lib/ 64/libsasl. so.1
libxml2. so.2 => (file not found)
libxml2. so.2 => (file not found)
libdevinfo. so.1 => /lib/64/ libdevinfo. so.1
libdevid. so.1 => /lib/64/ libdevid. so.1
libnvpair. so.1 => /lib/64/ libnvpair. so.1
libuutil. so.1 => /lib/64/ libuutil. so.1
libinetutil. so.1 => /lib/64/ libinetutil. so.1
libdladm. so.1 => /lib/64/ libdladm. so.1
libkstat. so.1 => /lib/64/ libkstat. so.1
libidmap. so.1 => /usr/lib/ 64/libidmap. so.1
libldap. so.5 => /usr/lib/ 64/libldap. so.5
libresolv. so.2 => /lib/64/ libresolv. so.2
libsldap. so.1 => /usr/lib/ 64/libsldap. so.1
libnsl.so.1 => /lib/64/libnsl.so.1
libavl.so.1 => /lib/64/libavl.so.1
libmd5.so.1 => /lib/64/libmd5.so.1
libadm.so.1 => /lib/64/libadm.so.1
libefi.so.1 => /lib/64/libefi.so.1
libzfs.so.1 => /lib/64/libzfs.so.1
libscf.so.1 => /lib/64/libscf.so.1
libc.so.1 => /lib/64/libc.so.1
libmp.so.2 => /lib/64/libmp.so.2
libmd.so.1 => /lib/64/libmd.so.1
libm.so.2 => /lib/64/libm.so.2
libgen.so.1 => /lib/64/libgen.so.1
libsec.so.1 => /lib/64/libsec.so.1
librcm.so.1 => /lib/64/librcm.so.1
libnspr4.so => (file not found)
libplc4.so => (file not found)
libnss3.so => (file not found)
libssl3.so => (file not found)