Solaris 10 init.d startup failing

Martin Hepworth martinh at solid-state-logic.com
Thu Aug 24 17:38:14 IST 2006


Ray Gardener wrote:
> Hi,
> 
> I had cause to reboot a Sunblade server running Exim and MailScanner 
> version 4.53.8 and noticed a error. The mailscanner program is started 
> by invoking MailScanner from the exim startup script in /etc/init.d. [I 
> know this is a legacy method for Solaris 10 but do this to maintain 
> consistency with other mailhubs based on Solaris 9]. On boot-up 
> mainscannner instances were started and the startup log line was present 
> in /var/log/maillog but the instances of mailscanner ate memory very 
> quickly and didn't process mail. Pkilling the mailscanner instances and 
> stopping and starting the init.d script resulted in a working system 
> processing mail.
> 
> Has anyone else seen this on Solaris 10 and if so is there a workaround?
> Incientally I later created a smf mailscanner service and tried to use 
> that to start mailscanner but this also ate memory and didn't process mail.
> 
> Regards,
> ____________________________________________________________________________ 
> 
> Ray Gardener,
> IT Services, LITS,
> Sheffield Hallam University,
> Howard Street,
> Sheffield,
> UK
> S1 1WB
> Telephone: +44 114 225 4926
> Fax: +44 114 225 3840
> Mobile: +44 07788190005
> Email: R.A.Gardener at shu.ac.uk
> 
Ray

only problem like this is when using MS in combination with MailWatch.

Problem can be that mysql isn't fully operational by the time MS starts 
up...so the first connection hangs.

I solved this by putting a wait 30 at the start() function to make sure 
mysql is up and accepting connections before we start MS.

-- 
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************



More information about the MailScanner mailing list