Hi all, my server not sending to email sending / receving please help. netstat -tap Code: [root@root ~]# netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name tcp 0 0 *:submission *:* LIST EN 1925/master tcp 0 0 *:pop3 *:* LIST EN 1845/dovecot tcp 0 0 *:imap *:* LIST EN 1845/dovecot tcp 0 0 *:sunrpc *:* LIST EN 1496/rpcbind tcp 0 0 *:netopia-vo5 *:* LIST EN 1663/sshd tcp 0 0 *:ftp *:* LIST EN 1979/pure-ftpd (SER tcp 0 0 root.keykubad.com:domain *:* LIST EN 1348/named tcp 0 0 localhost:domain *:* LIST EN 1348/named tcp 0 0 *:smtp *:* LIST EN 1925/master tcp 0 0 localhost:rndc *:* LIST EN 1348/named tcp 0 0 *:imaps *:* LIST EN 1845/dovecot tcp 0 0 *:pop3s *:* LIST EN 1845/dovecot tcp 0 0 localhost:10025 *:* LIST EN 1925/master tcp 0 0 *:mysql *:* LIST EN 1821/mysqld tcp 0 1560 root.keykubad.c:netopia-vo5 host-176-40-240-170.r:47175 ESTA BLISHED 38956/sshd tcp 0 0 *:submission *:* LIST EN 1925/master tcp 0 0 *:pop3 *:* LIST EN 1845/dovecot tcp 0 0 *:imap *:* LIST EN 1845/dovecot tcp 0 0 *:sunrpc *:* LIST EN 1496/rpcbind tcp 0 0 *:webcache *:* LIST EN 1969/httpd tcp 0 0 *:http *:* LIST EN 1969/httpd tcp 0 0 *:tproxy *:* LIST EN 1969/httpd tcp 0 0 *:netopia-vo5 *:* LIST EN 1663/sshd tcp 0 0 *:ftp *:* LIST EN 1979/pure-ftpd (SER tcp 0 0 *:domain *:* LIST EN 1348/named tcp 0 0 *:smtp *:* LIST EN 1925/master tcp 0 0 localhost:rndc *:* LIST EN 1348/named tcp 0 0 *:https *:* LIST EN 1969/httpd tcp 0 0 *:imaps *:* LIST EN 1845/dovecot tcp 0 0 *:pop3s *:* LIST EN 1845/dovecot getnameinfo failed tcp 0 0 root.keykubad.com:http [UNKNOWN]:38514 TIME _WAIT - getnameinfo failed tcp 0 0 root.keykubad.com:http [UNKNOWN]:38586 TIME _WAIT - var/log/maillog Code: Feb 5 11:32:29 root postfix/qmgr[1939]: 1E57FE1B3A: from=<[email protected]>, size=399, nrcpt=1 (queue active) Feb 5 11:32:29 root postfix/qmgr[1939]: 560F7E1EDE: from=<[email protected]>, size=662, nrcpt=1 (queue active) Feb 5 11:32:29 root postfix/qmgr[1939]: 5DBDDE1EF6: from=<[email protected]>, size=659, nrcpt=1 (queue active) Feb 5 11:32:29 root postfix/smtp[38505]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 5 11:32:29 root postfix/smtp[38506]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 5 11:32:29 root postfix/smtp[38505]: 1C175E1F4F: to=<[email protected]>, relay=none, delay=38281, delays=38281/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 5 11:32:29 root postfix/smtp[38506]: 1E57FE1B3A: to=<[email protected]>, orig_to=<root>, relay=none, delay=38160, delays=38160/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 5 11:32:29 root postfix/smtp[38505]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 5 11:32:29 root postfix/smtp[38506]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 5 11:32:29 root postfix/smtp[38505]: 560F7E1EDE: to=<[email protected]>, relay=none, delay=42060, delays=42060/0.05/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 5 11:32:29 root postfix/smtp[38506]: 5DBDDE1EF6: to=<[email protected]>, relay=none, delay=46837, delays=46837/0.05/0.01/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 5 11:35:49 root postfix/scache[38510]: statistics: start interval Feb 5 11:32:29 Feb 5 11:35:49 root postfix/scache[38510]: statistics: domain lookup hits=0 miss=2 success=0% Feb 5 11:35:49 root postfix/scache[38510]: statistics: address lookup hits=0 miss=2 success=0% Feb 5 11:37:29 root postfix/qmgr[1939]: 442F9E1ECB: from=<[email protected]>, size=412, nrcpt=1 (queue active) Feb 5 11:37:29 root postfix/smtp[38612]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 5 11:37:29 root postfix/smtp[38612]: 442F9E1ECB: to=<[email protected]>, orig_to=<root>, relay=none, delay=38396, delays=38396/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 5 11:47:29 root postfix/qmgr[1939]: 7A0D4E1CB7: from=<[email protected]>, size=412, nrcpt=1 (queue active) Feb 5 11:47:29 root postfix/smtp[38826]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 5 11:47:29 root postfix/smtp[38826]: 7A0D4E1CB7: to=<[email protected]>, orig_to=<root>, relay=none, delay=43107, delays=43107/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 5 12:02:29 root postfix/qmgr[1939]: 5EBEFE1F03: from=<[email protected]>, size=2416, nrcpt=1 (queue active) Feb 5 12:02:29 root postfix/smtp[39291]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused Feb 5 12:02:29 root postfix/smtp[39291]: 5EBEFE1F03: to=<[email protected]>, orig_to=<root@localhost>, relay=none, delay=29864, delays=29863/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Some english im using google translate Pls help me not send / receive mail
till, [root@root ~]# service amavisd start amavisd: unrecognized service [root@root ~]# not found service start amavisd
Did you follow the centos installation instructions closely? amavisd is installed in chapter 14: http://www.howtoforge.com/perfect-server-centos-6.4-x86_64-apache2-dovecot-ispconfig-3-p4 but it seems to be missing on your server. lease note that all services have to be installed as described in the installation guide before you install ispconfig.
till thank you Code: base | 3.7 kB 00:00 epel | 4.2 kB 00:00 epel/primary_db | 5.9 MB 00:00 extras | 3.4 kB 00:00 rpmforge | 1.9 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 1.4 MB 00:00 webtatic | 2.9 kB 00:00 1502 packages excluded due to repository priority protections Setting up Install Process Package amavisd-new-2.8.0-8.el6.noarch already installed and latest version Package matching spamassassin-3.3.1-3.el6.x86_64 already installed. Checking for update. Package clamav-0.98.1-1.el6.x86_64 already installed and latest version Package clamd-0.98.1-1.el6.x86_64 already installed and latest version Package unzip-6.0-1.el6.x86_64 already installed and latest version Package bzip2-1.0.5-7.el6_0.x86_64 already installed and latest version Package unrar-4.2.3-1.el6.rf.x86_64 already installed and latest version Package perl-DBD-MySQL-4.013-3.el6.x86_64 already installed and latest version Nothing to do already installed amavisd Code: [root@root ~]# chkconfig --levels 235 amavisd on error reading information on service amavisd: No such file or directory [root@root ~]# Code: [root@root ~]# chkconfig --levels 235 clamd.amavisd on error reading information on service clamd.amavisd: No such file or directory [root@root ~]# Code: [root@root ~]# /etc/init.d/amavisd start -bash: /etc/init.d/amavisd: No such file or directory [root@root ~]# Code: [root@root ~]# /etc/init.d/clamd.amavisd start -bash: /etc/init.d/clamd.amavisd: No such file or directory [root@root ~]# There is a problem till chapter 14 installation.
There is no problem with chapter 14 of the guide, I installed a server today based on the guide and the system worked out of the box. seems as if your yum database reports packages as installed that are not fully installed. Please post the output of: ls /etc/init.d/
till output of command, Code: [root@root ~]# ls /etc/init.d/ abrt-ccpp cups mailman portreserve single abrtd dovecot mcelogd postfix smartd abrt-oops fail2ban mdmonitor psacct snmpd acpid functions messagebus pure-ftpd snmptrapd atd haldaemon mysqld quota_nld spamassassin auditd halt named rdisc sshd autofs htcacheclean netconsole restorecond sssd bastille-firewall httpd netfs rngd svnserve blk-availability ip6tables network rpcbind sysstat certmonger iptables nfs rpcgssd udev-post cgconfig irqbalance nfslock rpcidmapd winbind cgred kdump ntpd rpcsvcgssd ypbind clamd killall ntpdate rsyslog cpuspeed lvm2-lvmetad numad sandbox crond lvm2-monitor oddjobd saslauthd [root@root ~]#
The packages are really missing. You might try to uninstall them with yum and then install them again.
till, Code: yum remove amavisd-new spamassassin clamav clamd unzip bzip2 unrar perl-DBD-mysql Error, Code: Dependency Removed: abrt-cli.x86_64 0:2.0.8-21.el6.centos dracut.noarch 0:004-336.el6_5.2 dracut-kernel.noarch 0:004-336.el6_5.2 kexec-tools.x86_64 0:2.0.0-273.el6 man.x86_64 0:1.6f-32.el6 man-pages-overrides.noarch 0:6.5.2-1.el6 mysql-server.x86_64 0:5.1.71-1.el6 redhat-lsb.x86_64 0:4.0-7.el6.centos redhat-lsb-compat.x86_64 0:4.0-7.el6.centos redhat-lsb-core.x86_64 0:4.0-7.el6.centos redhat-lsb-graphics.x86_64 0:4.0-7.el6.centos redhat-lsb-printing.x86_64 0:4.0-7.el6.centos rpm-build.x86_64 0:4.8.0-37.el6 selinux-policy.noarch 0:3.7.19-231.el6 selinux-policy-targeted.noarch 0:3.7.19-231.el6 sos.noarch 0:2.2-47.el6.centos systemtap.x86_64 0:2.3-4.el6_5 systemtap-client.x86_64 0:2.3-4.el6_5 Failed: amavisd-new.noarch 0:2.8.0-8.el6 İnstall Code: yum install amavisd-new spamassassin clamav clamd unzip bzip2 unrar perl-DBD-mysql İnstall output, Code: Loaded plugins: fastestmirror, priorities, replace, security Loading mirror speeds from cached hostfile * base: ftp.dgn.net.tr * epel: ftp.linux.org.tr * extras: ftp.dgn.net.tr * rpmforge: mirror.de.leaseweb.net * updates: ftp.dgn.net.tr * webtatic: nl.repo.webtatic.com 1502 packages excluded due to repository priority protections Setting up Install Process Package amavisd-new-2.8.0-8.el6.noarch already installed and latest version Resolving Dependencies --> Running transaction check ---> Package bzip2.x86_64 0:1.0.5-7.el6_0 will be installed ---> Package clamav.x86_64 0:0.98.1-1.el6 will be installed ---> Package clamd.x86_64 0:0.98.1-1.el6 will be installed ---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed ---> Package spamassassin.x86_64 0:3.3.1-3.el6 will be installed ---> Package unrar.x86_64 0:4.2.3-1.el6.rf will be installed ---> Package unzip.x86_64 0:6.0-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: bzip2 x86_64 1.0.5-7.el6_0 base 49 k clamav x86_64 0.98.1-1.el6 epel 1.3 M clamd x86_64 0.98.1-1.el6 epel 150 k perl-DBD-MySQL x86_64 4.013-3.el6 base 134 k spamassassin x86_64 3.3.1-3.el6 updates 1.1 M unrar x86_64 4.2.3-1.el6.rf rpmforge 112 k unzip x86_64 6.0-1.el6 base 149 k Transaction Summary ================================================================================ Install 7 Package(s) Total download size: 3.0 M Installed size: 7.9 M Is this ok [y/N]: y Downloading Packages: (1/7): bzip2-1.0.5-7.el6_0.x86_64.rpm | 49 kB 00:00 (2/7): clamav-0.98.1-1.el6.x86_64.rpm | 1.3 MB 00:00 (3/7): clamd-0.98.1-1.el6.x86_64.rpm | 150 kB 00:00 (4/7): perl-DBD-MySQL-4.013-3.el6.x86_64.rpm | 134 kB 00:00 (5/7): spamassassin-3.3.1-3.el6.x86_64.rpm | 1.1 MB 00:00 (6/7): unrar-4.2.3-1.el6.rf.x86_64.rpm | 112 kB 00:00 (7/7): unzip-6.0-1.el6.x86_64.rpm | 149 kB 00:00 -------------------------------------------------------------------------------- Total 1.6 MB/s | 3.0 MB 00:01 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : clamav-0.98.1-1.el6.x86_64 1/7 Installing : clamd-0.98.1-1.el6.x86_64 2/7 Installing : bzip2-1.0.5-7.el6_0.x86_64 3/7 Installing : unrar-4.2.3-1.el6.rf.x86_64 4/7 Installing : perl-DBD-MySQL-4.013-3.el6.x86_64 5/7 Installing : spamassassin-3.3.1-3.el6.x86_64 6/7 Installing : unzip-6.0-1.el6.x86_64 7/7 Verifying : unzip-6.0-1.el6.x86_64 1/7 Verifying : clamd-0.98.1-1.el6.x86_64 2/7 Verifying : spamassassin-3.3.1-3.el6.x86_64 3/7 Verifying : clamav-0.98.1-1.el6.x86_64 4/7 Verifying : perl-DBD-MySQL-4.013-3.el6.x86_64 5/7 Verifying : unrar-4.2.3-1.el6.rf.x86_64 6/7 Verifying : bzip2-1.0.5-7.el6_0.x86_64 7/7 Installed: bzip2.x86_64 0:1.0.5-7.el6_0 clamav.x86_64 0:0.98.1-1.el6 clamd.x86_64 0:0.98.1-1.el6 perl-DBD-MySQL.x86_64 0:4.013-3.el6 spamassassin.x86_64 0:3.3.1-3.el6 unrar.x86_64 0:4.2.3-1.el6.rf unzip.x86_64 0:6.0-1.el6 Complete!
till, mysql error and, Code: [root@root ~]# /etc/init.d/clamd.amavisd start Starting clamd.amavisd: ERROR: Missing argument for option at line 21 ERROR: Can't open/parse the config file /etc/clamd.d/amavisd.conf [FAILED] [root@root ~]# phpmyadmin error Code: Deprecated: Function eregi() is deprecated in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 146 Deprecated: Function eregi() is deprecated in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 146 Deprecated: Function eregi() is deprecated in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 146 Deprecated: Function eregi() is deprecated in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 146 Deprecated: Function eregi() is deprecated in /usr/share/phpmyadmin/libraries/select_lang.lib.php php -v php 5.4.24 till yum all packages remove command pls start installation all packages
all packages yum erase full installation new error named, command : service named start Code: ls: cannot access /var/named/chroot/etc/named: No such file or directory mount: mount point /var/named/chroot/etc/named does not exist ls: cannot access /var/named/chroot/var/named: No such file or directory mount: mount point /var/named/chroot/var/named does not exist touch: cannot touch `/var/named/chroot/etc/named.conf': No such file or directory mount: mount point /var/named/chroot/etc/named.conf does not exist touch: cannot touch `/var/named/chroot/etc/named.rfc1912.zones': No such file or directory mount: mount point /var/named/chroot/etc/named.rfc1912.zones does not exist touch: cannot touch `/var/named/chroot/etc/rndc.key': No such file or directory mount: mount point /var/named/chroot/etc/rndc.key does not exist ls: cannot access /var/named/chroot/usr/lib64/bind: No such file or directory mount: mount point /var/named/chroot/usr/lib64/bind does not exist touch: cannot touch `/var/named/chroot/etc/named.iscdlv.key': No such file or directory mount: mount point /var/named/chroot/etc/named.iscdlv.key does not exist touch: cannot touch `/var/named/chroot/etc/named.root.key': No such file or directory mount: mount point /var/named/chroot/etc/named.root.key does not exist Cannot find configuration file. You could create it by system-config-bind You have new mail in /var/spool/mail/root