Archive for October, 2005

New Variation on Passive FTP problems

Tuesday, October 25th, 2005

After recently succeeding in getting my IPSec tunnel between suzuki and bmw working, I have found that passive mode FTP does not work across the tunnel.  Between the client bmw and the server suzuki, passive mode FTP works “over the Internet” and fails over the tunnel.  The problem appears to be the firewall on the ftp server.

amanda remote client issues

Monday, October 17th, 2005

I ran into problems getting the amanda server to backup a remote client. There were four steps required to get it working:

  1. On the client, poke a hole in the firewall for UDP port 10080.

system-config-securitylevel

Or

vi /etc/sysconfig/iptables

  1. On the client, adjust ~amanda/.amandahosts to permit the remote server to connect to the client.

vi ~amanda/.amandahosts

  1. On the client, ensure the ip_conntrack_amanda helper module is loaded when the firewall starts.

vi /etc/sysconfig/iptables-config

  1. And again, on the client, adjust the timeout (master_timeout=2400) for the helper module.

vi /etc/modprobe.conf

References:

http://www.amanda.org/docs/faq.html

Even more tape drives

Monday, October 10th, 2005

I just purchased another Compaq 35/70 DLT drive. It arrived this weekend with a broken faceplate, but otherwise it looked OK. I spent hours swapping the $(^#%@ thing into triumph and removing the old DLT drive. I also tried to swap faceplates from the old drive to the new drive and found that the ribbon cable connecting the SELECT switch and status LEDs on the right (looking from front) on the old drive was damaged. No wonder I could not eject the tape!. I also ended up destroying the tape that was in the old drive because I could not get it out easily.

Nonetheless, I finally got the newest drive into triumph. Lo and behold, I got the same *&%^& I/O error writing to the drive. Now I was really getting frustrated. Three 35/70 drives cannot all be bad. I swapped tapes and that seemed to resolve the problem -I tarred the /home filesystem with no problems. It is time to try amanda yet again.

UPDATE (06/12/2005, 11:09): After almost two months of amanda backups, this drive seems OK. I conclude that the other two drives (now both at Matt’s house) are bad and that some of my tapes are bad. When I use new tapes in drive #3, all is well.