
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody, I tried to install OTRS under Apache2 and mod_perl2 using the web server configuration provided in README.webserver. Customer is using Solaris and PostgreSql. However, I couldn't start Apache2. The perl startup.pl script contains (as shown above README.webserver file) the line: Apache::DBI Error message: can't load Apache.pm which belongs to Apache - not Apache2. So, if there is somebody out there using otrs with Apache2 and mod_perl2 I'd love to hear how I need to configure the system. Regards, Bernd - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bplagge@choicenet.ne.jp - url: http://www.choicenet.ne.jp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkq8hWEACgkQpYU8M8PbPV5qcwCgy9humBgIawQT4TJsf62HLQ6F NE0AnRU3UC1bdlW0Rpwp6kSTr6YagKee =SUDj -----END PGP SIGNATURE-----

Hi Bernd, On 25.09.2009, at 10:54, Bernd Plagge wrote:
I tried to install OTRS under Apache2 and mod_perl2 using the web server configuration provided in README.webserver. Customer is using Solaris and PostgreSql.
However, I couldn't start Apache2. The perl startup.pl script contains (as shown above README.webserver file) the line: Apache::DBI
Error message: can't load Apache.pm which belongs to Apache - not Apache2.
So, if there is somebody out there using otrs with Apache2 and mod_perl2 I'd love to hear how I need to configure the system.
Apache::DBI is an extension for perl DBI to use pre established database connections. It's optional, you do not need to use it. But if you use it, it's faster. :) Apache::DBI is working with mod_perl1 and also with mod_perl2 (see also http://search.cpan.org/~pgollucci/Apache-DBI-1.07/lib/Apache/DBI.pm ). Your error message seems to be something else. o Can you verify is Apache::DBI is installed on your machine? o Make sure, that you are using "scripts/apache2-httpd- new.include.conf" (not scripts/apache2-httpd.include.conf) I hope this info will help you to get it working. -Martin

I ran into this problem when I upgraded from ver 1.x many years ago. Resolved by going to apache... Sorry don't remember the specifics, but it was a 5 min correction. LQ Marshall lqmarshall@iNetSpace.net (o) 919.866.3195 (m) 919.796.3949 - Sent from my Mobile device

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 27 Sep 2009 14:14:10 +0200
Martin Edenhofer
Hi Bernd,
On 25.09.2009, at 10:54, Bernd Plagge wrote:
I tried to install OTRS under Apache2 and mod_perl2 using the web server configuration provided in README.webserver. Customer is using Solaris and PostgreSql.
However, I couldn't start Apache2. The perl startup.pl script contains (as shown above README.webserver file) the line: Apache::DBI
Error message: can't load Apache.pm which belongs to Apache - not Apache2.
So, if there is somebody out there using otrs with Apache2 and mod_perl2 I'd love to hear how I need to configure the system.
Apache::DBI is an extension for perl DBI to use pre established database connections. It's optional, you do not need to use it.
But if you use it, it's faster. :) Apache::DBI is working with mod_perl1 and also with mod_perl2 (see also http://search.cpan.org/~pgollucci/Apache-DBI-1.07/lib/Apache/DBI.pm ).
Your error message seems to be something else.
o Can you verify is Apache::DBI is installed on your machine?
o Make sure, that you are using "scripts/apache2-httpd- new.include.conf" (not scripts/apache2-httpd.include.conf)
I hope this info will help you to get it working.
-Martin --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
Martin, so, you're saying if I deleted the line Apache::DBI from the startup.pl file it should still be working? I did read some comments saying that the DBI module works with Apache and Apache2 but other people reported that during initialization the module is checking for Apache.pm (and dies if the module can't be found). It is because of such conflicting information that I wanted to know if somebody is really running OTRS in with mod_perl2 and Apache2. Regards, Bernd - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkrBQrUACgkQpYU8M8PbPV4x8ACaA/kuZcE7Rits1UWaSeyMQ/E0 9qgAoKOJX2Lzt0YfFAC48J572x4x8eUZ =V14h -----END PGP SIGNATURE-----

