MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: EndErr on 2016-01-19, 07:29:21
-
Installed new v7, but mail not working.
From time to time i get in Maillog:
Jan 18 23:40:28 vhsrv send: status: local 0/10 remote 2/60
Jan 18 23:40:28 vhsrv send: delivery 26: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jan 18 23:40:28 vhsrv send: status: local 0/10 remote 1/60
Jan 18 23:40:28 vhsrv send: delivery 25: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Jan 18 23:40:28 vhsrv send: status: local 0/10 remote 0/60
Jan 18 23:40:34 vhsrv pop3: tcpserver: ok 4266 :::ffff:192.168.1.102:110 :::ffff:36.39.112.172::33367
# sh /script/sysinfo; yum list *-toaster; hostname -s; hostname -f;cat /etc/hosts
A. Kloxo-MR: 7.0.0.b-2016011401
- Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
- PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) x86_64
- Hostname: vhsrv.ioda.eu
C. Services:
1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Used: --Use PHP Branch--
3. Httpd: --uninstalled--
- PHP Type: [unknown]
4. Lighttpd: --uninstalled--
5. Hiawatha: --used--
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: bind-9.9.7-1.mr.el6.x86_64
9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
total used free shared buffers cached
Mem: 3832 2215 1616 0 182 1313
-/+ buffers/cache: 720 3111
Swap: 3967 0 3967
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_vhsrv-lv_root
50G 7.4G 40G 16% /
*** Process Time: 00:00:00:01.1231 (dd:hh:mm:ss:xxxxxx) ***
* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
(importance after Kloxo-MR update)
Installed Packages
autorespond-toaster.x86_64 2.0.5-1.4.2.mr.el6 @mratwork-release-version-arch
courier-authlib-toaster.x86_64 0.59.2-1.3.13.mr.el6 @mratwork-release-version-arch
courier-imap-toaster.x86_64 4.1.2-1.3.18.mr.el6 @mratwork-release-version-arch
daemontools-toaster.x86_64 0.76-1.3.7.mr.el6 @mratwork-release-version-arch
ezmlm-toaster.x86_64 0.53.324-1.3.9.mr.el6 @mratwork-release-version-arch
libdomainkeys-toaster.x86_64 0.68-1.3.7.mr.el6 @mratwork-release-version-arch
libsrs2-toaster.x86_64 1.0.18-1.3.7.mr.el6 @mratwork-release-version-arch
maildrop-toaster.x86_64 2.0.3-1.3.9.mr.el6 @mratwork-release-version-arch
qmail-pop3d-toaster.x86_64 1.03-1.3.55.mr.el6 @mratwork-release-version-arch
qmail-toaster.x86_64 1.03-1.3.55.mr.el6 @mratwork-release-version-arch
ucspi-tcp-toaster.x86_64 0.88-1.3.12.mr.el6 @mratwork-release-version-arch
vpopmail-toaster.x86_64 5.4.33-1.4.4.mr.el6 @mratwork-release-version-arch
Available Packages
control-panel-toaster.noarch 0.5-1.4.1.mr mratwork-release-neutral-noarch
send-emails-toaster.noarch 0.5-1.4.1.mr mratwork-release-neutral-noarch
simscan-toaster.x86_64 1.4.0-1.4.8.mr.el6 mratwork-release-version-arch
spamassassin-toaster.x86_64 3.4.0-1.4.6.mr.el6 mratwork-release-version-arch
squirrelmail-toaster.noarch 1.4.20-1.3.18.mr mratwork-release-neutral-noarch
vhsrv
vhsrv.domain.tld
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
### begin - add by Kloxo-MR
192.168.1.102 vhsrv.domain.tld vhsrv
2X7.X2Y.27Y.X54 vhsrv.domain.tld vhsrv
### end - add by Kloxo-MR
-
Try reinstall 'yum reinstall *-toaster -y; sh /script/fixmail-all; sh /script/restart-mail -y'.
Better add domain first.
-
domain is added already
-
Make sure your provider not blocked port smtp. Try 'telnet localhost 25' (also try with change 'localhost' with real public IP).
-
when trying
yum reinstall *-toaster -y; sh /script/fixmail-all; sh /script/restart-mail -y
it stuck on 'fixmail-all', what's wrong?
Change qmail.init
--------------------------
Fix '89' uid to vpopmail:vchkpw ownership
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
--------------------------
Set '/home/vpopmail' for 755 permissions
Set '/home/vpopmail/domains' for 755 permissions
Set '/home/lxadmin' for 755 permissions
Set '/home/lxadmin/mail' for 755 permissions
Set '/home/lxadmin/mail/domains' for 755 permissions
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost'
Set '/var/qmail/control/me' with 'vhsrv.ioda.eu'
Set '/var/qmail/control/defaultdomain' with 'vhsrv.ioda.eu'
Set '/var/qmail/control/defaulthost' with 'vhsrv.ioda.eu'
--------------------------
Fix Qmail cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
---- and nothing after for an hour ---
-
Try reinstall KLoxo-MR with 'sh /script/upcp -y'.
-
did reinstalling kloxo,
now I get mysql not starting
-
Change 'skip-innodb' to '#skip-innodb' inside '/etc/my.cnf.d/server.cnf' and then restart with 'sh /script/restart-mysql -y'.
-
another error on sh cleanup:
- Create database interface template (Forced)
ERROR 1045 (28000): Access denied for user 'kloxo'@'localhost' (using password: YES)
-
there is no 'skip-innodb' there, so left as is
now mysql don't show any problems, everything restarts well except that error
- Create database interface template (Forced)
ERROR 1045 (28000): Access denied for user 'kloxo'@'localhost' (using password: YES)
and now can't login to panel
and another one (came from fix-all):
Fixing FTP User
Unable to open the passwd file: No such file or directory
-
Inform here 'dir -l /etc/my.cnf.d' and 'cat /etc/my.cnf'.
-
These are errors that shows on 'sh cleanup':
...
Get Kloxo License info
- Get process
- Create database interface template (Forced)
ERROR 1045 (28000): Access denied for user 'kloxo'@'localhost' (using password: YES)
...
Fix services
- Fix dns services
- Fix webcache services
- Fix web services
- Fix php services
- Fix mail-all services
- Fix ftp-all services
Unable to open the passwd file: No such file or directory
Fixing Hiawatha service
...
[root@vhsrv script]# dir -l /etc/my.cnf.d/
total 24
-rw-r--r-- 1 root root 295 Dec 16 18:05 client.cnf
-rw-r--r-- 1 root root 3886 Jan 19 13:32 my.cnf
-rw-r--r-- 1 root root 232 Dec 16 18:05 mysql-clients.cnf
-rw-r--r-- 1 root root 834 Jan 19 14:10 server.cnf
-rw-r--r-- 1 root root 833 Jan 19 12:52 server.cnf.rpmsave
-rw-r--r-- 1 root root 285 Dec 16 18:05 tokudb.cnf
[root@vhsrv script]# cat /etc/my.cnf
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
-
Didn't found server.cnf file in /etc/my.cnf.d directory ?.
-
it is there, take a look again
-
I've gave up so I've reinstalled the system.
No I've got a lot of notifications:
Port:21
Action sh /script/restart-ftp --force>/dev/null 2>&1
How to fix that?
-
Go to 'ftp configure' and click update.
-
Still coming, did not fix the notifications.
-
Did you update Kloxo-MR to 2016011904?.
-
it's a fresh install from 2 days, does it needs update?
-
Check version with 'sh /script/sysinfo' or 'sh /script/version-full'.
-
# sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016011904
- Web: hiawatha-10.0.0-f.6.mr.el6.x86_64
- PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) x86_64
- Hostname: vhsrv0.ioda.eu
C. Services:
1. MySQL: MariaDB-server-10.0.23-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Used: --Use PHP Branch--
3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: suphp
4. Lighttpd: --uninstalled--
5. Hiawatha: --unused--
6. Nginx: --uninstalled--
7. Cache: --uninstalled--
8. Dns: bind-9.9.7-1.mr.el6.x86_64
9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
total used free shared buffers cached
Mem: 3832 2033 1798 0 81 1592
-/+ buffers/cache: 360 3472
Swap: 4975 0 4975
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_vhsrv0-lv_root
50G 7.3G 40G 16% /
-
For update 2016011904, you can see 'enable SSL/TLS' in 'FTP Configure'. So, disable it and click update.
-
still comming
-
still comming
What's you mean?.
-
notifications are coming from the server
Port: 21
Action: sh /script/restart-ftp --force >/dev/null 2>&1
How to fix?
-
notifications are coming from the server
Port: 21
Action: sh /script/restart-ftp --force >/dev/null 2>&1
How to fix?
1. In 'ftp configure', click update
2. In 'watchdog', click 'ftp' and then change '__driver_xinetd' to '__driver_ftp'
-
it already set to __driver_ftp
-
Inform here 'dir -l /etc/xinetd.d'
-
]# dir -l /etc/xinetd.d
total 48
-rw-------. 1 root root 1157 Oct 7 2013 chargen-dgram
-rw-------. 1 root root 1159 Oct 7 2013 chargen-stream
-rw-------. 1 root root 1157 Oct 7 2013 daytime-dgram
-rw-------. 1 root root 1159 Oct 7 2013 daytime-stream
-rw-------. 1 root root 1157 Oct 7 2013 discard-dgram
-rw-------. 1 root root 1159 Oct 7 2013 discard-stream
-rw-------. 1 root root 1148 Oct 7 2013 echo-dgram
-rw-------. 1 root root 1150 Oct 7 2013 echo-stream
-rw-r--r-- 1 root root 332 Dec 22 20:52 rsync
-rw-------. 1 root root 1212 Oct 7 2013 tcpmux-server
-rw-------. 1 root root 1149 Oct 7 2013 time-dgram
-rw-------. 1 root root 1150 Oct 7 2013 time-stream
-
Hmm. Still receive notification related to ftp?.
-
still receiving, no solution to fix yet
any ideea?
-
This issue happen in master or slave?.
-
Master, single server
-
Try disable 'status' for ftp in 'watchdog'.
-
I think that helped, but not sure if it is a good idea for disabling statuses.