Forum OpenACS Q&A: Three problems when starting the aolserver

Hello,

excuse my poor English.

I am loosing my mind trying to start the aolserver. I had a problem when I was installing the nspostgres module that now it is solved.

Now I have everything that is needed installed. When I try to start the aolserver, I have the following three errors.

Error: 0-acs-init.tcl: error loading tdom: can't find package tdom

Error: Error sourcing /var/lib/aolserver/service0/packages/acs-tcl/tcl/html-email-procs.tcl:
can't find package mime
while executing
"package require mime"
(file "/var/lib/aolserver/service0/packages/acs-tcl/tcl/html-email-procs.tcl" line 12)
invoked from within
"source $__file "

and

Error: Bootstrap: RDBMS type could not be determined for any pool.

I have the tdom installed in my operating system. I think I have the database well configured in the config.tcl file.

Anyboby can help me?

Thanks in advance.

Collapse
Posted by Dave Bauer on
You need to get the more specific error messages.
There should be a message when loading the nspostgres.so module that will explain more fully.

tdom is probably not in the correct path.

you need tcclib to be installed and available to aolserver also to solve the mime error message.

Collapse
Posted by rosae rosae on
Hello,

I have tcllib installed in the operating system. What is the correct path for tdom?, I installed it and the tcllib from the software manager of the operating system.

I tried to start the server again and now I see more error lines:

[19/Oct/2010:17:35:11][12765.18446744071700371200][-main-] Warning: modload: could not load /usr/local/aolserver/bin/nspostgres.so: libnspostgres.so: cannot open shared object file: No such file or directory
[19/Oct/2010:17:35:11][12765.18446744071700371200][-main-] Error: dbdrv: failed to load driver 'postgres'
[19/Oct/2010:17:35:11][12765.18446744071700371200][-main-] Error: dbinit: no such default pool 'pool1'

This error is very strange because I have installed the nspostgres module.

[19/Oct/2010:17:35:11][12765.18446744071700371200][-main-] Error: 0-acs-init.tcl: error loading tdom: can't find package tdom

This error is strange to because I have tdom installed in the operating system.

[19/Oct/2010:17:35:12][12765.18446744071700371200][-main-] Error: Error sourcing /var/lib/aolserver/service0/packages/acs-tcl/tcl/html-email-procs.tcl:
can't find package mime
while executing
"package require mime"
(file "/var/lib/aolserver/service0/packages/acs-tcl/tcl/html-email-procs.tcl" line 12)
invoked from within
"source $__file "

This error is strange to because I have tcllib installed in the operating system.

Error: Bootstrap: RDBMS type could not be determined for any pool.

I think this error is due to the first one. And I think it will disapear when I solve the first error.

Any ideas?

Thanks in advance

Collapse
Posted by Dave Bauer on
You aolserver config file is not pointing to the correct location for the nspostgres driver

[19/Oct/2010:17:35:11][12765.18446744071700371200][-main-] Warning: modload: could not load /usr/local/aolserver/bin/nspostgres.so: libnspostgres.so: cannot open shared object file: No such file or directory

Make sure you have the correct path in your config file.

Collapse
Posted by rosae rosae on
Hello,

/usr/local/aolserver/bin/nspostgres.so and /usr/local/aolserver/bin/libnspostgres.so exists and are in that location.

I installed the nspostgres module, and those files where created in /usr/local/src/aolserver-4.5.1/nspostgres-4.1, I then copied them in /usr/local/aolserver/bin/

When you speak about the aolserver config file I think you mean the config.tcl file of the openacs, don't you?

I am going crazy trying to start the openacs.

Thanks in advance.