免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3288 | 回复: 13
打印 上一主题 下一主题

[服务应用] postfix遇到的问题。求解,谢谢。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-08-22 15:49 |只看该作者 |倒序浏览
本帖最后由 happyjk 于 2013-08-22 15:52 编辑

Aug 22 15:25:27 localhost postfix/cleanup[11984]: 8A2F730B80ED: message-id=<20130822072527.8A2F730B80ED@mail.example.com>
Aug 22 15:25:27 localhost postfix/cleanup[11984]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/data/mysql/data/mysql.sock' (13)
Aug 22 15:25:27 localhost postfix/cleanup[11984]: warning: 8A2F730B80ED: virtual_alias_maps map lookup problem for root@example.com
Aug 22 15:26:27 localhost postfix/pickup[11979]: 8BB0630B80ED: uid=0 from=<root>
Aug 22 15:26:27 localhost postfix/cleanup[11984]: 8BB0630B80ED: message-id=<20130822072627.8BB0630B80ED@mail.example.com>
Aug 22 15:26:27 localhost postfix/cleanup[11984]: warning: 8BB0630B80ED: virtual_alias_maps map lookup problem for root@example.com
Aug 22 15:27:27 localhost postfix/pickup[11979]: 8CF1F30B80ED: uid=0 from=<root>
Aug 22 15:27:27 localhost postfix/cleanup[11984]: 8CF1F30B80ED: message-id=<20130822072727.8CF1F30B80ED@mail.example.com>
Aug 22 15:27:27 localhost postfix/cleanup[11984]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/data/mysql/data/mysql.sock' (13)
Aug 22 15:27:27 localhost postfix/cleanup[11984]: warning: 8CF1F30B80ED: virtual_alias_maps map lookup problem for root@example.com
Aug 22 15:28:27 localhost postfix/pickup[11979]: 8E36130B80ED: uid=0 from=<root>
Aug 22 15:28:27 localhost postfix/cleanup[11984]: 8E36130B80ED: message-id=<20130822072827.8E36130B80ED@mail.example.com>
Aug 22 15:28:27 localhost postfix/cleanup[11984]: warning: 8E36130B80ED: virtual_alias_maps map lookup problem for root@example.com
Aug 22 15:29:27 localhost postfix/pickup[11979]: 8FBA530B80ED: uid=0 from=<root>
Aug 22 15:29:27 localhost postfix/master[6355]: warning: process /usr/libexec/postfix/trivial-rewrite pid 9003 exit status 127
Aug 22 15:29:27 localhost postfix/master[6355]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Aug 22 15:29:46 localhost authdaemond: stopping authdaemond children
Aug 22 15:33:59 localhost authdaemond: modules="authmysql", daemons=5
Aug 22 15:33:59 localhost authdaemond: Installing libauthmysql
Aug 22 15:34:00 localhost authdaemond: file not found

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
2 [报告]
发表于 2013-08-22 15:53 |只看该作者
没连接上mysql的数据库?检查下mysql服务是否启动了

论坛徽章:
0
3 [报告]
发表于 2013-08-22 15:58 |只看该作者
回复 2# chenyx


    mysql正常,用extmail也可以正常登陆mysql

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2013-08-22 16:02 |只看该作者
warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/data/mysql/data/mysql.sock' (13)

这个明显就是没连上你的mysql数据库.

论坛徽章:
0
5 [报告]
发表于 2013-08-22 16:28 |只看该作者
本帖最后由 happyjk 于 2013-08-22 16:29 编辑

回复 4# chenyx

确实是,但问题出在哪呢?

DBI connect('database=extmail;host=localhost;mysql_socket=/data/mysql/data/mysql.sock','extman',...) failed: Can't connect to local MySQL server through socket '/data/mysql/data/mysql.sock' (13) at /data/web/extman/libs/Ext/Mgr/MySQL.pm line 45  
[ Go Back ] >> Re-Login 
   

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
6 [报告]
发表于 2013-08-22 16:31 |只看该作者
你确认/data/mysql/data/mysql.sock是你的mysql的sock文件吗?

论坛徽章:
21
白羊座
日期:2013-08-23 15:49:17金牛座
日期:2013-10-08 17:00:03处女座
日期:2013-10-12 11:54:11CU十二周年纪念徽章
日期:2013-10-24 15:41:34午马
日期:2013-11-27 14:07:21巨蟹座
日期:2013-12-04 10:56:03水瓶座
日期:2013-12-04 15:58:00亥猪
日期:2014-05-24 16:02:3115-16赛季CBA联赛之辽宁
日期:2016-11-07 13:52:53戌狗
日期:2013-08-23 16:15:31白羊座
日期:2013-08-24 21:59:24巨蟹座
日期:2013-08-25 16:34:24
7 [报告]
发表于 2013-08-22 18:09 |只看该作者
是不是认证没通过啊。这种东西最好找个完整文档,太复杂。

论坛徽章:
0
8 [报告]
发表于 2013-08-23 10:16 |只看该作者
是否有多个mysql配置文件,确认是否配制为/data/mysql/data/mysql.sock

论坛徽章:
0
9 [报告]
发表于 2013-08-23 14:15 |只看该作者
回复 8# godamen


     这个确认过了,硬实是这个目录和文件,权限也够。

论坛徽章:
0
10 [报告]
发表于 2013-08-23 14:17 |只看该作者
回复 7# zongg


    认证的文件里用户名,密码,数据库名称,我都检查过了。都没有问题。

但有这个提示:
Aug 22 15:33:59 localhost authdaemond: Installing libauthmysql
Aug 22 15:34:00 localhost authdaemond: file not found
Aug 22 17:15:10 localhost authdaemond: stopping authdaemond children
Aug 22 17:15:10 localhost authdaemond: modules="authmysql", daemons=5
Aug 22 17:15:10 localhost authdaemond: Installing libauthmysql
Aug 22 17:15:10 localhost authdaemond: file not found
Aug 22 17:29:18 localhost authdaemond: stopping authdaemond children
Aug 22 17:33:34 localhost authdaemond: modules="authmysql", daemons=5
Aug 22 17:33:34 localhost authdaemond: Installing libauthmysql
Aug 22 17:33:35 localhost authdaemond: file not found
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP