中国网管论坛's Archiver

maldini0158 发表于 2007-10-11 21:33

关于qmailadmin的问题

我是linux的新人,刚接手了台Qmail的服务器,本来通过http://218.104.55.XX/cgi-bin/qmailadmin,可以登陆web界面配置邮箱,后来因为断电重启了下,现在输入这个链接后提示无法显示该页!这个该怎么解决啊?是不是上面什么服务没有启动啊?我该如何操作,因为我是新手,请写的详细点,谢谢各位大侠啦!!!
另外现在因为无法登陆web界面,如果要添加新邮箱的话,我该怎么操作啊!请大家帮帮我吧,急啊!谢谢啦!

[[i] 本帖最后由 maldini0158 于 2007-10-11 21:35 编辑 [/i]]

iamshiyu 发表于 2007-10-12 10:03

先看看apache启动没有,再看qmail启动没有。service httpd status,service qmail status。
可以pm下木木,她好像用过qmail。

maldini0158 发表于 2007-10-12 12:53

Qmail客户端收发都没有问题,现在就是登不上web,无法添加新邮箱

maldini0158 发表于 2007-10-12 13:12

输入service httpd status后提示:httpd dead but pid file exists
输入service qmail status后提示:unrecognized service
这个什么意思?该怎么搞?

日出东方 发表于 2007-10-12 14:49

service httpd start  or /usr/local/apache2/bin/apachect1 start

maldini0158 发表于 2007-10-12 17:25

输入service httpd start 后提示:starting httpd:[Fri Oct 12 17:30:00 2007][warn]module php4_module is already loaded,skipping     [FAILED]
WHY??

iamshiyu 发表于 2007-10-12 18:21

看看/var/log/httpd/error.log,找到相关的错误信息……

maldini0158 发表于 2007-10-12 19:37

o,我周一去单位看后把错误信息发上来,真是郁闷极了!

maldini0158 发表于 2007-10-15 12:22

在/var/log/httpd/ 目录下,有很多error,有error_log、error_log1、error_log2、ssl_error_log1等等,我输入less error_log后提示(END),我该如何看?出现(END)后我应该按什么键?

maldini0158 发表于 2007-10-15 14:28

怎么没人回答啊,请求高手的帮助啊!

maldini0158 发表于 2007-10-15 16:57

等了一天了,还是没人来,我接着再等!

iamshiyu 发表于 2007-10-16 23:14

用这个吧,tac error_log | more
注意观察每条日志的时间和内容……
end后直接回车就可以……

maldini0158 发表于 2007-10-17 12:34

在/var/log/httpd/error_log 下错误提示:[error][client 218.104.55.XX]script not found or unable to stat:/var/www/cgi-bin/qmailadmin
这个该如何做?

iamshiyu 发表于 2007-10-17 13:49

检查一下你的邮件服务器主页面是否与/var/www/cgi-bin/qmailadmin下面的东西对应先。没有用过qmail,你先pm一下木木看看,看他能不能给一些更好的建议。

maldini0158 发表于 2007-10-17 14:26

在/var/log/httpd/error_log 下错误提示:[alert](22002)name or service not known:mod_unique_id:unable to find IPv4 address of "mail"
configuration failed

maldini0158 发表于 2007-10-17 14:27

pm过木木,但没有任何回音啊,郁闷啊!!!!

maldini0158 发表于 2007-10-17 14:28

在/var/log/httpd/error_log 下错误提示:[alert](22002)name or service not known:mod_unique_id:unable to find IPv4 address of "mail"
configuration failed

maldini0158 发表于 2007-10-17 14:31

现在输入service httpd status后提示:httpd is stopped

iamshiyu 发表于 2007-10-19 09:37

恩,就是因为apache的配置出现问题了,启动不起来。
google了一下,看到一些错误信息与你类似的问题,建议是先查看你的/etc/hosts文件中的本地解析是否正确。
或许是服务器无法解析到mail这个域名了……
还有一些说认为vhosts有问题的——还是关注在对域名的访问上。
有一个家伙解决的过程是发现在/etc/httpd/conf/httpd.conf中,没有了
<Directory /home/user/www>
   Order allow,deny
   Allow from all
</Directory>
这样导致无法访问到自己的虚拟主机。当然你的都是在本地,可能和这个关系不大,还是hosts那个问题可能性更高一些。
你把错误信息用""括起来,然后用google或者baidu搜索,应该有类似的不少问题,借鉴一下试试看吧。
linux下的错误排除起来的确比较麻烦。

[[i] 本帖最后由 iamshiyu 于 2007-10-19 09:46 编辑 [/i]]

iamshiyu 发表于 2007-10-19 09:47

你可以用nslookup域名看看你的机器能否解析到这个域名……

页: [1]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com