• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Shutdown Completely Spamassassin Service and Mailbox statistic problem

minhnv

New Pleskian
Hi,

I'm suffer 2 major problem as below :

1.
please tell me how to turn off spamassassin completely ?
I've already stop the spamassassin service on Services Management but it's only valid one day.
The next day, spam assassin service automatically start

2.
my customer mailbox statistic wrong. Even if their mailbox not full but when they send email. The quota said that their mailbox full. So they can't send/receive email.

Our action :
Manually, use command
/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f execute-statistics

So, how can i fix that problem, so i don't have to run this command manually everyday ?

Thank you in advance!!
 
1. Use command

# /usr/local/psa/admin/sbin/spammng --stop

2. This daily mantenance script should be executed daily by cron service in scope of /etc/cron.daily/50plesk-daily
Check your cron service and this crontask.
 
Thank you for your advice!

1. I've just used your suggest command and will check tomorrow again whether it's start again or not
/usr/local/psa/admin/sbin/spammng stop
Service is already stopped.

2. I've just check and here the result
+ my crond service are running
+ 50plesk-daily script placed in cron.daily folder

Could you please tell me how to confirm that script ran ?
 
You nay just run /etc/cron.daily/50plesk-daily directly and in other console run

# plesk log --all

You should see something like:

==> /usr/local/psa/admin/logs/panel.log <==
........
[2014-10-01 14:42:59] INFO [panel] == Task run Upgrade of Plesk: /usr/local/psa/bin/sw-engine-pleskrun "/usr/local/psa/admin/plib/DailyMaintainance/task-script.php" UpgradePanel '--period=daily'
[2014-10-01 14:43:00] INFO [panel] == Begin Upgrade of Plesk
[2014-10-01 14:43:00] INFO [panel] == End Upgrade of Plesk
[2014-10-01 14:43:00] INFO [panel] == Task finish Upgrade of Plesk
[2014-10-01 14:43:00] INFO [panel] == Task run Execute web-statistics statistics: /usr/local/psa/bin/sw-engine-pleskrun "/usr/local/psa/admin/plib/DailyMaintainance/task-script.php" ExecuteWebStatistics '--period=daily'
[2014-10-01 14:43:00] INFO [panel] == Begin Execute web-statistics statistics
[2014-10-01 14:43:00] INFO [panel] == End Execute web-statistics statistics
[2014-10-01 14:43:00] INFO [panel] == Task finish Execute web-statistics statistics
[2014-10-01 14:43:00] INFO [panel] Finish: Daily Maintainance
 
Hi IgorG,

About the first problem :
Unfortunately, Today i have to manually turnof spam assassin. Is there any other way to shut the spam assassin engine completely ?

About the second one :
I didn't see any log like what you provided
Please help me :D
 
1. Do you have watchdog enabled?
2. Have you tried to run command

# plesk log --all

?
 
FYI
About problem 2
I found cron log as below:

Sep 30 16:01:01 mail anacron[5968]: Job `cron.daily' locked by another anacron - skipping
Sep 30 17:01:01 mail anacron[12690]: Job `cron.daily' locked by another anacron - skipping
Sep 30 18:01:01 mail anacron[27149]: Job `cron.daily' locked by another anacron - skipping
Sep 30 19:01:01 mail anacron[32626]: Job `cron.daily' locked by another anacron - skipping
Sep 30 20:01:01 mail anacron[3311]: Job `cron.daily' locked by another anacron - skipping
Sep 30 21:01:01 mail anacron[5704]: Job `cron.daily' locked by another anacron - skipping
Sep 30 22:01:01 mail anacron[9831]: Job `cron.daily' locked by another anacron - skipping
Sep 30 23:01:01 mail anacron[15105]: Job `cron.daily' locked by another anacron - skipping
Oct 1 00:01:01 mail anacron[19496]: Job `cron.daily' locked by another anacron - skipping
Oct 1 01:01:01 mail anacron[21344]: Job `cron.daily' locked by another anacron - skipping
Oct 1 02:01:02 mail anacron[23071]: Job `cron.daily' locked by another anacron - skipping
Oct 1 03:01:01 mail anacron[24889]: Job `cron.daily' locked by another anacron - skipping
Oct 1 04:01:01 mail anacron[26866]: Job `cron.daily' locked by another anacron - skipping
Oct 1 05:01:01 mail anacron[29232]: Job `cron.daily' locked by another anacron - skipping
Oct 1 06:01:01 mail anacron[31123]: Job `cron.daily' locked by another anacron - skipping
Oct 1 07:01:01 mail anacron[32349]: Job `cron.daily' locked by another anacron - skipping
Oct 1 08:01:01 mail anacron[3725]: Job `cron.daily' locked by another anacron - skipping
Oct 1 09:01:01 mail anacron[11648]: Job `cron.daily' locked by another anacron - skipping
Oct 1 10:01:01 mail anacron[20222]: Job `cron.daily' locked by another anacron - skipping
Oct 1 11:01:01 mail anacron[11801]: Job `cron.daily' locked by another anacron - skipping
Oct 1 12:01:01 mail anacron[15487]: Job `cron.daily' locked by another anacron - skipping
Oct 1 13:01:02 mail anacron[26528]: Job `cron.daily' locked by another anacron - skipping
Oct 1 14:01:01 mail anacron[30521]: Job `cron.daily' locked by another anacron - skipping
Oct 1 15:01:01 mail anacron[4697]: Job `cron.daily' locked by another anacron - skipping
Oct 1 16:01:01 mail anacron[11886]: Job `cron.daily' locked by another anacron - skipping
Oct 1 17:01:01 mail anacron[18042]: Job `cron.daily' locked by another anacron - skipping
Oct 1 18:01:01 mail anacron[30067]: Job `cron.daily' locked by another anacron - skipping
Oct 1 19:01:01 mail anacron[9833]: Job `cron.daily' locked by another anacron - skipping
Oct 1 20:01:02 mail anacron[14496]: Job `cron.daily' locked by another anacron - skipping
Oct 1 21:01:01 mail anacron[16024]: Job `cron.daily' locked by another anacron - skipping
Oct 1 22:01:02 mail anacron[17595]: Job `cron.daily' locked by another anacron - skipping
Oct 1 23:01:01 mail anacron[20078]: Job `cron.daily' locked by another anacron - skipping
 
