ViciBox 4.0.2 Backup Error

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

ViciBox 4.0.2 Backup Error

Postby vijaydxb » Wed Jan 23, 2013 5:32 pm

Hi,
I have installed the latest version of the ViciBox 4.0.2 today and I am getting the below error message while running the ADMIN_backup.pl
"mysqldump: Got error: 1105: Unknown error when doing refresh"
how can I fix this.
Regards..
Vijay

Single Server | ViciBox.x86_64-4.0.2 | VERSION: 2.6-392a | BUILD: 130102-1135 | No other hardware
vijaydxb
 
Posts: 15
Joined: Tue Aug 30, 2011 4:30 pm

Re: ViciBox 4.0.2 Backup Error

Postby williamconley » Wed Jan 23, 2013 10:35 pm

add --help to the command and get all the options.

then try to use the debug option which may shed some light on the topic.

also verify that you have no "crashed tables" by using the mysqlcheck command with autorepair (mentioned many times here and elsewhere).

if that fails, it's not a bad idea to backup everything but the database to be sure that's the only problem. then try your own mysqldump (manual backup to text file) to see if it's a basic problem ...

mysqldump asterisk -u cron -p1234 > /tmp/2013-01-23_2235_SampleBackup_Asterisk.sql
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Re: ViciBox 4.0.2 Backup Error

Postby vijaydxb » Thu Jan 24, 2013 12:04 pm

Thank you very much for the quick reply. I have tested the database and can’t find any crashed tables and able to do the manual backup. I am suspecting the problem from the flush logs, if I remove the flush-logs from the ADMIN_backup.pl (line no 298 & 299) the error message is not getting. Kindly note that I have installed a new server for the test purpose and also getting the same error message.
Regards..
Vijay
vijaydxb
 
Posts: 15
Joined: Tue Aug 30, 2011 4:30 pm

Re: ViciBox 4.0.2 Backup Error

Postby williamconley » Thu Jan 24, 2013 2:55 pm

if a fresh install exhibits the same behavior, it is worth a post in the Vicidial Issue Tracker (and post a link here) IF it is related to the latest SVN and not part of the Vicibox install itself. Hard to tell whether it is installer related or vicidial code related.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Re: ViciBox 4.0.2 Backup Error

Postby vijaydxb » Thu Jan 24, 2013 4:24 pm

Thanks....

I have reported to the Vicidial issue tracker (http://www.vicidial.org/VICIDIALmantis/view.php?id=640)

Regards...
Vijay
vijaydxb
 
Posts: 15
Joined: Tue Aug 30, 2011 4:30 pm

Re: ViciBox 4.0.2 Backup Error

Postby williamconley » Tue Apr 09, 2013 5:21 pm

Solution:
Code: Select all
/bin/chmod 655 /var/log/mysql
Tested and working on Vicibox 4.0.3

Moving this post to the Vicibox board as this will need to be fixed in the .iso installer.

Perhaps this will cause Kumba to create "4.0.4"?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Re: ViciBox 4.0.2 Backup Error

Postby Rudolfmdlt » Wed Sep 25, 2013 4:27 am

Hi Guys,

This issue hasn't been fixed yet. Still getting the issue with Version: 2.8b0.5 | SVN Version: 2020 | DB Schema Version: 1355.

The chmod fix mentioned above does sort it out - Thanks!

Rudolf
Rudolfmdlt
 
Posts: 92
Joined: Thu Jul 25, 2013 2:07 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 58 guests