Help with init.d scrip (Ubuntu)

Raymond Norton admin at lctn.org
Mon Feb 4 18:52:01 GMT 2013


You are correct about the error. If I change the group from Debian-exim 
to root, the init script works. Obviously, I don't want to run a 
production server this way. What do I need to change so it will work 
with Run As Group= Debian-exim?




On 02/04/2013 12:04 PM, Joolee wrote:
> The error is not with the init script but with the Mailscanner 
> configuration. It is set to change the group running Mailscanner to 
> one with id 119 but Mailscanner is not able to do it. It could be you 
> are calling the init script with an account that doesn't have enough 
> permissions or the group just doesn't exist.
>
> *I'm not a Linux expert so I can be wrong about this :P
>
> On 4 February 2013 18:16, Raymond Norton <admin at lctn.org 
> <mailto:admin at lctn.org>> wrote:
>
>
>
>     I'm setting up a new relay scanner with MailScanner v4.84.5. I'm
>     using an init script from a tutorial, but it is erring out .
>     Although Mailscanner is already running I get the following err
>     when attempting to restart:
>
>     /etc/init.d/mailscanner restart
>      * Restarting mail spam/virus scanner MailScanner              No
>     MailScanner found running; none killed.
>     Can't set GID 119 at /opt/MailScanner/bin/MailScanner line 1541.
>
>
>     Any idea what I should be looking for to fix this.
>
>     --
>     MailScanner mailing list
>     mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>     http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>     Before posting, read http://wiki.mailscanner.info/posting
>
>     Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130204/faf629cd/attachment.html 


More information about the MailScanner mailing list