voyager529
Dabbler
- Joined
- Jul 27, 2011
- Messages
- 36
Hi there, everyone!
I'm attempting to make an iSCSI target on my FreeNAS, but the iSCSI service won't start. When I attempt to do so, the log reads as follows:
When I attempted to create a user for authorized access, I get this:
And the UI says this:
Also of note - and possibly involved with the actual problem - is that the /etc/ctl.conf file indicated as 'unreadable' above, does not appear in the /etc folder at all. I'd create an empty one using the 'touch' command, but I sense that it'd not really be helpful.
I attempted to search the forums here. The results I found seemed to reference an issue back in 2014. My current version is "FreeNAS-9.3-STABLE-201506162331" - a release or two behind, but the changelog doesn't seem to directly reference these (If an update will absolutely fix the issue I'll do it, but I tend to do updates monthly where possible).
I appreciate any and all assistance in this regard.
Joey
I'm attempting to make an iSCSI target on my FreeNAS, but the iSCSI service won't start. When I attempt to do so, the log reads as follows:
Code:
Jun 25 16:24:08 freenas notifier: File "/usr/local/libexec/nas/generate_ctl_conf.py", line 301, in Jun 25 16:24:08 freenas notifier: main() Jun 25 16:24:08 freenas notifier: File "/usr/local/libexec/nas/generate_ctl_conf.py", line 136, in main Jun 25 16:24:08 freenas notifier: auth_group_config(auth_tag, auth_list) Jun 25 16:24:08 freenas notifier: File "/usr/local/libexec/nas/generate_ctl_conf.py", line 79, in auth_group_config Jun 25 16:24:08 freenas notifier: auth.iscsi_target_auth_secret, Jun 25 16:24:08 freenas notifier: UnicodeDecodeError: 'ascii' codec can't decode byte 0xae in position 1: ordinal not in range(128) Jun 25 16:24:08 freenas root: /etc/rc.d/ctld: WARNING: /etc/ctl.conf is not readable. Jun 25 16:24:08 freenas notifier: /etc/rc.d/ctld: WARNING: /etc/ctl.conf is not readable. Jun 25 16:24:08 freenas root: /etc/rc.d/ctld: WARNING: failed precmd routine for ctld Jun 25 16:24:08 freenas notifier: /etc/rc.d/ctld: WARNING: failed precmd routine for ctld
When I attempted to create a user for authorized access, I get this:
Code:
Jun 25 16:24:08 freenas root: /etc/rc.d/ctld: WARNING: /etc/ctl.conf is not readable. Jun 25 16:24:08 freenas notifier: /etc/rc.d/ctld: WARNING: /etc/ctl.conf is not readable. Jun 25 16:24:08 freenas root: /etc/rc.d/ctld: WARNING: failed precmd routine for ctld Jun 25 16:24:08 freenas notifier: /etc/rc.d/ctld: WARNING: failed precmd routine for ctld Jun 25 16:29:31 freenas notifier: Will not 'reload' ctld because ctld_enable is NO. Jun 25 16:29:51 freenas notifier: Will not 'reload' ctld because ctld_enable is NO. Jun 25 16:30:01 freenas notifier: Will not 'reload' ctld because ctld_enable is NO. Jun 25 16:30:47 freenas notifier: Will not 'reload' ctld because ctld_enable is NO.
And the UI says this:
Unable to load /api/v1.0/services/iscsi/authcredential/ status: 500
Also of note - and possibly involved with the actual problem - is that the /etc/ctl.conf file indicated as 'unreadable' above, does not appear in the /etc folder at all. I'd create an empty one using the 'touch' command, but I sense that it'd not really be helpful.
I attempted to search the forums here. The results I found seemed to reference an issue back in 2014. My current version is "FreeNAS-9.3-STABLE-201506162331" - a release or two behind, but the changelog doesn't seem to directly reference these (If an update will absolutely fix the issue I'll do it, but I tend to do updates monthly where possible).
I appreciate any and all assistance in this regard.
Joey