Actually, I think it is the most common combination, to use Apache2 and
mod_perl2.
For Apache::DBI, you can edit otrs/scripts/apache2-perl-startup.pl
There is a line that says:
use Apache::DBI ();
you should here also enter your database credentials if you want to use
Apache::DBI, if you don't want to do so, please comment out both lines.
HTH,
Michiel.
2009/9/29 Bernd Plagge
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 27 Sep 2009 14:14:10 +0200 Martin Edenhofer
wrote: Hi Bernd,
On 25.09.2009, at 10:54, Bernd Plagge wrote:
I tried to install OTRS under Apache2 and mod_perl2 using the web server configuration provided in README.webserver. Customer is using Solaris and PostgreSql.
However, I couldn't start Apache2. The perl startup.pl script contains (as shown above README.webserver file) the line: Apache::DBI
Error message: can't load Apache.pm which belongs to Apache - not Apache2.
So, if there is somebody out there using otrs with Apache2 and mod_perl2 I'd love to hear how I need to configure the system.
Apache::DBI is an extension for perl DBI to use pre established database connections. It's optional, you do not need to use it.
But if you use it, it's faster. :) Apache::DBI is working with mod_perl1 and also with mod_perl2 (see also http://search.cpan.org/~pgollucci/Apache-DBI-1.07/lib/Apache/DBI.pmhttp://search.cpan.org/%7Epgollucci/Apache-DBI-1.07/lib/Apache/DBI.pm ).
Your error message seems to be something else.
o Can you verify is Apache::DBI is installed on your machine?
o Make sure, that you are using "scripts/apache2-httpd- new.include.conf" (not scripts/apache2-httpd.include.conf)
I hope this info will help you to get it working.
-Martin --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
Martin,
so, you're saying if I deleted the line Apache::DBI from the startup.pl file it should still be working?
I did read some comments saying that the DBI module works with Apache and Apache2 but other people reported that during initialization the module is checking for Apache.pm (and dies if the module can't be found). It is because of such conflicting information that I wanted to know if somebody is really running OTRS in with mod_perl2 and Apache2.
Regards, Bernd
- -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkrBQrUACgkQpYU8M8PbPV4x8ACaA/kuZcE7Rits1UWaSeyMQ/E0 9qgAoKOJX2Lzt0YfFAC48J572x4x8eUZ =V14h -----END PGP SIGNATURE----- --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks Michiel,
I'll try this.
Regards,
Bernd
On Tue, 29 Sep 2009 08:29:04 +0200
Michiel Beijen
Actually, I think it is the most common combination, to use Apache2 and mod_perl2. For Apache::DBI, you can edit otrs/scripts/apache2-perl-startup.pl
There is a line that says: use Apache::DBI ();
you should here also enter your database credentials if you want to use Apache::DBI, if you don't want to do so, please comment out both lines.
HTH,
Michiel.
2009/9/29 Bernd Plagge
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 27 Sep 2009 14:14:10 +0200 Martin Edenhofer
wrote: Hi Bernd,
On 25.09.2009, at 10:54, Bernd Plagge wrote:
I tried to install OTRS under Apache2 and mod_perl2 using the web server configuration provided in README.webserver. Customer is using Solaris and PostgreSql.
However, I couldn't start Apache2. The perl startup.pl script contains (as shown above README.webserver file) the line: Apache::DBI
Error message: can't load Apache.pm which belongs to Apache - not Apache2.
So, if there is somebody out there using otrs with Apache2 and mod_perl2 I'd love to hear how I need to configure the system.
Apache::DBI is an extension for perl DBI to use pre established database connections. It's optional, you do not need to use it.
But if you use it, it's faster. :) Apache::DBI is working with mod_perl1 and also with mod_perl2 (see also http://search.cpan.org/~pgollucci/Apache-DBI-1.07/lib/Apache/DBI.pmhttp://search.cpan.org/%7Epgollucci/Apache-DBI-1.07/lib/Apache/DBI.pm ).
Your error message seems to be something else.
o Can you verify is Apache::DBI is installed on your machine?
o Make sure, that you are using "scripts/apache2-httpd- new.include.conf" (not scripts/apache2-httpd.include.conf)
I hope this info will help you to get it working.
-Martin --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
Martin,
so, you're saying if I deleted the line Apache::DBI from the startup.pl file it should still be working?
I did read some comments saying that the DBI module works with Apache and Apache2 but other people reported that during initialization the module is checking for Apache.pm (and dies if the module can't be found). It is because of such conflicting information that I wanted to know if somebody is really running OTRS in with mod_perl2 and Apache2.
Regards, Bernd
- -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkrBQrUACgkQpYU8M8PbPV4x8ACaA/kuZcE7Rits1UWaSeyMQ/E0 9qgAoKOJX2Lzt0YfFAC48J572x4x8eUZ =V14h -----END PGP SIGNATURE----- --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
- -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bplagge@choicenet.ne.jp - url: http://www.choicenet.ne.jp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkrBrF8ACgkQpYU8M8PbPV4qXQCfesJjJ3nVNe5YEyWuGZ9WO4a3 AW0AnAvSVf+phlytoftrTmkbswsphPSA =aZVM -----END PGP SIGNATURE-----
participants (4)
-
Bernd Plagge
-
LQ Marshall
-
Martin Edenhofer
-
Michiel Beijen