新问题又来了
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... Jun 1 11:36:16 xujj 6月 1 11:36:16 xinetd: xinetd 关闭 succeeded Jun 1 11:36:17 xujj xinetd[1329]: xinetd Version 2.3.7 started with libwrap options compiled in . Jun 1 11:36:17 xujj xinetd[1329]: Started working: 5 available services Jun 1 11:36:19 xujj xinetd: xinetd 启动 succeeded Jun 1 11:36:39 xujj login(pam_unix)[1335]: check pass; user unknown Jun 1 11:36:39 xujj login(pam_unix)[1335]: authentication failure; logname= uid=0 euid=0 tty=pt s/3 ruser= rhost=mail Jun 1 11:36:41 xujj login[1335]: FAILED LOGIN 1 FROM mail FOR d, Authentication failure 老大这几天问了您这么多问题,您都认真的回复我,忠心的说一声谢谢!!! 辛苦了!!! |
wolf1980 回复于:2003-06-01 11:49:15 |
如果添加用户,是不是用/home/vpopmail/bin/vadduser 就可以??/ |
gadfly 回复于:2003-06-01 12:35:06 |
应该是的呀,从你的情况看,smtp服务没有启动。
用户的密码验证有点问题。看看你的数据库中的密码,有没有什么问题或异常 |
wolf1980 回复于:2003-06-01 12:52:52 |
gadfly老大,qmailadmin可以登录了,igenus还不行,我在qmailadmin中添加了一个新用户也是不行,密码没有错
mysql> select * from vpopmail; +------------+-----------+---------------------------------+--------+--------+------------+--------------------------------------------+----------+-----------------+-------+ | pw_name | pw_domain | pw_passwd | pw_uid | pw_gid | pw_gecos | pw_dir | pw_shell | pw_clear_passwd | pw_id | +------------+-----------+---------------------------------+--------+--------+------------+--------------------------------------------+----------+-----------------+-------+ | postmaster | luck.com | $1$tYsZY$YFl73AQ8YKYsaDETeSy4i. | 0 | 0 | Postmaster | /home/vpopmail/domains/luck.com/postmaster | NOQUOTA | 12345 | 1 | | xujj | luck.com | $1$dDOk;$QhykjRChoRUavXtHVZEti0 | 0 | 0 | xujj | /home/vpopmail/domains/luck.com/xujj | NOQUOTA | 12345 | 2 | | xujiajun | luck.com | $1$EsWbO$FH18fWFfE8lLzC9wLSVAr1 | 0 | 0 | xujiajun | /home/vpopmail/domains/luck.com/xujiajun | NOQUOTA | xc1999618 | 3 | +------------+-----------+---------------------------------+--------+--------+------------+--------------------------------------------+----------+-----------------+-------+ 3 rows in set (0.00 sec) 好像是smtp的问题呀,netstat -an | more 没有25端口。 |
wolf1980 回复于:2003-06-01 13:27:28 |
老大qamil好像没有启动,运行/etc/rc.local提示;
[root@xujj qmail]# /etc/rc.local /etc/rc.local: line 8: /etc/qmail/start: Permission denied /etc/rc.local: line 9: /etc/qmail/start: Permission denied httpd (pid 79 already running |
wolf1980 回复于:2003-06-01 13:37:35 |
chmod u+x /etc/qmail/start
后提示: [root@xujj qmail]# /etc/qmail/start [1] 1664 tcpserver: illegal option -- I tcpserver: usage: tcpserver [ -1UXpPhHrRoOdDqQv ] [ -c limit ] [ -x rules.cdb ] [ -B banner ] [ -g gid ] [ -u uid ] [ -b backlog ] [ -l localname ] [ -t timeout ] host port program |
wolf1980 回复于:2003-06-01 13:57:43 |
是不是tcpserver 启动错误??? |
gadfly 回复于:2003-06-01 14:38:06 |
看看你的启动脚本怎么写的 |
wolf1980 回复于:2003-06-01 14:49:46 |
gadfly老大,启动脚本是哪个文件??
vi /etc/qmail/smtp.sh /usr/local/bin/tcpserver -H -R -I luck.com -t 1 -c 100 -v -p -x/etc/qmail/tcp.smtp.cdb -u 502 -g 501 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true | /var/qmail/bin/splogger & vi /etc/qmail/pop.sh tcpserver -c 100 -v -i luck.com -U -H -R 0 pop3 /var/qmail/bin/qmail-popup luck.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 | /var/qmail/bin/splogger & vi /etc/qmail/tcp.smtp :allow 请老大看看是不是这几个文件???谢谢!!!! |
wolf1980 回复于:2003-06-01 15:54:26 |
gadfly老大,看样子是我在装ucspi-tcp时出错了,/etc/qmail/tcp.smtp应该是
127.0.0.1:allow,RELAYCLIENT="" :allow 还有办法能改吗??这个错了,是不是好文件都要出错呀? -----------------------------------------------------------------谢谢!!!!!!!!!!!!! |
gadfly 回复于:2003-06-01 18:25:50 |
luck.com之前是-l而不是-I
给你个例子脚本,自己照着改 /usr/local/qmail/bin/tcpserver -H -R -l test.com -t 1 -c 100 -v -p -x/etc/qmail/tcp.smtp.cdb -u 509 -g 509 0 smtp /usr/local/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /usr/bin/true /usr/local/qmail/bin/cmd5checkpw /usr/bin/true 2>&1 | /usr/local/qmail/bin/splogger & 注意这些命令是一行的 |
wolf1980 回复于:2003-06-01 18:59:32 |
晕了,还是不行,
老大小弟还得求您帮着看看,还有没有办法可以找到哪里出错了,再不行就重新再来一遍试试吧! vi /etc/qmail/smtp.sh (/var/qmail/bin/没有cmd5,小弟就没有加这个/var/qmail/bin/cmd5checkpw /usr/bin/true 2) /usr/local/bin/tcpserver -H -R -l luck.com -t 1 -c 100 -v -p -x/etc/qmail/tcp.smtp.cdb -u 502 -g 501 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true | /var/qmail/bin/splogger & vi /etc/qmail/pop.sh tcpserver -c 100 -v -l luck.com -U -H -R 0 pop3 /var/qmail/bin/qmail-popup luck.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 | /var/qmail/bin/splogger & [root@xujj bin]# /etc/rc.local [1] 1474 tcpserver: fatal: unable to bind: address already used httpd (pid 839) already running root@xujj root]# netstat -an | more (这次25端口到是开了) Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 192.168.50.6:53 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN tcp 0 0 192.168.50.6:23 192.168.50.6:32787 TIME_WAIT udp 0 0 0.0.0.0:32768 0.0.0.0:* udp 0 0 0.0.0.0:32769 0.0.0.0:* udp 0 0 192.168.50.6:53 0.0.0.0:* udp 0 0 127.0.0.1:53 0.0.0.0:* udp 0 0 0.0.0.0:111 0.0.0.0:* |
gadfly 回复于:2003-06-01 22:10:39 |
开了也没用,只是tcpserver开的,你的smtpd调用还是不对。
在iceblood的包中有个cmd5check包找找看,装一下 |
wolf1980 回复于:2003-06-01 22:56:32 |
gadfly老大,还是不行,我都没有信心了。cmd5checkpw-0.22.tar.gz我也装上了,
smtp.sh也按您介绍的改了 vi /etc/qmail/smt.sh /usr/local/bin/tcpserver -H -R -l luck.com -t 1 -c 100 -v -p -x/etc/qmail/tcp.smtp.cdb -u 502 -g 501 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true /var/qmail/bin/cmd5checkpw /bin/true 2>&1 | /var/qmail/bin/splogger & vi /etc/pop.sh tcpserver -c 100 -v -l luck.com -U -H -R 0 pop3 /var/qmail/bin/qmail-popup luck.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 | /var/qmail/bin/splogger & [root@xujj bin]# /etc/rc.local [1] 1339 httpd (pid 806) already running 运行/etc/rc.local也没有提示什么错误。 它就是不能登录?老大真不好意,麻烦您两天了,是不是我太笨, ~ |
gadfly 回复于:2003-06-02 13:08:16 |
cmd5checkpw有了么?
不用手工运行rc.local 手工运行这个smtp脚本就是了。 现在是什么错误? 没有人天生就会,多看看unix和linux管理相关的书 |
wolf1980 回复于:2003-06-02 13:51:16 |
早上怎么上不来了,老大过来没有??? |
wolf1980 回复于:2003-06-02 16:34:24 |
老大真不知用那什么表达对您的谢意,无论这次是否成功都要对您说谢谢!!!因为从您这、从chinauix我学会到很多知识。虽然我不是计算机专业毕业,但我从事的是网络这个行业,和每一位chinauix成员一样喜欢unix,喜欢自由。(本版只讨论技术,下不为例!)
gadfly老大cmd5checkpw我已经装了,由于目录不和默认的一样,我不知我这样安装对不对 # cd cmd5checkpw-0.22 # make # cp cmd5checkpw /var/qmail/bin/ ; cp cmd5checkpw.8 /var/qmail/man/man8/ 运行smtp.sh没有什么错误提示: [root@xujj qmail]# /etc/qmail/smtp.sh [root@xujj qmail]# vi /etc/qmail/smtp.sh /usr/local/bin/tcpserver -H -R -l luck.com -t 1 -c 100 -v -p -x/etc/qmail/tcp.smtp.cdb -u 502 -g 501 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true /var/qmail/bin/cmd5checkpw /bin/true 2>&1 | /var/qmail/bin/splogger & vi /etc/qmail/pop.sh tcpserver -c 100 -v -l luck.com -U -H -R 0 pop3 /var/qmail/bin/qmail-popup luck.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 | /var/qmail/bin/splogger & 下面是我重新启动机子,并是用xujj登录的日志 vi /var/log/maillog Jun 2 16:37:03 xujj splogger: 1054600623.082372 /etc/qmail/pop.sh: line 1: tcpserver: command not found Jun 2 16:37:03 xujj splogger: 1054600623.164925 tcpserver: status: 0/100 Jun 2 16:37:03 xujj qmail: 1054600623.648815 status: local 0/10 remote 0/20 Jun 2 16:38:22 xujj splogger: 1054600702.674479 tcpserver: fatal: unable to bind: address already used Jun 2 16:38:27 xujj splogger: 1054600707.472868 tcpserver: fatal: unable to bind: address already used 它提示tcpserver没有找到, ~ |
gadfly 回复于:2003-06-02 16:41:50 |
现在的脚本没有问题。
测试看看吧 |
wolf1980 回复于:2003-06-02 21:46:49 |
gadfly老大,真不好意思,在同一个地方跌到两次,郁闷!又重新做了一遍
igenus还是不能登录,qmailadmin可以登录。25端口没有打开,再按老大的方法,把 cmd5checkpw-0.22.tar.gz给装上, # tar xzvf cmd5checkpw-0.22.tar.gz # cd cmd5checkpw-0.22 # make # make install cp cmd5checkpw /usr/local/qmail/bin/ ; cp cmd5checkpw.8 /usr/local/qmail/man/man8/ cp: cannot create regular file `/usr/local/qmail/bin/cmd5checkpw': No such file or directory cp: cannot create regular file `/usr/local/qmail/man/man8/cmd5checkpw.8': No such file or direct ory make: *** [install] Error 1 目录 不一样,我就直接把相应的文件copy到相应目录中,不知这样是否可以?? #cp cmd5checkpw /var/qmail/bin/ #cp cmd5checkpw.8 /var/qmail/man/man8/ 修改/etc/qmail/smt.sh /usr/local/bin/tcpserver -H -R -l luck.com -t 1 -c 100 -v -p -x/etc/qmail/tcp.smtp.cdb -u 502 -g 501 0 smtp /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true /var/qmail/bin/cmd5ch eckpw /bin/true 2>&1 | /var/qmail/bin/splogger & 然后运行/etc/qmail/smtp.sh 25端口就打开了,但igenus还是不能登录??? 我把安装过程中出现的错误和不一样的地方贴上,还得请gadfly老大帮我看一下,错在哪 里???谢谢!!! !! 1 运行/home/vpopmail/bin/vadddomain luck.com [root@xujj vpopmail-5.2.1]# /home/vpopmail/bin/vadddomain luck.com Please enter password for postmaster: 12345 enter password again: 12345 could not connect to mysql update server Unknown database 'vpopmail' with database 登录mysql,show databases,vpopmail库已经创建。继续做了。、 2 运行/usr/local/bin/ezmlm/ezmlm-mktab -d testlist | mysql -uezmlm -pezmlm -f ezmlm提示: mysql -uezmlm -pezmlm -f ezmlm ERROR 1051 at line 2: Unknown table 'testlist' ERROR 1051 at line 7: Unknown table 'testlist_slog' ERROR 1051 at line 8: Unknown table 'testlist_digest' ERROR 1051 at line 9: Unknown table 'testlist_digest_slog' ERROR 1051 at line 10: Unknown table 'testlist_mod' ERROR 1051 at line 11: Unknown table 'testlist_mod_slog' ERROR 1051 at line 12: Unknown table 'testlist_allow' ERROR 1051 at line 13: Unknown table 'testlist_allow_slog' ERROR 1051 at line 14: Unknown table 'testlist_deny' ERROR 1051 at line 15: Unknown table 'testlist_deny_slog' ERROR 1051 at line 16: Unknown table 'testlist_cookie' ERROR 1051 at line 18: Unknown table 'testlist_mlog' ERROR 1051 at line 19: Unknown table 'testlist_digest_cookie' ERROR 1051 at line 20: Unknown table 'testlist_digest_mlog' 用此命令查看 mysqlshow -u root -pmysql2003 ezmlm已有此表,就没有理会。 Database: ezmlm +------------------------+ | Tables | +------------------------+ | testlist | | testlist_allow | | testlist_allow_slog ;| | testlist_cookie ;| | testlist_deny ;| | testlist_deny_slog | | testlist_digest ;| | testlist_digest_cookie | | testlist_digest_mlog | | testlist_digest_slog | | testlist_mlog ;| | testlist_mod | | testlist_mod_slog ;| | testlist_slog ;| +----------------------- 3、 在安装autorespond时 make install提示:No rule to make target `install'. Stop. 查看INSTALL文件没有make install此项,跳过了。 4、 这个文件修改的不知对不对请老帮忙看一下, $CFG_BASEPATH = "/var/www/igenus"; #$CFG_BASEPATH = "/home/vhosts2/mail.sczg.com"; #$CFG_BASEPATH = "/home/www/mail.wz110.com/igenus"; // Mysql $CFG_MYSQL_HOST = 'localhost'; $CFG_MYSQL_USER = 'root'; $CFG_MYSQL_PASS = 'mysql2003'; $CFG_MYSQL_DB = 'vpopmail'; 只改了它的目录,host.user.pass. 这里的user和pass,应该是mysql的用户和密码吧?? 5、 vi /var/www/igenus/login.php 修改的地方原文是 <INPUT CLASS=myinput2 TYPE="text" NAME="name" SIZE="10" STYLE='font-family:Tahoma'> @ <INPUT TYPE="text" NAME="domain" VALUE="<?php echo $Cookies_Domain;?>" SIZE="19" CLASS="myinput2" STYLE='font-family:Tahoma'> peng介绍的,在size 前有value字段,我没有添加,只是把@后面的改成 <option value="mail.xujj.luck.com">mail.luck.com</option> 6、 maillog中只有一条相关内容 Jun 2 20:44:53 xujj splogger: 1054615493.403920 tcpserver: status: 0/100 还请老大帮我查错哪里,出了这么多疑问还得让老大辛苦一回,再次向老大重重的说声:谢谢!!!!!!!! |
gadfly 回复于:2003-06-02 22:43:41 |
1.关于md5chkpw的安装,其实改改Makefile中的安装路径应该就可以。
不过你那样复制也没问题。 如果smtp收发信件没问题,就问题不大 2.vadddomain的缺省mysql的口令是secret,你把mysql的root口令改回来看看,如果你安装vpopmail的时候指定了口令,那你的口令就得改回成着个. 3.ezmlzm只要不用邮件列表,装不装问题不大 4.autoresponse要,先make,再mailinstall 5.igenus我不熟,不过前面的安装文档很多,配置文件也有,对比看看吧。 刚才看了peng的文档,很详细呀,你说的这些都有。 http://www.chinaunix.net/forum/viewtopic.php?t=66064&start=0 建议你按照peng的文档,或者iceblood的文档step by step,如果有问题 也好找原因。 3. |
wolf1980 回复于:2003-06-02 23:22:54 |
gadfly老大,再次谢谢您!
其实我就是按peng老大的贴子做的, 在安装autorespond时 make install提示:No rule to make target `install'. Stop. 在添加luck.com,和添加用户时,是加了密码,如果把这改成 $CFG_MYSQL_HOST = 'localhost'; $CFG_MYSQL_USER = 'root'; $CFG_MYSQL_PASS = '12345'; $CFG_MYSQL_DB = 'vpopmail' 登录时提示: Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: YES) in /var/www/igenus/login.php on line 42 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/igenus/login.php on line 43 42.43行是 $sql = mysql_connect($CFG_MYSQL_HOST, $CFG_MYSQL_USER, $CFG_MYSQL_PASS); mysql_select_db($CFG_MYSQL_DB,$sql); 最后还是向老大说声谢谢!!!!!!!!!!!!!!!! |
wolf1980 回复于:2003-06-03 06:49:53 |
现在它提示:用户不存在! |
wolf1980 回复于:2003-06-03 08:06:17 |
gadfly老大,告诉您一个好消息,我已经可以登录了,只是修改了/var/www/igenus/login.php @后面改成这个,可能以前的是mail.luck.com,不能解析吧!
<SELECT name=domain> <OPTION class=myinput2 selected value=luck.com SIZE="19" STYLE='font-family:Tahoma'>luck.com</OPTION></SELECT> 我再试一下其它的功能,谢谢老大,谢谢chinaux。当然不能忘了我们的前任版主,peng老大!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
wolf1980 回复于:2003-06-03 09:03:04 |
gadfly 不好意思,老大又有问题了,
登录以后,不能发信,提示: Fatal error: Call to undefined function: mail() in /var/www/igenus/include/send_fun.php on line 528 vi /var/www/igenus/include/send_fun.php 528 return mail($this->mailTo,$subject,"",$mailHeader); |
wolf1980 回复于:2003-06-03 09:08:16 |
老大,我看了其它前辈的解决方法,可我已以装完,不现在是否有办法解决??
方法: “我们装qmail 时,一般都把sendmail卸摘掉。当然把/usr/sbin/sendmail也个删除掉,据说,安装php时候,她很聪明,会自动判断/usr/sbin/sendmail是否存在,如不存在,则不编译mail()函数!所以在编译php以前,先做个联结即: ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail ,这样再编译php的时候就不会出现mail函数没定义的问题了,当然,为了安全期间,在编译php 的时候最好加上 --with-mail ,比如我的编译参数如下: ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/lib --enable-track-vars --with-xml --with-mysql --with-ftp --with-mail 这样一般不会出现什么问题了,不管什么版本的php,从4.2~4.4.3.4都没有什么问题” |
gadfly 回复于:2003-06-03 10:04:52 |
[quote:5254f1f468]
gadfly老大,再次谢谢您! 其实我就是按peng老大的贴子做的, 在安装autorespond时 make install提示:No rule to make target `install'. Stop. [/quote:5254f1f468] 要先make,直接make install是不行的。仔细看看peng的文档。 [quote:5254f1f468] Fatal error: Call to undefined function: mail() in /var/www/igenus/include/send_fun.php on line 528 vi /var/www/igenus/include/send_fun.php 528 return mail($this->mailTo,$subject,"",$mailHeader); [/quote:5254f1f468] 关于这个问题,前面有很多讨论,好像说有可能几个原因,我只记得一个 注意sendmail的属性,是755 呵呵,你的安装很有成果,什么时候,做个igenus的FAQ吧。先加精,等有时间再做 |
wolf1980 回复于:2003-06-03 10:34:31 |
gadfly老大,您太抬举小弟了,小弟只是在安装过程中遇到的问题比较多,等qmail+igenus完全成功了,把我安装igenus的一点心得、要注意的、容易出问题的地方贴上,希望能对大家有一点点帮助。 |
gadfly 回复于:2003-06-03 11:09:23 |
好的,期盼中 |
wolf1980 回复于:2003-06-05 07:13:41 |
老大我搞了一天,528问题还是搞不定它,再次来求助老大!
1、按xmy老大方法,换了个php的安装包,重新安装(我只重装了一遍),没有效果。 全部重做,装php时按照kim老大的方法安装加了这些参数: ./configure --with-apxs2=/var/qmail/bin/apxs --with-config-file-path=/usr/local/lib --enable-track-vars --with-xml --with-mysql --with-mail 还是不行,再次来请教老大啦? 错误提示是: Fatal error: Call to undefined function: mail() in /var/www/igenus/include/send_fun.php on line 528 2、还有一个错误,点击邮箱管理,右上角提示: Warning: Division by zero in /var/www/igenus/mailbox.php on line 331 vi /var/www/igenus/mailbox.php 330 <TR> 331 <TD BGCOLOR="#FFFFFF" WIDTH="3%"><B><?php echo intval($MTotalSize/$MQuota*100) ."%";?></B></TD> 332 <TD BGCOLOR="#D0E6CE" WIDTH="93%"> 333 <TABLE WIDTH="<?php echo intval($MTotalSize/$MQuota*100)."%";?>" BORDER="0" CELLPADDING="0" CELLSPACING="0"> 3、还有就是我装的这个igenus的通讯录,系统设置、帮助都不能用,是不是还需要装其它的包? 谢谢!!!!!!!!!!!!!!!!!! 昨天,没上来,给老大送上一份迟到的祝福端午节快乐!! |
wolf1980 回复于:2003-06-05 18:42:11 |
老大又搞不定它了,重装php总是提示:
checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for member fd in BUFF *... no checking for mod_charset compatibility option... no checking for Apache 2.0 module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... configure: error: Please note that Apache version >= 2.0.44 is required. 怎样才能彻底的把php删除,好重装!!!! _____________________________________________小弟谢谢了!!!!!!!!1 |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/
领测软件测试网最新更新
关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073