Guest User

Untitled

a guest
Feb 19th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 153.76 KB | None | 0 0
  1. Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:\Users\Robb> ssh robb@192.168.0.68 robb@192.168.0.68's password: Last login: Tue Feb 19 15:02:53 2019 from 192.168.0.50 FreeBSD 11.2-STABLE (FreeNAS.amd64) #0 r325575+3b66a34f3aa(HEAD): Thu Feb 14 13:40:20 EST 2019 FreeNAS (c) 2009-2019, The FreeNAS Development Team All rights reserved. FreeNAS is released under the modified BSD license. For more information, documentation, help or support, go here: http://freenas.org Welcome to FreeNAS % service samba_server onestatus md5: /data/freenas-v1.db: Permission denied Error: unable to open database "/data/freenas-v1.db": unable to open database file [: =: unexpected operator Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file [: : bad number Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file [: : bad number Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file /dev/mem: Permission denied Error: unable to open database "/data/freenas-v1.db": unable to open database file override rw------- root/wheel for /var/tmp/rc.conf.freenas? (y/n [n]) n not overwritten /etc/rc.conf.local: cannot create /var/tmp/freenas_config.md5: Permission denied .: cannot open /var/tmp/rc.conf.freenas: Permission denied % sh -x /usr/local/etc/rc.d/samba_server onerestart + . /etc/rc.subr + : 16394 + export RC_PID + [ -n '' ] + _rc_subr_loaded=YES + SYSCTL=/sbin/sysctl + SYSCTL_N='/sbin/sysctl -n' + SYSCTL_W=/sbin/sysctl + PROTECT=/usr/bin/protect + ID=/usr/bin/id + IDCMD='if [ -x /usr/bin/id ]; then /usr/bin/id -un; fi' + PS='/bin/ps -ww' + JID=0 + _rc_namevarlist='program chroot chdir env flags fib nice user group groups prepend' + kenv -q rc.debug + name=samba_server + rcvar=samba_server_enable + samba_server_config_default=/usr/local/etc/smb4.conf + smbcontrol_command=/usr/local/bin/smbcontrol + extra_commands='reload status configtest' + start_precmd=samba_server_prestart + restart_precmd=samba_server_checkconfig + reload_precmd=samba_server_checkconfig + start_cmd=samba_server_cmd + stop_cmd=samba_server_cmd + status_cmd=samba_server_cmd + configtest_cmd=samba_server_checkconfig + reload_cmd=samba_server_reload_cmd + rcvar_cmd=samba_server_rcvar_cmd + samba_server_config_init + local name + load_rc_config samba_server + local _name _rcvar_val _var _defval _v _msg _new _d + _name=samba_server + false + [ -r /etc/defaults/rc.conf ] + debug 'Sourcing /etc/defaults/rc.conf' + . /etc/defaults/rc.conf + rc_info=NO + rc_startmsgs=YES + rcshutdown_timeout=90 + early_late_divider=FILESYSTEMS + always_force_depends=NO + apm_enable=NO + apmd_enable=NO + apmd_flags='' + ddb_enable=NO + ddb_config=/etc/ddb.conf + devd_enable=YES + devd_flags='' + kldxref_enable=NO + kldxref_clobber=NO + kldxref_module_path='' + powerd_enable=NO + powerd_flags='' + tmpmfs=AUTO + tmpsize=20m + tmpmfs_flags=-S + varmfs=AUTO + varsize=32m + varmfs_flags=-S + mfs_type=auto + populate_var=AUTO + cleanvar_enable=YES + local_startup=/usr/local/etc/rc.d + script_name_sep=' ' + rc_conf_files='/etc/rc.conf /etc/rc.conf.local' + zfs_enable=NO + zfsd_enable=NO + gptboot_enable=YES + gbde_autoattach_all=NO + gbde_devices=NO + gbde_attach_attempts=3 + gbde_lockdir=/etc + geli_devices='' + geli_tries='' + geli_default_flags='' + geli_autodetach=YES + root_rw_mount=YES + root_hold_delay=30 + fsck_y_enable=NO + fsck_y_flags='-T ffs:-R -T ufs:-R' + background_fsck=YES + background_fsck_delay=60 + netfs_types='nfs:NFS smbfs:SMB' + extra_netfs_types=NO + hostname='' + hostid_enable=YES + hostid_file=/etc/hostid + nisdomainname=NO + dhclient_program=/sbin/dhclient + dhclient_flags='' + background_dhclient=NO + synchronous_dhclient=NO + defaultroute_delay=30 + defaultroute_carrier_delay=5 + netif_enable=YES + netif_ipexpand_max=2048 + wpa_supplicant_program=/usr/sbin/wpa_supplicant + wpa_supplicant_flags=-s + wpa_supplicant_conf_file=/etc/wpa_supplicant.conf + firewall_enable=NO + firewall_script=/etc/rc.firewall + firewall_type=UNKNOWN + firewall_quiet=NO + firewall_logging=NO + firewall_logif=NO + firewall_flags='' + firewall_coscripts='' + firewall_client_net=192.0.2.0/24 + firewall_simple_iif=ed1 + firewall_simple_inet=192.0.2.16/28 + firewall_simple_oif=ed0 + firewall_simple_onet=192.0.2.0/28 + firewall_myservices='' + firewall_allowservices='' + firewall_trusted='' + firewall_logdeny=NO + firewall_nologports='135-139,445 1026,1027 1433,1434' + firewall_nat_enable=NO + firewall_nat_interface='' + firewall_nat_flags='' + dummynet_enable=NO + ipfw_netflow_enable=NO + ip_portrange_first=NO + ip_portrange_last=NO + ike_enable=NO + ike_program=/usr/local/sbin/isakmpd + ike_flags='' + ipsec_enable=NO + ipsec_file=/etc/ipsec.conf + natd_program=/sbin/natd + natd_enable=NO + natd_interface='' + natd_flags='' + ipfilter_enable=NO + ipfilter_program=/sbin/ipf + ipfilter_rules=/etc/ipf.rules + ipfilter_flags='' + ipnat_enable=NO + ipnat_program=/sbin/ipnat + ipnat_rules=/etc/ipnat.rules + ipnat_flags='' + ipmon_enable=NO + ipmon_program=/sbin/ipmon + ipmon_flags=-Ds + ipfs_enable=NO + ipfs_program=/sbin/ipfs + ipfs_flags='' + pf_enable=NO + pf_rules=/etc/pf.conf + pf_program=/sbin/pfctl + pf_flags='' + pflog_enable=NO + pflog_logfile=/var/log/pflog + pflog_program=/sbin/pflogd + pflog_flags='' + ftpproxy_enable=NO + ftpproxy_flags='' + pfsync_enable=NO + pfsync_syncdev='' + pfsync_syncpeer='' + pfsync_ifconfig='' + tcp_extensions=YES + log_in_vain=0 + tcp_keepalive=YES + tcp_drop_synfin=NO + icmp_drop_redirect=NO + icmp_log_redirect=NO + network_interfaces=auto + cloned_interfaces='' + sppp_interfaces='' + ppp_enable=NO + ppp_program=/usr/sbin/ppp + ppp_mode=auto + ppp_nat=YES + ppp_profile=papchap + ppp_user=root + hostapd_enable=NO + syslogd_enable=YES + syslogd_program=/usr/sbin/syslogd + syslogd_flags=-s + syslogd_oomprotect=YES + altlog_proglist='' + inetd_enable=NO + inetd_program=/usr/sbin/inetd + inetd_flags='-wW -C 60' + iscsid_enable=NO + iscsictl_enable=NO + iscsictl_flags=-Aa + hastd_enable=NO + hastd_program=/sbin/hastd + hastd_flags='' + ctld_enable=NO + local_unbound_enable=NO + blacklistd_enable=NO + blacklistd_flags='' + kdc_enable=NO + kdc_program=/usr/libexec/kdc + kdc_flags='' + kadmind_enable=NO + kadmind_program=/usr/libexec/kadmind + kpasswdd_enable=NO + kpasswdd_program=/usr/libexec/kpasswdd + kfd_enable=NO + kfd_program=/usr/libexec/kfd + kfd_flags='' + ipropd_master_enable=NO + ipropd_master_program=/usr/libexec/ipropd-master + ipropd_master_flags='' + ipropd_master_keytab=/etc/krb5.keytab + ipropd_master_slaves='' + ipropd_slave_enable=NO + ipropd_slave_program=/usr/libexec/ipropd-slave + ipropd_slave_flags='' + ipropd_slave_keytab=/etc/krb5.keytab + ipropd_slave_master='' + gssd_enable=NO + gssd_program=/usr/sbin/gssd + gssd_flags='' + rwhod_enable=NO + rwhod_flags='' + rarpd_enable=NO + rarpd_flags=-a + bootparamd_enable=NO + bootparamd_flags='' + pppoed_enable=NO + pppoed_provider='*' + pppoed_flags='-P /var/run/pppoed.pid' + pppoed_interface=fxp0 + sshd_enable=NO + sshd_program=/usr/sbin/sshd + sshd_flags='' + ftpd_enable=NO + ftpd_program=/usr/libexec/ftpd + ftpd_flags='' + amd_enable=NO + amd_program=/usr/sbin/amd + amd_flags='-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map' + amd_map_program=NO + autofs_enable=NO + automount_flags='' + automountd_flags='' + autounmountd_flags='' + nfs_client_enable=NO + nfs_access_cache=60 + nfs_server_enable=NO + nfs_server_flags='-u -t' + nfs_server_managegids=NO + mountd_enable=NO + mountd_flags='-r -S' + weak_mountd_authentication=NO + nfs_reserved_port_only=NO + nfs_bufpackets='' + rpc_lockd_enable=NO + rpc_lockd_flags='' + rpc_statd_enable=NO + rpc_statd_flags='' + rpcbind_enable=NO + rpcbind_program=/usr/sbin/rpcbind + rpcbind_flags='' + rpc_ypupdated_enable=NO + keyserv_enable=NO + keyserv_flags='' + nfsv4_server_enable=NO + nfscbd_enable=NO + nfscbd_flags='' + nfsuserd_enable=NO + nfsuserd_flags='' + timed_enable=NO + timed_flags='' + ntpdate_enable=NO + ntpdate_program=/usr/sbin/ntpdate + ntpdate_flags=-b + ntpdate_config=/etc/ntp.conf + ntpdate_hosts='' + ntpd_enable=NO + ntpd_program=/usr/sbin/ntpd + ntpd_config=/etc/ntp.conf + ntpd_sync_on_start=NO + ntpd_flags='-p /var/run/ntpd.pid -f /var/db/ntpd.drift' + ntp_src_leapfile=/etc/ntp/leap-seconds + ntp_db_leapfile=/var/db/ntpd.leap-seconds.list + ntp_leapfile_sources=https://www.ietf.org/timezones/data/leap-seconds.list + ntp_leapfile_fetch_opts=-mq + ntp_leapfile_expiry_days=30 + ntp_leapfile_fetch_verbose=NO + nis_client_enable=NO + nis_client_flags='' + nis_ypset_enable=NO + nis_ypset_flags='' + nis_server_enable=NO + nis_server_flags='' + nis_ypxfrd_enable=NO + nis_ypxfrd_flags='' + nis_yppasswdd_enable=NO + nis_yppasswdd_flags='' + nis_ypldap_enable=NO + nis_ypldap_flags='' + bsnmpd_enable=NO + bsnmpd_flags='' + defaultrouter=NO + static_arp_pairs='' + static_ndp_pairs='' + static_routes='' + natm_static_routes='' + gateway_enable=NO + routed_enable=NO + routed_program=/sbin/routed + routed_flags=-q + arpproxy_all=NO + forward_sourceroute=NO + accept_sourceroute=NO + atm_enable=NO + atm_pvcs='' + atm_arps='' + hcsecd_enable=NO + hcsecd_config=/etc/bluetooth/hcsecd.conf + sdpd_enable=NO + sdpd_control=/var/run/sdp + sdpd_groupname=nobody + sdpd_username=nobody + bthidd_enable=NO + bthidd_config=/etc/bluetooth/bthidd.conf + bthidd_hids=/var/db/bthidd.hids + rfcomm_pppd_server_enable=NO + rfcomm_pppd_server_profile='one two' + rfcomm_pppd_server_one_channel=1 + rfcomm_pppd_server_two_channel=3 + ubthidhci_enable=NO + netwait_enable=NO + netwait_timeout=60 + netwait_if_timeout=30 + icmp_bmcastecho=NO + ipv6_network_interfaces=auto + ipv6_activate_all_interfaces=NO + ipv6_defaultrouter=NO + ipv6_static_routes='' + ipv6_gateway_enable=NO + ipv6_cpe_wanif=NO + ipv6_privacy=NO + route6d_enable=NO + route6d_program=/usr/sbin/route6d + route6d_flags='' + ipv6_default_interface=NO + rtsol_flags='' + rtsold_enable=NO + rtsold_flags=-a + rtadvd_enable=NO + rtadvd_interfaces='' + mroute6d_enable=NO + mroute6d_program=/usr/local/sbin/pim6dd + mroute6d_flags='' + stf_interface_ipv4addr='' + stf_interface_ipv4plen=0 + stf_interface_ipv6_ifid=0:0:0:1 + stf_interface_ipv6_slaid=0000 + ipv6_ipv4mapping=NO + ipv6_ipfilter_rules=/etc/ipf6.rules + ip6addrctl_enable=YES + ip6addrctl_verbose=NO + ip6addrctl_policy=AUTO + keyboard='' + keymap=NO + keyrate=NO + keybell=NO + keychange=NO + cursor=NO + scrnmap=NO + font8x16=NO + font8x14=NO + font8x8=NO + blanktime=300 + saver=NO + moused_nondefault_enable=YES + moused_enable=NO + moused_type=auto + moused_port=/dev/psm0 + moused_flags='' + mousechar_start=NO + allscreens_flags='' + allscreens_kbdflags='' + mta_start_script=/etc/rc.sendmail + sendmail_enable=NO + sendmail_pidfile=/var/run/sendmail.pid + sendmail_procname=/usr/sbin/sendmail + sendmail_flags='-L sm-mta -bd -q30m' + sendmail_cert_create=YES + sendmail_submit_enable=YES + sendmail_submit_flags='-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost' + sendmail_outbound_enable=YES + sendmail_outbound_flags='-L sm-queue -q30m' + sendmail_msp_queue_enable=YES + sendmail_msp_queue_flags='-L sm-msp-queue -Ac -q30m' + sendmail_rebuild_aliases=NO + auditd_enable=NO + auditd_program=/usr/sbin/auditd + auditd_flags='' + auditdistd_enable=NO + auditdistd_program=/usr/sbin/auditdistd + auditdistd_flags='' + cron_enable=YES + cron_program=/usr/sbin/cron + cron_dst=YES + cron_flags='' + lpd_enable=NO + lpd_program=/usr/sbin/lpd + lpd_flags='' + nscd_enable=NO + chkprintcap_enable=NO + chkprintcap_flags=-d + dumpdev=NO + dumpdir=/var/crash + savecore_enable=YES + savecore_flags='-m 10' + crashinfo_enable=YES + crashinfo_program=/usr/sbin/crashinfo + quota_enable=NO + check_quotas=YES + quotaon_flags=-a + quotaoff_flags=-a + quotacheck_flags=-a + accounting_enable=NO + ibcs2_enable=NO + ibcs2_loaders=coff + firstboot_sentinel=/firstboot + sysvipc_enable=NO + linux_enable=NO + svr4_enable=NO + clear_tmp_enable=NO + clear_tmp_X=YES + ldconfig_insecure=NO + ldconfig_paths='/usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg' + ldconfig32_paths='/usr/lib32 /usr/lib32/compat' + ldconfigsoft_paths='/usr/libsoft /usr/libsoft/compat /usr/local/libsoft' + ldconfig_paths_aout='/usr/lib/compat/aout /usr/local/lib/aout' + ldconfig_local_dirs=/usr/local/libdata/ldconfig + ldconfig_local32_dirs=/usr/local/libdata/ldconfig32 + ldconfig_localsoft_dirs=/usr/local/libdata/ldconfigsoft + kern_securelevel_enable=NO + kern_securelevel=-1 + update_motd=YES + entropy_boot_file=/boot/entropy + entropy_file=/entropy + entropy_dir=/var/db/entropy + entropy_save_sz=4096 + entropy_save_num=8 + harvest_mask=511 + dmesg_enable=YES + watchdogd_enable=NO + watchdogd_flags='' + devfs_rulesets='/etc/defaults/devfs.rules /etc/devfs.rules' + devfs_system_ruleset='' + devfs_set_rulesets='' + devfs_load_rulesets=YES + performance_cx_lowest=C2 + performance_cpu_freq=NONE + economy_cx_lowest=Cmax + economy_cpu_freq=NONE + virecover_enable=YES + ugidfw_enable=NO + bsdextended_script=/etc/rc.bsdextended + newsyslog_enable=YES + newsyslog_flags=-CN + mixer_enable=YES + opensm_enable=NO + rctl_enable=YES + rctl_rules=/etc/rctl.conf + iovctl_files='' + jail_enable=NO + jail_confwarn=YES + jail_parallel_start=NO + jail_list='' + jail_reverse_stop=NO + [ -z '' ] + source_rc_confs_defined=yes + [ -r /etc/defaults/vendor.conf ] + source_rc_confs + local i sourced_files + sourced_files=:/etc/rc.conf: + [ -r /etc/rc.conf ] + . /etc/rc.conf + hostname=freenas + openssh_enable=YES + sendmail_enable=NONE + background_fsck=NO + fsck_y_enable=YES + synchronous_dhclient=YES + ntpd_enable=YES + ntpd_sync_on_start=YES + vmware_guest_vmblock_enable=YES + vmware_guest_vmhgfs_enable=YES + vmware_guest_vmmemctl_enable=YES + devfs_system_ruleset=usbrules + clear_tmp_X=NO + geli_autodetach=NO + savecore_enable=NO + dumpdev=NO + dumpdir=/data/crash + ix_textdump_enable=YES + early_kld_list='geom_mirror geom_multipath' + kld_list='dtraceall hwpmc t3_tom t4_tom' + dbus_enable=YES + mdnsd_enable=YES + performance_cpu_freq=HIGH + local_startup='/etc/ix.rc.d /usr/local/etc/rc.d' + early_late_divider='*' + root_rw_mount=YES + syslogd_enable=NO + syslog_ng_enable=YES + nginx_enable=YES + nginx_login_class=nginx + devd_flags=-q + cleanvar_enable=NO + openssh_skipportscheck=YES + inadyn_flags=--continue-on-error + sourced_files=:/etc/rc.conf::/etc/rc.conf.local: + [ -r /etc/rc.conf.local ] + . /etc/rc.conf.local + . /etc/rc.freenas + . /etc/rc.subr + : 16394 + export RC_PID + [ -n YES ] + return + : /data/freenas-v1.db + : /var/tmp/freenas_config.md5 + : /usr/local/bin/sqlite3fn + : /var/tmp/rc.conf.freenas + : /etc/version + : /var/db/system + : /data/cd-upgrade + : /data/need-update + : /data/first-boot + : /usr/bin/openssl + : /etc/certificates + : /etc/certificates/CA + : /usr/local/sbin/nginx + : /usr/local/etc/nginx + : /usr/local/etc/rc.d/nginx + : /usr/local/etc/nginx/nginx.conf + : 443 + : 80 + : /var/tmp/.cache + : 2g + : 60 + : /usr/local/etc/sssd/sssd.conf + : /usr/local/etc/openldap/ldap.conf + : /usr/local/etc/certs/cacert.crt + : 0 + : /etc/ix/templates/pam.d + : /etc/pam.d + : /etc/nsswitch.conf + : /etc/ix/templates/kerberos/krb5.conf + : /etc/krb5.conf + : /etc/AD.keytab + : /usr/local/etc/smb4.conf + : /usr/local/bin/warden + : /tmp/.ha_mode + ls /etc/directoryservice/rc.ActiveDirectory /etc/directoryservice/rc.DomainController /etc/directoryservice/rc.LDAP /etc/directoryservice/rc.NIS + . /etc/directoryservice/rc.ActiveDirectory + . /etc/rc.subr + : 16394 + export RC_PID + [ -n YES ] + return + : /etc/directoryservice/ActiveDirectory + : /etc/directoryservice/ActiveDirectory/config + : /etc/directoryservice/ActiveDirectory/ctl + : 10 + : 10 + : /usr/local/bin/adtool + . /etc/directoryservice/rc.DomainController + . /etc/rc.subr + : 16394 + export RC_PID + [ -n YES ] + return + . /etc/directoryservice/rc.LDAP + . /etc/rc.subr + : 16394 + export RC_PID + [ -n YES ] + return + : /etc/directoryservice/LDAP + : /etc/directoryservice/LDAP/config + : /usr/local/etc/nss_ldap.conf + : /usr/local/etc/nss_ldap.secret + : /usr/local/etc/openldap/ldap.conf + : /usr/local/etc/certs/cacert.crt + : 0 + : /usr/local/bin/ldaptool + . /etc/directoryservice/rc.NIS + . /etc/rc.subr + : 16394 + export RC_PID + [ -n YES ] + return + : /etc/directoryservice/NT4 + : /etc/directoryservice/NT4/ctl + : +::::::::: + : '+:*::' + : +:: + md5 -q /data/freenas-v1.db md5: /data/freenas-v1.db: Permission denied + _NEWSUM='' + cat /var/tmp/freenas_config.md5 + _OLDSUM=b570edab1652a4d075249b62c62294b4 + [ ! '' '=' b570edab1652a4d075249b62c62294b4 -a ! -f /data/need-update ] + /usr/bin/mktemp /var/tmp/rc.conf.tmp.XXXXXXXXX + tmpfile=/var/tmp/rc.conf.tmp.JRnktue6P + _gen_conf + local 'failover_status=' 'failover_licensed=0' + is_freenas + cat /etc/version + grep -qi ^freenas + return 0 + _interface_config 0 + local 'failover_status=0' + local 'failover_licensed=' + local $'saved_ifs= \t ' + local 'IFS=|' + local interface_id interface dodhcp ipv4addr ipv4netmask doipv6auto ipv6addr ipv6netmask options + local lagg_id laggproto lagg_physnic lagg_deviceoptions + local vlan_vint vlan_pint vlan_tag vlan_pcp + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT COUNT(id) FROM network_interfaces' Error: unable to open database "/data/freenas-v1.db": unable to open database file + [ '=' 0 ] [: =: unexpected operator + local node + local 'carp1_addr=169.254.10.20/32' 'carp2_addr=169.254.10.80/32' + local carp1_skew carp2_skew + local internal_ip internal_iface + local 'configure_ifaces=1' + is_freenas + cat /etc/version + grep -qi ^freenas + return 0 + local 'IFS=|' + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT id, int_interface, int_dhcp, int_ipv4address, int_ipv4address_b, int_v4netmaskbit, int_ipv6auto, int_ipv6address, int_v6netmaskbit, int_vip, int_vhid, int_pass, int_critical, int_group, int_options FRO+ read interface_id interface dodhcp ipv4addr ipv4addr_b ipv4netmask doipv6auto ipv6addr ipv6netmask int_vip int_vhid int_pass critical group options M network_interfaces ORDER BY id' Error: unable to open database "/data/freenas-v1.db": unable to open database file + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT lagg_physnic, lagg_deviceoptions, lagg_interfacegroup_id FROM network_lagginterfacemembers ORDER BY lagg_ordernum' + read lagg_physnic lagg_deviceoptions lagg_gid Error: unable to open database "/data/freenas-v1.db": unable to open database file + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT DISTINCT vlan_pint from network_vlan' + read vlan_pint Error: unable to open database "/data/freenas-v1.db": unable to open database file + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT vlan_vint, vlan_tag, vlan_pcp from network_vlan' + read vlan_vint vlan_tag vlan_pcp Error: unable to open database "/data/freenas-v1.db": unable to open database file + _host_config + local 'IFS=|' + local hostname domainname nameserver1 nameserver2 nameserver3 ipv4gateway ipv6gateway netwait_enabled netwait_ip hostname_field + ha_node + ha_mode + grep -q : + local encstat manual node serial + [ -f /tmp/.ha_mode ] + /usr/local/bin/python /usr/local/www/freenasUI/failover/detect.py + return 0 + return 1 + [ '' '=' B ] + hostname_field=gc_hostname + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT gc_hostname, gc_domain, gc_nameserver1, gc_nameserver2, gc_nameserver3, gc_ipv4gateway, gc_ipv6gateway, gc_netwait_enabled, gc_netwait_ip FROM network_globalconfiguration ORDER BY -id LIMIT 1' + read -r hostname domainname nameserver1 nameserver2 nameserver3 ipv4gateway ipv6gateway netwait_enabled netwait_ip Error: unable to open database "/data/freenas-v1.db": unable to open database file + _staticroute_config + local 'IFS=|' + local id destination gateway interface static_routes + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT id, sr_destination, sr_gateway FROM network_staticroute WHERE sr_destination NOT LIKE \'%:%\';' + read -r id destination gateway Error: unable to open database "/data/freenas-v1.db": unable to open database file + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT id FROM network_staticroute WHERE sr_destination NOT LIKE \'%:%\'' + sed -e s/^/freenas/g + xargs echo Error: unable to open database "/data/freenas-v1.db": unable to open database file + static_routes='' + [ -n '' ] + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT id, sr_destination, sr_gateway FROM network_staticroute WHERE sr_destination LIKE \'%:%\';' + read -r id destination gateway Error: unable to open database "/data/freenas-v1.db": unable to open database file + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT id FROM network_staticroute WHERE sr_destination LIKE \'%:%\'' + sed -e s/^/freenas/g + xargs echo Error: unable to open database "/data/freenas-v1.db": unable to open database file + ipv6_static_routes='' + [ -n '' ] + _bool_svcconfig netatalk_enable afp + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'afp\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig proftpd_enable ftp + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'ftp\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig nfs_server_enable nfs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'nfs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig rpc_lockd_enable nfs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'nfs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig rpc_statd_enable nfs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'nfs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig mountd_enable nfs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'nfs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig nfsd_enable nfs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'nfs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig rpcbind_enable nfs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'nfs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig rsyncd_enable rsync + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'rsync\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig snmpd_enable snmp + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'snmp\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig snmp_agent_enable snmp + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'snmp\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig openssh_enable ssh + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'ssh\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig inetd_enable tftp + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'tftp\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig inadyn_enable dynamicdns + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'dynamicdns\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig smartd_daemon_enable smartd + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'smartd\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig ladvd_enable lldp + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'lldp\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig ctld_enable iscsitarget + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'iscsitarget\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig apache24_enable webdav + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'webdav\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig netdata_enable netdata + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'netdata\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig samba_server_enable cifs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'cifs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + dirsrv_enabled domaincontroller + local 'dir=domaincontroller' + [ -z domaincontroller ] + domaincontroller_enabled + srv_enabled domaincontroller + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable from services_services where srv_service = \'domaincontroller\'' + enabled='' + [ '' '=' 1 ] + [ '' '=' 0 ] + return 2 + return 2 + _bool_svcconfig smbd_enable cifs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'cifs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig nmbd_enable cifs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'cifs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig winbindd_enable cifs + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'cifs\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + dirsrv_enabled nis + local 'dir=nis' + [ -z nis ] + nis_enabled + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'\tSELECT \t\tnis_enable \tFROM \t\tdirectoryservice_nis \tORDER BY \t\t-id \tLIMIT 1' Error: unable to open database "/data/freenas-v1.db": unable to open database file + enabled='' + [ '' '=' 1 ] + [ '' '=' 0 ] + return 2 + return 2 + _asigra_config 0 + local 'failover_licensed=0' + [ 0 -eq 0 ] + _bool_svcconfig postgresql_enable asigra + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'asigra\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + _bool_svcconfig dssystem_enable asigra + local 'IFS=|' + local boolvalue value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'asigra\' ORDER BY id DESC LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + echo 'dssystem_env="PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin"' + /usr/local/bin/sqlite3fn /data/freenas-v1.db $' \t\tSELECT \t\t\t\'/mnt/\' || filesystem || \'/database\' \t\tFROM \t\t\tservices_asigra \t\tORDER BY \t\t\t-id \t\tLIMIT 1 \t' Error: unable to open database "/data/freenas-v1.db": unable to open database file + local 'postgresql_path=' + [ -z '' ] + postgresql_path=/usr/local/pgsql/data + echo 'postgresql_data="/usr/local/pgsql/data"' + echo 'postgresql_user="pgsql"' + _snmp_config + echo 'snmpd_conffile="/etc/local/snmpd.conf"' + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT snmp_loglevel FROM services_snmp ORDER BY -id LIMIT 1' Error: unable to open database "/data/freenas-v1.db": unable to open database file + local 'snmpd_loglevel=' + echo 'snmpd_flags="-LSd"' + _ldap_config + sssd_enable=NO + nslcd_enable=NO + dirsrv_enabled ldap + local 'dir=ldap' + [ -z ldap ] + ldap_enabled + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'\tSELECT \t\tldap_enable \tFROM \t\tdirectoryservice_ldap \tORDER BY \t\t-id \tLIMIT 1' Error: unable to open database "/data/freenas-v1.db": unable to open database file + enabled='' + [ '' '=' 1 ] + [ '' '=' 0 ] + return 2 + return 2 + dirsrv_enabled activedirectory + local 'dir=activedirectory' + [ -z activedirectory ] + activedirectory_enabled + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'\tSELECT \t\tad_enable \tFROM \t\tdirectoryservice_activedirectory \tORDER BY \t\t-id \tLIMIT 1' Error: unable to open database "/data/freenas-v1.db": unable to open database file + enabled='' + [ '' '=' 1 ] + [ '' '=' 0 ] + return 2 + return 2 + echo 'sssd_enable="NO"' + echo 'nslcd_enable="NO"' + _nut_config + local 'IFS=|' + local boolvalue ups_identifier ups_mode ups_remotehost ups_remoteport + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable FROM services_services WHERE srv_service=\'ups\' AND srv_enable = 1 LIMIT 1' + read boolvalue Error: unable to open database "/data/freenas-v1.db": unable to open database file + [ ! -r /etc/zfs/exports ] + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT srv_enable from services_services WHERE srv_service = \'nfs\'' Error: unable to open database "/data/freenas-v1.db": unable to open database file + [ '' '=' 1 ] + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT COUNT() FROM storage_volume' Error: unable to open database "/data/freenas-v1.db": unable to open database file + [ '' '!=' 0 ] + echo 'zfs_enable="YES"' + _count_config powerd_enable system_advanced adv_powerdaemon '=1' + local count value + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT COUNT(adv_powerdaemon) FROM system_advanced WHERE adv_powerdaemon=1' Error: unable to open database "/data/freenas-v1.db": unable to open database file + count='' + [ '' -gt 0 ] [: : bad number + value=NO + echo 'powerd_enable="NO"' + is_freenas + cat /etc/version + grep -qi ^freenas + return 0 + echo 'collectd_enable="YES"' + echo 'rrdcached_enable="YES"' + echo 'failover_enable="NO"' + local nonroot mountdflags statdflags lockdflags ip nfsips mountdport statdport lockdport + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT nfs_srv_mountd_log FROM services_nfs ORDER BY -id LIMIT 1' Error: unable to open database "/data/freenas-v1.db": unable to open database file + [ '' '=' 1 ] + mountdflags=-rS + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT nfs_srv_statd_lockd_log FROM services_nfs ORDER BY -id LIMIT 1' Error: unable to open database "/data/freenas-v1.db": unable to open database file + [ '' '=' 1 ] + statdflags=' ' + lockdflags=' ' + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT nfs_srv_bindip FROM services_nfs ORDER BY -id LIMIT 1' + tr , '\n' + read -r ip Error: unable to open database "/data/freenas-v1.db": unable to open database file + nfsips='' + [ x '=' xNOTFOUND ] + rm -f /tmp/.nfsbindip_notfound + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT nfs_srv_bindip FROM services_nfs ORDER BY -id LIMIT 1' + tr , '\n' + read -r ip Error: unable to open database "/data/freenas-v1.db": unable to open database file + nfsips='' + local 'IFS=|' + local numservers nfsudp + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT nfs_srv_servers, nfs_srv_udp FROM services_nfs ORDER BY id DESC LIMIT 1' + read numservers nfsudp Error: unable to open database "/data/freenas-v1.db": unable to open database file + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT nfs_srv_allow_nonroot, nfs_srv_mountd_port, nfs_srv_rpcstatd_port, nfs_srv_rpclockd_port FROM services_nfs ORDER BY -id LIMIT 1' + read -r nonroot mountdport statdport lockdport Error: unable to open database "/data/freenas-v1.db": unable to open database file + local tftp_host + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT tftp_host FROM services_tftp WHERE tftp_host != \'0.0.0.0\' ORDER BY -id LIMIT 1' + read -r tftp_host Error: unable to open database "/data/freenas-v1.db": unable to open database file + local smartdint + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT smart_interval FROM services_smart ORDER BY id DESC LIMIT 1' + read smartdint Error: unable to open database "/data/freenas-v1.db": unable to open database file + _s3_config + local 'IFS=|' + /usr/local/bin/sqlite3fn /data/freenas-v1.db $' \t\tSELECT \t\t\tsrv_enable as s3_enable, \t\t\ts3_bindip, \t\t\ts3_bindport, \t\t\ts3_access_key, \t\t\ts3_secret_key, \t\t\ts3_browser, \t\t\ts3_mode, \t\t\ts3_disks \t\tFROM \t\t\tservices_s3 \t\tLEFT OU+ read s3_enable s3_bindip s3_bindport s3_access_key s3_secret_key s3_browser s3_mode s3_disks TER JOIN \t\t\tservices_services \t\tON \t\t\tsrv_service = \'s3\' \t\tORDER BY \t\t\tservices_s3.id \t\tLIMIT 1 \t' Error: unable to open database "/data/freenas-v1.db": unable to open database file + _ssl_config + local ssl_list + http_ssl_enabled + /usr/local/bin/sqlite3fn /data/freenas-v1.db $' \t\tSELECT \t\t\tstg_guiprotocol \t\tFROM \t\t\tsystem_settings \t\tWHERE \t\t\tstg_guiprotocol = \'https\' \t\tORDER BY \t\t\t-id \t\tLIMIT 1 \t' Error: unable to open database "/data/freenas-v1.db": unable to open database file + local 'ssl=' + [ -n '' ] + return 1 + ftp_tls_enabled + /usr/local/bin/sqlite3fn /data/freenas-v1.db $' \t\tSELECT \t\t\tftp_tls \t\tFROM \t\t\tservices_ftp \t\tORDER BY \t\t\t-id \t\tLIMIT 1 \t' Error: unable to open database "/data/freenas-v1.db": unable to open database file + local 'ssl=' + [ '' -gt 0 ] [: : bad number + return 1 + echo + xargs + ssl_list='' + echo 'ixssl_list=""' + local kbdmap + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT stg_kbdmap FROM system_settings ORDER BY -id LIMIT 1' + read -r kbdmap Error: unable to open database "/data/freenas-v1.db": unable to open database file + [ 0 -ne 1 ] + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT encrypted_provider FROM storage_encrypteddisk e JOIN storage_volume v ON e.encrypted_volume_id = v.id WHERE v.vol_encrypt=1;' + tr '\n' ' ' Error: unable to open database "/data/freenas-v1.db": unable to open database file + echo 'geli_devices=""' + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT e.encrypted_provider,v.vol_encryptkey FROM storage_encrypteddisk e JOIN storage_volume v ON e.encrypted_volume_id = v.id WHERE v.vol_encrypt=1;' + read -r provider key Error: unable to open database "/data/freenas-v1.db": unable to open database file + /usr/local/bin/sqlite3fn /data/freenas-v1.db 'SELECT lldp_intdesc, lldp_country, lldp_location FROM services_lldp ORDER BY -id LIMIT 1' + read -r lldp_intdesc lldp_country lldp_location Error: unable to open database "/data/freenas-v1.db": unable to open database file + is_freenas + cat /etc/version + grep -qi ^freenas + return 0 + echo 'ataidle_enable="YES"' + /sbin/sysctl hw.model + grep -q AMD + _watchdogd_config + local product + /usr/local/sbin/dmidecode -s baseboard-product-name + head -1 /dev/mem: Permission denied + product='' + [ '' '=' X9DR3-F -o '' '=' X9DR3-LN4F+ ] + [ '' '=' C2750D4I -o '' '=' C2550D4I ] + echo 'watchdogd_flags="--pretimeout 5 --pretimeout-action log,printf"' + echo 'watchdogd_enable="YES"' + local tun_var tun_value + /usr/local/bin/sqlite3fn /data/freenas-v1.db $'SELECT tun_var, tun_value FROM system_tunable WHERE tun_enabled = 1 AND tun_type = \'rc\' ORDER BY id' + read -r tun_var tun_value Error: unable to open database "/data/freenas-v1.db": unable to open database file + echo 'zfsd_enable="YES"' + /usr/local/bin/vmware-checkvm + + echo 'vmware_guestd_enable="YES"' + mv /var/tmp/rc.conf.tmp.JRnktue6P /var/tmp/rc.conf.freenas override rw------- root/wheel for /var/tmp/rc.conf.freenas? (y/n [n]) n not overwritten + rm -f /var/tmp/rc.conf.tmp.JRnktue6P + echo /etc/rc.conf.local: cannot create /var/tmp/freenas_config.md5: Permission denied + export 'LANG=en_US.UTF-8' + [ -f /var/tmp/rc.conf.freenas ] + . /var/tmp/rc.conf.freenas .: cannot open /var/tmp/rc.conf.freenas: Permission denied % service samba_server onestatus md5: /data/freenas-v1.db: Permission denied Error: unable to open database "/data/freenas-v1.db": unable to open database file [: =: unexpected operator Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file [: : bad number Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file [: : bad number Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file Error: unable to open database "/data/freenas-v1.db": unable to open database file /dev/mem: Permission denied Error: unable to open database "/data/freenas-v1.db": unable to open database file override rw------- root/wheel for /var/tmp/rc.conf.freenas? (y/n [n]) n not overwritten /etc/rc.conf.local: cannot create /var/tmp/freenas_config.md5: Permission denied .: cannot open /var/tmp/rc.conf.freenas: Permission denied %
Add Comment
Please, Sign In to add comment