Sendmail problem & Resin not running properly

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

Ghodmode
Posts: 1
Joined: Mon Sep 17, 2007 9:50 pm

Sendmail problem & Resin not running properly

Post by Ghodmode »

I'm using RedHat Enterprise Linux ES release 4. I just installed OpenEMM, but I used the tarball.

When I start OpenEMM, I get the following output:

Code: Select all

Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start /home/openemm/bin/scripts/update.py bounce account .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:   -15:2153[failed Operation not permitted] -15:2161[failed Operation not permitted] -9:2153[failed Operation not permitted] -9:2161[failed Operation not permitted] done.
Starting sendmails:   listener 550 Permission denied (real uid not trusted)
 admin queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
 mail queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
 done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Resin httpd start at Mon Sep 17 14:07:19 MST 2007
Resin httpd start at Mon Sep 17 14:07:19 MST 2007
After the attempt to start the server, there's nothing listening on port 8081. I confirmed this using netstat.

I get the message "Resin httpd start at ..." in the terminal every minute or so.

Does anyone know how to fix this?

I'm vaguely familiar with sendmail's handling of Trusted Users, so I tried adding openemm to that list.

I followed the instructions in the Install Guide with the following differences:
  • I didn't do yum update. I'm maintaining this system manually because I don't have access to RedHat's repositories
  • I didn't install mysql-server, sendmail-cf, or MySQL-python using yum, but they were all already installed. The copy of MySQL which is actually running is installed in /usr/local/mysql (which is a symbolic link to /usr/local/mysql-5.0.45-linux-i686-glibc23).
  • I didn't restart iptables. It wasn't started in the first place. I'm using an external hardware firewall
  • I don't have a domain name for this server at this time. I'm using the IP address directly.
  • I didn't set up bounce management
Thank you,
--
-- Ghodmode
dratner
Posts: 2
Joined: Fri Feb 15, 2008 8:19 pm

Similar issue...

Post by dratner »

I was having problems very similar to the previous post. I'm running CentOS 4.4 with mostly the default config.

I made some changes including:

1) I added openemm as a trusted user in sendmail.cf
2) I stopped sendmail as root before suing to openemm and running OpenEMM.sh
3) I changed the permissions of /var/spool/mqueue so it is owned by openemm.

This made most of the errors go away, but I still see this when I start OpenEMM.sh:

-bash-3.00$ OpenEMM.sh start
Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start /home/openemm/bin/scripts/update.py bounce account .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes: done.
Starting sendmails: listener admin queue WARNING: Ignoring submission mode -N option (not in submission mode)
mail queue WARNING: Ignoring submission mode -N option (not in submission mode)
done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Resin httpd start at Fri Feb 15 13:57:54 EST 2008

Any ideas what this could be? Sendmail is so arcane it's a little hard to Google this stuff.

Thanks!
Dan
dratner
Posts: 2
Joined: Fri Feb 15, 2008 8:19 pm

PS. OpenEMM won't send

Post by dratner »

Related to the issue above, when I created a test mailing, I got this:

Last delivery: Feb 15, 2008 2:06 PM, final delivery to all recipients
6 out of 6 Emails have been generated

Generation:
Generation start time: Feb 15, 2008 2:06 PM
Generation end time: Feb 15, 2008 2:06 PM

Delivery:
Generated emails: 6
Sent emails: 0
Total emails: 6

And the messages never get sent. I guess this is what it means about not being in submission mode.
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

shared sendmail

Post by maschoff »

Is Sendmail used by other applications on the OpenEMM server as well? If yes, this could be the problem. Stop the other applications so that OpenEMM can use Sendmail exclusively.

Version 5.5 of OpenEMM will be enhanced so that Sendmail can be shared with other applications.
OpenEMM Maintainer
emmulator
Posts: 26
Joined: Mon Oct 27, 2008 7:44 pm

Post by emmulator »

I'm running version 5.5.1 of OpenEMM and I'm still seeing the same errors as reported above. (Note that I'm using a user called 'siebel' instead of 'openemm', as I didn't have to do a request for a new user to be added in order to get started testing -- I did have to fix up some "/home/openemm" references in the properties file etc.)

Code: Select all

[siebel@build105 ~]$ OpenEMM.sh start
Start /home/siebel/bin/scripts/bav-update.py .. done.
Start /home/siebel/bin/scripts/bav-trigger.py .. done.
Start /home/siebel/bin/scripts/bavd.py .. done.
Start /home/siebel/bin/bav -L INFO .. done.
Start /home/siebel/bin/scripts/update.py bounce account .. done.
Start /home/siebel/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:   done.
Starting sendmails:   listener 550 Permission denied (real uid not trusted)
 admin queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
 mail queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
 done.
Start /home/siebel/bin/scripts/slrtscn.py .. done.
Resin httpd start at Wed Oct 29 14:35:05 PDT 2008
I've done the other things suggested in this thread, such as adding 'siebel' as a trusted user in sendmail.mc, and stopping sendmail as root before starting OpenEMM.

I see the following entries in /var/log/maillog:

Code: Select all

Oct 29 14:01:27 build105 sendmail[25391]: user 563 attempted to run daemon
Oct 29 14:35:05 build105 sendmail[27833]: NOQUEUE: Authentication-Warning: build105.sbo.cj.com: Processed from queue /home/
siebel/var/spool/QUEUE
Oct 29 14:35:05 build105 sendmail[27833]: user 563 attempted to start a queue runner daemon
The "Distribution Status" section of the "Send Mailing" tab shows

Code: Select all

  Generated emails: 	  3
  Sent emails: 	  3
  Total emails: 	  3
But I don't get anything in my inbox.

Any more suggestions?

Thanks!
sapeksh
Posts: 9
Joined: Wed Nov 19, 2008 7:14 am

Possible Solution

Post by sapeksh »

I have been facing the same problem and here is what i believe was cause of the problem and how I resolved it:

Cause: OpennEMM was installed using the rpm (OpemEMM-5.5..1-1.i386.rpm) with creating the openemm user and group prior to installing the rpm. Installation process had shown error openemm not available using root.

Solution: Even changing the ownership to openemm:openemm post installation did not solve the problem. This made be believe that it has something to do with UID of the user (as it complains as well) to be used somewhere in the installation. I tried to search for the root user UID but to no result.

Then:
1) Removed OpenEMM: rpm --erase OpenEMM-5.5.1-1
2) Renamed /home/openemm to /home/openemm.bak
3) Installed OpenEMM from the rpm again and it worked.

I'm not sure of the root cause but this one worked for me
Post Reply