Page 2 of 8

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 05 Jan 2013 20:24
by zoon01
eswimm wrote:Unless something has changed in the configuration, the Webserver service doesn't seem to be properly populating the .websrv_htpasswd file in the document root.

Jan 5 16:10:59 nas4free lighttpd[1599]: (http_auth.c.241) opening plain-userfile /mnt/.websrv_htpasswd failed: Invalid argument
Jan 5 16:10:59 nas4free lighttpd[1599]: (http_auth.c.877) get_password failed, IP: 192.168.1.133

Worked fine in build 573. If I manually populate the file, I'm able to authenticate as I was before.

I'm try to reproduce but here it seems working fine!

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 05 Jan 2013 20:36
by sleid
Hello,

Email Report:

Send now work(send email), Polling time don't send email


Worked fine in build 573

Regards,
sleid.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 00:29
by jamaroney
nsswitch problem is fixed - thanks!

However, as noted earlier, my PostInit command script (in "Advanced") to start Sickbeard was still ignored, even though it starts OK when I did it via SSH or WebGui Command.
BUT, I noticed that it was the last command in the list, and so I moved the Sickbeard command up earlier, and it started, and the now-final command (SABnzbd) was ignored! So, I added a redundant and harmless command ("cd /") as the final one, and now all earlier commands start fine. So something is causing the last command to be ignored.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 04:24
by eswimm
zoon01 wrote:
eswimm wrote:Unless something has changed in the configuration, the Webserver service doesn't seem to be properly populating the .websrv_htpasswd file in the document root.

Jan 5 16:10:59 nas4free lighttpd[1599]: (http_auth.c.241) opening plain-userfile /mnt/.websrv_htpasswd failed: Invalid argument
Jan 5 16:10:59 nas4free lighttpd[1599]: (http_auth.c.877) get_password failed, IP: 192.168.1.133

Worked fine in build 573. If I manually populate the file, I'm able to authenticate as I was before.

I'm try to reproduce but here it seems working fine!
Odd, I created a NAS4Free VM to make sure I could reproduce the issue on a 2nd config.

WebServer
Protocol: HTTP
Port: 8000
Run As: www
Document Root: /mnt
Enable Authentication checked
URL: / Realm: Webserver
Enable Directory Listing checked

User
Name: nas
Full Name: NAS User
Password: 3 letters
Shell: nologin (also tried various login shells)
Primary Group: nobody
Additional Groups: none
Home Directory: default
User Portal unchecked, but I've tried it checked as well.

In both the VM and my physical install I can access the URL with clear text authentication from browser under 573 and the /mnt/.websrv_htpasswd has the nas user in the file. Under 608, the .websrv_htpasswd file is empty and no account credentials work.

Both are embedded installs from the 431 Live ISO and upgraded via firmware update to 573, then 608.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 15:42
by bart357
email reports has stopped working.
it has stopped working since 9.1.0.1.602
9.1.0.1.608 has fixed a lot of errors in my logs related to NSSWITCH but email reports still does not work.
if I manually send a test email it will work just not on the scheduled days.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 15:45
by LA70
Hi,
I've found another new problem since .573(I think), smartd.conf will only be configured for n-1 disks, so there will be no monitoring for the last disk.
i.e. /var/etc/smartd.conf is not correct.

regards

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 17:29
by lindsay
I cant say my problems has to do with latest versions, but .573 worked better.
I find the nas4free more unstable as i loose connectivity to the GUI if i want to change something beside some errors though in the system.log

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 19:24
by Earendil
I don't know if this specifically needs to be here but these things are mentioned in daoyama's initial post.

