VCD-db

User avatar
spaceman
Posts: 79
Joined: Sun May 31, 2009 10:08 am

VCD-db

Postby spaceman » Mon Jun 01, 2009 4:59 am

Cannot get started with this fine looking app as i get an error:

Code: Select all

Oops an exception occurred .. Database Access misconfigured. Cannot procceed without database access Check the connection settings to solve the problem.
Cheers.
myHDA: TranquilPC BBS ~ Intel Atom D510 1.66 GHz ~ 4GB DDR2 RAM ~ 3TB Data Storage [RAID5]

gmw
Posts: 104
Joined: Tue Dec 09, 2008 12:42 pm
Location: Northern California
Contact:

Re: VCD-db

Postby gmw » Mon Jun 01, 2009 10:31 am

Sounds like the install did not take place correctly.
The easiest thing would be to uninstall and reinstall the app.

As background:
The one-click installer creates a script file that sets up the database (/var/hda/web-apps/vcddb/html/setup/amahi-init.php)
and also sets the config.php file correctly.

:?:

User avatar
spaceman
Posts: 79
Joined: Sun May 31, 2009 10:08 am

Re: VCD-db

Postby spaceman » Mon Jun 01, 2009 11:29 am

Sadly this has not resolved the problem.
myHDA: TranquilPC BBS ~ Intel Atom D510 1.66 GHz ~ 4GB DDR2 RAM ~ 3TB Data Storage [RAID5]

gmw
Posts: 104
Joined: Tue Dec 09, 2008 12:42 pm
Location: Northern California
Contact:

Re: VCD-db

Postby gmw » Mon Jun 01, 2009 12:04 pm

Sadly this has not resolved the problem.
No-one else has had this issue -- we would like to determine the root cause.
Please drop by the IRC channel for support (freenode #amahi) -- link at the bottom of your http://hda page.

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

Re: VCD-db

Postby cpg » Thu Jun 11, 2009 5:31 pm

spaceman, did you try uninstalling it and reinstalling?

in any case, we'd like to see the contents of this file:

Code: Select all

/var/log/amahi-app-installer.log
well, at least the last few lines of it.

also, the files in

Code: Select all

/var/hda/web-apps/vcddb/logs/
will also help, probably more.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
spaceman
Posts: 79
Joined: Sun May 31, 2009 10:08 am

Re: VCD-db

Postby spaceman » Sat Aug 08, 2009 6:28 am

Dammit, sorry haven't stopped by for a while. I will post this data when I sort out Ajaxterm, I run the server headless (I only have one USB keyboard LOL), and I really want to avoid digging out another monitor, keyboard and mouse. :mrgreen:
myHDA: TranquilPC BBS ~ Intel Atom D510 1.66 GHz ~ 4GB DDR2 RAM ~ 3TB Data Storage [RAID5]

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

Re: VCD-db

Postby cpg » Sat Aug 08, 2009 9:30 am

that's fine, you can use ssh to login to the server (putty is a very good program to do ssh).
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
spaceman
Posts: 79
Joined: Sun May 31, 2009 10:08 am

Re: VCD-db

Postby spaceman » Sat Aug 08, 2009 11:10 am

OK...I'm working on the server today! First things first, begin a GUI lover, I had to refresh my knowledge of using VNC...aha! You need a colon in HDA1 [moron!]. :shock: Now I can connect to the box. It's been working fine really I just haven't been able to remote on. Right just install vcd-db again...then the final lines in the that log file will be relevent...

/var/log/amahi-app-installer.log:

Code: Select all

======= app install begin @ Sat Aug 08 18:42:58 +0100 2009 ========== Installing app id sy8byno6cx under /var/hda/platform/html ENV=production NOTE: file /tmp/amahi-download-cache/0b610d986d41c3978153e1b022f157ada426dfd1 written in cache /tmp/run_script.4405.0: line 87: patch: command not found Your HDA services have been restarted. Your HDA services have been restarted. App: VCD-db installed ======= app install end @ Sat Aug 08 18:43:34 +0100 2009 ==========
/var/hda/web-apps/vcddb/logs/access.log:

Code: Select all

192.168.1.101 - - [08/Aug/2009:19:02:24 +0100] "GET / HTTP/1.1" 302 91 "http://hda/setup?sub=1&tab=apps" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)" 192.168.1.101 - - [08/Aug/2009:19:02:25 +0100] "GET //?page=error&type=db HTTP/1.1" 200 1017 "http://hda/setup?sub=1&tab=apps" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)" 192.168.1.101 - - [08/Aug/2009:19:02:26 +0100] "GET /images/favicon.ico HTTP/1.1" 200 3310 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)" 192.168.1.101 - - [08/Aug/2009:19:02:26 +0100] "GET /images/logotest.gif HTTP/1.1" 200 8005 "http://vcddb.spacestation.com//?page=error&type=db" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)" 192.168.1.101 - - [08/Aug/2009:19:02:26 +0100] "GET /includes/css/global.css HTTP/1.1" 200 1963 "http://vcddb.spacestation.com//?page=error&type=db" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)" 192.168.1.101 - - [08/Aug/2009:19:02:26 +0100] "GET /includes/templates/default/style.css HTTP/1.1" 200 6386 "http://vcddb.spacestation.com//?page=error&type=db" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)" 192.168.1.101 - - [08/Aug/2009:19:02:26 +0100] "GET /includes/templates/default/images/background3.gif HTTP/1.1" 200 5228 "http://vcddb.spacestation.com/includes/templates/default/style.css" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)"
/var/hda/web-apps/vcddb/logs/error.log:

Code: Select all

[Sat Aug 08 19:02:25 2009] [error] [client 192.168.1.101] PHP Warning: Call-time pass-by-reference has been deprecated in /var/hda/web-apps/vcddb/html/classes/VCDSoapProxy.php on line 160, referer: http://hda/setup?sub=1&tab=apps [Sat Aug 08 19:02:26 2009] [error] [client 192.168.1.101] PHP Warning: Call-time pass-by-reference has been deprecated in /var/hda/web-apps/vcddb/html/classes/VCDSoapProxy.php on line 160, referer: http://hda/setup?sub=1&tab=apps
Hmmm...do they help?
Last edited by spaceman on Sat Aug 08, 2009 11:19 am, edited 1 time in total.
myHDA: TranquilPC BBS ~ Intel Atom D510 1.66 GHz ~ 4GB DDR2 RAM ~ 3TB Data Storage [RAID5]

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

Re: VCD-db

Postby cpg » Sat Aug 08, 2009 11:15 am

ok

1) how did you install amahi that patch is not available??? this must be a missing dependency. did you install from the full DVD or some other way?

2) to fix this, please use: yum -y install patch

then uninstall and reinstall the app.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
spaceman
Posts: 79
Joined: Sun May 31, 2009 10:08 am

Re: VCD-db

Postby spaceman » Sat Aug 08, 2009 11:21 am

I think I installed Amahi over an existing Fedora 9 install...I used the instructions...not sure now, that was some time ago.

Anyway that genius bit of troubleshooting has the VCD-DB one click install working out of the box as it should, thank you!
Last edited by spaceman on Sat Aug 08, 2009 11:31 am, edited 1 time in total.
myHDA: TranquilPC BBS ~ Intel Atom D510 1.66 GHz ~ 4GB DDR2 RAM ~ 3TB Data Storage [RAID5]

Who is online

Users browsing this forum: No registered users and 46 guests