Install Fails at DB

ljdellar
Posts: 15
Joined: Tue Nov 03, 2009 7:28 pm

Install Fails at DB

Postby ljdellar » Tue Nov 03, 2009 7:31 pm

I've logged in as root and typed HDA-Install "MYCODE", and after a while I get

Packages installed.
Starting MySQL.
Initializing settings.
Initializing MySQL.
pluginfactory ...
Initializing Ruby on Rails and DB.
sh: line 0: cd: /var/hda/platform/html: No such file or directory
Activating your HDA settings.
ERROR 1146 (42S02) at line 1: Table 'demo_development.settings' doesn't exist
DBD::mysql::st execute failed: Table 'demo_development.settings' doesn't exist at /usr/bin/hda-install line 73.
DBD::mysql::st execute failed: Table 'demo_development.settings' doesn't exist at /usr/bin/hda-install line 73.
[root@localhost lj]#

I tried manually creating the missing directory, but that only cures the first error.

I'm installing on Fedora 10 x86 AMD 64bit.

Have I Missed anything?

Thanks

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Install Fails at DB

Postby cpg » Tue Nov 03, 2009 8:07 pm

rpm -q hda-platform

somehow, hda-platform was not installed???

may want to check in the http://wiki.amahi.org/index.php/Self-install-existing
on how to install hda-platform.

Can you describe as closely as possible as to what you did the first time around?

Are you using the Full DVD?

Did you add the Amahi repo?

Can you share the file called /root/install.log and /root/hda-install.log ?
(send it via PM).
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

ljdellar
Posts: 15
Joined: Tue Nov 03, 2009 7:28 pm

Re: Install Fails at DB

Postby ljdellar » Wed Nov 04, 2009 4:30 am

Hi, and thanks for getting back.

Most of the HDA install went well. The Amahi repo was correctly attached up front, and the error messages I posted were what I saw after the Ruby and other components installed. It was at the point of activating the DB (MySQL) that it fell over.

Having looked at another post with the same problem, it seems like there are two possibilities: installing HDA BEFORE doing the security updates (which is what happened to me, as I waited fifteen minutes after installing Fedora 10, and since there were by then no security updates to install, I went straight to HDA installation, only to get the message up a minute into the process (doh!). The other reason was apparently due to a previous install of mySQL, which did not apply to me.

In any event, I decided to do a complete clean reinstall.

1. Vanilla layout of drive as per Fedora defaults
2. British English Keyboard
3. Default domain (localhost.localdomain)
4. Deselect the Office and Productivity repos
5. Add the Amahi repo (We should now have just the local install media and Amahi selected, yes?
6. Now tries to connect to the Amahi repo, after about 2 minutes, the network (Eth0) is found.
7. Make no changes, defaults (DHCP and TCPIP 4)
8. Click next and watch Fedora install (about 35 minutes)
9. Remove media and restart
10. Create user (in my case, LJ) By the way, there was no "view licence" stage as mentioned in the install instructions (weird).
11. Setup network time (I chose the first time server)
12. Sent hardware config to Fedora (why not be nice?)
13. Login as Lj and wait for the security and other updates window to appear... Still waiting after 15 minutes. Does it usually take this long? I have 20mb broadband.
13a (By the way, should I install ALL updates or just the security ones?)
14. Half an hour later, got fed up of waiting and went to manual update. But apparently there are no updates available. (Sounds like it now happens in the background).
15. Opened terminal and logged in as root with su -
16. Ran hda-install "mykey" and get -bash hda-install: command not found
17. ?????????????????
:shock:
Any help appreciated...

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Install Fails at DB

Postby cpg » Wed Nov 04, 2009 5:04 am

installing the updates is up to you.
we recommend doing them after amahi is installed (just so that our install process is more reliably on a known entity)

if you do not have hda install, that means the repo somehow did not take well, because the rpm for hdactl did not install.

Code: Select all

rpm -q hdactl
also

Code: Select all

rpm -q hda-platform
if you can share /root/install.log please do (after compressing it!)
or just

Code: Select all

egrep -i "error|hda" /root/install.log
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

ljdellar
Posts: 15
Joined: Tue Nov 03, 2009 7:28 pm

Re: Install Fails at DB

Postby ljdellar » Wed Nov 04, 2009 5:36 am

OK.

Here is the output from the first two suggested commands:

[root@localhost ~]# rpm -q hdactl
package hdactl is not installed
You have mail in /var/spool/mail/root
[root@localhost ~]# rpm -q hda-platform
hda-platform-4.2-1.noarch
[root@localhost ~]#

I'll just do the third one.

ljdellar
Posts: 15
Joined: Tue Nov 03, 2009 7:28 pm

Re: Install Fails at DB

Postby ljdellar » Wed Nov 04, 2009 5:38 am

This is what I get after the third suggested command.


[root@localhost ~]# egrep -i "error|hda" /root/install.log
Installing libgpg-error-1.6-2.x86_64
Installing hda-release-1.0-1.noarch
Installing hda-app-pba-base-0.1-1.i386
Installing hda-platform-4.2-1.noarch
Installing hdactl-2.44-8.x86_64
Installing hda-app-webcal-0.27-1.noarch
/var/tmp/rpm-tmp.eeSB4b: line 23: /usr/bin/hda-alias: No such file or directory
Installing hda-suite-0.15-1.noarch
Installing hda-theme-iHama-1.7-1.noarch
Installing hda-theme-iHama-candy-1.4-1.noarch
[root@localhost ~]#

ljdellar
Posts: 15
Joined: Tue Nov 03, 2009 7:28 pm

Re: Install Fails at DB

Postby ljdellar » Wed Nov 04, 2009 5:43 am

Thought I would try a manual install:

[root@localhost ~]# yum check-update hda-install
Loaded plugins: refresh-packagekit
[root@localhost ~]# yum install hda-install
Loaded plugins: refresh-packagekit
Setting up Install Process
No package hda-install available.
Nothing to do
[root@localhost ~]#

ooops...

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Install Fails at DB

Postby cpg » Wed Nov 04, 2009 5:47 am

how is it possible that the installer installed this:
Installing hdactl-2.44-8.x86_64
but then it's not there?!?!?!?
[root@localhost ~]# rpm -q hdactl
package hdactl is not installed
you should get:

Code: Select all

$ rpm -q hdactl hdactl-2.44-8.x86_64
how is that possible?!?!?!?!?
you have some gremlins!

you can go to the self-install page and install hdactl.
then hda-install should work.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

ljdellar
Posts: 15
Joined: Tue Nov 03, 2009 7:28 pm

Re: Install Fails at DB

Postby ljdellar » Wed Nov 04, 2009 5:48 am

That's what I thought: where is the self-install page, please? :cry:

ljdellar
Posts: 15
Joined: Tue Nov 03, 2009 7:28 pm

Re: Install Fails at DB

Postby ljdellar » Wed Nov 04, 2009 5:52 am

Found the link above. Doing self-install now.

So far so good... ;)

Who is online

Users browsing this forum: No registered users and 26 guests