RELOADING
Julian Field
mailscanner at ecs.soton.ac.uk
Mon Oct 21 18:58:07 IST 2002
At 18:12 21/10/2002, you wrote:
>I, still have the problem that when MailScanner reloads this message is
>displayed on my console or when I'm my editor the message displayed in
>my document.
>
>Any idee???
It is generated as a "warning", it would probably be better as an "info"
instead.
Find the subroutine "ExitChild" in the main mailscanner (or MailScanner)
script, and change "WarnLog" to "InfoLog". I'll change this in the
distribution too.
> > -----Original Message-----
> > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Paul van
> > Brouwershaven - Networking4ALL
> > Sent: Monday, October 21, 2002 10:48 AM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: RELOADING
> >
> >
> > Ok, it seems to working ok now, online I get server messages on my
> > console when I load one of my scripts from the crontab. This
> > scripts are
> > putting a there output to /dev/null.
> >
> > MailScanner caught a SIGHUP -- re-reading configuration at >
> > /usr/sbin/MailScanner line 404
> >
> > How can I prevent this message??
> >
> >
> > > -----Original Message-----
> > > From: MailScanner mailing list
> > > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Paul van
> > > Brouwershaven - Networking4ALL
> > > Sent: Sunday, October 20, 2002 10:14 PM
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Re: RELOADING
> > >
> > >
> > > Ok, I kill all the mailscanner processes, and the probleem
> > seems to be
> > > solved. When I now do a reload of the program I get this message:
> > >
> > > Reloading MailScanner: [ OK ]
> > > MailScanner caught a SIGHUP -- re-reading configuration at
> > > /usr/sbin/MailScanner line 404
> > > MailScanner caught a SIGHUP -- re-reading configuration at
> > > /usr/sbin/MailScanner line 404
> > >
> > > Maybe you can change the install.sh script to stop the
> > mailscanner v3
> > > service before installing the new v4 service.
> > >
> > > Regards,
> > >
> > > Paul
> > >
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: MailScanner mailing list
> > > > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Julian Field
> > > > Sent: Sunday, October 20, 2002 9:22 PM
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: RELOADING
> > > >
> > > >
> > > > See my previous message. I think you are running more than 1
> > > > version at the
> > > > same time!
> > > >
> > > > At 20:16 20/10/2002, you wrote:
> > > > >Hi,
> > > > >
> > > > >I get also the following console messages:
> > > > >
> > > > >Cannot create + lock headers file
> > > > >/var/spool/MailScanner/incoming/32566/g9KJ8b732582.header, at
> > > > >/usr/lib/MailScanner/MailScanner/Message.pm line 234
> > > > >Cannot create + lock headers file
> > > > >/var/spool/MailScanner/incoming/32561/g9KJ8b732582.header, at
> > > > >/usr/lib/MailScanner/MailScanner/Message.pm line 234
> > > > >Cannot create + lock headers file
> > > > >/var/spool/MailScanner/incoming/32559/g9KJ8b732582.header, at
> > > > >/usr/lib/MailScanner/MailScanner/Message.pm line 234
> > > > >Cannot create + lock headers file
> > > > >/var/spool/MailScanner/incoming/32535/g9KJ8b732582.header, at
> > > > >/usr/lib/MailScanner/MailScanner/Message.pm line 234
> > > > >Cannot create + lock headers file
> > > > >/var/spool/MailScanner/incoming/32533/g9KJ8b732582.header, at
> > > > >/usr/lib/MailScanner/MailScanner/Message.pm line 234
> > > > >We haven't got any child processes, which isn't right!, No child
> > > > >processes at /usr/sbin/MailScanner line 190.
> > > > >We have just tried to reap a process which wasn't one of
> > > > ours!, No child
> > > > >processes at /usr/sbin/MailScanner line 193.
> > > > >
> > > > >Regards,
> > > > >
> > > > >Paul
> > > > >
> > > > >
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: MailScanner mailing list
> > > > > > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Paul van
> > > > > > Brouwershaven - Networking4ALL
> > > > > > Sent: Sunday, October 20, 2002 9:11 PM
> > > > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > > > Subject: Re: RELOADING
> > > > > >
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have tried the to reloading MailScanner version 4
> > but get the
> > > > > > following error message:
> > > > > >
> > > > > > >With MailScanner V4, you can do a
> > > > > > > /etc/rc.d/init.d/MailScanner reload
> > > > > >
> > > > > > /etc/MailScanner/rules>/etc/rc.d/init.d/MailScanner reload
> > > > > > Reloading MailScanner:
> > > > [ OK ]
> > > > > > MailScanner caught a SIGHUP -- re-reading configuration at
> > > > > > /usr/sbin/MailScanner line 404
> > > > > > Could not get to parent of incoming work directory at
> > > > > > MailScanner/WorkArea.pm line 102.
> > > > > >
> > > > > > Paul
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: MailScanner mailing list
> > > > > > > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of
> > Julian Field
> > > > > > > Sent: Friday, October 11, 2002 4:26 PM
> > > > > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > > > > Subject: Re: RELOADING
> > > > > > >
> > > > > > >
> > > > > > > At 15:18 11/10/2002, you wrote:
> > > > > > > >This rc file isn't in the tarball. I'm still
> > using kill but
> > > > > > > it leaves
> > > > > > > >proc ids in the var directory and the temp folder of each
> > > > > > process in
> > > > > > > >incoming. I take it that the rc file will shutdown cleanly
> > > > > > > and cleanup
> > > > > > > >properly, correct?
> > > > > > >
> > > > > > > I had intended "kill -HUP" to cleanly delete the temp folder
> > > > > > > and the proc
> > > > > > > id in the var directory. I'll have to take a look at
> > > > why that isn't
> > > > > > > happening as I intended.
> > > > > > >
> > > > > > >
> > > > > > > >-----Original Message-----
> > > > > > > >From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > > > > > >Sent: Friday, October 11, 2002 7:30 AM
> > > > > > > >To: MAILSCANNER at JISCMAIL.AC.UK
> > > > > > > >Subject: Re: RELOADING
> > > > > > > >
> > > > > > > >
> > > > > > > >At 11:44 11/10/2002, you wrote:
> > > > > > > > >I have some servers that get there domain/accounts
> > > > > > > information from a
> > > > > > > > >database, this information is changed frequently and must
> > > > > > > be activated
> > > > > > > > >on sort time. Is there a way to let mailscanner reload
> > > > > > there config
> > > > > > > > >without restarting the whole service?
> > > > > > > >
> > > > > > > >With MailScanner V4, you can do a
> > > > > > > > /etc/rc.d/init.d/MailScanner reload
> > > > > > > >Take a look at the init.d script. You are basically trying
> > > > > > > to do a "kill
> > > > > > > >-HUP" on all the MailScanner processes.
> > > > > > > >--
> > > > > > > >Julian Field Teaching Systems Manager
> > > > > > > >jkf at ecs.soton.ac.uk Dept. of Electronics &
> > > > Computer Science
> > > > > > > >Tel. 023 8059 2817 University of Southampton
> > > > > > > > Southampton SO17 1BJ
> > > > > > >
> > > > > > > --
> > > > > > > Julian Field Teaching Systems Manager
> > > > > > > jkf at ecs.soton.ac.uk Dept. of Electronics &
> > > > Computer Science
> > > > > > > Tel. 023 8059 2817 University of Southampton
> > > > > > > Southampton SO17 1BJ
> > > > > > >
> > > > > >
> > > >
> > > > --
> > > > Julian Field Teaching Systems Manager
> > > > jkf at ecs.soton.ac.uk Dept. of Electronics &
> > Computer Science
> > > > Tel. 023 8059 2817 University of Southampton
> > > > Southampton SO17 1BJ
> > > >
> > >
> >
--
Julian Field Teaching Systems Manager
jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
Tel. 023 8059 2817 University of Southampton
Southampton SO17 1BJ
More information about the MailScanner
mailing list