Invalid command 'RedmineDSN' on RHEL5 install from source
Added by Marty Vowles about 12 years ago
Hi All,
I hope someone can help on this error:
Invalid command 'RedmineDSN', perhaps misspelled or defined by a module not included in the server configuration
I'm attempting to set up Redmine and SVN using LDAP for authentication on a server for which I don't have administrative privilege. I have folders where I've installed Redmine, Ruby and Perl from source and I've installed all of the modules I think I need for everything. I've seen advice that the preceding error occurs when a symlink is missing, but I have Redmine.pm in the following locations:
/apps/perl/Net-Redmine-0.09/blib/lib/Net/Redmine.pm
/apps/perl/Net-Redmine-0.09/lib/Net/Redmine.pm
/apps/perl/lib/site_perl/5.16.0/Net/Redmine.pm
/apps/perl/lib/site_perl/5.16.0/x86_64-linux-thread-multi/Apache/Redmine.pm
/apps/perl/lib/site_perl/5.16.0/x86_64-linux-thread-multi/Apache2/Redmine.pm
/apps/perl/lib/site_perl/5.16.0/x86_64-linux-thread-multi/auto/Apache2/Redmine.pm
My configuration is like this:
Redmine version 2.0.2.stable
Ruby version 1.9.3 (x86_64-linux)
Perl version 5.16.0 (x86_64)
Rails version 3.2.5
Environment production
Database adapter Mysql2
Any ideas? Any info I can provide?
Replies (1)
RE: Invalid command 'RedmineDSN' on RHEL5 install from source
-
Added by Marty Vowles about 12 years ago
For posterity, the issue is that when creating the symlinks in the Perl lib I linked to:
/apps/perl/Net-Redmine-0.09/lib/Net/Redmine.pm
Rather that to the Redmine.pm in my Redmine install folder. Stupid mistake, abusing 'locate' like that. I should have realized that there might be more than one flavor of Redmine.pm