Added new users and broke all the things!!!

Z3RO

Cadet
Joined
Jun 25, 2019
Messages
5
Hi all,

After doing some web searching, looking behind the shed and in the neighbors couch, I look to you fine folks for the answers I was unable to find.
I have been running the latest release FreeNas version 11.2 u4 or there about and previous version without problems.
This leads me to today where I tried to do the following:

Problem:
Add 2 new users and a group and changed the namw of a previous group.
While i was mucking about with the permissions, the WEB UI began lagging and became non responsive, to which I had to restart.
When the system came back to life the following issue appeared on the screen attached to the FN box - Console setup, under the 11 config options where your IP should be, I get this:
"The Web interface could not be accessed. Please check network configuration."

Needless to say, I can't access the FN web UI.

When I try access the web UI i get:
"404 not Found
nginx"


All my mapped drives and sub folders are still accessible via Windows network etc. (\\freenas)

I can ping the FN box and get a response.

I tried to SSH into the FN box with hopes and dreams, but alas, I noticed an issue:
"Welcome to FreeNAS
Could not chdir to home directory /nonexistent: No such file or directory"


I used my user access, not root (root access disabled via ssh)

I did an ifconfig from SSH as per below:

Code:

% ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 4c:cc:6a:f4:ae:2e
hwaddr 4c:cc:6a:f4:ae:2e
inet 192.168.1.233 netmask 0xffffff00 broadcast 192.168.1.255
inet 192.168.1.235 netmask 0xffffffff broadcast 192.168.1.235
inet 192.168.1.234 netmask 0xffffffff broadcast 192.168.1.234
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
%

192.168.1.233 is my FN box (192.168.1.234 and 192.168.1.235 are a couple emby servers)

I did change the /nonexistant of the two new users to something else but changed back before all this happened.
I also deleted the two new users via FN shell. (last action before posting here)

If you could shed some light onto this issue I would be grateful!!!!!

My system is as follows:
  • Motherboard: MSI H81I
  • CPU: Intel I5-4430 LGA1150
  • RAM: 8gb Corsair Vengeance 1866 MHz
  • Hard drives: 2 x 4 tb wd red in mirror config, 1 x 120GB ssd OCZ for boot
  • Nothing else added.
 
Last edited:

Z3RO

Cadet
Joined
Jun 25, 2019
Messages
5
I have got a config file saved from just before the last update. Which is fine in my case.
Are you thinking a config restore or something along those lines?
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
No, you need to reinstall FreeNAS and then restore the config.
 

Z3RO

Cadet
Joined
Jun 25, 2019
Messages
5
Ag, I was hoping there was something that I was overlooking.

Thank you for your time, garm.
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
Don’t manipulate groups you didn’t create, you don’t know what dependencies you break
 

Z3RO

Cadet
Joined
Jun 25, 2019
Messages
5
Thank you for the tip garm. Appreciate your help.

Just to close this out. I did a reinstall and all is nearly as it should be, a couple tweaks and it will be sorted.

I ran into a issue during the reinstall:

"dd: /dev/ada0: Operation Not Permitted"

Used the following to sort it out:

Code:

# sysctl kern.geom.debugflags=0x10

# dd if=/dev/zero of=/dev/ada0 bs=1m count=1

# dd if=/dev/zero of=/dev/ada0 bs=1m oseek=`diskinfo ada0 | awk '{print int($3 / (1024*1024)) - 4;}'`

Install worked like a charm thereafter.

Cheers!
 
Top