I can't get openemm.sh to work - mailer.sh start fails - please see the message below. Is there something I need to do so that the openemm user can start sendmail?
[openemm@p6zone2 ~]$ /home/openemm/bin/mailer.sh start
Stopping obsolete sendmail processes: -15:8176[failed Operation not permitted] -15:8185[failed Operation not permitted] -9:8176[failed Operation not permitted] -9:8185[failed Operation not permitted] done.
Starting sendmails: listener 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.
failed Operation not permitted
Moderator: moderator
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: failed Operation not permitted
My hunch is that your file permissions are not ok. Did you unpack the tar ball with option p?
OpenEMM Maintainer
-
- Posts: 3
- Joined: Wed May 23, 2012 7:55 pm
Re: failed Operation not permitted
Hi - yes I did use tar xvfpz... However, since I'm on a 64 bit CentOS server, I needed to download the src files and then compile/make smctrl. I replaced the smctrl executable shipped in the bin download and was successfully able to get around a corrupt lib problem (probably accessing 64 bit libraries as a 32 bit process) that I had originally running openemm.sh.
I understand that I must run openemm.sh as the openemm user but, then run into the permissions problems documented. If I isolate smctrl and run as root, the process runs fine:
[root@p6zone2 bin]# /home/openemm/bin/smctrl service stop
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
[root@p6zone2 bin]# /home/openemm/bin/smctrl service start
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@p6zone2 bin]#
If I run the same commands as the openemm user nothing is returned and sendmail doesn't start...
[root@p6zone2 bin]# /home/openemm/bin/smctrl service status
sendmail (pid 2436) is running...
sm-client (pid 2445) is running...
[root@p6zone2 bin]# /home/openemm/bin/smctrl service stop
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
[root@p6zone2 bin]# /home/openemm/bin/smctrl service status
sendmail is stopped
sm-client is stopped
[root@p6zone2 bin]# su - openemm
[openemm@p6zone2 ~]$ /home/openemm/bin/smctrl service start
[openemm@p6zone2 ~]$ exit
logout
[root@p6zone2 bin]# /home/openemm/bin/smctrl service status
sendmail is stopped
sm-client is stopped
[root@p6zone2 bin]#
Thank you for your assistance.
I understand that I must run openemm.sh as the openemm user but, then run into the permissions problems documented. If I isolate smctrl and run as root, the process runs fine:
[root@p6zone2 bin]# /home/openemm/bin/smctrl service stop
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
[root@p6zone2 bin]# /home/openemm/bin/smctrl service start
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@p6zone2 bin]#
If I run the same commands as the openemm user nothing is returned and sendmail doesn't start...
[root@p6zone2 bin]# /home/openemm/bin/smctrl service status
sendmail (pid 2436) is running...
sm-client (pid 2445) is running...
[root@p6zone2 bin]# /home/openemm/bin/smctrl service stop
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
[root@p6zone2 bin]# /home/openemm/bin/smctrl service status
sendmail is stopped
sm-client is stopped
[root@p6zone2 bin]# su - openemm
[openemm@p6zone2 ~]$ /home/openemm/bin/smctrl service start
[openemm@p6zone2 ~]$ exit
logout
[root@p6zone2 bin]# /home/openemm/bin/smctrl service status
sendmail is stopped
sm-client is stopped
[root@p6zone2 bin]#
Thank you for your assistance.
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: failed Operation not permitted
If your problem is that user openemm can not start Sendmail maybe there is a security layer in between like SELinux or AppArmour, preventing Sendmail from launching.
OpenEMM Maintainer