TurnKey Linux Virtual Appliance Library

TKLBAM not backuping since September 1st

Hi everyone

Today I realize that TKLBAM it hasn't been doing backups since September 1st

When I log in TKLBAM Webmin module it ask me for the API Key as if I've never entered, and when I type the key I get the message

Traceback (most recent call last):

  File "/usr/bin/tklbam-init", line 35, in 
    import getopt
EOFError: EOF read where object expected
 
If a log in in the Turnkey console with root user, Ubuntu (I'm using Turnkey PDC 11.3) shows the message
 
Traceback (most recent call last):
  File "/usr/bin/tklbam-status", line 27, in <module> 
    import getopt
EOFError: EOF read where object expected
 
and if at the prompt I type tklbam-backup I get
 
Traceback (most recent call last):
  File "/usr/bin/tklbam-backup", line 60, in <module>
    import getopt
EOFError: EOF read where object expected
 
What's going on?? 
If my system crashes today I've got a very old backup and could be a dissaster. I was confident about the backup process so I only checked for the backups when I started using Turnkey PDC then I've never checked again until to today that I get this ugly surprise
 
Thanks in advance to anyone that could help me.
 
Regards
 
Jeremy's picture

I suggest that you contact the devs direct

They often read the forums, but not always on a regular basis. So I suggest that you contact them with a link to this thread and perhaps they may have an idea of what has happened and why. I'd probably email to both Alon and Liraz (<firstname>@turnkeylinux.org).

Considering that no one else has reported this issue, my suspicion is that it may be due to file corruption on your system... but that's only a guess. And whilst TKLBAM is pretty good, nothing is infallable and IMO assuming that important things such as backups are 'just working' is potentially a trap that could cause future grief.

It has been suggested that TKLBAM could be configured to send emails when backups completed and/or failed but AFAIK that has yet to be implemented.

Liraz Siri's picture

Corrupted Python installation?

Unfortunately, I've never seen this error before and I can only guess at what is going on. Maybe a corrupt Python installation? Have you done anything unusual on your system? (e.g., deleted system folders)

What happens if you do this:

cat>/tmp/s.py<<EOF
import getopt
EOF

python /tmp/s.py

If it still gives you the same error then it can't import getopt, and this has nothing to do with TKLBAM but with a corrupted Python installation.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)