Cannot Use Mailx/mail (sendmail) On ODA Servers (Doc ID 1678064.1)

Last updated on JUNE 23, 2014

Applies to:

Oracle Database Appliance Software - Version 2.10.0.0 and later
Information in this document applies to any platform.

Symptoms

Cannot use mailx/mail (sendmail) on ODA servers as 'oracle' account.

Get this error when run as oracle OS ID:

[oracle@adder1 ~]$ echo $msg | /bin/mailx -s "Notice"  testocrs@us.oracle.com
[oracle@adder1 ~]$ WARNING: RunAsUser for MSP ignored, check group ids (egid=1001, want=51)

[oracle@adder1 ~]$ grep smmsp /etc/passwd /etc/group
/etc/passwd:smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
/etc/group:smmsp:x:51:
[oracle@adder1 ~]$

[oracle@adder1 ~]$ grep root /etc/passwd /etc/group
/etc/passwd:root:x:0:0:root:/root:/bin/bash
/etc/passwd:operator:x:11:0:operator:/root:/sbin/nologin
/etc/group:root:x:0:root
/etc/group:bin:x:1:root,bin,daemon
/etc/group:daemon:x:2:root,bin,daemon
/etc/group:sys:x:3:root,bin,adm
/etc/group:adm:x:4:root,adm,daemon
/etc/group:disk:x:6:root
/etc/group:wheel:x:10:root
[oracle@adder1 ~]$ grep oracle /etc/passwd /etc/group
/etc/passwd:oracle:x:1001:1001::/home/oracle:/bin/bash
/etc/group:oinstall:x:1001:grid,oracle
/etc/group:dba:x:1002:oracle
/etc/group:racoper:x:1003:grid,oracle
/etc/group:asmdba:x:1004:grid,oracle

Changes

Problem may occur following a new install or upgrade of ODA to a new release.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms