做qmail+igenus遇到问题,请老大们帮忙??[1]

[入库:2005年9月21日] [更新:2007年3月24日]

本文简介:


新问题又来了

gadfly老大,又有问题向您请教了,我做到更改mysql时,提示
mysql> use vpopmail ;
ERROR 1049: Unknown database 'vpopmail'
没有vpopmial库,如果现在建立是否可以,不会前功尽弃吧。


------------------------------------------------------------谢谢!!!!!!!![color=red:2622b309fc][/color:2622b309fc][size=18:2622b309fc][/size:2622b309fc]

 blueriver 回复于:2003-05-30 15:28:11
1 你是不是以前就装过这步  /home/vpopmail/bin/vadddomain luck.com ?
  先把数据库里的vpopmail删除在重新来
2
重新新下载ezmlm-0.53.tar.gz
ezmlm-idx.0.40.tar.gz

 wolf1980 回复于:2003-05-30 19:48:58
老问题解决, 又出了个新了一个新问题,所有的全部装完,重起机子后,发现apache不能起 动。手动运行/etc/rc.local提示:
[root@xujj root]# /etc/rc.local
/etc/rc.local: line 8: /etc/qmail/start: Permission denied
/etc/rc.local: line 9: /etc/qmail/start: Permission denied
/etc/rc.local: line 10: /etc/qmail/start: Permission denied
Syntax error on line 817 of /var/www/conf/httpd.conf:
Cannot load /var/www/modules/libphp4.so into server: /var/www/modules/libphp4.so: cannot open shared object file: No such file or directory
还请老大们,帮忙,谢了!!!!!!!!!!!!!!!1

 gadfly 回复于:2003-05-30 20:09:21
chmod u+x /etc/qmail/start

php装了么?

 wolf1980 回复于:2003-05-31 13:22:11
老大我又重做了一次,这次又出新问题了,还得来求助老大们,
首先在文字模式下编译vpopmail时报错,这次到ezmlm说什么也不过不去了,特来请教老大!!!错误提示是:
[root@xujj ezmlm-0.53]# make setup
./compile checktag.c `head -1 conf-sqlcc`
checktag.c:11:19: mysql.h: No such file or directory
checktag.c: In function `checktag':
checktag.c:31: `MYSQL_RES' undeclared (first use in this function)
checktag.c:31: (Each undeclared identifier is reported only once
checktag.c:31: for each function it appears in.)
checktag.c:31: `result' undeclared (first use in this function)
checktag.c:32: `MYSQL_ROW' undeclared (first use in this function)
checktag.c:32: parse error before "row"
checktag.c:67: `MYSQL' undeclared (first use in this function)
checktag.c:67: parse error before ')' token
checktag.c:69: parse error before ')' token
checktag.c:71: `row' undeclared (first use in this function)
checktag.c:75: parse error before ')' token
checktag.c:89: parse error before ')' token
checktag.c:91: parse error before ')' token
checktag.c:95: parse error before ')' token
make: *** [checktag.o] Error 1
请老大们帮帮忙,请客!!哈哈!!!

 gadfly 回复于:2003-05-31 13:38:34
mysql装了么?

装了就编辑一下conf-sqlcc和conf-sqlld

修改成你相应的头文件和库文件路径

 wolf1980 回复于:2003-05-31 13:52:10
老大不好意。小弟太笨,怎样才能看头文件和库文件路径?     
mysql我是rpm包装的

 gadfly 回复于:2003-05-31 13:57:22
rpm -qa|grep -i mysql

rpm -ql mysql-devel

 wolf1980 回复于:2003-05-31 14:00:05
谢谢老大我再试试!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 wolf1980 回复于:2003-05-31 14:50:54
gadfly老大,又有问题向您请教了,我做到更改mysql时,提示
mysql> use vpopmail ;
ERROR 1049: Unknown database 'vpopmail'
没有vpopmial库,如果现在建立是否可以,不刽是前功尽弃吧。


------------------------------------------------------------谢谢!!!!!!!!

 gadfly 回复于:2003-05-31 15:59:12
看看FAQ

 wolf1980 回复于:2003-05-31 16:13:48
gadfly老大,这是我的第一个域 啊,请指点??
谢谢!!!!!!!!!!!!!!!!!!!!!!!!

 gadfly 回复于:2003-05-31 16:15:32
用了vadddomains么?

报错了么?

 wolf1980 回复于:2003-05-31 16:17:59
