[rt-devel] Installing problems 1.3.30

robert rotman rotman at inode.at
Sat Jan 6 00:43:22 EST 2001


hello ivan,

the result is that apache starts now but when i try to send a mail, in the
/tmp/log... its written:
--<snip>--
Queue set to support
Action set to correspond
Creating attachement temp dir
Now reading the message from stdin
No password set at /usr/local/rt2/lib/RT/Interface/Email.pm line 469,
<STDIN> chunk 13.
--<snip>--

the mailer says:
--<snip>--
Child process returned 255 (could mean shell command
ended by signal 127 (unrecognized signal number)) from command:
/usr/local/rt2/bin/rt-mailgate
--<snip>--

How can I test the rt-mailgate without the mailer?
When i put a message with header's to stdin it says:
--<snip>--
Couldn't parse From-address at /usr/local/rt2/lib/RT/Interface/Email.pm
line 430, <STDIN> chunk 1.
--<snip>--
how must the header look like?



perl -V says:

Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=linux, osvers=2.0.35, archname=i586-linux
    uname='linux darkstar 2.0.35 #10 tue oct 13 18:04:13 cdt 1998 i586
unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.7.2.3
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /shlib /lib /usr/lib
    libs=-lndbm -lgdbm -ldbm -ldb -ldl -lm -lc
    libc=/lib/libc.so.5.4.46, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Oct 18 1998 04:26:35
  @INC:
    /usr/lib/perl5/5.00502/i586-linux
    /usr/lib/perl5/5.00502
    /usr/lib/perl5/site_perl/5.005/i586-linux
    /usr/lib/perl5/site_perl/5.005




Robert


On Fri, 5 Jan 2001, ivan wrote:

> robert:
> 
> try replacing the line 
> 
>   $obj->$method
> 
> with
> 
>   $obj->$method();
> 
> and tell us what the result is.  also, please tell us the output of
> perl -V
> 
> thanks!
> 
> On Fri, Jan 05, 2001 at 01:36:52PM -0500, Jesse wrote:
> > 
> > Ack, I'm sorry about that.  Don't worry about commenting out that code. it's
> > dev code that isn't in use by _anything_ yet.  I wonder why my perl passed
> > it as ok.... What rev of perl are you running?
> > 
> >         -j
> > 
> > On Fri, Jan 05, 2001 at 06:36:51PM +0100, robert rotman wrote:
> > > 
> > > Hello,
> > > 
> > > When i try to start apache i get:
> > > 
> > > syntax error at /usr/local/rt2/lib/RT/Tickets.pm line 1284, near
> > > "$method;"
> > > BEGIN failed--compilation aborted at /usr/local/rt2/lib/RT/Ticket.pm line
> > > 1344.
> > > ....
> > > 
> > > when i commend-out (the --->) :
> > > 
> > >         /^(.*?)date(.*)$/i && do {
> > >             my $o = $1;
> > >             my $m = $2;
> > >             my ($obj);
> > >             #TODO: optimize
> > >             $obj = $Ticket->DueObj         if $o =~ /due/i;
> > >             $obj = $Ticket->CreatedObj     if $o =~ /created/i;
> > >             $obj = $Ticket->StartsObj      if $o =~ /starts/i;
> > >             $obj = $Ticket->StartedObj     if $o =~ /started/i;
> > >             $obj = $Ticket->ToldObj        if $o =~ /told/i;
> > >             $obj = $Ticket->LastUpdatedObj if $o =~ /lastu/i;
> > > 
> > >             $method = 'ISO' if $m =~ /iso/i;
> > > 
> > >             $method = 'AsString' if $m =~ /asstring/i;
> > >             $method = 'AgeAsString' if $m =~ /age/i;
> > >             last SWITCH;
> > > --->         # $obj->$method
> > > 
> > >         };
> > > 
> > > apache starts but the rt-mailgate returns an error.
> > > 
> > > 
> > > 
> > > any suggestions?
> > > 
> > > 
> > >    robert
> > > 
> > > 
> > > _______________________________________________
> > > Rt-devel mailing list
> > > Rt-devel at lists.fsck.com
> > > http://lists.fsck.com/mailman/listinfo/rt-devel
> > > 
> > 
> > -- 
> > jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
> > 70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
> > 
> > "That package looks like what I wanted, but the site was down today, 
> >    so I decided to reimplement it in Perl."
> > 							-me
> > 
> > _______________________________________________
> > Rt-devel mailing list
> > Rt-devel at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-devel
> 
> -- 
> meow
> _ivan
> 

---
di. robert rotman                                   inode.graz
phone -> ++43-(0)316 813141       ++43-(0)316 818600/15 <- fax
rotman at inode.at                      http://www.graz.inode.at/
--
while (!sleep) { $sheep++ }






More information about the Rt-devel mailing list