Since several releases ago my zfskerntune does not come up until I load it from the command line. I have the zfskerntune-install.php running as a PostInit command script. My events are as follows:
  • - Download new release, save N4F config.
    - Install and boot with new release (just did r608)
    - Observe zfskerntune-install.php should run PostInit but does not.
    - Run zfskerntune-install.php at command line in webGUI.
    - Extensions menu item appears, adjust zfskerntune for memory usage (my case 1.5 GB)
    - Reboot and still no Extensions menu even though PostInit command script left in place.
    - Assume zfskerntune is working (although my file transfer rate is abysmal, that's for another thread, sigh!)
This used to work before, did the newer releases change something? Or is there something with zfskerntune or with command scripting I am missing?

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 19:48
by ChriZathens
I have installed zfskerneltune while on version .573 and after a few upgrades (I am currently at .608) Extensions tab is still there and zfskernetune seems to work...

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 06 Jan 2013 20:28
by nicsergio
LA70 wrote:Hi,
I've found another new problem since .573(I think), smartd.conf will only be configured for n-1 disks, so there will be no monitoring for the last disk.
i.e. /var/etc/smartd.conf is not correct.

regards
I noticed it too

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 07 Jan 2013 02:16
by zoon01
I removed the 608 releases till we sort out all the new problems after 573.
Please go back to 573 to get back on working state.

Regards,
zoon01

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 07 Jan 2013 12:47
by BeNooL
I'm having issues with my backup NAS with 573 and 608. That is an AMD Opteron on an Nforce4 motherboard that was still running with build 249.

The issue is a lock up during shut down sequence, namely during the USB bus shut down that forces me to reset the NAS. After that the USB key holding the embedded install is no longer bootable.
I tried with a fresh install; it works fine as long as I don't import any of the storage drives.

2 captures during the shutown showing the last messages:
http://imgur.com/a/6UPaD#0

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 07 Jan 2013 12:53
by jamaroney
Earendil wrote: Since several releases ago my zfskerntune does not come up until I load it from the command line. I have the zfskerntune-install.php running as a PostInit command script.
Is zfskerntune-install.php your final PostInit command? As I noted in an earlier post, the last PostInit command script seems to be ignored. Try adding a harmless command at the end like "cd /" - that solved the problem for me (until it actually gets fixed in a new build release).

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 07 Jan 2013 16:09
by gearwhore
608 and 605 are missing from sourceforge where did they go?

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 07 Jan 2013 16:15
by jamaroney
gearwhore wrote:608 and 605 are missing from sourceforge where did they go?
see post above

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 08 Jan 2013 19:53
by velivole18
Hi,

I'm now with Released 608.
Can I come back to Released 573 without problem.
I work with embedded X64 on USB key.
If yes, can I make this come back with option reload software in webgui or I make a total installation with iso 573 ?
Can I keep my config file from 608 after reloaded Released 573 ?

Thank you for everyone.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 08 Jan 2013 20:13
by pierouelle
first of all you need to backup/restore in th gui, your config, it will be an xml file. after firmware upload fron gui 573. if something bad happen reload your config.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 09 Jan 2013 20:32
by Ouroborus
pierouelle wrote:first of all you need to backup/restore in th gui, your config, it will be an xml file. after firmware upload fron gui 573. if something bad happen reload your config.
I'm sure he means: "Can I use my 608 config with 573?" I'm wondering that to.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 09 Jan 2013 23:46
by zoon01
Just flash back the server to the 573 version, there is NO need to backup config and after the flash restore that.

Regards,
zoon01

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 10 Jan 2013 02:50
by Earendil
jamaroney wrote:
Earendil wrote: Since several releases ago my zfskerntune does not come up until I load it from the command line. I have the zfskerntune-install.php running as a PostInit command script.
Is zfskerntune-install.php your final PostInit command? As I noted in an earlier post, the last PostInit command script seems to be ignored. Try adding a harmless command at the end like "cd /" - that solved the problem for me (until it actually gets fixed in a new build release).
The fact it stopped several releases ago is in line with my findings. I will try what you suggest (the NAS is currently being used and my wife wouldn't like any interruptions to her movie or she'll get :evil: ) and post the result. Thanks jamaroney.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 10 Jan 2013 06:55
by kernow

Code: Select all

Jan 9 20:00:01	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 947 ticks; setting correction factor to 2008845008
Jan 9 15:00:02	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 947 ticks; setting correction factor to 2008844061
Jan 9 10:00:02	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 945 ticks; setting correction factor to 2008843114
Jan 9 05:00:03	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 935 ticks; setting correction factor to 2008842169
Jan 9 00:00:01	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 736 ticks; setting correction factor to 2008841234
Jan 8 20:00:03	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 953 ticks; setting correction factor to 2008840498
Jan 8 15:00:03	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 922 ticks; setting correction factor to 2008839545
Jan 8 10:00:02	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 952 ticks; setting correction factor to 2008838623
Jan 8 05:00:03	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 926 ticks; setting correction factor to 2008837671
Jan 8 00:00:02	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 746 ticks; setting correction factor to 2008836745
Jan 7 20:00:03	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 947 ticks; setting correction factor to 2008835999
Jan 7 15:00:02	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 942 ticks; setting correction factor to 2008835052
Jan 7 10:00:02	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 943 ticks; setting correction factor to 2008834110
Jan 7 05:00:02	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 931 ticks; setting correction factor to 2008833167
Jan 7 00:00:03	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 734 ticks; setting correction factor to 2008832236
Jan 6 20:00:03	zeus	mDNSResponderPosix: mDNS_Execute: mDNSPlatformRawTime went backwards by 930 ticks; setting correction factor to 2008831502
bleh

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 12 Jan 2013 12:38
by harlock2019
I upgraded with no problems from 9.0.0.249. Except one: network speed is now really slow. I've got a realtek NIC (gigabit) and I went from around 50-52MB/sec to 5-6MB/sec.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 12 Jan 2013 13:05
by raulfg3
harlock2019 wrote:I upgraded with no problems from 9.0.0.249. Except one: network speed is now really slow. I've got a realtek NIC (gigabit) and I went from around 50-52MB/sec to 5-6MB/sec.
revise your log, 10 times less banwith, can indicate a faulting disk that need fsck or that your NIC is in 100MBps instead of 1000MBps

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 12 Jan 2013 16:50
by harlock2019
Nope. Not faulty disk not misconfigured NIC. It's software.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 12 Jan 2013 19:59
by raulfg3
I see in other topics that your have initial problems with your Realtek 8111E NIC, what about to buy an Intel NIC?

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 12 Jan 2013 21:24
by apollo567
raulfg3 wrote:I see in other topics that your have initial problems with your Realtek 8111E NIC, what about to buy an Intel NIC?
very good idea, this is even a major advantage in a normal Windows Computer, not to speak of FreeBSD/NAS4Free

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 13 Jan 2013 12:16
by harlock2019
I see in other topics that your have initial problems with your Realtek 8111E NIC, what about to buy an Intel NIC?
True. But this not the same machine. And what's strange is that in 9.0 works perfect but in 9.1 there are problems. So something's up with Realtek in 9.1. A pity, because it's a very common chipset. But, seeing it's very difficult to solve i'll end up buying an intel NIC.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 13 Jan 2013 16:04
by raulfg3
I have two Realtek 8111C on board , and works fine, perhaps others users than use RTL8111E can confirm if works fine or not.

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 13 Jan 2013 17:33
by harlock2019
Are they PCIE o PCI?

Re: NAS4Free 9.1.0.1.608 Released (FreeBSD 9.1-RELEASE)

Posted: 13 Jan 2013 17:41
by BeNooL
BeNooL wrote:I'm having issues with my backup NAS with 573 and 608. That is an AMD Opteron on an Nforce4 motherboard that was still running with build 249.

The issue is a lock up during shut down sequence, namely during the USB bus shut down that forces me to reset the NAS. After that the USB key holding the embedded install is no longer bootable.
I tried with a fresh install; it works fine as long as I don't import any of the storage drives.

2 captures during the shutown showing the last messages:
http://imgur.com/a/6UPaD#0
Been doing some thinking and testing and I found the reason behind my hangs.

To speed up file searches and simple folder navigation, I'm using the remainder of the embedded install USB key as a ZFS second level metadata-only cache. To do this, I manually repartition the USB key and add that partition as ZFS cache device via command line.

An example is like this:

Code: Select all

nas4free:~# zpool status
  pool: datamain
 state: ONLINE
  scan: resilvered 911G in 4h38m with 0 errors on Sat Dec 22 21:03:12 2012
config:

        NAME        STATE     READ WRITE CKSUM
        datamain    ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            ada3    ONLINE       0     0     0
            ada4    ONLINE       0     0     0
            ada0    ONLINE       0     0     0
            ada1    ONLINE       0     0     0
            ada2    ONLINE       0     0     0
        cache
          da0s2     ONLINE       0     0     0
Without the cache partition, system behaves normaly and reboots/halts complete correctly.
Once I added da0s2 as cache the system hangs like shown in the screenshots during reboots/halts.

Would anyone be able to test on another system if they get the same behavior ?