Plesk 12.x / Linux :: Domain Migration From CPanel 11.42 - PHP Fatal Error
Sep 5, 2014
I trying to migrate a domain from cpanel 11.42 to my new plesk 12 vps.
When i do this i got a error:
PHP Fatal error: Call to a member function getElementsByTagName() on a non-object in /usr/local/psa/admin/plib/backup/Conflicts/Detector.php on line 536
The domain has 3 sub domains, 1 parked domain and several mailboxes.
When you perform a migration, Plesk gives me this error. For more I search, I find what may be the cause.
Error: Unable to find domain with name 'e-domain.com'[2014-11-18 19:41:31] ERR [panel] exception 'PleskObjectNotFoundException' with message 'Unable to find domain with name 'e-domain.com'' in /usr/local/psa/admin/plib/Domain.php:950 Stack trace: #0 /usr/local/psa/admin/plib/backup/Conflicts/PleskDataManager.php(1278): Domain::getByName('e-domain.c...') #1 /usr/local/psa/admin/plib/backup/Conflicts/Resolver/UnfitSettingsResolver.php(500):
I'm getting following errors while migrating my accounts from latest version of cPanel:
Code: Warning:
Couldn't get 'cgi_bin_mode' attribute for domain where cgi-bin dir is '' and docroot dir is '/home/inofash/public_html'. Domain will be migrated in that way as if its cgi-bin directory was located under docroot.
Because of that none of my accounts can't be migrated.
Using Plesk 12.0.18 and CentOS 6.6, I installed PHP 5.6 through the Plesk Updates menu. After that, the new version was not automatically selectable inside Plesk Panel. I added it using php_handler.However, when selecting PHP 5.6 for a website, I only get a 500 server error.
Trying to troubleshoot, I ran "/opt/plesk/php/5.6/bin/php-cgi -v", which also resulted in an error:Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)The same kind of error is logged in the error_log for the website I switched to 5.6.
The error also occurs when calling "php-cgi -v" directly in the command line.The same error occured when I tried the same thing with PHP 5.5.
This is a fresh plesk12 installation on a kvm vps on centos 6.6
We used the migration and transfer tool to copy data from another server. After the full migration without changing any setting from the configuration files, any mail account hosted on this server cannot receive emails.
I run few export procedures which take a long time ot process (lots of joined sql) and generate quite large output. Plesk 11.0.x required some php/fcgif adjustments but I got it to work.
Now I switched ot Plesk 12 and have to set it up again.
I started with Plesk / PHP Settings for this domain:
We successfully migrated web and email from a Plesk 9.3 system to the new Plesk 12.0 system. Afterwards i try to install new extensions and / or try to delete existing extensions and receive the following error:
Die Erweiterung Webserver Configurations Troubleshooter kann nicht entfernt werden: crontabmng failed: /usr/bin/crontab execution failed: "crontabViWP46":11: bad command errors in crontab file, can't install. System error: crontab execution error
Means that i am not able to delete the extension "Webserver Configurations Troubleshooter". But the extension is delete (but not completelly - only a checkbox is shown without entry).
Is something comes with a config of the old server? All works proper until migration.
We have created symlinks, modified some configuration files (Plesk included) and ran domains reconfiguration script (zero domain installed, but just in case the script will do anything else).
After that, we have launched Plesk Migration Wizard (from Plesk 9 to last release).
Everything has worked fine: all domains have been migrated on our new folders (/opt based) and owners has been correctly defined for each domain. The same for MySQL and all mail accounts.
We have checked Apache VirtualHost configured by Plesk Migration Wizard : our new folders are used (/opt).
So all seems to be ok.
But now, all websites (configured with Apache and Apache PHP module) returns 403 Forbidden error.
We have try changing to FastCGI with Apache same error.
We have try changing to full Nginx (PHP and static files), some websites run.
We have checked some KB (112884, 800) but all seems to be good.
Is there any steps we have omitted when we move folders ?
Yesterday I migrated a domain with the migration tool from a Debian 7.6 Plesk 12.0.18 MU35 box to a Debian 7.6 Plesk 12.0.18 MU35 box
This domain have a simple DNS configuration. The A registry for the domain.com was an own IP instead the IP of the server. Rest of the DNS configuration was the same.
After migration the A registry for the domain.com was an own IP too (as expected) but also the A registry for mail.domain.com
Before migration, in the old server:
A domain.com x.x.x.x (own ip) A mail.domain.com y.y.y.y (server ip)
After migration, in the new server:
A domain.com x.x.x.x A mail.domain.com x.x.x.x
The migration had changed the IP for mail.domain.com for the IP of the A registry for domain.com
Very strange. I double-checked it (as the domain in the "old" server was suspended)
Client don“t have access to the control panel, so no changes done.
Recently I migrated my server from CentOs 5 to CentOS 6.4, while using the migration manager from plesk 11.0.9 (the migration was between the same plesk version).
I used rsync first, which caused some trouble, but without it, the migration process worked fine.
Unfortunately, if I create new domains now, they won't get any domainkey DNS entries anymore and under /etc/domainkeys no keys are created for the new domains.
Nothing I tried did work so far, which was resetting the DNS template, turning on and off the domainkeys setting, nor did calling "/usr/local/psa/admin/sbin/mchk --with-spam" resolve the problem.
For the existing domains, domainkeys work fine, but I can't find any errors how I can fix my plesk installation to generate domainkeys for new domains.
I have upgraded to a new server and need to move all domains, users, and most important all email accounts to the new server.
Both servers run Plesk 11.0.9 on CentOS. The migration manager works great, no problems with that.
After migrating, I change my DNS settings at an external DNS provider to the new IP. The problem is, DNS changes take time. I then get emails on the old server and on the new server until DNS information is spread.
I was searching for a way to let the old server forward to the new one, but changes for specific domains in plesks DNS system (MX record) on the old server did not work. The mails still arrived at the old server.
What can i do? Can I uncheck "Activate mail service on domain" and will all emails be rejected until DNS points to the new server? Or will that lead to bounces?
We found 502 Bad Gateway error Nginx on multiple domain "currently troissoeursetunfrere.com is a wordpress site e-commerce" and also malittleboutique.com ecommerce wordpress, possibly to fix this problem we have followed this tutorial " [URL] ....
I just installed X Window System, KDE 3, and Vncserver today... everything was done without an error. However, I noticed that I couldn't open up a new ssh session. This was after the installation was done and I needed a new shell window. Maybe something got in conflict with the installation of X or KDE?
I then logon to KDE via VNC, tried to open up Terminal, and got this error:
Code: A Fatal Error Has Occurred - Konsole
Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices
What is PTY devices, and exactly how do I fix this. Where is the config file for PTY?
recently i created a domain subscription with 3 alias domains. Thanafter i created a sub domain to a folder in the main domain. At first all went fine but after deleting the alias domains subdomains ans domain supscrption to register all the 4 domains each seperately a problem accured and i cant add any subdomain to none of the 4 domains. registering the domains themselves as individual domain works for each one perfect. But as soon as i try to add a subdomain on any of that 4 domains i get an error that the dns data could not be updated. As it looks like there is still some codes in the plesk database that links to 4 domains in any kind together and prevents me to creste a subdomain.
How can i manually remove all the domains subdomains and alias domain garbage from the plesk database. I use windows version of plesk panel 11.0.9 on windows 2008 server datacenter edition. I have good skils in IT but im not familiar with mysql and plesk. how to remove the records from plesk Mysql database. Command line commands internal commands locations that have to be altered and all other needed steps.
Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.6.2/i686-linux/YAML/Syck.pm line 72. YAML::Syck::Load(undef) called at /usr/local/cpanel/Cpanel/DataStore.pm line 67 eval {...} called at /usr/local/cpanel/Cpanel/DataStore.pm line 49 Cpanel::DataStore::load_ref('/home/user/.cpanel/filter.yaml', 'HASH(0x97c9640)') called at /usr/local/cpanel/Cpanel/DataStore.pm line 37 Cpanel::DataStore::fetch_ref('/home/user/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 3290 Cpanel::Email::_fetchfilter('/home/user/.cpanel/filter.yaml') called at /usr/local/cpanel/Cpanel/Email.pm line 3920 Cpanel::Email::has_spam_autodelete() called at cpanel.pl line 354 main::__ANON__() called at cpanel.pl line 1763 main::exectag('<cpanel Email="has_spam_autodelete()">') called at cpanel.pl line 4806 main::dotag(undef) called at cpanel.pl line 4673 main::cpanel_parseblock('SCALAR(0x919fa24)') called at cpanel.pl line 4625 main::cpanel_parse('GLOB(0x9406294)') called at cpanel.pl line 1295
I've forced updated exim, spam assassin and cpanel, still same problem.
We recently started migrating some cPanel accounts to Plesk. Besides the obvious that it doesn't create customer accounts it contains a pretty frustrating bug:
When an mail forward in cPanel has multiple addresses, only one the first mail forward address is migrated to Plesk.
so, E.g. on cPanel: test@example.com is forwarded to john.doe@something.com, jane.doe@else.com, foo@bar.com
after migration to Plesk: test@example.com is forwarded to john.doe@something.com only. The other addresses are not migrated.
We have running a Plesk 12.0.18 update #47 on a CentOS 6.6 VPS.
Suddenly one of the domains hosted has stopped recording the error logs from apache so we can't troubleshoot the web issues. All other hosts are working right.