Keyerror:'getpwuid(): uid not found:0'

Status
Not open for further replies.

fluca1978

Explorer
Joined
Sep 8, 2011
Messages
52
Hi all,
today my FreeNas 8 did not rebot and the console reports the error "Keyerror:'getpwuid(): uid not found:0'" which I suspect is related to the web gui. Is there a way to fix it? I did not change any setting, just booted it due to a lack of power. Any suggestion?
 

fluca1978

Explorer
Joined
Sep 8, 2011
Messages
52
Hi all,
today my FreeNas 8 did not rebot and the console reports the error "Keyerror:'getpwuid(): uid not found:0'" which I suspect is related to the web gui. Is there a way to fix it? I did not change any setting, just booted it due to a lack of power. Any suggestion?

I have more detials: the error appears after the "FreeBSD" login prompt and reports an error from site.py line 563 and the backtrace ends on posixpath line 280, when getpwuid is called for the root account. So it seems it cannot find the root user???
 

fluca1978

Explorer
Joined
Sep 8, 2011
Messages
52
It looks like your USB is corrupted...

Reinstall FreeNAS in a new one and restore the config

Thanks, this is an ootion, but since I've no direct access to the hardware, isn't there anything else I can try to restore the nas server? Moreover, how is it possible the USB has been corrupted?
 
Status
Not open for further replies.
Top