You are here
Marco - Mon, 2011/01/10 - 09:17
First of all my congratulations for the excellent work.
I tried to do a backup and restore.
The backup ends without errors, while the recovery crashes and isn't complete.
could you help me?
I attach the logs.
Tnx
Forum:
Tags:
Looks like you've got some package issues
no, I have not changed
no, I have not changed it.
the contents of the file /etc/apt/sources.list.d/source.list is:
deb http://archive.turnkeylinux.org/ubuntu hardy main
deb http://archive.turnkeylinux.org/ubuntu hardy universe
deb http://archive.ubuntu.com/ubuntu hardy main
deb http://archive.ubuntu.com/ubuntu hardy universe
# deb http://archive.ubuntu.com/ubuntu hardy restricted
# deb http://archive.ubuntu.com/ubuntu hardy multiverse
deb http://archive.ubuntu.com/ubuntu hardy-updates main
deb http://archive.ubuntu.com/ubuntu hardy-updates universe
# deb http://archive.ubuntu.com/ubuntu hardy-updates restricted
# deb http://archive.ubuntu.com/ubuntu hardy-updates multiverse
# deb http://archive.ubuntu.com/ubuntu hardy-backports main
# deb http://archive.ubuntu.com/ubuntu hardy-backports universe
# deb http://archive.ubuntu.com/ubuntu hardy-backports restricted
# deb http://archive.ubuntu.com/ubuntu hardy-backports multiverse
How does it crash?
TKLBAM is developed in Python, and Python programs usually give an exception when they crash. Did you run TKLBAM via the shell or the webmin module? Unfortunately, I can't see from the restore log how it crashed. I'll have to look into capturing exceptions in the logs but in the meantime it would be helpful if you could try running the tklbam-restore command in a shell and cut and pasting the exception...
Just a guess, but could you try increasing the mysql packet size?
Initially I used the webmin
Initially I used the webmin interface.
After receiving the advice, I used the console and the error received was:
ERROR 1153 (08S01) at line 100002: Got a packet bigger than 'max_allowed_packet' bytes
Following the advice I changed the parameter max_allowed_packet to webmin but the error remained.
I then manually changed the parameter max_allowed_packet (150M) in the my.cnf file but the problem persists and the procedure returns the error written above.
sql solved, unmet dipendencies no!
I tried to terminate the instance amazon and generate a new instance.
After changing the parameter sql and have taken a new restore, the procedure was completed without error 1153. It remains, however, this error
The following packages Have unmet dependencies:
proftpd: Conflicts: ftp-server
proftpd-basic: Conflicts: ftp-server
Conflicts: proftpd (<= 1.3.1-11) But 1.3.1-6ubuntu1 is to be in
stalled
After the restore I can only access the console, while webmin does not start!
I removed and reinstalled
I removed and reinstalled proftpd and now the procedure does not generate errors.
But when I restart webmin still not available ...
From the console I ran the
From the console I ran the command:
apt-get install webmin
and now webmin starts.
But I still doubt that something will not work in the future ...
I attach the new log to restore in file tklbam-restore_001.zip
All looks ok to me
But I'm a novice when it comes to this stuff so I'd wait for a second opinion :)
My doubts was about my work
Package conflicts, restarting services, rebooting after restore
Could you share the appliance versions you were backing up/restoring to?
Regarding the issue with MySQL not accepting the maximum packet size, it sounds like you just needed to restart the service so that the configuration change would apply.
I'm not sure why Webmin was giving you trouble after the restore but it's recommended to reboot after a restore to restart all the services. Did you try that?
Add new comment