1. As i know, my server didn't have watchdog. How to check the status of watchdog anyway ?
2. I can't find any command like# plesk log --all
 
1. Check that watchdog is up and running with

# ps ax | grep watch

or check watchdog in Plesk GUI in Extensions

2. What do you mean "I can't find"? Have you tried to run this command in CLI?
 
1. Here the result
6 ? S 0:04 [watchdog/0]
10 ? S 0:03 [watchdog/1]
14 ? S 0:03 [watchdog/2]
18 ? S 0:03 [watchdog/3]
2797 pts/1 S+ 0:00 grep watch

2. There are no plesk command
[root@mail log]# plesk log --all
-bash: plesk: command not found
:D
 
2. Do you really have Plesk 11.5 version?
Use command
# tail -f /usr/local/psa/admin/logs/panel.log
in this case.
 
no, i'm version 11.0.9
i use command
# tail -f /usr/local/psa/admin/logs/panel.log
The log only on July

2013-06-10T11:21:47+07:00 ERR (3): Connection to the database server has failed because of a name clash:

Database with requested name already exists
2013-06-12T09:30:41+07:00 ERR (3): Mailing list xx@xxx already exists on this domain.
2013-09-09T17:19:06+07:00 ERR (3): Mail account xx@xxx already exists in this domain.
2014-04-11T12:15:39+07:00 ERR (3): Mail account xx@xxx already exists in this domain.
2014-07-16T11:32:08+07:00 ERR (3): Mail account xx@xxx already exists in this domain.
 
Thank you for your info,
1/ What about the watchdog service ? I have to stop it to stop spam assassin service start automatically everyday ?
2/i did run the 50plesk-daily script successfully but didn't see any log as your instruction :(

Please help me :)
 
HI IgrorG

As i monitor my system, the cron log show as below can confirm that the 50plesk-daily script run successfully ?

Oct 10 04:01:02 mail anacron[26694]: Job `cron.daily' locked by another anacron - skipping
Oct 10 04:01:02 mail anacron[26694]: Normal exit (0 jobs run)
Oct 10 04:01:02 mail run-parts(/etc/cron.hourly)[26704]: finished mcelog.cron
Oct 10 04:01:02 mail run-parts(/etc/cron.hourly)[26682]: starting plesk-php-cleanuper
Oct 10 04:01:02 mail run-parts(/etc/cron.hourly)[26719]: finished plesk-php-cleanuper
Oct 10 04:03:01 mail CROND[30405]: (root) CMD ([ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)
Oct 10 04:05:01 mail CROND[32243]: (mailman) CMD (/usr/lib/mailman/cron/gate_news)
Oct 10 04:10:01 mail CROND[4445]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Oct 10 04:10:01 mail CROND[4446]: (mailman) CMD (/usr/lib/mailman/cron/gate_news)
Oct 10 04:15:01 mail CROND[9492]: (mailman) CMD (/usr/lib/mailman/cron/gate_news)
Oct 10 04:18:01 mail CROND[12151]: (root) CMD ([ -x /usr/local/psa/admin/sbin/backupmng ] && /usr/local/psa/admin/sbin/backupmng >/dev/null 2>&1)
Oct 10 04:18:30 mail run-parts(/etc/cron.daily)[12675]: finished 50plesk-daily
Oct 10 04:18:30 mail run-parts(/etc/cron.daily)[20548]: starting 60sa-update
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[12720]: finished 60sa-update
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[20548]: starting awstats
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[12727]: finished awstats
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[20548]: starting cups
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[12734]: finished cups
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[20548]: starting logrotate
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[12747]: finished logrotate
Oct 10 04:18:41 mail run-parts(/etc/cron.daily)[20548]: starting makewhatis.cron
Oct 10 04:18:42 mail run-parts(/etc/cron.daily)[12880]: finished makewhatis.cron
Oct 10 04:18:42 mail run-parts(/etc/cron.daily)[20548]: starting mlocate.cron
Oct 10 04:18:43 mail run-parts(/etc/cron.daily)[12892]: finished mlocate.cron
Oct 10 04:18:43 mail run-parts(/etc/cron.daily)[20548]: starting prelink
Oct 10 04:18:43 mail run-parts(/etc/cron.daily)[12904]: finished prelink
Oct 10 04:18:43 mail run-parts(/etc/cron.daily)[20548]: starting readahead.cron
Oct 10 04:18:43 mail run-parts(/etc/cron.daily)[12915]: finished readahead.cron
Oct 10 04:18:43 mail run-parts(/etc/cron.daily)[20548]: starting tmpwatch
Oct 10 04:18:43 mail run-parts(/etc/cron.daily)[12953]: finished tmpwatch
Oct 10 04:18:43 mail anacron[19672]: Job `cron.daily' terminated
 
Back
Top