Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS 12.1.0.4.7728 - released

*New 11.4 series Release:
2020-08-27: XigmaNAS 11.4.0.4.7718 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

/etc/rc.d/nfsd syntax error in XigmaNAS 12.1 build 7509 at line 79

Network filesystems.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
phil1752
NewUser
NewUser
Posts: 1
Joined: 06 Apr 2020 18:35
Status: Offline

/etc/rc.d/nfsd syntax error in XigmaNAS 12.1 build 7509 at line 79

#1

Post by phil1752 »

Hello there,

These is a small syntax error in XigmaNAS 12.1 build 7509 in the startup script /etc/rc.d/nfsd at line 79
There is a missing "fi" between lines 74 and 75
...
71 if ! checkyesno mountd_enable && \
72 ! /etc/rc.d/mountd forcestatus 1>/dev/null 2>&1
73 then
74 force_depend mountd || return 1
fi # is missing
75 if [ -n "${nfs_server_vhost}" ]; then
76 command_args="-V \"${nfs_server_vhost}\""
77 fi
78 return 0
79 }
....

It was OK with build 7321.

We notice it in the Menu "Status" -> "Service" in the column "Status" where the status remains a red "-".
All command lines actions like:
/etc/rc.d/nfsd status
/etc/rc.d/nfsd start
end with the error message "/etc/rc.d/nfsd: 79: Syntax error: "}" unexpected (expecting "fi")"

User avatar
ms49434
Developer
Developer
Posts: 834
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: /etc/rc.d/nfsd syntax error in XigmaNAS 12.1 build 7509 at line 79

#2

Post by ms49434 »

phil1752 wrote:
06 Apr 2020 18:48
Hello there,

These is a small syntax error in XigmaNAS 12.1 build 7509 in the startup script /etc/rc.d/nfsd at line 79
There is a missing "fi" between lines 74 and 75
...
71 if ! checkyesno mountd_enable && \
72 ! /etc/rc.d/mountd forcestatus 1>/dev/null 2>&1
73 then
74 force_depend mountd || return 1
fi # is missing
75 if [ -n "${nfs_server_vhost}" ]; then
76 command_args="-V \"${nfs_server_vhost}\""
77 fi
78 return 0
79 }
....

It was OK with build 7321.

We notice it in the Menu "Status" -> "Service" in the column "Status" where the status remains a red "-".
All command lines actions like:
/etc/rc.d/nfsd status
/etc/rc.d/nfsd start
end with the error message "/etc/rc.d/nfsd: 79: Syntax error: "}" unexpected (expecting "fi")"
please download the update file from Sourceforge again and rerun the update.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4962
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: /etc/rc.d/nfsd syntax error in XigmaNAS 12.1 build 7509 at line 79

#3

Post by raulfg3 »

12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “NFS”