Support

Akeeba Backup for Joomla!

#9041 Unable to run backup. Invalid AJAX data

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Friday, 16 September 2011 01:41 CDT

user28991
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.7.0
PHP version: 5.2.17
MySQL version: 5.0.77
Host: dedicated Linux server with root access.
Akeeba Backup version: 3.3.3

Description of my issue:

Unable to run backup. Invalid AJAX data

I have use the following settings in my Akeeba Backup Configuration page:
- Maximum execution time: 5 seconds
- Minimum execution time: 1 second
- Runtime bias: 25%

I have also uninstalled and re-installed the stable version, and I have tried the SVN release.

Log file attached.

Thanks!

nicholas
Akeeba Staff
Manager
Please try setting the minimum execution time to 0 and retry backing up. If it still fails, please attach your new log file here.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user28991
Thanks Nicolas...

Here's the latest log file.

Best Regards!

Gene

nicholas
Akeeba Staff
Manager
You are either running out of disk space or you have set up a CPU usage limit on your server. In the latter case, you should allow a bigger CPU usage for Akeeba Backup to successfully run. Normally, we can work around this issue by setting the minimum execution time, but your server seems to have a buggy implementation of PHP which crashes when using the usleep() function. If all else fails, you might want to recompile PHP on your server.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user28991
Nicolas... I'm hosting a dedicated VPS at VPS.net... After telling about my problem with Akabee, and your suggestion to recompile PHP, I got this response:

As I see PHP packages are installed via YUM :

[root@v1 ~]# rpm -qa|grep -i php
php-common-5.2.17-1.el5.art
php-5.2.17-1.el5.art
php-pdo-5.2.17-1.el5.art
php-mysql-5.2.17-1.el5.art
php-mcrypt-5.2.17-1.el5.art
php-cli-5.2.17-1.el5.art
php-gd-5.2.17-1.el5.art
[root@v1 ~]#

but not compiled and I do not see any problems with packages:

[root@v1 ~]# rpm -V `rpm -qa|grep -i php`
S.5....T c /etc/php.ini
[root@v1 ~]#

If you want you can remove those packages and compile PHP from sources, but that procedure is not easy and I guess, a lot of dependencies should be performed to perform such compilation.

Thank you.
--
Roman Shmyr,
Support engineer
VPS.NET

----

Please advise,

Best Regards,

Gene

nicholas
Akeeba Staff
Manager
OK. In this case, you can simply ask them to check why usleep() is causing the server to hang. You can also ask them if there are any CPU usage limits enforced and if so how you can relax or disable them.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user28991
I discovered a cron job that was monitoring Apache… the job was restarting Apache every 60 seconds because it thought Apache was not responding.

My apologies…

nicholas
Akeeba Staff
Manager
Ah, that explains it! Now, that kind of CRON job was something I had not run into before. One more thing to add to my "impossible-sounding-but-true things which can kill a backup" list ;)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!