Can't create requests via web interface


#1

When I attempt to create a new request through the web interface, it bombs
out and the following shows up in the Apache error_log:

Could not send mail :frowning:

Tried to launch this command: /usr/lib/sendmail -t
[Tue Aug 22 08:39:24 2000] [error] [client 17.205.32.182] Premature end of
script headers: /local/solaris_2.5.1/rt1.0.2/bin/cgi/webrt.cgi

Yes, /usr/lib/sendmail does exist.

I’m running Request Tracker 1.0.2 on a Sun Ultra 5:
(SunOS www-ecs 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-5_10)

I’m using MySQL 3.22.32 (precompiled for Solaris 2.5.1), Perl 5.6.0,
sendmail 8.9.3, and apache 1.3.12. MySQL is running locally on the system.

Any help on this would be appreciated.

-Grant Miller grant@pico.apple.com

Unix Systems Admin, Engineering Compute Services
unix-support@pico.apple.com, http://www-ecs.apple.com


#2

When I attempt to create a new request through the web interface, it bombs
out and the following shows up in the Apache error_log:

Could not send mail :frowning:

Tried to launch this command: /usr/lib/sendmail -t
[Tue Aug 22 08:39:24 2000] [error] [client 17.205.32.182] Premature end of
script headers: /local/solaris_2.5.1/rt1.0.2/bin/cgi/webrt.cgi

Yes, /usr/lib/sendmail does exist.

Okay, I found something that may be the cause of the problem:

root@www-ecs:~ #230> ls -l /usr/lib/sendmail
-r-sr-xr-x 1 root sys 393284 Jun 12 1999 /usr/lib/sendmail

Is there a way around this setuid-root sendmail thing with Request Tracker?

-Grant Miller grant@pico.apple.com

Unix Systems Admin, Engineering Compute Services
unix-support@pico.apple.com, http://www-ecs.apple.com


#3

I don’t know whether a wrapper script would help or not. or maybe a nonsetuid
copy of the sendmail binary…

What version of sendmail is it?On Thu, Aug 24, 2000 at 03:22:18PM -0700, Grant Miller wrote:

On Thu, Aug 24, 2000 at 03:00:41PM -0700, Grant Miller wrote:

When I attempt to create a new request through the web interface, it bombs
out and the following shows up in the Apache error_log:

Could not send mail :frowning:

Tried to launch this command: /usr/lib/sendmail -t
[Tue Aug 22 08:39:24 2000] [error] [client 17.205.32.182] Premature end of
script headers: /local/solaris_2.5.1/rt1.0.2/bin/cgi/webrt.cgi

Yes, /usr/lib/sendmail does exist.

Okay, I found something that may be the cause of the problem:

root@www-ecs:~ #230> ls -l /usr/lib/sendmail
-r-sr-xr-x 1 root sys 393284 Jun 12 1999 /usr/lib/sendmail

Is there a way around this setuid-root sendmail thing with Request Tracker?

-Grant Miller grant@pico.apple.com

Unix Systems Admin, Engineering Compute Services
unix-support@pico.apple.com, http://www-ecs.apple.com


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

jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
"If IBM wanted to make clones, we could make them cheaper and faster than
anyone else!" - An IBM Rep. visiting Vassar College’s Comp Sci Department.


#4

Hi all,

I’ve setup RT and it’s working great. However I need to configure it to
use masquerading/domain mapping with sendmail’s genericstable
feature. This is setup with entries of

request request@hostB.my.com
ops ops@hostB.my.com

The outbound user and domain mapping works for local mail programs which
specify the SMTP as localhost. However if it uses an upstream SMTP server
then this mapping doesn’t take place. I think this is what RT is doing.
It’s sending mail through smtp.my.com rather than through localhost. Is
there a option that I can set in the makefile/config to get RT to use SMTP
on localhost?

Thanks

Paul


#5

Hi all,

Another quick question:

Say I want to be able to move the rt database in mysql to a new
installtion of mysql, is there a simple way to do this? It’ll stay on the
same machine, just a new directory structure.

Also for backup purposes do I just need to backup the various files
in /var/ ?

Thanks

Paul


#6

mysqldump will dump the database then mysqlimport can be used to put it into
the new one.

I’ve never done a dump with mysql, RT is the only software I use that requires
mysql, usually I use postgres. I imagine it’s fairly clean. run the commands
for the full list of options.

-Feargal.
Feargal Reilly,
Systems Administrator,
The CIA.
+353-86-8157621

Have a look at the