|
公司让我做一个开源项目的评估,项目的内容见http://backuppc.sourceforge.net 这是一个在线基于浏览器的备份系统,项目要在linux server上运行,我用的是redhat9.
安照项目的帮助文档要求安装需要用到的软件包,唯一一个有问题的地方就是关于mod_perl问题,按照ReferenceGuide文档关于apache http server中The mod_perl Module配置了进行了相关配置,但是用httpd -l看运行的模块中并没有运行这个程序需要的mod_perl 模块
上面的问题先忽略先,按照这个项目的帮助文档运行,在一个关于运行时错误帮助列表帮助中出现了问题:
这个错误帮助的原文如下: Debugging installation problems
This section will probably grow based on the types of questions on the BackupPC mail list. Eventually the FAQ at http://backuppc.sourceforge.net/faq/ will include more details than this section.
Check log files
Assuming BackupPC can start correctly you should inspect /opt/local/BackupPC/data/log/LOG for any errors. Assuming backups for a particular host start, you should be able to look in /opt/local/BackupPC/data/pc/$host/LOG for error messages specific to that host. Always check both log files.
CGI script doesn't run
Perhaps the most common program with the installation is getting the CGI script to run. Often the setuid isn't configured correctly, or doesn't work on your system.
First, try running BackupPC_Admin manually as the BackupPC user, eg:
su root
/var/www/cgi-bin/BackupPC_Admin
Now try running it as the httpd user (which ever user apache runs as);
su httpd
/var/www/cgi-bin/BackupPC_Admin
In both cases do you get normal html output?
系统apache的user(conf.d中定义的)是apache,但是我执行命令 su apahce时,出现提示:This account is currently not available.明明这个用户是存在的,它隶属于apache组呀,真是不明白为什么?
:help |
|