无法访问专用 Linux 服务器上的 Plesk 9

无法访问专用 Linux 服务器上的 Plesk 9

当我尝试访问我的 Plesk 管理页面时,似乎无法访问。经过粗略检查后,我发现服务器没有监听端口 8443 上的传入请求(通过 telnet 远程验证)。

因此我假设该服务没有运行,并在 root 帐户下通过 SSH 发出以下命令:

/etc/init.d/psa start

输出结果如下:

Starting xinetd service... done
Starting named service... done
Starting mysqld service... done
Starting postgresql service... done
Starting psa-spamassassin service... done
Plesk: Starting Mail Server... already started
Starting Plesk... failed
Starting drwebd service... not installed

作为一个可能相关的问题,今天我遇到了服务器中断,原因尚不清楚。作为调查的一部分,我使用 Plesk 重新启动服务器。此操作成功完成,是我在 Plesk 中执行的最后一个操作。自重新启动以来,我可以访问除 Plesk 本身之外的所有服务。

我以前从未遇到过这个问题,而且在管理基于 Linux 的服务器方面也是新手,我不知道下一步该怎么做?是否有日志文件可以检查服务启动错误?解决方案就在眼前吗?或者可能是其他原因。

提前致谢

编辑 其他可能相关也可能不相关的内容:

重启后,在再次尝试访问 Plesk 之前,我使用 yum 安装了 sysstat,以便能够使用 iostat。除此之外,没有对服务器进行任何其他更改。

编辑2

文件中的最后一项/var/log/sw-cp-server/error_log

2010-12-10 18:35:34: (log.c.75) server started
2010-12-10 18:35:34: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)

如果我尝试使用前面提到的命令启动 Plesk,错误日志中会添加 2 个新条目(与上面的相同)。我找到了一些对此错误日志条目的引用,这些引用与 SSL 中断的 plesk 的更新版本有关,但是据我所知,我还没有更新 SSL(除非 sysstat 的安装在后台执行了此操作??)

输出df -h为:

Filesystem            Size  Used Avail Use% Mounted on
/dev/md1              9.2G  5.2G  3.7G  59% /
/dev/md5              9.4G  2.2G  7.2G  23% /usr
/dev/md6              446G  5.2G  440G   2% /var
none                  2.0G  8.0K  2.0G   1% /tmp

编辑3

日志中的错误似乎指向一个问题,其解决方案详细说明如下:

http://kb.parallels.com/8338

我已遵循该 KB 中的指导原则,并得到以下输出:

[root@s15421692 dumping]# wget -c http://kb.parallels.com/Attachments/12669/Attachments/sw-cp-server-1.0-6.201004011105.centos5.i386.rpm
--2010-12-10 19:05:53--  http://kb.parallels.com/Attachments/12669/Attachments/sw-cp-server-1.0-6.201004011105.centos5.i386.rpm
Resolving kb.parallels.com... 64.131.90.47
Connecting to kb.parallels.com|64.131.90.47|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 429868 (420K) [application/x-redhat-package-manager]
Saving to: `sw-cp-server-1.0-6.201004011105.centos5.i386.rpm'

100%[======================================>] 429,868      509K/s   in 0.8s

2010-12-10 19:05:54 (509 KB/s) - `sw-cp-server-1.0-6.201004011105.centos5.i386.rpm' saved [429868/429868]

[root@s15421692 dumping]# rpm -Uhv sw-cp-server-1.0-6.201004011105.centos5.i386.rpm
error: Failed dependencies:
        libbz2.so.1 is needed by sw-cp-server-1.0-6.201004011105.centos5.i386
        libcrypto.so.6 is needed by sw-cp-server-1.0-6.201004011105.centos5.i386
        libpcre.so.0 is needed by sw-cp-server-1.0-6.201004011105.centos5.i386
        libssl.so.6 is needed by sw-cp-server-1.0-6.201004011105.centos5.i386

[root@s15421692 dumping]# yum install sw-cp-server-1.0-6.201004011105.centos5.i386.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: www6.atomicorp.com
addons                                                   |  951 B     00:00
atomic                                                   | 1.9 kB     00:00
atomic/primary_db                                        | 412 kB     00:00
base                                                     | 2.1 kB     00:00
extras                                                   | 2.1 kB     00:00
updates                                                  | 1.9 kB     00:00
Setting up Install Process
Examining sw-cp-server-1.0-6.201004011105.centos5.i386.rpm: sw-cp-server-1.0-6.201004011105.centos5.i386
Marking sw-cp-server-1.0-6.201004011105.centos5.i386.rpm as an update to sw-cp-server-1.0-3.200811141432.centos5.x86_64
Resolving Dependencies
--> Running transaction check
---> Package sw-cp-server.i386 0:1.0-6.201004011105.centos5 set to be updated
--> Processing Dependency: libbz2.so.1 for package: sw-cp-server
--> Processing Dependency: libcrypto.so.6 for package: sw-cp-server
--> Processing Dependency: libpcre.so.0 for package: sw-cp-server
--> Processing Dependency: libssl.so.6 for package: sw-cp-server
--> Running transaction check
---> Package bzip2-libs.i386 0:1.0.3-6.el5_5 set to be updated
---> Package bzip2-libs.x86_64 0:1.0.3-6.el5_5 set to be updated
---> Package openssl.i686 0:0.9.8e-12.el5_4.6 set to be updated
---> Package pcre.i386 0:6.6-2.el5_1.7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch       Version                          Repository   Size
================================================================================
Updating:
 sw-cp-server     i386       1.0-6.201004011105.centos5       /sw-cp-server-1.0-6.201004011105.centos5.i386
                                                                          1.2 M
Installing for dependencies:
 bzip2-libs       i386       1.0.3-6.el5_5                    updates      37 k
 openssl          i686       0.9.8e-12.el5_4.6                base        1.4 M
 pcre             i386       6.6-2.el5_1.7                    base        112 k
Updating for dependencies:
 bzip2-libs       x86_64     1.0.3-6.el5_5                    updates      35 k

Transaction Summary
================================================================================
Install      3 Package(s)
Update       2 Package(s)
Remove       0 Package(s)

Total size: 2.8 M
Total download size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): bzip2-libs-1.0.3-6.el5_5.x86_64.rpm               |  35 kB     00:00
(2/4): bzip2-libs-1.0.3-6.el5_5.i386.rpm                 |  37 kB     00:00
(3/4): pcre-6.6-2.el5_1.7.i386.rpm                       | 112 kB     00:00
(4/4): openssl-0.9.8e-12.el5_4.6.i686.rpm                | 1.4 MB     00:00
--------------------------------------------------------------------------------
Total                                           6.0 MB/s | 1.6 MB     00:00


Package sw-cp-server-1.0-6.201004011105.centos5.i386.rpm is not signed
[root@s15421692 dumping]# /etc/init.d/psa start
Starting xinetd service...                                           done
Starting named service...                                            done
Starting mysqld service...                                           done
Starting postgresql service...                                       done
Starting psa-spamassassin service...                                 done
Plesk: Starting Mail Server... already started
Starting Plesk...                                                    failed
Starting drwebd service...                                           not installed

答案1

我敢打赌 /var 所在的分区已经满了。检查df -h一下是否是这种情况。有一个日志文件(来自记忆,所以如果我稍微错了,请使用 tab 完成)/var/log/sw-cp-server/error_log

相关内容