Chinaunix

标题: Logzilla on SUSE 问题 [打印本页]

作者: shaman478    时间: 2014-09-23 14:36
标题: Logzilla on SUSE 问题
最近要搞一个logzilla 按照这个贴子:

http://www.suse.in.th/how-tofaq-(advanced-skill)-42/how-to-install-logzilla-2-9-9-on-suse-linux-enterprise-server-11/

做到第九步web方式安装logzilla就出不来页面了,页面错误显示如下:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
153.95.192.142
Tue Sep 23 13:28:19 2014
Apache/2.2.12 (Linux/SUSE)

怀疑是apache配置问题,问题如下:

1. 帖子的第二步安装Perl模块 因为服务器不能去外网所有没用cpan的自动安装而是用了手动安装,请帮忙检查下以下安装方法是否正确?

root@abc:/root/RPM_source > tar -zxvf Net-MySQL-0.11.tar.gz
root@abc:/root/RPM_source > perl Makefile.PL
root@abc:/root/RPM_source > make
root@abc:/root/RPM_source > make test
root@abc:/root/RPM_source > make install

之后用perldoc perllocal命令也能看到刚才安装的模块


2. 帖子的第五步 Edit apache configuration

原来/etc/apache2/conf.d里面是的,我自己touch没有logzilla.conf这个文件了一个并且内容如下,不知道这样做法是不是正确?

root@abc:/etc/apache2/conf.d > cat logzilla.conf
Alias /logs /srv/www/htdocs/logzilla/html
<Directory />
        Options FollowSymLinks
        AllowOverride None
</Directory>



作者: shaman478    时间: 2014-09-23 15:26
root@abc:/etc/apache2/conf.d > cat logzilla.conf
Alias /logs /srv/www/htdocs/logzilla/html
<Directory />
        Options FollowSymLinks
        AllowOverride None
</Directory>

使用http://IP/logs 访问时 apache log里总是显示如下错误:

script '/srv/www/htdocs/login.php' not found or unable to stat

login.php其实在/srv/www/htdocs/logzilla/html里是存在的

目录权限我改成4777里了用户组从原来的wwwrun:www改成了root:root也还是不行

drwsrwxrwx    5 root     root          120 Oct 29  2009 logzilla

作者: action08    时间: 2014-09-25 19:39
suse很稳定的,应该没有问题呀




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2