Urgent: please help : Returned mail

Hi there,

I just upgraded to 2.0.9 an now all mail sent to rt returns with the
following error:-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON@[rt_server].nha.co.za]
Sent: Thursday, November 15, 2001 10:22 AM
To: Rehan@nha.co.za
Subject: Returned mail: see transcript for details

The original message was received at Thu, 15 Nov 2001 10:22:21 +0200
from [our mailserver].nha.co.za [196.22.2.30]

----- The following addresses had permanent fatal errors -----
“|/opt/rt2/bin/rt-mailgate --queue support --action correspond”
(reason: 2)
(expanded from: support@iapetus.nha.co.za)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /opt/rt2/etc /opt/rt2/lib
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/opt/rt2/lib/RT/Interface/Email.pm line 105.
BEGIN failed–compilation aborted at /opt/rt2/lib/RT/Interface/Email.pm line
105.
Compilation failed in require at /etc/smrsh/rt-mailgate line 30.
BEGIN failed–compilation aborted at /etc/smrsh/rt-mailgate line 30.
554 5.3.0 “|/opt/rt2/bin/rt-mailgate --queue support --action correspond”…
unknown mailer error 2

As far as @INC goes : config.pm is definately in /opt/rt2/etc

I hope you can help me soon!

Thanks and regards,

Rehan van der Merwe

ATT43337.TXT (374 Bytes)

that looks to me like rt-mailgate has lost its setgid bit.

what does ls -la rt/bin look like?

what was the exact upgrade procedure you used?On Thu, Nov 15, 2001 at 10:35:59AM +0200, Rehan van der Merwe wrote:

Hi there,

I just upgraded to 2.0.9 an now all mail sent to rt returns with the
following error:

-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON@[rt_server].nha.co.za]
Sent: Thursday, November 15, 2001 10:22 AM
To: Rehan@nha.co.za
Subject: Returned mail: see transcript for details

The original message was received at Thu, 15 Nov 2001 10:22:21 +0200
from [our mailserver].nha.co.za [196.22.2.30]

----- The following addresses had permanent fatal errors -----
“|/opt/rt2/bin/rt-mailgate --queue support --action correspond”
(reason: 2)
(expanded from: support@iapetus.nha.co.za)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /opt/rt2/etc /opt/rt2/lib
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/opt/rt2/lib/RT/Interface/Email.pm line 105.
BEGIN failed–compilation aborted at /opt/rt2/lib/RT/Interface/Email.pm line
105.
Compilation failed in require at /etc/smrsh/rt-mailgate line 30.
BEGIN failed–compilation aborted at /etc/smrsh/rt-mailgate line 30.
554 5.3.0 “|/opt/rt2/bin/rt-mailgate --queue support --action correspond”…
unknown mailer error 2

As far as @INC goes : config.pm is definately in /opt/rt2/etc

I hope you can help me soon!

Thanks and regards,

Rehan van der Merwe

From: Rehan van der Merwe Rehan@nha.co.za
To: support@iapetus.nha.co.za
Subject: test
Date: Thu, 15 Nov 2001 10:22:59 +0200
X-Mailer: Internet Mail Service (5.5.2653.19)

test

Rehan van der Merwe
Neil Harvey & Associates (Pty) Ltd
rehan@nha.co.za
Tel: +27 21 6709237
Fax: +27 21 6709337

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Hi Jesse,

Matthew Watson solved the immediate problem - ./rt2/etc/config.pm did not
have the correct read-permissions.

I cant help but think that this is only a symptom and will bite me in the
back again …

Your questions :

ls -la /opt/rt2/bin/

total 100
drwxr-xr-x 2 root rt 4096 Nov 15 11:54 .
drwxr-xr-x 11 root root 4096 Nov 14 22:50 …
-rwxr-sr-x 1 root rt 5137 Nov 14 22:41 mason_handler.fcgi
-rwxr-sr-x 1 root rt 4632 Nov 14 22:41 mason_handler.scgi
-rwxr-sr-x 1 root rt 29778 Nov 14 22:41 rt
-rwxr-sr-x 1 root rt 23939 Nov 14 22:41 rtadmin
-rwxr-sr-x 1 root rt 8723 Nov 14 22:41 rt-mailgate
-rwxr-xr-x 1 root rt 4460 Nov 14 22:41 webmux.pl

The upgrade I used was as follows:
I was on 2.0.7. I first upgraded to 2.0.8 by editing Makefile, running
‘make upgrade’ and editing /opt/rt2/etc/config.pm to contain the values I
had before.
Then I did the exact same procedure for 2.0.9.
2.0.7 was working fine.
I see that the gid of most of RT is now root - is this the problem?

RehanFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Thursday, November 15, 2001 11:44 AM
To: Rehan van der Merwe
Cc: Rt-Users (E-mail)
Subject: Re: [rt-users] Urgent: please help : Returned mail

that looks to me like rt-mailgate has lost its setgid bit.

what does ls -la rt/bin look like?

what was the exact upgrade procedure you used?

Hi there,

I just upgraded to 2.0.9 an now all mail sent to rt returns with the
following error:

-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON@[rt_server].nha.co.za]
Sent: Thursday, November 15, 2001 10:22 AM
To: Rehan@nha.co.za
Subject: Returned mail: see transcript for details

The original message was received at Thu, 15 Nov 2001 10:22:21 +0200
from [our mailserver].nha.co.za [196.22.2.30]

----- The following addresses had permanent fatal errors -----
“|/opt/rt2/bin/rt-mailgate --queue support --action correspond”
(reason: 2)
(expanded from: support@iapetus.nha.co.za)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /opt/rt2/etc /opt/rt2/lib
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/opt/rt2/lib/RT/Interface/Email.pm line 105.
BEGIN failed–compilation aborted at /opt/rt2/lib/RT/Interface/Email.pm
line
105.
Compilation failed in require at /etc/smrsh/rt-mailgate line 30.
BEGIN failed–compilation aborted at /etc/smrsh/rt-mailgate line 30.
554 5.3.0 “|/opt/rt2/bin/rt-mailgate --queue support --action
correspond”…
unknown mailer error 2

As far as @INC goes : config.pm is definately in /opt/rt2/etc

I hope you can help me soon!

Thanks and regards,

Rehan van der Merwe

From: Rehan van der Merwe Rehan@nha.co.za
To: support@iapetus.nha.co.za
Subject: test
Date: Thu, 15 Nov 2001 10:22:59 +0200
X-Mailer: Internet Mail Service (5.5.2653.19)

test

Rehan van der Merwe
Neil Harvey & Associates (Pty) Ltd
rehan@nha.co.za
Tel: +27 21 6709237
Fax: +27 21 6709337

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Hi Jesse,

Matthew Watson solved the immediate problem - ./rt2/etc/config.pm did not
have the correct read-permissions.

The upgrade I used was as follows:
I was on 2.0.7. I first upgraded to 2.0.8 by editing Makefile, running
‘make upgrade’ and editing /opt/rt2/etc/config.pm to contain the values I
had before.
Then I did the exact same procedure for 2.0.9.
2.0.7 was working fine.
I see that the gid of most of RT is now root - is this the problem?

I suspect the problem is that you clobbered the permissions of the config file
by editing it…

Rehan

-----Original Message-----
From: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Thursday, November 15, 2001 11:44 AM
To: Rehan van der Merwe
Cc: Rt-Users (E-mail)
Subject: Re: [rt-users] Urgent: please help : Returned mail

that looks to me like rt-mailgate has lost its setgid bit.

what does ls -la rt/bin look like?

what was the exact upgrade procedure you used?

Hi there,

I just upgraded to 2.0.9 an now all mail sent to rt returns with the
following error:

-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON@[rt_server].nha.co.za]
Sent: Thursday, November 15, 2001 10:22 AM
To: Rehan@nha.co.za
Subject: Returned mail: see transcript for details

The original message was received at Thu, 15 Nov 2001 10:22:21 +0200
from [our mailserver].nha.co.za [196.22.2.30]

----- The following addresses had permanent fatal errors -----
“|/opt/rt2/bin/rt-mailgate --queue support --action correspond”
(reason: 2)
(expanded from: support@iapetus.nha.co.za)

----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /opt/rt2/etc /opt/rt2/lib
/usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
/opt/rt2/lib/RT/Interface/Email.pm line 105.
BEGIN failed–compilation aborted at /opt/rt2/lib/RT/Interface/Email.pm
line
105.
Compilation failed in require at /etc/smrsh/rt-mailgate line 30.
BEGIN failed–compilation aborted at /etc/smrsh/rt-mailgate line 30.
554 5.3.0 “|/opt/rt2/bin/rt-mailgate --queue support --action
correspond”…
unknown mailer error 2

As far as @INC goes : config.pm is definately in /opt/rt2/etc

I hope you can help me soon!

Thanks and regards,

Rehan van der Merwe

From: Rehan van der Merwe Rehan@nha.co.za
To: support@iapetus.nha.co.za
Subject: test
Date: Thu, 15 Nov 2001 10:22:59 +0200
X-Mailer: Internet Mail Service (5.5.2653.19)

test

Rehan van der Merwe
Neil Harvey & Associates (Pty) Ltd
rehan@nha.co.za
Tel: +27 21 6709237
Fax: +27 21 6709337


http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.