* [gentoo-user] amavisd: running or not running???
@ 2015-04-05 17:57 Jarry
2015-04-05 18:09 ` Urs Schütz
2015-04-06 21:00 ` Dan Oriani
0 siblings, 2 replies; 3+ messages in thread
From: Jarry @ 2015-04-05 17:57 UTC (permalink / raw
To: gentoo-user
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] amavisd: running or not running???
2015-04-05 17:57 [gentoo-user] amavisd: running or not running??? Jarry
@ 2015-04-05 18:09 ` Urs Schütz
2015-04-06 21:00 ` Dan Oriani
1 sibling, 0 replies; 3+ messages in thread
From: Urs Schütz @ 2015-04-05 18:09 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] amavisd: running or not running???
2015-04-05 17:57 [gentoo-user] amavisd: running or not running??? Jarry
2015-04-05 18:09 ` Urs Schütz
@ 2015-04-06 21:00 ` Dan Oriani
1 sibling, 0 replies; 3+ messages in thread
From: Dan Oriani @ 2015-04-06 21:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]
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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-06 21:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-05 17:57 [gentoo-user] amavisd: running or not running??? Jarry
2015-04-05 18:09 ` Urs Schütz
2015-04-06 21:00 ` Dan Oriani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox