Author Archives: admin

Can’t locate File/Pid.pm in @INC

Sometimes when I move a script onto a new server, i see the subject error. File::Pid is a handy little perl toolkit for keeping track of your own pid. Every time I see the error I scramble around trying to … Continue reading

Posted in Uncategorized | Leave a comment

OpenSSL Signing my own certificates Error Solved

this is on CentOS: sudo openssl ca -in /opt/openssl/testCA/server/requests/testWEB.CSR -cert /opt/openssl/testCA/CA/testCA.CRT -keyfile /opt/openssl/testCA/CA/testCA.KEY -out /opt/openssl/testCA/server/certificates/testWEB.CRT Using configuration from /etc/openssl.cnf I am unable to access the /etc/openssl/testCA/certs directory I tried creating the folders and files it wanted, what a mistake. I … Continue reading

Posted in Uncategorized | Leave a comment

Trouble with PDF::API2 paragraph function

We have some ancient code for printing documents that relied on the PDF::API2 module. When we upgraded our systems, this module has some different behavior and our program was throwing errors. First, I commented out the “pdf->page->text->compress” function calls and … Continue reading

Posted in Uncategorized | 3 Comments

How to Not overwrite files with Net FTP

I’m writing a batch program to transfer files with Net::FTP and since I only want to transfer files that don’t already exist, I was looking for a setting or flag in Net:FTP to prevent overwriting. Google, perlmonks, and Claudio to … Continue reading

Posted in Uncategorized | 2 Comments

Playstation3 Firmware 4.10 Problems

On February 8, 2012, Sony released a firmware update for the Playstation3 (version 4.10). This update has introduced the following issues: 1. Playback of MP4 no longer natively supported. Prior to the update, a link to an MP4 file would … Continue reading

Posted in Uncategorized | 1 Comment

Start MySQL Replication on a slave

Had a problem with a slave database being a different (newer) version of MySQL than the master. After downgrading to the correct version of MySQL, the replicated data was no longer consistent with the master. ( For a good tool … Continue reading

Posted in Uncategorized | 4 Comments

Postfix Migration Error! SOLVED

I was moving some services to a different server and the postfix configuration wasn’t working right. The /var/log/mail.log had a bunch of repeated messages about Jan 18 15:44:42 HOST postfix/trivial-rewrite[30797]: fatal: open database /etc/postfix/sender_maps.db: No such file or directory Jan … Continue reading

Posted in Uncategorized | Leave a comment

install ec2 tools in ubuntu 10.04

this was harder than it should have been! Tried to follow this https://help.ubuntu.com/community/EC2StartersGuide But could not get apt-add-repository to work no matter what. apt-add-repository: command not found Just lot’s of ‘command not found’ errors, even after installing the python-software-properties. Finally … Continue reading

Posted in Uncategorized | Leave a comment

Get Updates for Ubuntu 9

So we have a bunch of random aging servers doing various tasks. One of them needed to mount to a NAS unit with samba, but smbmount was not installed. Tried ‘apt-get install smbfs’ but got a bunch of errors about … Continue reading

Posted in Uncategorized | Leave a comment

Install Open-E DSS on 3ware

I’m using Open-E DSS V6 for a NAS solution and tried to install on a brand new 3ware RAID configured to use 15 X 2TB drives in RAID6. It would not install no matter what I tried; the instructions weren’t … Continue reading

Posted in Uncategorized | 2 Comments