MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: HamadaBader on 2016-08-25, 18:21:21

Title: problem with qmail-remote
Post by: HamadaBader on 2016-08-25, 18:21:21
Welcome,,

there are problem with qmail-remote

http://i.imgur.com/Eddy5TN.png

it make very load and take all 2 cores of vps
it just fresh kloxo,, and there is no sites yet

don't  know what problem
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-25, 18:26:28
and here is ## sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2016081702

B. OS: CentOS release 6.8 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.51-1.ius.el6.x86_64
   2. PHP: php53u-5.3.29-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
   7. Dns: bind-9.9.7-1.mr.el6.x86_64

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          5851        426       5425          0          6        152
   -/+ buffers/cache:        267       5583
   Swap:            0          0          0
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 01:18:57
Are you using spamassassin instead bogofilter and or enable 'virus scan'?.

Investigate mail message in 'mail queue'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 01:42:42
really i don't ,, sorry i am begain in linux

not change ,, it just fresh install , i try to Enable Virus Scan in Server Mail Settings
but i get  simscan_is_not_installed_for_virus_scan

there is screen
http://i.imgur.com/bfQvsIp.png

and this for Mail Queue
http://i.imgur.com/tsBx5Jb.png

sorry if you can help me with details
and please can i host and play filesharing script for site and work normal
or i must install any thing else
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 01:46:09
Better not using 'virus scan'. Try disable it in 'mail server setting'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 01:51:59
it not enabled ,, in last reply i try to enabled it to you but i get message simscan_is_not_installed_for_virus_scan

here is settings in of mail server
http://i.imgur.com/8aitgxq.png
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 02:00:25
Try 'yum remove clam* -y'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 02:06:03
Package(s) clam* available, but not installed.
http://i.imgur.com/4HJA71N.png
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 02:09:19
Use 'bogofilter' instead 'spamassassin' in 'switch program'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 02:16:31
it already set
http://i.imgur.com/fSlcSok.png
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 03:17:09
Try, 'sh /script/cleanup'. But inform here 'yum list installed *-toaster clam*'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 21:47:24
sh /script/cleanup
http://i.imgur.com/39mY2md.png

yum list installed *-toaster clam*
http://i.imgur.com/ag5nQHn.png

then i run top ,, get over load
http://i.imgur.com/Oz8td0t.png
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 22:12:51
Try to protect sendmail from website with:
Code: [Select]
echo '/home' > /var/qmail/control/badsendmailfrom
sh /script/restart-mail

and then check cpu usage for 'qmail-remote'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 22:33:51
no still
http://i.imgur.com/Nsi1QSo.png
http://i.imgur.com/fSqqxBi.png
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 22:36:53
Delete 'message' from 'mail queue'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 22:47:53
 No Mail Queues Under localhost
http://i.imgur.com/aXroepg.png

and then i run
http://i.imgur.com/SS6yHct.png

then run top
http://i.imgur.com/sDIyP8I.png

the load is increase over ,, it now load average: 6.09, 5.62, 3.44
in last 2 only
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 23:14:06
Check 'mail log' in 'log manager'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-26, 23:19:09
attach
please
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-26, 23:32:04
Something wrong with your hostname server. Inform here 'hostname; hostname -f; cat /etc/hosts'.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-27, 00:05:37
http://i.imgur.com/jrT9gxo.png
Title: Re: problem with qmail-remote
Post by: MRatWork on 2016-08-27, 00:12:20
http://i.imgur.com/jrT9gxo.png
Remove content between "### begin" and "### end" and then reboot.
Title: Re: problem with qmail-remote
Post by: HamadaBader on 2016-08-27, 06:48:08
thanks ,, i think it solved

now i have problem with cgi-bin folder
because my site will be xfilesharing script ,, i get 404 as any file in cgi-bin folder

and i search in forum and get and this solve and i made it
https://forum.mratwork.com/kloxo-mr-technical-helps/allow-public-cgi-bin-access/?action=post;quote=46411;last_msg=46412

after this solve i get this in site
#!/usr/bin/perl -X
use index_m;

index_m::run();

which txt are found in index.cgi in cgi-bin folder
http://i.imgur.com/YfDFUkq.png