Dear all, I just installed amahi and get following error (check amahi.pastebin.com): http://amahi.pastebin.com/m6476f457
This error happen when I tried to browse http://hda from my server. If I tried that from my client, it can never show anything, but "check error log". Folder shares works OK tho.
Can't browse to http://hda/
Re: Can't browse to http://hda/
did you change the mysql password?
did it ever work before?
it seems like there is some fundamental issue with your install.
can you share the hda-install.log generated (in the directory where you ran hda-install)?
what happens when you do (as root):
also, can you post the output of
did it ever work before?
it seems like there is some fundamental issue with your install.

can you share the hda-install.log generated (in the directory where you ran hda-install)?
what happens when you do (as root):
Code: Select all
(cd /var/hda/platform/html && rake db:migrate)
Code: Select all
gem list
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: Can't browse to http://hda/
Dear cpg, thanks for the prompt reply.
Yes, it worked before, but for some unknown reason it stopped.
(cd /var/hda/platform/html && rake db:migrate) result:
gem list result:
[root@akon-kaguya html]# gem list
I've already put some files inside the server, therefore I try to avoid re-install if possible.
Yes, it worked before, but for some unknown reason it stopped.
(cd /var/hda/platform/html && rake db:migrate) result:
Code: Select all
== 20090222200731 AddWebappCustomFields: migrating ============================
-- add_column(:webapps, :custom_options, :string, {:default=>""})
rake aborted!
Mysql::Error: Unknown column 'settings.kind' in 'where clause': SELECT * FROM `settings` WHERE (`settings`.`name` = 'domain') AND (`settings`.`kind` = 'general') LIMIT 1
[root@akon-kaguya html]# gem list
Code: Select all
*** LOCAL GEMS ***
actionmailer (2.1.1)
actionpack (2.1.1)
activerecord (2.1.1)
activeresource (2.1.1)
activesupport (2.1.1)
fcgi (0.8.7)
gd2 (1.1.1)
gruff (0.3.4)
hoe (1.12.2)
rails (2.1.1)
rake (0.8.7)
rmagick (2.5.2)
rubyforge (1.0.3)
Re: Can't browse to http://hda/
well, the database for amahi is somehow corrupted. did you fiddle with phpmyadmin or mysql?
this kind of corruption does not just "happen".
you would have to have been extremely unlucky with some disk errors to be hitting at the amahi database or something.
this would take a bit to time to diagnose, with direct access to the machine, let alone via a forum, so i'm not sure what to say.
this kind of corruption does not just "happen".
you would have to have been extremely unlucky with some disk errors to be hitting at the amahi database or something.
this would take a bit to time to diagnose, with direct access to the machine, let alone via a forum, so i'm not sure what to say.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: Can't browse to http://hda/
Dear cpg,
I see the problem, a couple of weeks ago there's power outage, and after reboot there's fsck-ing. Probably there is a connection with this? However the error didn't happen right away. Is there's a possibility to re-create/repair the database of amahi? TIA
I see the problem, a couple of weeks ago there's power outage, and after reboot there's fsck-ing. Probably there is a connection with this? However the error didn't happen right away. Is there's a possibility to re-create/repair the database of amahi? TIA
Re: Can't browse to http://hda/
well, this is dangerous. you will lose your users, settings, apps (some of them will be duplicated after you come back from this), but here it goes:
i would definitely recommend reinstall. or come by the irc and make your machine accessible for debugging.
Code: Select all
mysqladmin -uroot -p drop amahi_production
mysqladmin -uroot -p create amahi_production
(cd /var/hda/platform/html && rake db:migrate)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: Can't browse to http://hda/
wowwww first try to fix the database!
if that doesn't work, yes then I'd advise reinstall.
Code: Select all
root@localhost # mysqlcheck -u root -p --auto-repair --check --optimize --all-databases
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Re: Can't browse to http://hda/
now that you provided this little gem to check databases i am kind of glad that i i did not close this thread. 
turns out we followed up via irc and we were able to fix the machine.
the amahi db migration in this box was wedged due to a bug that existed during a brief period in which this box was installed. had to fix it by hand.
thanks for the snippet!

turns out we followed up via irc and we were able to fix the machine.
the amahi db migration in this box was wedged due to a bug that existed during a brief period in which this box was installed. had to fix it by hand.
thanks for the snippet!
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: Can't browse to http://hda/
yw and glad it helped.
I thought of it because I recently needed to fix a corrupt table at work, otherwise I wouldn't have thought of it as well.
I thought of it because I recently needed to fix a corrupt table at work, otherwise I wouldn't have thought of it as well.

echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD
Re: Can't browse to http://hda/
Is this thread dead?... I too seem to be having a problem with reaching http://hda
any help would be awesome
any help would be awesome
Who is online
Users browsing this forum: No registered users and 22 guests