您的位置:首页 > 理论基础 > 计算机网络

Warning: fsockopen(): unable to connect to tcp://localhost:25 (Permission denied)

2013-08-15 17:01 1561 查看
发邮件遇到的问题

Warning: fsockopen(): unable to connect to tcp://localhost:25 (Permission denied)

----------------------------------------------------------------------------------------------------------------------------------

原因
http://www.vbulletin.com/forum/forum/vbulletin-3-8/vbulletin-3-8-questions-problems-and-troubleshooting/3945336-can-t-get-email-working-again-after-server-move http://www.vbulletin.com/forum/forum/vbulletin-legacy-versions-products/legacy-vbulletin-versions/vbulletin-3-6-questions-problems-and-troubleshooting/223336-smtp-mail-and-selinux-in-enforcing-mode?s=182f71624b82111a30417cdc5d07876b
就是因为没关selinux

解决办法

(7)SELinuxの無効化

[root@centos ~]# getenforce ← SELinux状態確認

Enforcing ← SELinux有効

[root@centos ~]# setenforce 0 ← SELinux無効化

[root@centos ~]# getenforce ← SELinux状態確認

Permissive ← SELinux無効

[root@centos ~]# vi /etc/sysconfig/selinux ← SELinux設定ファイル編集

SELINUX=enforcing



SELINUX=disabled ← システム起動時にSELinuxを無効化
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