*New 12.1 series Release:
2020-03-24: XigmaNAS 12.1.0.4.7389 - released

*New 11.3 series Release:
2020-03-24: XigmaNAS 11.3.0.4.7383 - 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

Reset factory defaults with ssl shell

XigmaNAS Scripts and shell tips
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
rhafaelcm
NewUser
NewUser
Posts: 2
Joined: 24 Mar 2020 22:58
Status: Offline

Reset factory defaults with ssl shell

#1

Post by rhafaelcm »

Hello,
I need help to reset the factory settings using the shell, I'm not able to open the webgui. I don't have direct access to the computer, just through the ssl shell.

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

Re: Reset factory defaults with ssl shell

#2

Post by ms49434 »

rhafaelcm wrote:
24 Mar 2020 23:08
Hello,
I need help to reset the factory settings using the shell, I'm not able to open the webgui. I don't have direct access to the computer, just through the ssl shell.
run /etc/rc.initial and select number 4) Reset to Factory Defaults
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, SLOG: Samsung 850 Pro, L2ARC: Samsung 850 Pro, Pool 2: 1x Samsung 860 EVO 1TB , 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.

rhafaelcm
NewUser
NewUser
Posts: 2
Joined: 24 Mar 2020 22:58
Status: Offline

Re: Reset factory defaults with ssl shell

#3

Post by rhafaelcm »

ms49434 wrote:
25 Mar 2020 00:39
rhafaelcm wrote:
24 Mar 2020 23:08
Hello,
I need help to reset the factory settings using the shell, I'm not able to open the webgui. I don't have direct access to the computer, just through the ssl shell.
run /etc/rc.initial and select number 4) Reset to Factory Defaults

Code: Select all

Console Menu
------------
1) Configure Network Interfaces    10) Configure Hosts Allow for WebGUI
2) Configure Network IP Address    11) Restart WebGUI
3) Reset WebGUI Password           12) Restart WebGUI, force HTTP on port 80
4) Reset to Factory Defaults       20) Console Keyboard Map
5) Ping Host
6) Shell
7) Reboot Server
8) Shutdown Server

Enter a number:
4
ld-elf.so.1: Shared object "libcurl.so.4" not found, required by "php-cgi"
ld-elf.so.1: Shared object "libcurl.so.4" not found, required by "php-cgi"

is showing this error!

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

Re: Reset factory defaults with ssl shell

#4

Post by ms49434 »

rhafaelcm wrote:
25 Mar 2020 14:59
ms49434 wrote:
25 Mar 2020 00:39
rhafaelcm wrote:
24 Mar 2020 23:08
Hello,
I need help to reset the factory settings using the shell, I'm not able to open the webgui. I don't have direct access to the computer, just through the ssl shell.
run /etc/rc.initial and select number 4) Reset to Factory Defaults

Code: Select all

Console Menu
------------
1) Configure Network Interfaces    10) Configure Hosts Allow for WebGUI
2) Configure Network IP Address    11) Restart WebGUI
3) Reset WebGUI Password           12) Restart WebGUI, force HTTP on port 80
4) Reset to Factory Defaults       20) Console Keyboard Map
5) Ping Host
6) Shell
7) Reboot Server
8) Shutdown Server

Enter a number:
4
ld-elf.so.1: Shared object "libcurl.so.4" not found, required by "php-cgi"
ld-elf.so.1: Shared object "libcurl.so.4" not found, required by "php-cgi"

is showing this error!
you haven't provided any information about your system yet and my crystal ball is under maintenance.

Do you get the same error message when you run the following command from the shell?

Code: Select all

php /etc/rc.initial.defaults
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, SLOG: Samsung 850 Pro, L2ARC: Samsung 850 Pro, Pool 2: 1x Samsung 860 EVO 1TB , 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.

Post Reply

Return to “Scripts and shell tips”