This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SOLVED] Error can't access webgui / Fix damaged system.

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Kiss239
NewUser
NewUser
Posts: 6
Joined: 04 Jul 2012 19:27
Status: Offline

[SOLVED] Error can't access webgui / Fix damaged system.

Post by Kiss239 »

First of all, sorry for bad english (my native language is russian).

Situation:

I've tried to setup OpenVPN web gui on my NAS4Free server, and while installing "session" from article 2.9 of HOW-TO, i've made a mistake and install "session2" from FreeBSD ftp server with all it's dependings. And after it web gui of NAS4Free became unavailable with the error with "gettext" and error in file "session.inc". And i've delete them both...

After that became the new error:

Code: Select all

Warning: require_once(session.inc): failed to open stream: No such file or directory in /usr/local/www/auth.inc on line 46

Fatal error: require_once(): Failed opening required 'session.inc' (include_path='.:/etc/inc:/usr/local/www') in /usr/local/www/auth.inc on line 46
and web gui still be unavailable.

I've got back-up config file from my system, which was made before my experimets.

Can anybody help me with this situation (I'm new in BSD systems and can do anything only by books and information from the web)??

Thanks in advance.
Last edited by al562 on 22 Dec 2012 07:11, edited 2 times in total.
Reason: Adjusted Subject.
Medical student trying to grasp the IT-Zen.

armandh
Advanced User
Advanced User
Posts: 398
Joined: 23 Jun 2012 04:15
Location: St Louis County Missouri USA
Status: Offline

Re: Error while trying to access web gui

Post by armandh »

1] assuming embedded, re load the OS from the CD to your boot media
2] reboot and set the NIC and LAN [options 1,2]
3] reboot and at a client computer using the GUI restore the config

It reboots and should function

I have no experience with the full install but it should not be too different
4 thread 3300 Mhz Intel i3, 1 TB ZFS mirror, available RAM 7.823 Gb, 64 bit NAS4Free 9.1.0.1 rev 573 [88 watts, 48 Mbps]
2 thread 1600 Mhz atom/ion, 1 TB ZFS mirror, available RAM 3.083 Gb, 64 bit NAS4Free-9.1.0.1 rev 573 [27 watts, 35 Mbps]
2 thread 3900 Mhz AMD A6-6400K, 2 TB ZFS Mirror, available RAM 7.557 Gb, 64 bit Nas4Free 9.3.0.2.1771 [89 watts, 68 Mbps]

Kiss239
NewUser
NewUser
Posts: 6
Joined: 04 Jul 2012 19:27
Status: Offline

Re: Error while trying to access web gui

Post by Kiss239 »

Thaks for an answer!

I thought about that way, but there is another question: will disks, file systems and datasets mount correctly (data on these disks is very impotant for me)?
Medical student trying to grasp the IT-Zen.

armandh
Advanced User
Advanced User
Posts: 398
Joined: 23 Jun 2012 04:15
Location: St Louis County Missouri USA
Status: Offline

Re: Error while trying to access web gui

Post by armandh »

so far the simple 3 steps above have always worked for me
even when I switched 4 drives from a 966 P-III to 2.4 Ghz P-4 hardware
[freenas-7 with 500 Gb and 320 Gb ZFS mirrors]
the embedded OS rebuilds the hardware profile at each boot
the config file rebuilds the setup.

as long as you do not format the drives your data will likely be OK
NAS4Free and the earlier FreeNAS-7 were designed to preserve data
even through a hardware failure necessitating a change of hardware

about the only thing that screws things up is a power failure during writes
[incomplete file journal entry?] a good UPS is highly recommended
HOWEVER
no matter how secure a backup is [and NAS4Free is very secure]
it should never be the only copy of valued data.
BECAUSE
a single NAS4Free or more co-located are not immune to physical damage
however unlikely fire/flood or the odd meteor strike

LASTLY
I avoid hardware raid
with hardware raid ones data recovery may require the EXACT hardware
here one may be hampered by obsolescence and availability
soft raid or zfs only requires a copy of the NAS4Free and config
4 thread 3300 Mhz Intel i3, 1 TB ZFS mirror, available RAM 7.823 Gb, 64 bit NAS4Free 9.1.0.1 rev 573 [88 watts, 48 Mbps]
2 thread 1600 Mhz atom/ion, 1 TB ZFS mirror, available RAM 3.083 Gb, 64 bit NAS4Free-9.1.0.1 rev 573 [27 watts, 35 Mbps]
2 thread 3900 Mhz AMD A6-6400K, 2 TB ZFS Mirror, available RAM 7.557 Gb, 64 bit Nas4Free 9.3.0.2.1771 [89 watts, 68 Mbps]

Kiss239
NewUser
NewUser
Posts: 6
Joined: 04 Jul 2012 19:27
Status: Offline

Re: [SOLVED] Error while trying to access web gui

Post by Kiss239 »

Thanks!

WebGUI is working correctly now.
Medical student trying to grasp the IT-Zen.

Post Reply

Return to “Install XigmaNAS”