Hi,
So far I resolved the issues. I made a few work around that I believe
it's worthwhile sharing here:
As previous emails I got errors with aolserver4-core,
aolserver4-nspostgres, aolserver4-nssha1 and libthread2.7.0
To fix errors of aolserver4* I did the following:
1. I installed them using ubuntu 12.04 precise pangolin offical repos.
apt-get install aolserver4-core aolserver4-nssha1 aolserver-nspostgres
2. Once them installed, I downloaded .deb pkgs from an older version and
placed them within /usr/local/src/ for instance.
Not that old versions. I didn't want to miss too much of new code from
possible new releases that would have come with ubuntu precise.
I haven't checked if their packages were update from lucid to precise.
I'm hoping they weren't.
http://packages.ubuntu.com/lucid/web/aolserver4-core
<http://packages.ubuntu.com/lucid/amd64/aolserver4-core/download>
http://packages.ubuntu.com/lucid/web/aolserver4-nspostgres
http://packages.ubuntu.com/lucid/web/aolserver4-nssha1
<http://packages.ubuntu.com/lucid/web/aolserver4-nspostgres>
3. Then I extracted their files by running dpkg -x <packagename.deb> and
copied *.so libs over their respective at /usr/lib/aolserver4/bin and
/usr/lib/aolserver4/lib. (*** I replaced their libs with *.so old
versions.)
4. Then I copied the whole directory /usr/share/aolserver4 I have in
another machine and created the symbolic link within
/usr/lib/aolserver4/include to /usr/share/aolserver4/include
5. After all that, I was able to compile and install tcl libthread2.6.5.
6. And Aolserver4.5 loaded up with no errors at error.log.
http://experiences.planetnatopia.com
7. Then I gave a deep last breath and told to myself: "What a mess!"
Best wishes,
Iuri Sampaio
On 05/22/2013 10:09 PM, Iuri Sampaio wrote:
Gustaf,
The situation is even worst.
I went further in the analyzing aolserver4-* packages. So far, I found
problems on aolserver4-nspostgres and aolserver4-core.
aolserver4-core installation via apt-get doesn't create required
folder and files
/usr/share/aolserver4/
/usr/share/aolserver4/ns.mak
/usr/share/aolserver4/nsmakeall.tcl
/usr/share/aolserver4/nsremove.tcl
/usr/share/aolserver4/debian.substvars
/usr/share/aolserver4/Makefile.module
/usr/share/aolserver4/include/
/usr/share/aolserver4/include/nsdb.h
/usr/share/aolserver4/include/nsattributes.h
/usr/share/aolserver4/include/nspd.h
/usr/share/aolserver4/include/nsthread.h
/usr/share/aolserver4/include/nsextmsg.h
/usr/share/aolserver4/include/ns.h
/usr/share/aolserver4/Makefile.global
/usr/share/aolserver4/nsinstall.tcl
Furthermore, aolserver4-nspostgres has error when booting up
aolserver. Similar to what happened to aolserver4-nssha1. There are
errors within nspostgres.so. I believe it wasn't properly compiled to
a .deb pkg as well
8:15:44][31887.18446744073291147008][-main-] Notice: modload: loading
'/usr/lib/aolserver4/bin/nspostgres.so'
[22/May/2013:18:15:44][31887.18446744073291147008][-main-] Warning:
modload: could not find Ns_DbDriverInit in
/usr/lib/aolserver4/bin/nspostgres.so
[22/May/2013:18:15:44][31887.18446744073291147008][-main-] Error:
dbdrv: failed to load driver 'postgres'
[22/May/2013:18:15:44][31887.18446744073291147008][-main-] Error:
dbinit: no such default pool 'pool1'
[
The best is whether to stick with the painful installation from
source or be under old debian versions
Best wishes,
On 05/19/2013 10:37 PM, Iuri Sampaio wrote:
Hi there,
In attempt to install OpenACS from scratch on ubuntu precise 12.04 I
got the following error on aolserver4-nssha1. "could not find
Ns_ModuleInit"
When I start up aolserver service I get a warning then a fatal error
as decribed bellow:
[19/May/2013:19:27:15][18052.714974976][-main-] Notice: modload:
loading '/usr/lib/aolserver4/bin/nssha1.so'
[19/May/2013:19:27:15][18052.714974976][-main-] Warning: modload:
could not find Ns_ModuleInit in /usr/lib/aolserver4/bin/nssha1.so
[19/May/2013:19:27:15][18052.714974976][-main-] Fatal: modload:
failed to load module '/usr/lib/aolserver4/bin/nssha1.so'
I verified that both files are correctly in place
/usr/lib/aolserver4/bin/nssha1.so
/usr/lib/aolserver4/lib/libnssha1.so
Furthermore, I installed aolserver packages via apt-get
I believe the package available on ubuntu repository was compiled
without Ns_ModuleInit block.
Although, I'm reluctant to believe so I removed nssha1 and installed
again fro tarball and the problem was solved.
Does anyone have any idea what it could be?
or if my assumption is valid?
Best wishes,
Iuri
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk