Forum .LRN Q&A: Re: Upgrade OpenACS Debian 3.1 32 bits

Collapse
Posted by Érico Guimarães on
Gustaf,
Let me first thank you for you prompt reply. I intend not to take much of your precious time to be too long in detailing but I just can not avoid quoting some

Basically, I have the following scenario deployed on two VMs: one for the SGBD with Postgresql 8.1, SO Debian i686; the other, Debian 3.1, i386 with compiled versions of aolserver40r10 and ./configured accordingly the packages under /var/lib/aolserver/myapplication/... which reads as follow: dotlrn 2.1.3, tcl8.4, OpenACS 5.2.0b5. Also thread2.6.1, xotcl-core-0.38.apm, tcl8.4.

The application runs smoothly with no major problem but the old SO, no longer supported by Debian and, hence, by VMware, under which environment all other services have been deployed lately.

So, to begin my migration tests, what I did is to create a brand new system under Debian AMD64bits, using, basically apt-get, in order to get advantages of this tool and saving time and issues regarding packages compilation.

Thus, I have apt-gotten (sorry for this neologism) openacs, dotlrn and Postgresql. I suceeded in running aolserver and dotlrn on port 8080.

Once my test environment was ready, I backed up my deployed env into this new one. I succeeded in restore database of my application. When I ran from command line:

usr/local/aolserver/bin/nsd -it var/lib/aolserver/mydotlrn/etc/config.tcl -u ditec -g web -b 0.0.0.0 &, I get from error.log:

[02/Apr/2013:14:12:43][1566.1717888768][-nssock:driver-] Notice: starting
[02/Apr/2013:14:12:43][1566.1717888768][-nssock:driver-] Error: nssock: failed to listen on 0.0.0.0:80: Permission denied
[02/Apr/2013:14:12:43][1566.1842616064][-main-] Fatal: could not start drivers

and lots of

Error sourcing /var/lib/aolserver/mydotlrn/packages/acs-content-repository/tcl/acs-content-repository-init.tcl:
invalid command name "template::filter"
while executing
"template::filter add content::init"
(file "/var/lib/aolserver/mydotlrn/packages/acs-content-repository/tcl/acs-content-repository-init.tcl" line 1)
invoked from within
"source $__file "

The permission on the directory reads as follows:

root@coptecvirtual:/var/lib/aolserver# ls -la
total 12
drwxrwx--- 3 ehenrique web 4096 Mar 27 15:23 .
drwxr-xr-x 4 ehenrique ehenrique 4096 Mar 21 20:41 ..
drwxrwxr-x 16 ditec web 4096 Mar 21 20:41 mydotlrn
root@coptecvirtual:/var/lib/aolserver#

I could post all my erro.log here but only if you think fit.

Regards.