Plesk/Apache 问题主目录

Plesk/Apache 问题主目录

目前我们遇到了 apache/plesk 问题,当我们尝试检查所有配置时,就会出现此问题。这是错误日志,但奇怪的是“sys_user_id 67”不再存在。我们删除了该订阅,因此它似乎卡在某个配置文件中。

这是我们的 Plesk 配置日志

[2013-04-25 02:41:50][INFO] ==> Installed Plesk version/build: 11.0.9 CentOS 6 110120608.16

[2013-04-25 02:41:50][INFO] ==> Detect system configuration
[2013-04-25 02:41:50][INFO] OS: CentOS release 6.3 (Final)
Kernel \r on an \m
[2013-04-25 02:41:50][INFO] Arch: x86_64

[2013-04-25 02:41:50][INFO] ==> Validation of given db password
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> Web server configuration checker version: 1.0.0

[2013-04-25 02:41:50][INFO] ==> STEP 1: Checking for custom configuration templates...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 2: Checking for the JkWorkersFile directive in the Apache configuration...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 3: Checking associations between domains and IP addresses...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 4: Checking for corrupted reference between IP collections and IP addresses...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 5: Checking for links between APS applications and subscriptions...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 6: Checking for the Zend extension declaraion in php.ini...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 7: Check symbolic links for latest virtual host config files... 
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 8: Checking for system users home directories consistency...
[2013-04-25 02:41:50][INFO] There is missing system user's login or home directory for sys_user_id 67 of hosting with www_root in /var/www/vhosts/wanmolen.nl/www/dev1 of domain 
[2013-04-25 02:41:50][INFO] There is missing Document Root directory /var/www/vhosts/wanmolen.nl/www/dev1 for domain on the filesystem for system user 
[2013-04-25 02:41:50][INFO] There is missing system user's login or home directory for sys_user_id 67 of hosting with www_root in /var/www/vhosts/wanmolen.nl/www/dev1/dev1 of domain 
[2013-04-25 02:41:50][INFO] There is missing Document Root directory /var/www/vhosts/wanmolen.nl/www/dev1/dev1 for domain on the filesystem for system user 
[2013-04-25 02:41:50][INFO] There is missing system user's login or home directory for sys_user_id 67 of hosting with www_root in /var/www/vhosts/wanmolen.nl/httpdocs/joomla of domain 
[2013-04-25 02:41:50][INFO] There is missing Document Root directory /var/www/vhosts/wanmolen.nl/httpdocs/joomla for domain on the filesystem for system user 
[2013-04-25 02:41:50][INFO] There is missing system user's login or home directory for sys_user_id 67 of hosting with www_root in /var/www/vhosts/wanmolen.nl/www/dev1/wanmolen of domain 
[2013-04-25 02:41:50][INFO] There is missing Document Root directory /var/www/vhosts/wanmolen.nl/www/dev1/wanmolen for domain on the filesystem for system user 
[2013-04-25 02:41:50][INFO] There is missing Document Root directory /var/www/vhosts/webrichard.nl/subdomains/joomla for domain on the filesystem for system user webrichard
[2013-04-25 02:41:50][WARNING] There are some inconsistencies in the Parallels Plesk Panel system users. Please check http://kb.parallels.com/113490 for solution and log file /root/webserver_configuration_issues.log for details.
[2013-04-25 02:41:50][INFO] Result: Warning

[2013-04-25 02:41:50][INFO] ==> STEP 9: Checking for multiple bootstappers in generated configurations dir...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 10: Checking for records with empty name field in the Configurations table...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 11: Checking for SElinux state...
[2013-04-25 02:41:50][INFO] Result: OK

[2013-04-25 02:41:50][INFO] ==> STEP 12: Checking for nginx ULIMIT value...
[2013-04-25 02:41:50][INFO] Result: OK

答案1

这是数据库表 domains、hosting 和 sys_users 之间的不一致。没有自动化解决方案,只能用肉眼检查这些表并修复关系。

答案2

请检查此网址: http://autoinstall.plesk.com/PSA_9.5.3/dist-pkg-FreeBSD-6.1-i386/ports_release/psa/pkg-install

搜索“sys_user_id”显示安装程序脚本正在数据库中查找数据。也许用户 67 留在某个数据库表中。

相关内容