spants

Community Developer
  • Posts

    637
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by spants

  1. Thanks for the reply.  I do not seem to have the rc.unRAID script you are referring to.  Here is what happens when I try to start emhttp:

    root@freenas:/usr/local/sbin# ./emhttp&
    [1] 30004
    root@freenas:/usr/local/sbin# 
    [1]+  Segmentation fault      ./emhttp
    root@freenas:/usr/local/sbin# tail -10 /var/log/syslog
    Feb  5 11:20:49 freenas emhttp: unRAID System Management Utility version 5.0-beta14
    Feb  5 11:20:49 freenas emhttp: Copyright (C) 2005-2011, Lime Technology, LLC
    Feb  5 11:20:49 freenas emhttp: Pro key detected, GUID: 0781-556B-3109-3213ECB1B034
    Feb  5 11:20:49 freenas emhttp: rdevName.22 not found
    Feb  5 11:20:49 freenas emhttp: diskFsStatus.1 not found
    Feb  5 11:20:49 freenas kernel: emhttp[30004]: segfault at 0 ip b74df760 sp bf872310 error 4 in libc-2.11.1.so[b7466000+15c000]
    root@freenas:/usr/local/sbin# 
    

     

    I had the same problem and solved it (for me!).

    Are you using ESET? If so, see http://lime-technology.com/forum/index.php?topic=18333.0

     

  2. Guys

     

    Just solved a problem on my unraid system that has wasted hours of my life.

    If I go to tower in my browser, I get an obscure error and the gui crashes. When I tried to restart service in telnet, I get seg fault errors.

     

    After rebuilding, trying different versions, disabling addons I accidentally discovered the culprit/cause.

    When I rebuilt from scratch it worked fine until I changed the root password for unmenu - it then crashed again.

    If I restart the server and disable/uninstall eset, it works fine!.

     

    The problem is caused by the ESET web access protection - it crashes emhttp.

    To resolve, right click on the eset icon, advanced setup, web access protection/httpchecking UNTICK. You can probably add rules to do this.

     

    Hope that helps!

    Tony

     

     

  3. 1. it could be a memory problem. A seg fault in libc.so means a lower level call is trying to access memory it cannot. A memory error could set a pointer to the wrong location.  Do a memtest86.

     

    2. A bad value in the superblock.dat could be corrupting the whole table. I'm guessing here.

    it could be a problem with the usb stick, or a corruption when the add to the config failed.

     

    Note that an almost full usb key is prone to errors as sectors cannot be easily reassigned.

     

    Possible remedies.

     

    1. memt86

    2. build a new superblock.dat file, I think you use the initconfig command but I do not remember.

    3. If your USB key is almost full. clear files you do not need.

    4. reformat your USB key and rebuild it from a backup. Including superblock.

     

     

    If that doesn't work there's a bigger issue that I've not thought about.

     

    Keep in mind every time you start or stop the array, the superblock on the flashkey is updated.

    There is a field in it that has a time field that is updated. So even though you may not have added a drive, modifying the user share forces the array to be stopped, modified, then started.

     

    Thanks for the info. I have been running memtest and it seems ok.

    Reformatted several test with the same error - no gui except unmenu

    wiped out all the extra modules - still the same.

    Then disabled my ESET 5.0 antivirus web scan and it all starts working!!!! I think that eset is crashing the gui.

     

    What a waste of 5 hours of my life!

     

    see http://lime-technology.com/forum/index.php?topic=18333.0

  4. same problem on b14, switching back to b13 doesnt fix it..

     

    restarting emhttp:

    Feb  6 12:55:39 Tower emhttp: unRAID System Management Utility version 5.0-beta14

    Feb  6 12:55:39 Tower emhttp: Copyright © 2005-2011, Lime Technology, LLC

    Feb  6 12:55:39 Tower emhttp: Pro key detected, GUID: 090C-1000-AA09-xxxxxxx

    Feb  6 12:55:39 Tower emhttp: rdevName.22 not found

    Feb  6 12:55:39 Tower emhttp: diskFsStatus.1 not found

    Feb  6 12:55:39 Tower kernel: emhttp[15555]: segfault at 0 ip b74ed760 sp bf8df720 error 4 in libc-2.11.1.so[b7474000+15c000]

     

    I saw on here http://lime-technology.com/forum/index.php?topic=13864.0 that same problem was caused by usb stick going out. Have emailed Tom for new guid.

     

     

  5. on a similar vein, I use a program called "TST10.exe" to do a clean power down of my unraid server which is initiated by my belkin UPS:

     

     

    shutdowntower.bat

    ==============

    C:\unraid-powerdown\TST10.exe /r:C:\unraid-powerdown\PowerdownScript.txt

     

     

    PowerdownScript.txt

    ===============

    tower

    WAIT "login:"

    SEND "root\m"

    WAIT "Password:"

    SEND "secret\m"

    WAIT ":~#"

    SEND "/sbin/powerdown\m"

    WAIT "Broadcast message from root"                       

     

    ----

      ****(i think this last wait msg is changed now, need to double check but not important)****

    This uses the Powerdown script from unmenu

     

    TST10.exe sends commands by a telnet session

     

     

     

  6. (I'm using 5b13 with a mix of NFS (media streaming music, avi and bluray rips on openelec linux xbmc) from user mnts and smb with no transfer issues)

     

    What is your equipment setup?

     

    Unraid server:

    System: Gigabyte - GA-K8NXP-SLI

    CPU: AMD AthlonTM 64 X2 Dual Core 4400+ - 2.2 GHz

    Memory: 4 GB - 166 MHz

    Network: 1000Mb/s - Full Duplex

     

    I have an Acer Revo with openelec and wdtv live both using NFS and XBMC on win7 using SMB across HomePlug av200s - only one at a time if running HD!

     

  7. If you have installed the clean power down script in unraid, you can use a program called "TST10.exe" <- google it

     

     

    contents of shutdowntower.bat

    =======================

    C:\unraid-powerdown\TST10.exe /r:C:\unraid-powerdown\PowerdownScript.txt

     

     

     

    contents of PowerdownScript.txt

    ========================

    tower

    WAIT "login:"

    SEND "root\m"

    WAIT "Password:"

    SEND "secretpassword\m"

    WAIT ":~#"

    SEND "/sbin/powerdown\m"

    WAIT "Broadcast message from root"

     

    HTH

    Tony

  8. I use an add-in for firefox that sends the information from, say, nzbmatrix directly to sabnzbd.

     

    The problem is that sabnzbd running as nobody cannot create directory in /tmp.

    If I telnet in and run "newperms /tmp" it will work fine........

     

    However, if I put this at the end of my GO script it doesnt seem to work. Any ideas?

     

    It seems that the sabnzbd needs to create a tmpfile to add it to the queue and doesnt have permission. It worked fine on 5b12a running as root but I then had to manually run newperms on the output so that samba could see the files.

     

    (unraid5b12a, nzbdstatus add-in, firefox on a mac)

  9. I understand that a special packet needs to be crafted to wake a machine.

     

    My idea is to use my router to determine the state of the server - alive,dead/sleeping - and when it sees traffic for the server it will send the magic packet from the router.

     

    I use DDWRT on my routers and you can run scripts that could send this packet for you. There are a number of addon scripts to check for ip access etc.

     

    If it is too complicated looking for access on the main router, I guess that you could use 2 routers - one is dedicated to the server. By adding a route on the main, any access for the server will be redirected to the second router rather than the wan.

     

    Is the idea feasible?

    Tony

  10. couple of queries, have installed on 5b12a, seems to run

     

    1) iphone/ipad do not appear in the usb devices list..... is this correct?. Would like to just plug in the iphones and it will backup to photos directory...

    2) When mounting a flash usb drive for testing, I cant see the files on the drive - it disconnects when I click on the share (I'm using a mac with Lion osx). Looking at the permissions, the disk directory is 755 with owner "root root". The mounted drive is 760 and "root users". The other disk1-6 dirs are 770 and "nobody users" and subsequent directories (shares) are 770 and "nobody users". Remember, I'm using the 5b12a and I believe that ownerships have changed.

     

    cheers

    Tony 

  11. I have apps running on my cache drive and sometimes I have difficulty stopping the array because the cache cannot stop. If I move apps to a snap drive, could I stop the array without closing the apps?

    Yes, but why would you want to do that.  Not closing the apps properly could lead to corruption of there databases, config files, and settings.

    was a thought, I had to rebuild a disk to get it 4k aligned but couldnt find which app was stopping cache from unmounting (I'm a noob in Linux). I guess that its not often I need to do that :)

     

    Was running sabnzb and couchpotato on cache...

  12. I really dont understand why you dont use crashplan as all your systems are supported?

     

    I have several systems, local and remote, that backup automatically to my Tower. I can set schedules and bandwidth and it will carry on in the background sending updates and keep versioning. My Tower backs up critical stuff by encrypting it with my password and storing it offsite at my friends server. He cannot access those files. Likewise his files get transfered to my system with the same security.

     

    For the initial backups, crashplan supports loading a backup from an external drive to avoid the first big backup!. External drives are supported too for backups if you want to carrying one about. It even emails me confirmation of the backup status (weekly?) and any backup issues when they happen. All of this is free of charge and just works!.

     

    It supports a number of different OS, loads of destinations for multiple backup repositories.

     

    If you pay a small amount, you can even backup to their cloud servers.

  13. I had the same problem getting the queue to show up with the Plush skin under 0.60. The only way I could get it to work was to remove the following line from SABnbd/interfaces/Plush/templates/queue.tmpl:

     

    <% locale.setlocale(locale.LC_ALL, "") %>

     

    Seems to be working ok now.

     

    Cheers,

    Tom.

     

    Thanks for the tip - fixed my problem with Plush too