Fatal error laoding aolserver4-nssha1

Bug #1183157 reported by Iuri Sampaio
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
aolserver4-nssha1 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

Revision history for this message
Mochamad Ramadhan Sjamsani (ramadhan-sjamsani) wrote :

I have the same problem during project-open instalation, and they suggest to download latest deb and unpack it. But it break our apt repository though. Then I found workaround on the net by using libnssha1.so instead. I just backup my nssha1.so, then create symlink bin/nssha1 that linked to lib/libnssha1.so. All the odds, everything just fine.

I'm not suggesting to do it on production machine, although I put this on our production and working just fine.

Regards,

Ramadhan Sjamsani

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in aolserver4-nssha1 (Ubuntu):
status: New → Confirmed
Revision history for this message
Roel Brook (rainmaker52) wrote :

According to https://groups.google.com/forum/#!topic/aolserver/TdqqT_CHddY, the package needs to be compiled with --no-as-needed in the CFLAGS...

Revision history for this message
Gustaf Neumann (neumann-3) wrote :

Everybody facing this problem can fix this temporarily without waiting until the fix is played back into the ubuntu channels. Get the debian sources, add the flag yourself, repackage and install the debian package. For details, see here: http://openacs.org/forums/message-view?message_id=4074442

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.