Redmine.pm on Ubuntu 8.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0)
Added by Stan Carney almost 16 years ago
I'm having issues creating an SVN branch on when using Redmine.pm. I can commit and checkout just fine but when I try to do an svn cp command I'm met with the dreaded 'Could not read status line: Secure connection truncated' on the client side and 'Usage: DynaLoader::dl_load_file(filename, flags=0)' in the apache error logs.
If I comment out the references to Redmine.pm and the other Perl directives I can branch just fine. I appear to be the only one running into this issue though. It is weird how authentication for commits works but not for copying....
I realize this issue might not even be related to redmine and most likely it has something to do with Ubuntu or Perl but if anybody can help me out that would be great.
I also can't seem to get the about/info script working. I'm using the trunk of redmine currently at 2480.
Thanks,
Stan
Replies (8)
RE: Redmine.pm on Ubuntu 8.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Stan Carney almost 16 years ago
Awesome.
So I downgraded (reinstalled) to Ubuntu 8.04 thinking it was related to Ubuntu 8.10. Now when I try to branch I get
Could not read status line: Secure connection truncated
from the svn cp command and
Fri Feb 20 02:49:47 2009] [notice] child pid 20079 exit signal Segmentation fault (11)
from Apache if I try to branch with Redmine.pm setup.
Here is the block from my apache config file:
PerlLoadModule Apache::Authn::Redmine <Location /svn> DAV svn SVNParentPath /var/svn AuthType Basic Authname "Redmine Project Tracking" Require valid-user PerlAccessHandler Apache::Authn::Redmine::access_handler PerlAuthenHandler Apache::Authn::Redmine::authen_handler RedmineDSN DBI:Pg:dbname=redmine;host=localhost RedmineDbUser redmine RedmineDbPass redmine </Location>
If I change the file to this and reload apache the svn cp command works.
# PerlLoadModule Apache::Authn::Redmine <Location /svn> DAV svn SVNParentPath /var/svn # AuthType Basic # Authname "Redmine Project Tracking" # Require valid-user # PerlAccessHandler Apache::Authn::Redmine::access_handler # PerlAuthenHandler Apache::Authn::Redmine::authen_handler # RedmineDSN DBI:Pg:dbname=redmine;host=localhost # RedmineDbUser redmine # RedmineDbPass redmine </Location>
Thanks,
Stan
RE: Redmine.pm on Ubuntu 8.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Stan Carney almost 16 years ago
K, so when I downgraded to Ubuntu 8.04 and received the 'exit signal Segmentation fault (11)' error message I should have researched the site.
http://www.redmine.org/boards/2/topics/show/2479 and http://www.redmine.org/boards/1/topics/show/3583 both reference similar things. The way the Redmine.pm perl module is being used is incompatabile with Apache setup as an mpm-worker.
To fix the problem on Ubuntu 8.04 I just did a:
sudo apt-get install apache2-mpm-worker sudo /etc/init.d/apache2 restart
and all was well. I didn't retry it on Ubuntu 8.10 to see if it fixed the issue there.
RE: Redmine.pm on Ubuntu 8.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Daniel Nauck over 15 years ago
The Problem is also reported in issue #3727
RE: Redmine.pm on Ubuntu 9.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Harald Klimach almost 15 years ago
Got exactly the same issue with Ubuntu 9.10 and the Redmine 0.9 release candidate (http://rubyforge.org/frs/download.php/68515/redmine-0.9.0.tar.gz), apache2-mpm-worker is installed, but the issue persists.
Is there any solution for this besides disabling the authentication over Redmine.pm?
RE: Redmine.pm on Ubuntu 9.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Harald Klimach almost 15 years ago
apache2-mpm-worker is installed
OK, that's the point. Redmine.pm is not threadsafe and needs to run with the prefork apache.
Just as pointed out in http://www.redmine.org/boards/2/topics/2479#message-2488
RE: Redmine.pm on Ubuntu 8.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Harald Klimach almost 15 years ago
Maybe this is also related to http://www.redmine.org/boards/1/topics/9610, there is also a patch proposed.
RE: Redmine.pm on Ubuntu 8.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Terence Mill almost 14 years ago
This patch only reduces the problems, but doesn't make them go away.
We have major issues (segmentation faults) because of redmine.pm is not thread safe. Please help!
We use advanced subversion integration and having svn and redmine on same server.
RE: Redmine.pm on Ubuntu 8.10 causing Apache to error out with Usage: DynaLoader::dl_load_file(filename, flags=0) - Added by Julien CLERC over 13 years ago
On windows this problem is the same. I can't change the mpm because winnt is the only one possible. It's threaded and i seek a robust solution. Sometimes perl dll crash because of redmine.pm and connection is reset on redmine by apache when we try to see repository. When i disable authentification by redmine.pm in apache conf there is no problem but we lose privacy :p
Which modification we must make on redmine.pm to solve that ?