Forum .LRN Q&A: Server Error

Collapse
Posted by Al Guyer on
I am not sure what happened, I was trying to install dotLrn
apms... after quite a few errors and failed attempts, I restarted the aolserver and now get:

Server Error
The requested URL cannot be accessed due to a system error on this server.

Here's a log dump:

[27/Jan/2006:12:55:09][11625.131081][-driver-] Notice: starting
[27/Jan/2006:12:55:09][11625.131081][-driver-] Notice: driver: accepting connections
[27/Jan/2006:12:55:19][11625.49156][-conn:service0::0] Notice: random: generating 1 seed
[27/Jan/2006:12:55:20][11625.49156][-conn:service0::0] Error: invalid command name "dotlrn_community::get_community_id"
invalid command name "dotlrn_community::get_community_id"
while executing
"dotlrn_community::get_community_id"
(procedure "log_user_id" line 3)
invoked from within
"log_user_id {} preauth"
[27/Jan/2006:12:55:20][11625.65541][-conn:service0::1] Error: invalid command name "dotlrn_community::get_community_id"
invalid command name "dotlrn_community::get_community_id"
while executing
"dotlrn_community::get_community_id"
(procedure "log_user_id" line 3)
invoked from within
"log_user_id {} preauth"
[27/Jan/2006:12:56:06][11625.163850][-sched:idle0-] Notice: starting
[27/Jan/2006:12:56:06][11625.163850][-sched:15-] Error: Database operation "0or1row" failed (exception NSINT, "Query returned more than one row.")

Collapse
2: Re: Server Error (response to 1)
Posted by Al Guyer on
So... that's it? A failed install of an apm brings down the server? Completely? Do I have to be a postgres wizard to bring it backup, or is a wipe and re-install in order.
Collapse
3: Re: Server Error (response to 1)
Posted by Al Guyer on
I guess this is a self-help help site...

...anyway I ran these commands in postgres:

openacs=# delete from apm_applications where application_id='506';
DELETE 1
openacs=# DELETE from apm_packages where package_id=506;
DELETE 1
openacs=#

That fixed the majority of the errors in error.log. I still have these:

[27/Jan/2006:16:03:24][12550.49156][-conn:service0::0] Error: invalid command name "dotlrn_community::get_community_id"
invalid command name "dotlrn_community::get_community_id"
while executing
"dotlrn_community::get_community_id"
(procedure "log_user_id" line 3)
invoked from within
"log_user_id {} preauth"
[27/Jan/2006:16:03:25][12550.65541][-conn:service0::1] Error: invalid command name "dotlrn_community::get_community_id"
invalid command name "dotlrn_community::get_community_id"
while executing
"dotlrn_community::get_community_id"
(procedure "log_user_id" line 3)
invoked from within
"log_user_id {} preauth"

Which means dotlrn partially installed?

Collapse
4: Re: Server Error (response to 1)
Posted by Dave Bauer on
Looks like at least the dotlrn tcl libraries are not installed. I think you need to go back farther to see the initial error. Best bet is to start over, delete the error log and reinstall and watch the install page for errors. Then check the error log just after install so you can isolat the problem.
Collapse
5: Re: Server Error (response to 1)
Posted by Al Guyer on
Thanks for your Help. My mistake was calling the wrong config.tcl. I was using /var/lib/aolserver/openacs/et
c/config.tcl from the test environment for the aolserver. It did not, obviously, have any of the dotlrn packages.

Thanks again,

-al