我用vadddomain时没有报错啊,再次用vadddoain时提示:
[root@xujj root]# /home/vpopmail/bin/vadddomain luck.com
Please enter password for postmaster:
enter password again:
Error: Domain already exists

刚才我又按firebird的方法,把以前的域册了,又重新建立了一次,还是不行啊
。      

 wolf1980 回复于:2003-05-31 16:30:35
mysql里的确没有这个库

mysql> use vpopmail
ERROR 1049: Unknown database 'vpopmail'
mysql> show databases;
+----------+
| Database |
+----------+
| ezmlm    |
| mysql    |
| test     |
+----------+
3 rows in set (0.06 sec)

mysql>

 gadfly 回复于:2003-05-31 17:54:35
这个问题,我也回答过好多遍了。


就是,如果你先前用vadddomains加过域,后来又手工删除数据库,后来vadddomain加相同的域,就加不了,报
"Error: Domain already exists "

这是因为在/var/qmail/control/virtualdomains和/var/qmail/users/assign及cdb包含相应的域,vaddaddomains时会检查这些文件,有就报这个错。

所以解决方法如下:
1.删除/var/qmail/control/virtualdomains和/var/qmail/users/assign相应的域信息

2.运行/var/qmail/bin/qmail-newu重新生成cdb

3.vaddadomains your.domain
就好了    


所以为了避免这种麻烦,以后尽量用vdeldomain删除域,而不是手工的删除数据库中的数据,容易造成不一致。


加到faq了

 wolf1980 回复于:2003-06-01 11:00:55
谢谢gadfly老大,我已经在您的指导下做成了。
只是现在用xujj用户还不能登录igenus和qmailadin,xujj是在用/home/vpopmail/bin/vadduesr xujj 添加的.用户各和密码不会错。
还请老大赐教!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!谢谢!!!!!!!!!!!!!!!!!
谢谢gadfly,firebird!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 gadfly 回复于:2003-06-01 11:18:23
pop和smtp能用么?

只有这一个用户是这样么?

有没有什么日志信息?

 wolf1980 回复于:2003-06-01 11:41:55
pop和smtp好像也有问题,
[root@xujj root]# telnet 192.168.50.6 25
Trying 192.168.50.6...
telnet: connect to address 192.168.50.6: Connection refused

[root@xujj root]# telnet 192.168.50.6 110
Trying 192.168.50.6...
Connected to 192.168.50.6.
Escape character is '^]'.
+OK POP3 mail.luck.com v2001.78rh server ready

netstat -an 
110 端口已经开了,25没有
用outlook expree 收信,也是不能登录,
log里好像没有什么东西

vi /var/log/maillog
Jun  1 11:26:08 xujj ipop3d[1264]: pop3 service init from 192.168.60.2
Jun  1 11:26:13 xujj ipop3d[1265]: pop3 service init from 192.168.60.2
Jun  1 11:26:14 xujj ipop3d[1264]: Command stream end of file while reading line user=xujj host=[192.168.60.2]
Jun  1 11:26:21 xujj ipop3d[1265]: Command stream end of file while reading line user=xujj host=[192.168.60.2]
Jun  1 11:26:29 xujj ipop3d[1266]: pop3 service init from 192.168.60.2
Jun  1 11:26:37 xujj ipop3d[1266]: Command stream end of file while reading line user=xujj host=[192.168.60.2]
Jun  1 11:26:43 xujj ipop3d[1267]: pop3 service init from 192.168.60.2
Jun  1 11:26:51 xujj ipop3d[1267]: Command stream end of file while reading line user=xujj host=[192.168.60.2]
Jun  1 11:26:58 xujj ipop3d[1268]: pop3 service init from 192.168.60.2
Jun  1 11:27:06 xujj ipop3d[1268]: Command stream end of file while reading line user=xujj host=[192.168.60.2]
Jun  1 11:36:55 xujj ipop3d[1364]: pop3 service init from 192.168.50.6
  

vi /var/log/message
Jun  1 11:26:18 xujj ipop3d[1265]: Login failed user=xujj auth=xujj host=[192.168.60.2]
Jun  1 11:26:34 xujj ipop3d[1266]: Login failed user=xujj auth=xujj host=[192.168.60.2]
Jun  1 11:26:48 xujj ipop3d[1267]: Login failed user=xujj auth=xujj host=[192.168.60.2]
Jun  1 11:27:03 xujj ipop3d[1268]: Login failed user=xujj auth=xujj host=[192.168.60.2]
Jun  1 11:36:16 xujj xinetd[1258]: Exiting...

本文关键:做qmail+igenus遇到问题,请老大们帮忙??
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top