[rt-users] Problems with RT 1.0.2 on Solaris 2.5.1

Grant Miller grant at pico.apple.com
Tue Aug 22 12:01:30 EDT 2000



Hi, I'm having a bit of trouble with getting email sent to Request Tracker
to go into it's queue.


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.


I have a queue called "new" that is setup to accept requests from non-members.
I have things configured so that people can send requests to request-tracker@ 
and it goes to the rt account, which has a .forward in it to run procmail.
The .procmailrc filters out any email generated by system monitoring scripts and
sends those to a queue called "system".  All the other stuff goes to new.

Here's the relevant part of the .procmailrc: 

:0:
* ^.*
|/local/solaris_2.5.1/rt1.0.2/bin/rt-mailgate new correspond


So, here's what I get in the logs from procmail:

procmail: Executing "/local/solaris_2.5.1/rt1.0.2/bin/rt-mailgate,new,correspond"

Mysql->connect failed: Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2) at /local/solaris_2.5.1/rt1.0.2/lib/rt/database.pm line 24

[connectdb] Database connect failed: Can't connect to local MySQL
 server through socket '/tmp/mysql.sock' (2)

Compilation failed in require at 
/local/solaris_2.5.1/rt1.0.2/lib/rt/database/manipulate.pm line 5.

Compilation failed in require at 
/local/solaris_2.5.1/rt1.0.2/bin/rtmux.pl line 64.

procmail: [13806] Tue Aug 22 08:23:01 2000

procmail: Program failure (255) of 
"/local/solaris_2.5.1/rt1.0.2/bin/rt-mailgate"




I have verified that the MySQL permissions are setup properly by running a 
small perl script from the command line and connecting to the local MySQL server
as the user rt, password rtpass, database rt. 



Also 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 :(

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.

But, RT is able to create the request in the database.


I tried changing the Mprog setting in /etc/mail/sendmail.cf to be smrsh 
(the sendmail restricted shell) instead of /bin/sh, but that didn't make a 
difference.



I'm running out of things to try to make this thing work.  Any help would be
greatly appreciated.



-Grant Miller    grant at pico.apple.com  

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







More information about the rt-users mailing list