This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exim, .forward and DBD::Oracle


Hello!

Pierre A. Humblet wrote:
At 08:19 AM 4/11/2003 +0500, Dmitry Melekhov wrote:

Gerrit P. Haase wrote:

Hallo Dmitry,



I need to process mail in perl script.
I installed DBD::Oracle and it works fine.
I installed Exim and start it as service from SYSTEM account.


But I have following problem in perl script when I call it from e-mail:


DynaLoader::bootstrap for DBI (auto/DBI/DBI.dll)
DynaLoader::bootstrap for DBD::Oracle (auto/DBD/Oracle/Oracle.dll)
install_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/auto/DBD/Oracle/Oracle

.dll'


for module DBD::Oracle: dlopen: Win32 error 126 at


Is Exim's PATH correct? Can you print it from the script?

Shure. It is only /usr/bin. But I set my own enviroment with $ENV{PATH}=... with PATH /cygdrive/c/oracle/ora81/bin included.

Do I need to set enviroment for exim?

When does exim call this during mail processing?

Hmm. Exim calls this script because there is following string in .forward for user: |/home/tabel/test.pl

Is it from a .forward file (guess from the Subject: line)

Yes. And it runs from user tabel, not from SYSTEM (exim runs from SYSTEM), as I see in task manager.

Is there an error message in the exim log?
Yes.

2003-04-11 08:18:09 HD5T67-0002I4-N0 ** |"/home/tabel/test.pl" <tabel at center dot bel
kam.com> R=userforward T=address_pipe: Child process of address_pipe transport r
eturned 255 (could mean shell command ended by signal 127 (NULL)) from command:
/home/tabel/test.pl






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]