Page 1 of 2

Cannot access HDA - The application has found an error

Posted: Wed Jun 29, 2011 3:10 pm
by MikIrl
Hi Folks,

I added an NTFS drive to my server today and when I restarted I cannot access the HDA dashboard.
I had a look in the logs and found the following:


Rendering /var/hda/platform/html/public/500.html (500 Internal Server Error)


Processing SetupController#index (for 192.168.1.100 at 2011-06-29 22:51:52) [GET]
Parameters: {"action"=>"index", "controller"=>"setup", "tab"=>"debug"}

RuntimeError (hdactl does not appear to be running!):

I tried to restart hadctl but it failed... Any ideas?

Re: Cannot access HDA - The application has found an error

Posted: Wed Jun 29, 2011 7:24 pm
by bigfoot65
How did you mount the drive? Might remove the drive and see if thing start working again. It is important that you follow wiki guidance for adding drives or you could break the HDA. Of course you probably know that now LOL

Re: Cannot access HDA - The application has found an error

Posted: Thu Jun 30, 2011 1:50 am
by MikIrl
How did you mount the drive? Might remove the drive and see if thing start working again. It is important that you follow wiki guidance for adding drives or you could break the HDA. Of course you probably know that now LOL
Well I just plugged the drive in and Fedora mounted it as Media when I restarted the server.
Strange thing is that I did this last week and it worked fine.... Though that was an external one and this one was Internal....

So what's the next step - remove it and hope it works..
If not it's prob a re-install I guess...

Totally new to this... :oops:

Re: Cannot access HDA - The application has found an error

Posted: Thu Jun 30, 2011 5:00 am
by bigfoot65
Recommend you check out the wiki guidance on adding a hard drive.

http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA

External USB drives behave differently than internal obviously. You can leave the drive in and follow the steps in the link above to properly mount and use the drive.

We hope to automate this in the future via the Amahi interface, but for now it's a manual process. I have used this guidance numerous times and it works good. Unfortunately when it comes to Linux, adding new devices is not always a simple plug and play.

Re: Cannot access HDA - The application has found an error

Posted: Thu Jun 30, 2011 1:26 pm
by MikIrl
How long should it take to mount a drive using the hda-diskmount command?
It has about 300 GB of data in a NTFS format.
The command said it's mounted but I cannot see it on the filesystem...

Re: Cannot access HDA - The application has found an error

Posted: Thu Jun 30, 2011 1:35 pm
by bigfoot65
It mounts quick, but you have to complete all the manual steps outlined in the wiki. You cannot just run hda-diskmount and be done.

Re: Cannot access HDA - The application has found an error

Posted: Thu Jun 30, 2011 3:23 pm
by MikIrl
OK - got as far as mount -a but it says mount point does not exist...

Re: Cannot access HDA - The application has found an error

Posted: Thu Jun 30, 2011 3:48 pm
by bigfoot65
Might be best if you come by the IRC for live help. It's hard to assess the situation in the forums and assist.

Re: Cannot access HDA - The application has found an error

Posted: Mon Jul 04, 2011 2:06 pm
by MikIrl
Ok - Managed to mount the drive in var/hda/files and have restarted the server but my amahi still is not working.
If I try a reinstall now will it wipe or recreate the var/hda structure?

Re: Cannot access HDA - The application has found an error

Posted: Mon Jul 04, 2011 3:30 pm
by bigfoot65
If you reinstall it will recreate the structure, but not using your drive. Best to try and determine why Amahi is not working.

If you have the drive mounted as /var/hda/files and the dashboard is not working, there is something else wrong. Check the log files in /var/log for errors.

Also, have you rebooted since installing the second drive? Sometimes that helps.