安装PowerMTA(pmta) 错误解答

CentOS 7 64位系统

手动安装PowerMTA4.0以及4.5r11-5.0r1

装完后无法启动

然后输入:pmtad –debug

查看错误信息如下:

2014-10-29 07:11:58 PowerMTA(TM) v4.5r11 (2010-12-28 14:26:32, 64-bit) starting
2014-10-29 07:11:58 Copyright(c) 1999-2010, Port25 Solutions, Inc.All Rights Reserved.
2014-10-29 07:11:58 Current time: Wed, 29 Oct 2014 07:11:58 -0400
2014-10-29 07:11:58 Host names: 这里是域名.com localhost.com localhost
2014-10-29 07:11:58 Domain suffix: com
2014-10-29 07:11:58 Name servers: 8.8.4.4 8.8.8.8 209.244.0.3
2014-10-29 07:11:58 SMTP source IP addresses:
2014-10-29 07:11:58   global:(any local)
2014-10-29 07:11:58 Domain Keys:
2014-10-29 07:11:58 OS: Linux 2.6.32-431.1.2.0.1.el6.x86_64 (CentOS release 6.5 (Final))
2014-10-29 07:11:58 glibc v2.12 (stable), NPTL 2.12
2014-10-29 07:11:58 Priority nice range: min. 15, max. 0
2014-10-29 07:11:58 Use of realtime priorities disabled
2014-10-29 07:11:58 1 CPU (x86_64), 512 MB memory detected (512 MB usable)
2014-10-29 07:11:58 Max. opened files: 65535, max. threads: infinite
2014-10-29 07:11:58 Max. virtual memory: unlimited, max. data size: unlimited
2014-10-29 07:11:58 Startup error: Invalid LAK signature

这个问题其实很简单!

河马大叔提到配置问题以及内存小于4G,其实1G内存照样可以,

所以,河马大叔说的不对

当然也不是许可证的问题!

错误原因: 源的问题,破解版必须使用破解源,如果用在线yum install 的安装方式 则会以失败告终!

大多数人都是用这个命令安装的!【错误】 yum install /var/tmp/powermta.rpm

破解版pmta不是这样安装的!

解决办法:

先卸载掉:php* httpd* mysql* bind* postfix dovecot logwatch selinux-policy

卸载命令:yum remove php* httpd* mysql* bind* postfix dovecot logwatch selinux-policy -y

安装下Powermta所必须的依赖包!

yum install bc vim-enhanced mysql-server httpd mod_ssl MySQL-python php gd php-gd php-xml php-mbstring php-mysql php-imap postfix cyrus-sasl cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-md5 cyrus-sasl-plain dovecot zip unzip openssl-devel make gcc sendmail-devel python-setuptools python-devel htop mlocate subversion nmap telnet yum-utils bind bind-chroot bind-libs bind-utils caching-nameserver opendkim vixie-cron ftp screen ntp ntpdate rdate wput squirrelmail squid -y

不然会提示以下错误

error: Failed dependencies:
	/usr/bin/perl is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(Cwd) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(File::Temp) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(Getopt::Long) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(POSIX) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(Storable) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(Time::Local) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(strict) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(vars) is needed by PowerMTA-4.5r1-201509101911.x86_64
	perl(warnings) is needed by PowerMTA-4.5r1-201509101911.x86_64

然后就可以正式安装PowerMTA-4.01.rpm 了

你也可以手动替换!我用的是我自己做的包

rpm -ivh /root/Crack/PowerMTA-4.5.rpm

停止pmta以及pmtahttp,不然替换会出错

service pmta stop

service pmtahttp stop

然后给与权限:chown pmta:pmta /etc/pmta/ -R
破解:

pmtad文件 覆盖”/usr/sbin/pmtad

pmtahttp文件 覆盖”/usr/sbin/pmtahttp

license授权文件覆盖”/etc/pmta/license

cp -i license /etc/pmta/

y

cp -i pmtad /usr/sbin/

y

cp -i pmtahttpd /usr/sbin/

y

重启PMTA,注意,默认的配置文件需要自己配置一下,

[root@localhost ~]# service pmta restart

Stopping PowerMTA:                       [确定]

Starting PowerMTA:                         [确定]

[root@localhost ~]# service pmtahttp restart

OK。到此结束,问题完美解决!大家有什么不懂的可以来问我哦!

教程中所使用的破解包可以去我的论坛下载

https://bbs.ramuel.com/thread-1324-1-1.html

我的QQ:294959388

电话:15809173878

发表回复

页面加载时间0.31 s