Forum OpenACS Q&A: aolserver 4 + OpenACS on Solaris

hi!

Has anyone managed to get openacs + aolserver4 running on solaris. I am stuck with different kinds of errors all related to either getting a db handle or releasing one...

here is one error message:

[21/May/2003:13:09:18][16517.1][-main-] Error: Server startup failed: Error duri
ng bootstrapping
invalid database id:  "db"
    while executing
"ns_db releasehandle $db"
    (procedure "db_release_unused_handles" line 18)
    invoked from within
"db_release_unused_handles"
    (procedure "apm_load_libraries" line 34)
    invoked from within
"apm_load_libraries -force_reload=$force_reload_p -packages $packages -test_init
"
    (procedure "apm_load_packages" line 32)
    invoked from within
"apm_load_packages"

I am working with 4.6.3, but I suspect this to be some aolserver issue. any ideas?

Thanks!

/Mohan

Collapse
Posted by Don Baccus on
AOLserver 4 requires you to load nsdb explicitly, have you done that?
Collapse
Posted by Mohan Pakkurti on
Yes Don!

I have included nsdb in the service.tcl file. Found a thread on aolserver mailinglist but am not sure how relevant it is...
Subject: Re: [AOLSERVER] Database handles not being released in 4.0

/Mohan

Collapse
Posted by Andrew Piskorski on
I don't know if it matters in this case, but are you using the latest Tcl 8.4.3 that fixes the Tcl 8.4 thread-safety bug?
Collapse
Posted by Andrew Piskorski on
Tammy M. pointed out (on the AOLserver list) that this might be due or related to the ns_eval problem Vinod found (which hasn't been fixed yet). People were reporting similar 'invalid database id: "nsdb0"' errors there...
Collapse
Posted by Mohan Pakkurti on
Thank you!

I got this working now, using the Tcl 8.4.3 and Vinod's patch. Thanks for the help :)

/Mohan