| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <3E963AF7.6060101@belkam.com> |
| Date: | Fri, 11 Apr 2003 08:48:07 +0500 |
| From: | Dmitry Melekhov <dm AT belkam DOT com> |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 |
| X-Accept-Language: | ru, en-us |
| MIME-Version: | 1.0 |
| To: | "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org> |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: Exim, .forward and DBD::Oracle |
| References: | <321323244855 DOT 20030410222844 AT familiehaase DOT de> <3E9538B8 DOT 5010107 AT belkam DOT com> <321323244855 DOT 20030410222844 AT familiehaase DOT de> <3 DOT 0 DOT 5 DOT 32 DOT 20030410233114 DOT 007fcc30 AT incoming DOT verizon DOT net> |
| In-Reply-To: | <3.0.5.32.20030410233114.007fcc30@incoming.verizon.net> |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |