Re: [gentoo-user] amavisd: running or not running???

2015-04-06 Thread Dan Oriani

On 4/5/2015 1:57 PM, Jarry wrote:
 Hi Gentoo-users,
 
 I have this strange problem: I can not start amavisd because
 it is running, and at the same time I can not stop amavisd
 because it is not running. How's that possible?
 
 vs4 ~ # /etc/init.d/amavisd start
  * WARNING: amavisd has already been started
 vs4 ~ # /etc/init.d/amavisd stop
  * Stopping amavisd-new ...
 The amavisd daemon is not running   [ !! ]
  * ERROR: amavisd failed to stop
 vs4 ~ # /etc/init.d/amavisd start
  * WARNING: amavisd has already been started
 vs4 ~ # ps -e | grep amavis
 vs4 ~ #
 
 How can I fix this mess?
 
 Jarry
 

I actually just noticed this happening on my server. Not sure what
exactly happened, but it appears that on my computer at least, the rules
files had been deleted. What you'll want to try is running 'sa-update',
then '/etc/init.d/amavisd zap', then finally '/etc/init.d/amavisd start'.

OpenRC thinks that the service is running, since it doesn't really close
out normally, so the zap command resets it to a stopped state, allowing
you to start it normally after updating your rules files.

Hope that helps!

-Dan O.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] amavisd: running or not running???

2015-04-05 Thread Urs Schütz

On 04/05/15 14:57, Jarry wrote:

Hi Gentoo-users,

I have this strange problem: I can not start amavisd because
it is running, and at the same time I can not stop amavisd
because it is not running. How's that possible?

vs4 ~ # /etc/init.d/amavisd start
  * WARNING: amavisd has already been started
vs4 ~ # /etc/init.d/amavisd stop
  * Stopping amavisd-new ...
The amavisd daemon is not running   [ !! ]
  * ERROR: amavisd failed to stop
vs4 ~ # /etc/init.d/amavisd start
  * WARNING: amavisd has already been started
vs4 ~ # ps -e | grep amavis
vs4 ~ #

How can I fix this mess?

Jarry



/etc/init.d/amavisd zap

Urs



[gentoo-user] amavisd: running or not running???

2015-04-05 Thread Jarry

Hi Gentoo-users,

I have this strange problem: I can not start amavisd because
it is running, and at the same time I can not stop amavisd
because it is not running. How's that possible?

vs4 ~ # /etc/init.d/amavisd start
 * WARNING: amavisd has already been started
vs4 ~ # /etc/init.d/amavisd stop
 * Stopping amavisd-new ...
The amavisd daemon is not running   [ !! ]
 * ERROR: amavisd failed to stop
vs4 ~ # /etc/init.d/amavisd start
 * WARNING: amavisd has already been started
vs4 ~ # ps -e | grep amavis
vs4 ~ #

How can I fix this mess?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.