Unable to determine Tar utility and Mysqldump utility server path in Config | Joomla Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
Unable to determine Tar utility and Mysqldump utility server path in Config
May 29, 2013
10:11 pm
Avatar
d1totrust
New Member
Members
Forum Posts: 2
Member Since:
May 29, 2013
sp_UserOfflineSmall Offline

Hi

can anyone help?

I have recently installed Xcloner on my joomla site after an upgrade from my hosting company from php 5.2 to 5.4 and was going through the php config section and noticed that in the INFO tab the "Exec () function support is disabled."

I tried DIACTIVATING both Active tabs in the General tab section as suggested , but nothing is happening.

I also noticed that in the General path info section it also states that the script is unable to determine both Tar utility and Mysqldump utility server path.

I have to apologise in advance for my ignorance in the field, but i am a complete novice that knows nothing about programming or working with servers.  On a scale of 1 to 10 my knowledge is probably 4.

 

Thanks in advance for any insights or suggestions

May 30, 2013
8:47 am
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You can leave those options unchecked, XCloner will use alternative php classes to overcome those missing options. If you reinstall XCloner, the default settings should work just fine and you should be able to generate a full backup

 

Ovidiu

May 30, 2013
2:06 pm
Avatar
d1totrust
New Member
Members
Forum Posts: 2
Member Since:
May 29, 2013
sp_UserOfflineSmall Offline

Thanks Ovidiu for your quick response

 

December 16, 2014
12:29 am
Avatar
jean charles
Member
Members
Forum Posts: 5
Member Since:
December 15, 2014
sp_UserOfflineSmall Offline

Dear, 

I am new to x cloner and i got almost the same but backup does not get done and i get those warning from log:

 

X-Powered-By: PHP/5.4.31
Content-Type: text/html; charset=utf-8

<b>Using configs/myconfig.php as configuration file</b><br />
<b>Starting /home/lagaller/public_html/administrator/components/com_xcloner-backupandrestore/cloner.cron.php</b><br />
<b>Starting XCloner for site http://www.lagalleri.....r.com/ at 2014-12-15 18:53</b><br />

<b>Creating a fullbackup</b><br />
<b>Generating Backup ...</b><br />
<br />
<b>Warning</b>:  exec() has been disabled for security reasons in <b>/home/lagaller/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1981</b><br />
<br />
<b>Warning</b>:  filesize(): stat failed for /home/lagaller/public_html/administrator/backups/database-sql.sql in <b>/home/lagaller/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1845</b><br />
<br />
<b>Warning</b>:  exec() has been disabled for security reasons in <b>/home/lagaller/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1988</b><br />
<br />
<b>Warning</b>:  exec() has been disabled for security reasons in <b>/home/lagaller/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1666</b><br />
<h2>Backup failed! Please check that you have support for the tar utility(/usr/bin/tar or /usr/local/bin/tar) on your server and the path you set it's corect in Configuration,  or choose the Zip archive type!</h2><b>Backup Done</b><br />
<b>Backup file: /home/lagaller/public_html/administrator/backups/</b><br />
<b>Total backup size:4 KB</b><br />
<b><br />
Deleting older backups than 1 days: </b><br />
<b>Notification Mail was sent to [email protected]</b><br />
<b><br />

ALL DONE! I will exit now from cron.</b><br />

December 16, 2014
12:31 am
Avatar
jean charles
Member
Members
Forum Posts: 5
Member Since:
December 15, 2014
sp_UserOfflineSmall Offline

I  thank in advance for your light 

 

great component

jc

December 17, 2014
1:53 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You are unable to use the server utilities tar/mysqldump since exec() php function is disabled, uncheck those and it should work.

 

Ovidiu

December 20, 2014
2:07 pm
Avatar
jean charles
Member
Members
Forum Posts: 5
Member Since:
December 15, 2014
sp_UserOfflineSmall Offline

Dear,

I have already uncheck those Server Use Options in the general tab.

 

and I have checked the permission for folder /administrator/backups is set to 777 and file

administrator/components/com_

xcloner-backupandrestore/cloner.functions.php to permission 777.
with even that, the bakup still failed.
Should i set it back to original permission and ask to the webhost to add tar function in server ?
or would you suggest ?
Thank you for your quick answer.
Confused
December 22, 2014
11:33 am
Avatar
jean charles
Member
Members
Forum Posts: 5
Member Since:
December 15, 2014
sp_UserOfflineSmall Offline

Dear,

My webhost does not allow me usr/bin/tar function, i want to use for zip. I have enable by taping zip instead of tar and active.

but still the same .

 

<b>Creating a fullbackup</b><br />

<b>Generating Backup ...</b><br />

<br />

<b>Warning</b>:  exec() has been disabled for security reasons in <b>/home/****/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1981</b><br />

<br />

<b>Warning</b>:  filesize(): stat failed for /home/*****/public_html/administrator/backups/database-sql.sql in <b>/home/l*******/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1845</b><br />

<br />

<b>Warning</b>:  exec() has been disabled for security reasons in <b>/home/******/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1988</b><br />

<br />

<b>Warning</b>:  exec() has been disabled for security reasons in <b>/home/****/public_html/administrator/components/com_xcloner-backupandrestore/cloner.functions.php</b> on line <b>1666</b><br />

<h2>Backup failed! Please check that you have support for the tar
utility(/usr/bin/tar or /usr/local/bin/tar) on your server and the path
you set it's corect in Configuration,  or choose the Zip archive
type!
</h2><b>Backup Done</b><br />

<b>Backup file: /home/****/public_html/administrator/backups/</b><br />

<b>Total backup size:4 KB</b><br />

<b><br />

 

Thank you in advance

 

Jcb

December 22, 2014
11:38 am
Avatar
jean charles
Member
Members
Forum Posts: 5
Member Since:
December 15, 2014
sp_UserOfflineSmall Offline

I have used the php function to run the cron and they were disable the tab of server utilities tar/mysqldump.

 

Best regards,

 

jcb

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0