thanks to Tom Crummey and Crist Clark the answer is to give one of the invocations of sendmail a different PID file option: /usr/lib/sendmail -OPidFile=/var/run/sendmail2.pid ... Christ point out me that when the command lines start to get this long, he build different config files for each sendmail instance and for those who want to use mailscanner, i finally found this message: http://lists.mailscanner.info/pipermail/mailscanner/2006-May/060603.html be careful that sendmail method has few changes since 2004 hth, gerard initial question: > i have to migrate a mail server from v120/solaris 9 to T2000/solaris 10, > concerning sendmail+mailscanner+clamscan > In the first time, i have only to move old binaries on the T2000. > So i modified /lib/svc/method/smtp-sendmail, and here are the modifications: > t2000-root% diff /lib/svc/method/smtp-sendmail /opt/smtp-sendmail > 81c81,83 > < /usr/lib/sendmail $MODE -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS & > --- >> #/usr/lib/sendmail $MODE -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS & >> /usr/lib/sendmail $MODE -ODeliveryMode=queueonly > -OQueueDirectory=/var/spool/mqueue.in & >> /usr/lib/sendmail -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS & > > but when it launch, i got errors: > mail1 console login: Apr 5 14:33:20 mail1 sendmail[9706]: unable to > write pid to /var/run/sendmail.pid: file in use by another process > > and processes are: > smmsp 9707 9469 0 14:33:20 ? 0:00 /usr/lib/sendmail > -Ac -q15m > root 9706 9469 0 14:33:20 ? 0:00 /usr/lib/sendmail -q15m > root 9705 9469 0 14:33:20 ? 0:00 /usr/lib/sendmail > -bd -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mque _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Sat Apr 7 00:37:41 2007
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:05 EST