Failed to start iSCSI daemon

Bug #303865 reported by fajitaburrito
This bug report is a duplicate of:  Bug #275841: libxml2 not in 64 bit. Edit Remove
6
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/iscsitgt:default

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/iscsitgt:default

I check status of services set to auto but not running
# svcs -xv
svc:/system/iscsitgt:default (iSCSI Target)
State: maintenance since Sun Nov 30 21:50:36 2008
Reason: Start method failed repeatedly, last exited with status 1.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1M iscsitgtd
   See: man -M /usr/share/man -s 1M iscsitadm
   See: /var/svc/log/system-iscsitgt:default.log
Impact: This service is not running.

I then tail the svc log:
# tail /var/svc/log/system-iscsitgt\:default.log
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/svc/method/svc-iscsitgt start"). ]
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/amd64/iscsitgtd: symbol xmlCheckVersion: referenced symbol not found
Killed
Failed to start iSCSI daemon
[ Nov 30 21:50:36 Method "start" exited with status 1. ]

end of bug report.

description: updated
Revision history for this message
Ian Neubert (ianneub) wrote :

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
        libnsl.so.1 => /lib/64/libnsl.so.1
        libdoor.so.1 => /lib/64/libdoor.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
        libiscsitgt.so.1 => /lib/64/libiscsitgt.so.1
        libzfs.so.1 => /lib/64/libzfs.so.1
        libdlpi.so.1 => /lib/64/libdlpi.so.1
        libscf.so.1 => /lib/64/libscf.so.1
        libsasl.so.1 => /usr/lib/64/libsasl.so.1
        libxml2.so.2 => (file not found)
        libc.so.1 => /lib/64/libc.so.1
        libmp.so.2 => /lib/64/libmp.so.2
        libmd.so.1 => /lib/64/libmd.so.1
        libxml2.so.2 => (file not found)
        libm.so.2 => /lib/64/libm.so.2
        libdevinfo.so.1 => /lib/64/libdevinfo.so.1
        libdevid.so.1 => /lib/64/libdevid.so.1
        libgen.so.1 => /lib/64/libgen.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
        libsec.so.1 => /lib/64/libsec.so.1
        librcm.so.1 => /lib/64/librcm.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
        libnspr4.so => (file not found)
        libplc4.so => (file not found)
        libnss3.so => (file not found)
        libssl3.so => (file not found)

Revision history for this message
Tim Spriggs (tim-tajinc) wrote :

The nspr/nss packages have been built with 32 bit and 64 bit versions.

Installing libnss3-1d and libnspr4-0d allow iscsitgtd to run.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.