centos - WHM/cPanel 从另一台服务器复制多个帐户/包对于每个帐户都失败?

标签 centos cpanel centos6 whm

刚买了一台运行 WHM/cPanel 的新服务器,和旧的一样。尝试使用内置工具迁移多个帐户/包。我能够连接到另一台服务器,它列出了所有包和帐户,我选择所有并开始该过程。

然后它会遍历每个包和帐户,并且无法复制任何内容。这是为示例帐户给出的错误:

命令失败,退出状态为 255

...etc...
Copying Suspension Info (if needed)...Done
Copying SSL certificates, CSRs, and keys...Privilege de-escalation before loading    datastore either failed or was omitted. at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1159
Cpanel::SSLStorage::_load_datastore('Cpanel::SSLStorage::Installed=HASH(0x3c72300)',     'lock', 1) called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 1244
       Cpanel::SSLStorage::_load_datastore_rw('Cpanel::SSLStorage::Installed=HASH(0x3c72300)')     called at /usr/local/cpanel/Cpanel/SSLStorage/Installed.pm line 634
       Cpanel::SSLStorage::Installed::_rebuild_records('Cpanel::SSLStorage::Installed=HASH(0x3c7230    0)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 308
    Cpanel::SSLStorage::__ANON__() called at /usr/local/cpanel/Cpanel/SSLStorage.pm line     1330
        Cpanel::SSLStorage::_execute_coderef('Cpanel::SSLStorage::Installed=HASH(0x3c72300)',     'CODE(0x49ee958)') called at /usr/local/cpanel/Cpanel/SSLStorage.pm line 310
    Cpanel::SSLStorage::rebuild_records('Cpanel::SSLStorage::Installed=HASH(0x3c72300)')     called at /usr/local/cpanel/scripts/pkgacct line 2888
    Script::Pkgacct::__ANON__('Cpanel::SSLStorage::Installed=HASH(0x3c72300)') called at     /usr/local/cpanel/scripts/pkgacct line 2913
    Script::Pkgacct::backup_ssl_for_user('jshea89', '/home/webwizard/cpmove-jshea89')     called at /usr/local/cpanel/scripts/pkgacct line 532
    Script::Pkgacct::script('Script::Pkgacct', '--use_backups', '--skiphomedir',      'jshea89', '/home/webwizard', '--split', '--compressed', '--mysql', 5.5, ...) called at      /usr/local/cpanel/scripts/pkgacct line 111

==sshcontroloutput==
sh-4.1# exit $RET
exit
sh-4.1$ exit $RET
exit

sshcommandfailed=255`

最佳答案

有点 hack,但我去了/usr/local/cpanel/Cpanel/SSLStorage.pm 第 1244 行并注释掉了 Carp。

我的旧服务器上的帐户现在正在存档:)

关于centos - WHM/cPanel 从另一台服务器复制多个帐户/包对于每个帐户都失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22430526/

相关文章:

linux - nginxadmin 1 上游 cpanel 超时

git - 为什么 SaltStack pkg.installed 命令无法识别 CentOS 6.6 上已安装的软件包

php - nginx php fastcgi无法写入,即使使用他自己的权限也被拒绝

linux - 错误 : docker-engine-selinux conflicts with 2:container-selinux?

linux - Yum 没有安装 msmtp

centos - 无法搜索源 RPM - 它在 repo 上,为什么我找不到它

java - 没有堆转储的 oom 错误 ec2 导致 jvm 崩溃

apache htaccess 位于带有 cpanel/whm 的子目录中

php - 使用 cron 时的 MySQL 性能差异

linux - centos 5.x 到 6.x 的兼容性问题