Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Sunday, July 17, 2011

opendaemonsocket: daemon MTA-v6: server SMTP socket wedged

After installing a newly available build of Solaris 10, sendmail was disallowing connections from anything but localhost. We tried taking a diff between of older build and the new and found that the old had extra lines for DaemonPortOptions :

O DaemonPortOptions=Name=MTA-v4, Family=inet
O DaemonPortOptions=Name=MTA-v6, Family=inet6
O DaemonPortOptions=Port=587, Name=MSA, M=E

After including the DaemonPortOptions of MTA-v4 and MTA-v6, it started giving this error message:

opendaemonsocket: daemon MTA-v6: server SMTP socket wedged

So we removed the MTA-v6 line, and the above error stopped coming. Meanwhile I had googled this error and found this post on OpenSolaris forms. Based on the information, I reasoned that changing the parameter to false would allow connections from other hosts:

svccfg -s sendmail setprop config/local_only=false
svcadm refresh sendmail
svcadm restart sendmail

This worked perfectly fine. Since we don't use Solaris Zones, there was no need to use the pfexec command.


Anonymous said...


Have you used both the ports i.e. MTA-v4 and MTA-v6, after changing the parameter to false?

Could you please tell the steps to follow if we are getting this error on Solaris Zones.

Todd Siskin said...

Thank you for this post. Commenting out the MTA-v6 entry allowed the client to start normally.
The config setting was already set to false, so I didn't need to make that change.
I can't say if both changes needed to be made, but disabling the MTA-v6 setting definitely helped.