HELP! Errors in security run output

Status
Not open for further replies.

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
For the past 2 days, I'm getting this in my daily "security run output":

kernel log messages:
+++ /tmp/security.DTIJUyLy 2012-05-24 03:01:01.000000000 -0400
+(da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 8 2c bf 0 0 58 0
+(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
+(da0:umass-sim0:0:0:0): SCSI status: Check Condition
+(da0:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)

Is this a problem? What do I need to do?

Thanks!
 

peterh

Patron
Joined
Oct 19, 2011
Messages
315
Yes it's a problem, most likley your freenas usb-stick that has gone bad.
Make a backup of the config and create a new usb-stick.
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
Yes it's a problem, most likley your freenas usb-stick that has gone bad.
Make a backup of the config and create a new usb-stick.

Ah, thanks!
How do I backup my config?
I'll google it...
 

peterh

Patron
Joined
Oct 19, 2011
Messages
315
how about the (excellent) dokumentation on freenas.org ?

backup your configuration using System -> Settings -> General -> Save Config;

http://www.freenas.org/images/resources/freenas8.0.3/freenas8.0.3_guide.html
section 4.2 Settings :
"Save Config: allows you to browse to location to make a backup copy of the current configuration in the format hostname-YYYYMMDDhhmmss.db. You should always do this before upgrading your system.

Upload Config: allows you to browse to location of saved configuration file in order to restore that configuration. "
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
One more question ... what I have installed now is v.8.0.4-RELEASE-p1-x64 .
Should I keep the same version?
Or upgrade to release p2?
Or 8.2-BETA3?
 

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
875
Hi danzg,

8.0.4-p2 has a security fix for Samba included (same as -p1, but for a different vulnerability), so -p2 is where you want to be.

Running 8.2 beta3 might not be the best idea unless you just want to check out the plug-in feature. The core NAS functions seem to be as solid as 8.0.4 but the plug-in stuff is evolving quickly and there have been a ton of fixes\changes since beta3 was released.

-Will
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
ACK! HELP!
When I tried to "Save config", I got this:

EOFError at /system/config/save/
EOF read where object expected
Request Method: GET
Request URL: https://wh.zapto.org:5656/system/config/save/
Django Version: 1.3.1
Exception Type: EOFError
Exception Value:
EOF read where object expected
Exception Location: /usr/local/www/freenasUI/system/views.py in config_save, line 136
Python Executable: /usr/local/bin/python
Python Version: 2.7.2
Python Path:
['/usr/local/www/freenasUI',
'/usr/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/pyasn1-0.0.13b-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/pyasn1_modules-0.0.1a-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg',
'/usr/local/lib/python2.7/site-packages/python_ldap-2.4.1-py2.7-freebsd-8.2-RELEASE-p6-amd64.egg',
'/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-freebsd8',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages',
'/usr/local/www',
'/usr/local/www',
'/usr/local/www/freenasUI']
Server time: Fri, 25 May 2012 16:54:38 -0400


????
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
It sounds like you won't be able to save your config. I save my config any time I make significant system changes just in case the USB drive fails. In your case it sounds like your drive has failed to the point that you cannot "recover" without redoing your setup. Note that your data in your zpool(s) are safe, and you should be able to import them without issues. But your user accounts and other settings will be lost.
 

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
875
Hi danzg

If you can ssh in just get the /data/freenas-v1.db file somewhere safe. Ideally you would scp it locally but even getting it to thr pool is better than losing it completely.

-Will
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
Arg! So basically the NAS is running off OS loaded into RAM ... and USB is shot ?
Is there no way to create a config file from what is in RAM?
Because the console is running fine ... I can go into the GUI, etc.
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
Hi danzg
If you can ssh in just get the /data/freenas-v1.db file somewhere safe. Ideally you would scp it locally but even getting it to thr pool is better than losing it completely.

Ha! posted at the same time!
Thanks, I will try to do that!
How would I restore that after installing new stick? Just copy it back to /data and reboot?
Or can it be loaded through GUI ?
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
OK, I was able to copy the file! (both scp to local, plus copy on zpool)
 

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
875
Hi danzg

Under "System" -> "General" there's an "Upload Config" button. Use that....the system should reboot and all should be good.

-Will
 

danzg

Contributor
Joined
Jun 18, 2011
Messages
105
Is there any way to access the new thumb drive I created from OSX? diskutil shows it has 4 FreeBSD partitions.
Couldn't I put my old .db file straight on there?
Maybe by running FreeBSD in VirtualBox?
 
Status
Not open for further replies.
Top